Lines Matching refs:nfds
172 nfds_t nfds, nreadfds;
332 nfds = 1;
335 pfd[nfds].fd = chout[0];
336 pfd[nfds].events = POLLIN|POLLERR|POLLHUP;
337 nfds++;
341 pfd[nfds].fd = cherr[0];
342 pfd[nfds].events = POLLIN|POLLERR|POLLHUP;
343 nfds++;
347 pfd[nfds].fd = chin[1];
348 pfd[nfds].events = POLLOUT|POLLERR|POLLHUP;
349 nfds++;
354 if (poll(pfd, nfds, INFTIM) < 0) {
375 (pfd[nfds - 1].revents & POLLOUT) != 0) {
389 nfds--;