func golang.org/x/sys/unix.fcntl
6 uses
golang.org/x/sys/unix (current package)
fcntl_darwin.go#L11: return fcntl(int(fd), cmd, arg)
fcntl_darwin.go#L16: _, err := fcntl(int(fd), cmd, int(uintptr(unsafe.Pointer(lk))))
syscall_unix.go#L388: func CloseOnExec(fd int) { fcntl(fd, F_SETFD, FD_CLOEXEC) }
syscall_unix.go#L391: flag, err := fcntl(fd, F_GETFL, 0)
syscall_unix.go#L400: _, err = fcntl(fd, F_SETFL, flag)
zsyscall_darwin_arm64.go#L714: func fcntl(fd int, cmd int, arg int) (val int, err error) {