github.com/borderzero/water@v0.0.1/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 }