const os.O_CREATE
6 uses
os (current package)
file.go#L79: O_CREATE int = syscall.O_CREAT // create a new file if none exists.
file.go#L323: return OpenFile(name, O_RDWR|O_CREATE|O_TRUNC, 0666)
file.go#L761: f, err := OpenFile(name, O_WRONLY|O_CREATE|O_TRUNC, perm)
file_unix.go#L262: if !supportsCreateWithStickyBit && flag&O_CREATE != 0 && perm&ModeSticky != 0 {
tempfile.go#L44: f, err := OpenFile(name, O_RDWR|O_CREATE|O_EXCL, 0600)
go.uber.org/zap
sink.go#L158: return sr.openFile(path, os.O_WRONLY|os.O_APPEND|os.O_CREATE, 0o666)
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |