Lines Matching defs:nfds
659 nfds_t nfds = 0;
731 fds[nfds].fd = fd;
732 fds[nfds].events = 0;
734 if ((devpaths[nfds] =
738 (void) strcpy(devpaths[nfds], ptr);
739 nfds++;
740 if (nfds >= cachesize)
760 fds[nfds].fd = fd;
761 fds[nfds].events = 0;
763 if ((devpaths[nfds] = malloc(strlen(ptr) + 1)) == NULL)
766 (void) strcpy(devpaths[nfds], ptr);
767 nfds++;
768 if (nfds >= cachesize)
776 if (nfds == 0)
781 ret = poll(fds, nfds, INFTIM);
794 for (index = 0; index < nfds; index++) {
829 for (index = 0; index < nfds; index++)