File: syscalls_darwin_go1.11.go

package info (click to toggle)
golang-github-songgao-water 0.0~git20200317.2b4b6d7-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 232 kB
  • sloc: makefile: 21
file content (9 lines) | stat: -rw-r--r-- 131 bytes parent folder | download
1
2
3
4
5
6
7
8
9
// +build darwin,go1.11

package water

import "syscall"

func setNonBlock(fd int) error {
	return syscall.SetNonblock(fd, true)
}