const syscall.O_CLOEXEC
13 uses
syscall (current package)
exec_linux.go#L571: _, _, err1 = RawSyscall(SYS_DUP3, uintptr(pipe), uintptr(nextfd), O_CLOEXEC)
exec_linux.go#L583: _, _, err1 = RawSyscall(SYS_DUP3, uintptr(fd[i]), uintptr(nextfd), O_CLOEXEC)
forkpipe2.go#L14: return Pipe2(p, O_CLOEXEC)
zerrors_linux_amd64.go#L623: O_CLOEXEC = 0x80000
internal/poll
splice_linux.go#L226: if err := syscall.Pipe2(fds[:], syscall.O_CLOEXEC|syscall.O_NONBLOCK); err != nil {
internal/syscall/unix
fchmodat_linux.go#L27: fd, err := Openat(dirfd, path, O_PATH|syscall.O_NOFOLLOW|syscall.O_CLOEXEC, 0)
os
file_unix.go#L261: r, s, e = open(name, flag|syscall.O_CLOEXEC, syscallMode(perm))
file_unix.go#L291: r, s, e = open(name, O_RDONLY|syscall.O_CLOEXEC|syscall.O_DIRECTORY, 0)
pipe2_unix.go#L16: e := syscall.Pipe2(p[0:], syscall.O_CLOEXEC)
root_unix.go#L27: fd, _, err = open(name, syscall.O_CLOEXEC, 0)
root_unix.go#L67: fd, err = unix.Openat(parent, name, syscall.O_NOFOLLOW|syscall.O_CLOEXEC, 0)
root_unix.go#L85: fd, err = unix.Openat(parent, name, syscall.O_NOFOLLOW|syscall.O_CLOEXEC|flag, uint32(perm))
root_unix.go#L117: fd, err = unix.Openat(parent, name, syscall.O_NOFOLLOW|syscall.O_CLOEXEC|syscall.O_DIRECTORY, 0)
 |
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. |