summaryrefslogtreecommitdiff
path: root/src/pkg/syscall/types_nacl.c
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2009-11-01 11:13:27 -0800
committerRuss Cox <rsc@golang.org>2009-11-01 11:13:27 -0800
commite553412f7d28715525607dcd86f48723bc28423b (patch)
tree865762db2f724d6fdba1bb99fd65b02ca56edd8b /src/pkg/syscall/types_nacl.c
parent70e1eeffd9a4848d9c31ce9945226cafd9273c60 (diff)
downloadgolang-e553412f7d28715525607dcd86f48723bc28423b.tar.gz
syscall cleanup.
* rename PORT.sh -> mkall.sh (hopefully more obvious), change behavior: run commands by default. * pull more constants out of #defines automatically, instead of editing large lists by hand. * add Recvfrom, Sendto add os.O_EXCL. R=r http://go/go-review/1017009
Diffstat (limited to 'src/pkg/syscall/types_nacl.c')
-rw-r--r--src/pkg/syscall/types_nacl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pkg/syscall/types_nacl.c b/src/pkg/syscall/types_nacl.c
index 67752402b..76be78327 100644
--- a/src/pkg/syscall/types_nacl.c
+++ b/src/pkg/syscall/types_nacl.c
@@ -3,7 +3,7 @@
// license that can be found in the LICENSE file.
/*
-Input to godefs. See PORT.sh
+Input to godefs. See also mkerrors.sh and mkall.sh
*/
#define _LARGEFILE_SOURCE
@@ -88,6 +88,7 @@ enum
$O_NONBLOCK = O_NONBLOCK,
$O_SYNC = O_SYNC,
$O_TRUNC = O_TRUNC,
+ $O_EXCL = O_EXCL,
$O_CLOEXEC = 0, // not supported
$F_GETFD = F_GETFD,