From 1f8bf169e747dc30eda270f1ae2a62b2aa48d29b Mon Sep 17 00:00:00 2001 From: Alex Brainman Date: Fri, 2 Apr 2010 01:11:17 -0700 Subject: syscall: implementing some mingw syscalls required by os package R=rsc CC=golang-dev http://codereview.appspot.com/770041 Committer: Russ Cox --- src/pkg/syscall/syscall_unix.go | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/pkg/syscall/syscall_unix.go') diff --git a/src/pkg/syscall/syscall_unix.go b/src/pkg/syscall/syscall_unix.go index a32c275d5..c547ba5c5 100644 --- a/src/pkg/syscall/syscall_unix.go +++ b/src/pkg/syscall/syscall_unix.go @@ -4,6 +4,12 @@ package syscall +var ( + Stdin = 0 + Stdout = 1 + Stderr = 2 +) + func Errstr(errno int) string { if errno < 0 || errno >= int(len(errors)) { return "error " + str(errno) -- cgit v1.2.3