mirror of
https://github.com/fumiama/water.git
synced 2026-06-05 02:00:29 +08:00
10 lines
131 B
Go
10 lines
131 B
Go
// +build darwin,go1.11
|
|
|
|
package water
|
|
|
|
import "syscall"
|
|
|
|
func setNonBlock(fd int) error {
|
|
return syscall.SetNonblock(fd, true)
|
|
}
|