mirror of
https://github.com/yggdrasil-network/water.git
synced 2025-05-19 08:25:09 +03:00
9 lines
131 B
Go
9 lines
131 B
Go
// +build darwin,go1.11
|
|
|
|
package water
|
|
|
|
import "syscall"
|
|
|
|
func setNonBlock(fd int) error {
|
|
return syscall.SetNonblock(fd, true)
|
|
}
|