const os.O_TRUNC
5 uses
os (current package)
file.go#L89: O_TRUNC int = syscall.O_TRUNC // truncate regular writable file when opened.
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)
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)
 |
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. |