Lines Matching refs:POLL_NETOUT
75 #define POLL_NETOUT 1 macro
1081 pfd[POLL_NETOUT].fd = net_fd; in readwrite()
1082 pfd[POLL_NETOUT].events = 0; in readwrite()
1100 if (pfd[POLL_NETOUT].fd == -1 && pfd[POLL_STDOUT].fd == -1) { in readwrite()
1147 if (pfd[POLL_NETOUT].revents & POLLHUP) { in readwrite()
1149 shutdown(pfd[POLL_NETOUT].fd, SHUT_WR); in readwrite()
1150 pfd[POLL_NETOUT].fd = -1; in readwrite()
1156 if (pfd[POLL_NETOUT].fd == -1) in readwrite()
1177 pfd[POLL_NETOUT].events = POLLOUT; in readwrite()
1183 if (pfd[POLL_NETOUT].revents & POLLOUT && stdinbufpos > 0) { in readwrite()
1184 ret = drainbuf(pfd[POLL_NETOUT].fd, stdinbuf, in readwrite()
1187 pfd[POLL_NETOUT].events = POLLIN; in readwrite()
1189 pfd[POLL_NETOUT].events = POLLOUT; in readwrite()
1191 pfd[POLL_NETOUT].fd = -1; in readwrite()
1194 pfd[POLL_NETOUT].events = 0; in readwrite()
1245 if (pfd[POLL_NETOUT].fd != -1 && Nflag) in readwrite()
1246 shutdown(pfd[POLL_NETOUT].fd, SHUT_WR); in readwrite()
1247 pfd[POLL_NETOUT].fd = -1; in readwrite()