Lines Matching refs:POLL_NETIN
86 #define POLL_NETIN 2 macro
793 pfd[POLL_NETIN].fd = net_fd; in readwrite()
794 pfd[POLL_NETIN].events = POLLIN; in readwrite()
802 if (pfd[POLL_STDIN].fd == -1 && pfd[POLL_NETIN].fd == -1 in readwrite()
813 if (lflag && pfd[POLL_NETIN].fd == -1 in readwrite()
850 if (pfd[POLL_NETIN].events & POLLIN && in readwrite()
851 pfd[POLL_NETIN].revents & POLLHUP && in readwrite()
852 ! (pfd[POLL_NETIN].revents & POLLIN)) in readwrite()
853 pfd[POLL_NETIN].fd = -1; in readwrite()
868 if (pfd[POLL_NETIN].fd != -1) in readwrite()
869 shutdown(pfd[POLL_NETIN].fd, SHUT_RD); in readwrite()
870 pfd[POLL_NETIN].fd = -1; in readwrite()
901 if (pfd[POLL_NETIN].revents & POLLIN && netinbufpos < BUFSIZE) { in readwrite()
902 ret = fillbuf(pfd[POLL_NETIN].fd, netinbuf, in readwrite()
905 pfd[POLL_NETIN].fd = -1; in readwrite()
908 shutdown(pfd[POLL_NETIN].fd, SHUT_RD); in readwrite()
909 pfd[POLL_NETIN].fd = -1; in readwrite()
916 pfd[POLL_NETIN].events = 0; in readwrite()
919 atelnet(pfd[POLL_NETIN].fd, netinbuf, in readwrite()
933 pfd[POLL_NETIN].events = POLLIN; in readwrite()
943 if (pfd[POLL_NETIN].fd == -1 && netinbufpos == 0) { in readwrite()