Searched refs:NFDBITS (Results 1 – 2 of 2) sorted by relevance
53 #define NFDBITS (sizeof(fd_mask) * NBBY) /* bits per mask */ macro58 #define FD_SET(n, p) ((p)->fds_bits[(n)/NFDBITS] |= (1 << ((n) % NFDBITS)))59 #define FD_CLR(n, p) ((p)->fds_bits[(n)/NFDBITS] &= ~(1 << ((n) % NFDBITS)))60 #define FD_ISSET(n, p) ((p)->fds_bits[(n)/NFDBITS] & (1 << ((n) % NFDBITS)))
626 for (sock = 0; sock < FD_SETSIZE; sock += NFDBITS)