func IsNonblock(fd int) (nonblocking bool, err error) { … } func HasNonblockFlag(flag int) bool { … }