Searched refs:POLL_STDIN (Results 1 – 1 of 1) sorted by relevance
84 #define POLL_STDIN 0 macro785 pfd[POLL_STDIN].fd = stdin_fd; in readwrite()786 pfd[POLL_STDIN].events = POLLIN; in readwrite()802 if (pfd[POLL_STDIN].fd == -1 && pfd[POLL_NETIN].fd == -1 in readwrite()845 if (pfd[POLL_STDIN].events & POLLIN && in readwrite()846 pfd[POLL_STDIN].revents & POLLHUP && in readwrite()847 ! (pfd[POLL_STDIN].revents & POLLIN)) in readwrite()848 pfd[POLL_STDIN].fd = -1; in readwrite()865 pfd[POLL_STDIN].fd = -1; in readwrite()874 if (pfd[POLL_STDIN].revents & POLLIN && stdinbufpos < BUFSIZE) { in readwrite()[all …]