diff options
author | Alex Brainman <alex.brainman@gmail.com> | 2010-04-02 01:11:17 -0700 |
---|---|---|
committer | Alex Brainman <alex.brainman@gmail.com> | 2010-04-02 01:11:17 -0700 |
commit | 1f8bf169e747dc30eda270f1ae2a62b2aa48d29b (patch) | |
tree | 71bb323fa254670ecc795e623cd88866ec6eded0 /src/pkg/syscall/syscall_unix.go | |
parent | fb96dda6e66ab75e6cbcdfad2575fddd49eb5857 (diff) | |
download | golang-1f8bf169e747dc30eda270f1ae2a62b2aa48d29b.tar.gz |
syscall: implementing some mingw syscalls required by os package
R=rsc
CC=golang-dev
http://codereview.appspot.com/770041
Committer: Russ Cox <rsc@golang.org>
Diffstat (limited to 'src/pkg/syscall/syscall_unix.go')
-rw-r--r-- | src/pkg/syscall/syscall_unix.go | 6 |
1 files changed, 6 insertions, 0 deletions
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) |