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