const syscall.O_TRUNC
3 uses
syscall (current package)
syscall_linux.go#L117: return Open(path, O_CREAT|O_WRONLY|O_TRUNC, mode)
zerrors_linux_amd64.go#L642: O_TRUNC = 0x200
os
file.go#L82: O_TRUNC int = syscall.O_TRUNC // truncate regular writable file when opened.
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. |