Home
last modified time | relevance | path

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

/bionic/libc/include/sys/
Dselect.h62 #define __FDMASK(fd) (1UL << ((fd) % NFDBITS)) macro
78 #define __FD_CLR(fd, set) (__FDS_BITS(fd_set*,set)[__FDELT(fd)] &= ~__FDMASK(fd))
79 #define __FD_SET(fd, set) (__FDS_BITS(fd_set*,set)[__FDELT(fd)] |= __FDMASK(fd))
80 #define __FD_ISSET(fd, set) ((__FDS_BITS(const fd_set*,set)[__FDELT(fd)] & __FDMASK(fd)) != 0)