MCPcopy Create free account
hub / github.com/cli/cli / nonBlockingOpenFlag

Function nonBlockingOpenFlag

internal/safepaths/open_nonblock_unix.go:10–12  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8)
9
10func nonBlockingOpenFlag() int {
11 return syscall.O_NONBLOCK
12}
13
14func clearNonblocking(file *os.File) error {
15 return syscall.SetNonblock(int(file.Fd()), false)

Callers 1

openVerifiedEntryMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected