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