Home
last modified time | relevance | path

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

/freebsd/contrib/netcat/
H A Dnetcat.c80 #define POLL_STDIN 0 macro
871 pfd[POLL_STDIN].fd = (tun_fd != -1) ? tun_fd : stdin_fd; in readwrite()
872 pfd[POLL_STDIN].events = POLLIN; in readwrite()
888 if (pfd[POLL_STDIN].fd == -1 && pfd[POLL_NETIN].fd == -1 in readwrite()
940 if (pfd[POLL_STDIN].events & POLLIN && in readwrite()
941 pfd[POLL_STDIN].revents & POLLHUP && in readwrite()
942 ! (pfd[POLL_STDIN].revents & POLLIN)) in readwrite()
943 pfd[POLL_STDIN].fd = -1; in readwrite()
960 pfd[POLL_STDIN].fd = -1; in readwrite()
969 if (pfd[POLL_STDIN].revents & POLLIN && stdinbufpos < BUFSIZE) { in readwrite()
[all …]
/freebsd/crypto/openssh/regress/
H A Dnetcat.c91 #define POLL_STDIN 0 macro
799 pfd[POLL_STDIN].fd = stdin_fd; in readwrite()
800 pfd[POLL_STDIN].events = POLLIN; in readwrite()
816 if (pfd[POLL_STDIN].fd == -1 && pfd[POLL_NETIN].fd == -1 in readwrite()
859 if (pfd[POLL_STDIN].events & POLLIN && in readwrite()
860 pfd[POLL_STDIN].revents & POLLHUP && in readwrite()
861 ! (pfd[POLL_STDIN].revents & POLLIN)) in readwrite()
862 pfd[POLL_STDIN].fd = -1; in readwrite()
879 pfd[POLL_STDIN].fd = -1; in readwrite()
888 if (pfd[POLL_STDIN].revents & POLLIN && stdinbufpos < BUFSIZE) { in readwrite()
[all …]