Lines Matching defs:POLL_STDOUT
78 #define POLL_STDOUT 3
831 pfd[POLL_STDOUT].fd = stdout_fd;
832 pfd[POLL_STDOUT].events = 0;
842 if (pfd[POLL_NETOUT].fd == -1 && pfd[POLL_STDOUT].fd == -1) {
895 if (pfd[POLL_STDOUT].revents & POLLHUP)
896 pfd[POLL_STDOUT].fd = -1;
901 if (pfd[POLL_STDOUT].fd == -1) {
947 pfd[POLL_STDOUT].events = POLLOUT;
957 if (pfd[POLL_STDOUT].revents & POLLOUT && netinbufpos > 0) {
958 ret = drainbuf(pfd[POLL_STDOUT].fd, netinbuf,
961 pfd[POLL_STDOUT].fd = -1;
964 pfd[POLL_STDOUT].events = 0;
978 pfd[POLL_STDOUT].fd = -1;