const os.O_CREATE
6 uses
os (current package)
dir.go#L180: w, err := OpenFile(newPath, O_CREATE|O_EXCL|O_WRONLY, 0666|info.Mode()&0777)
file.go#L85: O_CREATE int = syscall.O_CREAT // create a new file if none exists.
file.go#L374: return OpenFile(name, O_RDWR|O_CREATE|O_TRUNC, 0666)
file.go#L831: f, err := OpenFile(name, O_WRONLY|O_CREATE|O_TRUNC, perm)
file_unix.go#L266: if !supportsCreateWithStickyBit && flag&O_CREATE != 0 && perm&ModeSticky != 0 {
tempfile.go#L49: f, err := OpenFile(name, O_RDWR|O_CREATE|O_EXCL, 0600)
 |
The pages are generated with Golds v0.7.6. (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 @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |