Home | History | Annotate | Download | only in lpd

Lines Matching defs:nfds

148 	int lfd, errs, i, f, nfds;
284 socks = socksetup(PF_UNSPEC, options, port, &nfds);
315 rv = poll(socks, nfds, INFTIM);
322 for (i = 0; i < nfds; i++)
342 for (i = 0; i < nfds; i++)
706 socksetup(int af, int options, const char *port, int *nfds)
714 *nfds = 0;
739 socks[*nfds].fd = s;
740 socks[*nfds].events = POLLIN;
741 (*nfds)++;
765 newsocks = realloc(socks, (*nfds + n) * sizeof(socks[0]));
807 socks[*nfds].fd = s;
808 socks[*nfds].events = POLLIN;
809 (*nfds)++;