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