Lines Matching refs:nfd
638 DWORD timeout_ms, wait, nfd, nth, nws, i; in select_ws() local
692 nfd = 0; /* number of handled file descriptors */ in select_ws()
698 handles[nfd] = 0; in select_ws()
721 data[nfd].fd = fd; in select_ws()
728 handles[nfd] = signal; in select_ws()
731 nfd++; in select_ws()
740 handles[nfd] = GetStdHandle(STD_OUTPUT_HANDLE); in select_ws()
741 nfd++; in select_ws()
744 handles[nfd] = GetStdHandle(STD_ERROR_HANDLE); in select_ws()
745 nfd++; in select_ws()
755 handles[nfd] = (HANDLE)wsaevent; in select_ws()
758 data[nfd].wsastate = 0; in select_ws()
766 data[nfd].wsastate |= FD_READ; in select_ws()
768 data[nfd].wsastate |= FD_WRITE; in select_ws()
770 data[nfd].wsastate |= FD_OOB; in select_ws()
772 nfd++; in select_ws()
782 handles[nfd] = signal; in select_ws()
785 nfd++; in select_ws()
799 wait = nfd; in select_ws()
804 handles[nfd] = exit_event; in select_ws()
820 for(i = 0; i < nfd; i++) { in select_ws()