Home
last modified time | relevance | path

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

/freebsd/contrib/netcat/
H A Dnetcat.c862 size_t stdinbufpos = 0; in readwrite() local
890 && stdinbufpos == 0 && netinbufpos == 0) { in readwrite()
905 && stdinbufpos == 0 && netinbufpos == 0) { in readwrite()
970 if (pfd[POLL_STDIN].revents & POLLIN && stdinbufpos < BUFSIZE) { in readwrite()
972 &stdinbufpos); in readwrite()
977 if (stdinbufpos > 0) in readwrite()
980 if (stdinbufpos == BUFSIZE) in readwrite()
984 if (pfd[POLL_NETOUT].revents & POLLOUT && stdinbufpos > 0) { in readwrite()
986 &stdinbufpos, FreeBSD_crlf); in readwrite()
990 if (stdinbufpos == 0) in readwrite()
[all …]
/freebsd/crypto/openssh/regress/
H A Dnetcat.c790 size_t stdinbufpos = 0; in readwrite() local
817 && stdinbufpos == 0 && netinbufpos == 0) { in readwrite()
828 && stdinbufpos == 0 && netinbufpos == 0) { in readwrite()
888 if (pfd[POLL_STDIN].revents & POLLIN && stdinbufpos < BUFSIZE) { in readwrite()
890 &stdinbufpos); in readwrite()
895 if (stdinbufpos > 0) in readwrite()
898 if (stdinbufpos == BUFSIZE) in readwrite()
902 if (pfd[POLL_NETOUT].revents & POLLOUT && stdinbufpos > 0) { in readwrite()
904 &stdinbufpos); in readwrite()
908 if (stdinbufpos == 0) in readwrite()
[all …]