示例#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)))
	}
}