Beispiel #1
0
func (fs *FdSet) Clear(fds ...int) {
	for _, fd := range fds {
		C.fdclr(C.int(fd), fs.c())
	}
}
Beispiel #2
0
func (fs *fdSet) Clr(fds ...int) {
	for _, fd := range fds {
		C.fdclr(C.int(fd), (*C.fd_set)(unsafe.Pointer(fs)))
	}
}