Searched defs:n_pollfds (Results 1 - 1 of 1) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dsys-solaris.c153 static int n_pollfds = 0; /* total count of polled fd */ variable
1493 if ((poll(pollfds, n_pollfds, t) < 0) && (errno != EINTR)) {
1512 for (n = 0; n < n_pollfds; ++n) {
1517 if (n_pollfds < MAX_POLLFDS) {
1518 pollfds[n_pollfds].fd = fd;
1519 pollfds[n_pollfds].events = POLLIN | POLLPRI | POLLHUP;
1520 ++n_pollfds;
1537 for (n = 0; n < n_pollfds; ++n) {
1539 while (++n < n_pollfds) {
1542 --n_pollfds;
[all...]

Completed in 48 milliseconds