Lines Matching refs:POLL_STDIN
84 #define POLL_STDIN 0 macro
785 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()
875 ret = fillbuf(pfd[POLL_STDIN].fd, stdinbuf, in readwrite()
879 pfd[POLL_STDIN].fd = -1; in readwrite()
885 pfd[POLL_STDIN].events = 0; in readwrite()
898 pfd[POLL_STDIN].events = POLLIN; in readwrite()
937 if (pfd[POLL_STDIN].fd == -1 && stdinbufpos == 0) { in readwrite()