Searched refs:n_pollfds (Results 1 – 1 of 1) sorted by relevance
147 static int n_pollfds = 0; /* total count of polled fd */ variable1434 if ((poll(pollfds, n_pollfds, t) < 0) && (errno != EINTR)) {1453 for (n = 0; n < n_pollfds; ++n) {1458 if (n_pollfds < MAX_POLLFDS) {1459 pollfds[n_pollfds].fd = fd;1460 pollfds[n_pollfds].events = POLLIN | POLLPRI | POLLHUP;1461 ++n_pollfds;1478 for (n = 0; n < n_pollfds; ++n) {1480 while (++n < n_pollfds) {1483 --n_pollfds;