Esempio n. 1
0
func (fs *FdSet) IsSet(fd int) bool {
	return C.fdisset(C.int(fd), fs.c()) != 0
}
Esempio n. 2
0
func (fs *fdSet) IsSet(fd int) bool {
	return C.fdisset(C.int(fd), (*C.fd_set)(unsafe.Pointer(fs))) != 0
}