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

/freebsd-13-stable/contrib/netcat/
H A Dnetcat.c83 #define POLL_STDOUT 3 macro
855 pfd[POLL_STDOUT].fd = stdout_fd;
856 pfd[POLL_STDOUT].events = 0;
868 if (pfd[POLL_NETOUT].fd == -1 && pfd[POLL_STDOUT].fd == -1) {
928 if (pfd[POLL_STDOUT].revents & POLLHUP)
929 pfd[POLL_STDOUT].fd = -1;
934 if (pfd[POLL_STDOUT].fd == -1) {
980 pfd[POLL_STDOUT].events = POLLOUT;
990 if (pfd[POLL_STDOUT].revents & POLLOUT && netinbufpos > 0) {
991 ret = drainbuf(pfd[POLL_STDOUT]
[all...]
/freebsd-13-stable/crypto/openssh/regress/
H A Dnetcat.c87 #define POLL_STDOUT 3 macro
802 pfd[POLL_STDOUT].fd = stdout_fd;
803 pfd[POLL_STDOUT].events = 0;
813 if (pfd[POLL_NETOUT].fd == -1 && pfd[POLL_STDOUT].fd == -1) {
866 if (pfd[POLL_STDOUT].revents & POLLHUP)
867 pfd[POLL_STDOUT].fd = -1;
872 if (pfd[POLL_STDOUT].fd == -1) {
918 pfd[POLL_STDOUT].events = POLLOUT;
928 if (pfd[POLL_STDOUT].revents & POLLOUT && netinbufpos > 0) {
929 ret = drainbuf(pfd[POLL_STDOUT]
[all...]

Completed in 109 milliseconds