Searched refs:POLL_STDIN (Results 1 - 2 of 2) sorted by relevance

/freebsd-10.3-release/contrib/netcat/
H A Dnetcat.c76 #define POLL_STDIN 0 macro
822 pfd[POLL_STDIN].fd = stdin_fd;
823 pfd[POLL_STDIN].events = POLLIN;
839 if (pfd[POLL_STDIN].fd == -1 && pfd[POLL_NETIN].fd == -1
882 if (pfd[POLL_STDIN].events & POLLIN &&
883 pfd[POLL_STDIN].revents & POLLHUP &&
884 ! (pfd[POLL_STDIN].revents & POLLIN))
885 pfd[POLL_STDIN].fd = -1;
902 pfd[POLL_STDIN].fd = -1;
911 if (pfd[POLL_STDIN]
[all...]
/freebsd-10.3-release/crypto/openssh/regress/
H A Dnetcat.c81 #define POLL_STDIN 0 macro
822 pfd[POLL_STDIN].fd = stdin_fd;
823 pfd[POLL_STDIN].events = POLLIN;
839 if (pfd[POLL_STDIN].fd == -1 && pfd[POLL_NETIN].fd == -1
882 if (pfd[POLL_STDIN].events & POLLIN &&
883 pfd[POLL_STDIN].revents & POLLHUP &&
884 ! (pfd[POLL_STDIN].revents & POLLIN))
885 pfd[POLL_STDIN].fd = -1;
902 pfd[POLL_STDIN].fd = -1;
911 if (pfd[POLL_STDIN]
[all...]

Completed in 67 milliseconds