diff options
author | Ken Thompson <ken@golang.org> | 2009-11-10 15:05:15 -0800 |
---|---|---|
committer | Ken Thompson <ken@golang.org> | 2009-11-10 15:05:15 -0800 |
commit | a94b9e988150b3f1c9e55a0301d993a1bc194d38 (patch) | |
tree | b5ff98ebf9d785a05a4f5283748a610e19fb260e | |
parent | 716e5b76bf849f387803e8272735ea9462e82ac6 (diff) | |
download | golang-a94b9e988150b3f1c9e55a0301d993a1bc194d38.tar.gz |
spell it with an "e"
R=rsc
http://go/go-review/1025037
-rw-r--r-- | src/pkg/os/file.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pkg/os/file.go b/src/pkg/os/file.go index f68a33cc4..edc228c53 100644 --- a/src/pkg/os/file.go +++ b/src/pkg/os/file.go @@ -62,6 +62,7 @@ const ( O_NDELAY = O_NONBLOCK; // synonym for O_NONBLOCK O_SYNC = syscall.O_SYNC; // open for synchronous I/O. O_TRUNC = syscall.O_TRUNC; // if possible, truncate file when opened. + O_CREATE = O_CREAT; // create a new file if none exists. ) // Open opens the named file with specified flag (O_RDONLY etc.) and perm, (0666 etc.) |