github.com/labulakalia/water@v0.0.5-0.20231118024244-f351ca6784b6/syscalls_darwin_go1.11.go (about) 1 // +build darwin,go1.11 2 3 package water 4 5 import "syscall" 6 7 func setNonBlock(fd int) error { 8 return syscall.SetNonblock(fd, true) 9 }