Home
last modified time | relevance | path

Searched refs:POLL_NETOUT (Results 1 – 1 of 1) sorted by relevance

/external/openssh/regress/
Dnetcat.c85 #define POLL_NETOUT 1 macro
789 pfd[POLL_NETOUT].fd = net_fd; in readwrite()
790 pfd[POLL_NETOUT].events = 0; in readwrite()
808 if (pfd[POLL_NETOUT].fd == -1 && pfd[POLL_STDOUT].fd == -1) { in readwrite()
855 if (pfd[POLL_NETOUT].revents & POLLHUP) { in readwrite()
857 shutdown(pfd[POLL_NETOUT].fd, SHUT_WR); in readwrite()
858 pfd[POLL_NETOUT].fd = -1; in readwrite()
864 if (pfd[POLL_NETOUT].fd == -1) in readwrite()
882 pfd[POLL_NETOUT].events = POLLOUT; in readwrite()
888 if (pfd[POLL_NETOUT].revents & POLLOUT && stdinbufpos > 0) { in readwrite()
[all …]