Searched refs:POLL_STDIN (Results 1 – 2 of 2) sorted by relevance
80 #define POLL_STDIN 0 macro871 pfd[POLL_STDIN].fd = (tun_fd != -1) ? tun_fd : stdin_fd; in readwrite()872 pfd[POLL_STDIN].events = POLLIN; in readwrite()888 if (pfd[POLL_STDIN].fd == -1 && pfd[POLL_NETIN].fd == -1 in readwrite()940 if (pfd[POLL_STDIN].events & POLLIN && in readwrite()941 pfd[POLL_STDIN].revents & POLLHUP && in readwrite()942 ! (pfd[POLL_STDIN].revents & POLLIN)) in readwrite()943 pfd[POLL_STDIN].fd = -1; in readwrite()960 pfd[POLL_STDIN].fd = -1; in readwrite()969 if (pfd[POLL_STDIN].revents & POLLIN && stdinbufpos < BUFSIZE) { in readwrite()[all …]
91 #define POLL_STDIN 0 macro799 pfd[POLL_STDIN].fd = stdin_fd; in readwrite()800 pfd[POLL_STDIN].events = POLLIN; in readwrite()816 if (pfd[POLL_STDIN].fd == -1 && pfd[POLL_NETIN].fd == -1 in readwrite()859 if (pfd[POLL_STDIN].events & POLLIN && in readwrite()860 pfd[POLL_STDIN].revents & POLLHUP && in readwrite()861 ! (pfd[POLL_STDIN].revents & POLLIN)) in readwrite()862 pfd[POLL_STDIN].fd = -1; in readwrite()879 pfd[POLL_STDIN].fd = -1; in readwrite()888 if (pfd[POLL_STDIN].revents & POLLIN && stdinbufpos < BUFSIZE) { in readwrite()[all …]