Lines Matching defs:nfds
58 pselect(int nfds, fd_set *in0, fd_set *out0, fd_set *ex0,
78 if (nfds < 0 || nfds > FD_SETSIZE) {
83 p = pfd = (struct pollfd *)alloca(nfds * sizeof (struct pollfd));
112 for (n = 0; n < nfds; n += NFDBITS) {
117 if (p->fd >= nfds)
153 for (n = 0; n < nfds; n += NFDBITS)
158 for (n = 0; n < nfds; n += NFDBITS)
163 for (n = 0; n < nfds; n += NFDBITS)
285 select(int nfds, fd_set *in0, fd_set *out0, fd_set *ex0, struct timeval *tv)
312 return (pselect(nfds, in0, out0, ex0, tsp, NULL));