From e553412f7d28715525607dcd86f48723bc28423b Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Sun, 1 Nov 2009 11:13:27 -0800 Subject: 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 --- src/pkg/syscall/types_nacl.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/pkg/syscall/types_nacl.c') 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, -- cgit v1.2.3