Searched refs:POLL_NETOUT (Results 1 – 1 of 1) sorted by relevance
75 #define POLL_NETOUT 1 macro1081 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()[all …]