Home
last modified time | relevance | path

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

/haiku/headers/posix/sys/
H A Dselect.h22 typedef __haiku_uint32 fd_mask; typedef
24 #define NFDBITS (sizeof(fd_mask) * 8) /* bits per mask */
27 fd_mask bits[((FD_SETSIZE) + ((NFDBITS) - 1)) / (NFDBITS)];
/haiku/src/system/kernel/events/
H A Dwait_for_objects.cpp100 uint32 bytes = HOWMANY(count, NFDBITS) * sizeof(fd_mask); in SelectTraceEntry()
359 memset(set, 0, HOWMANY(numFDs, NFDBITS) * sizeof(fd_mask)); in fd_zero()
961 uint32 bytes = HOWMANY(numFDs, NFDBITS) * sizeof(fd_mask); in _user_select()
/haiku/src/bin/network/traceroute/
H A Dtraceroute.c1256 if ((fdsp = malloc(nfds * sizeof(fd_mask))) == NULL) in wait_for_reply()
1258 memset(fdsp, 0, nfds * sizeof(fd_mask)); in wait_for_reply()
/haiku/src/bin/network/telnet/
H A Dsys_bsd.c860 tmp = howmany(maxfd+1, NFDBITS) * sizeof(fd_mask); in process_rings()