Lines Matching refs:POLL_STDOUT
87 #define POLL_STDOUT 3 macro
797 pfd[POLL_STDOUT].fd = stdout_fd; in readwrite()
798 pfd[POLL_STDOUT].events = 0; in readwrite()
808 if (pfd[POLL_NETOUT].fd == -1 && pfd[POLL_STDOUT].fd == -1) { in readwrite()
861 if (pfd[POLL_STDOUT].revents & POLLHUP) in readwrite()
862 pfd[POLL_STDOUT].fd = -1; in readwrite()
867 if (pfd[POLL_STDOUT].fd == -1) { in readwrite()
913 pfd[POLL_STDOUT].events = POLLOUT; in readwrite()
923 if (pfd[POLL_STDOUT].revents & POLLOUT && netinbufpos > 0) { in readwrite()
924 ret = drainbuf(pfd[POLL_STDOUT].fd, netinbuf, in readwrite()
927 pfd[POLL_STDOUT].fd = -1; in readwrite()
930 pfd[POLL_STDOUT].events = 0; in readwrite()
944 pfd[POLL_STDOUT].fd = -1; in readwrite()