const os.O_CREATE
10 uses
os (current package)
dir.go#L176: w, err := OpenFile(newPath, O_CREATE|O_EXCL|O_WRONLY, 0666|info.Mode()&0777)
file.go#L86: O_CREATE int = syscall.O_CREAT // create a new file if none exists.
file.go#L400: return OpenFile(name, O_RDWR|O_CREATE|O_TRUNC, 0666)
file.go#L933: f, err := OpenFile(name, O_WRONLY|O_CREATE|O_TRUNC, perm)
file_unix.go#L248: if !supportsCreateWithStickyBit && flag&O_CREATE != 0 && perm&ModeSticky != 0 {
root.go#L109: return r.OpenFile(name, O_RDWR|O_CREATE|O_TRUNC, 0666)
root.go#L265: f, err := r.OpenFile(name, O_WRONLY|O_CREATE|O_TRUNC, perm)
root_unix.go#L89: isCreateExcl := flag&(O_CREATE|O_EXCL) == (O_CREATE | O_EXCL)
tempfile.go#L49: f, err := OpenFile(name, O_RDWR|O_CREATE|O_EXCL, 0600)
 |
The pages are generated with Golds v0.8.4. (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. |