Searched refs:_NFDBITS (Results 1 – 1 of 1) sorted by relevance
72 #define _NFDBITS ((int)sizeof(__fd_mask) * 8) /* bits per mask */ macro74 #define NFDBITS _NFDBITS82 __fd_mask __fds_bits[_howmany(FD_SETSIZE, _NFDBITS)];88 #define __fdset_mask(n) ((__fd_mask)1 << ((n) % _NFDBITS))89 #define FD_CLR(n, p) ((p)->__fds_bits[(n)/_NFDBITS] &= ~__fdset_mask(n))93 #define FD_ISSET(n, p) (((p)->__fds_bits[(n)/_NFDBITS] & __fdset_mask(n)) != 0)94 #define FD_SET(n, p) ((p)->__fds_bits[(n)/_NFDBITS] |= __fdset_mask(n))100 _n = _howmany(FD_SETSIZE, _NFDBITS); \