Home
last modified time | relevance | path

Searched refs:_NFDBITS (Results 1 – 1 of 1) sorted by relevance

/picolibc-3.7.0-3.6.0/newlib/libc/include/sys/
Dselect.h72 #define _NFDBITS ((int)sizeof(__fd_mask) * 8) /* bits per mask */ macro
74 #define NFDBITS _NFDBITS
82 __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); \