Searched refs:POLL_NETOUT (Results 1 – 2 of 2) sorted by relevance
81 #define POLL_NETOUT 1 macro876 pfd[POLL_NETOUT].fd = net_fd; in readwrite()877 pfd[POLL_NETOUT].events = 0; in readwrite()897 if (pfd[POLL_NETOUT].fd == -1 && pfd[POLL_STDOUT].fd == -1) { in readwrite()951 if (pfd[POLL_NETOUT].revents & POLLHUP) { in readwrite()953 shutdown(pfd[POLL_NETOUT].fd, SHUT_WR); in readwrite()954 pfd[POLL_NETOUT].fd = -1; in readwrite()960 if (pfd[POLL_NETOUT].fd == -1) in readwrite()978 pfd[POLL_NETOUT].events = POLLOUT; in readwrite()984 if (pfd[POLL_NETOUT].revents & POLLOUT && stdinbufpos > 0) { in readwrite()[all …]
86 #define POLL_NETOUT 1 macro799 pfd[POLL_NETOUT].fd = net_fd; in readwrite()800 pfd[POLL_NETOUT].events = 0; in readwrite()818 if (pfd[POLL_NETOUT].fd == -1 && pfd[POLL_STDOUT].fd == -1) { in readwrite()865 if (pfd[POLL_NETOUT].revents & POLLHUP) { in readwrite()867 shutdown(pfd[POLL_NETOUT].fd, SHUT_WR); in readwrite()868 pfd[POLL_NETOUT].fd = -1; in readwrite()874 if (pfd[POLL_NETOUT].fd == -1) in readwrite()892 pfd[POLL_NETOUT].events = POLLOUT; in readwrite()898 if (pfd[POLL_NETOUT].revents & POLLOUT && stdinbufpos > 0) { in readwrite()[all …]