diff options
author | Rob Pike <r@golang.org> | 2008-09-11 15:09:10 -0700 |
---|---|---|
committer | Rob Pike <r@golang.org> | 2008-09-11 15:09:10 -0700 |
commit | e56177bc43c1fbf438a8215cbd4316a20f556aff (patch) | |
tree | 0247ca20af5801fe5ec528edb7365fd422dbfa3f /src/syscall | |
parent | c3ae75b49dfeddcf941853aaf7330554a1fef964 (diff) | |
download | go-e56177bc43c1fbf438a8215cbd4316a20f556aff.tar.gz |
pull O_RDONLY etc. up to os library
R=rsc
DELTA=16 (14 added, 0 deleted, 2 changed)
OCL=15156
CL=15163
Diffstat (limited to 'src/syscall')
-rw-r--r-- | src/syscall/file_amd64_darwin.go | 2 | ||||
-rw-r--r-- | src/syscall/file_amd64_linux.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/syscall/file_amd64_darwin.go b/src/syscall/file_amd64_darwin.go index 95d3ce55d..6bf60b927 100644 --- a/src/syscall/file_amd64_darwin.go +++ b/src/syscall/file_amd64_darwin.go @@ -51,7 +51,7 @@ export type Stat struct { st_qspare[2] int64; } -const ( +export const ( O_RDONLY = 0x0; O_WRONLY = 0x1; O_RDWR = 0x2; diff --git a/src/syscall/file_amd64_linux.go b/src/syscall/file_amd64_linux.go index dc99d7de3..1757bf7c7 100644 --- a/src/syscall/file_amd64_linux.go +++ b/src/syscall/file_amd64_linux.go @@ -52,7 +52,7 @@ export type Stat struct { st_unused6 int64; } -const ( +export const ( O_RDONLY = 0x0; O_WRONLY = 0x1; O_RDWR = 0x2; |