Lines Matching refs:pfd
1241 struct pollfd pfd[1]; in send_telnet_data() local
1242 pfd[0].fd = conn->sock[FIRSTSOCKET]; in send_telnet_data()
1243 pfd[0].events = POLLOUT; in send_telnet_data()
1244 switch (Curl_poll(pfd, 1, -1)) { in send_telnet_data()
1303 struct pollfd pfd[2]; in telnet_do() local
1563 pfd[0].fd = sockfd; in telnet_do()
1564 pfd[0].events = POLLIN; in telnet_do()
1572 pfd[1].fd = fileno((FILE *)data->set.in); in telnet_do()
1573 pfd[1].events = POLLIN; in telnet_do()
1579 switch (Curl_poll(pfd, poll_cnt, interval_ms)) { in telnet_do()
1584 pfd[0].revents = 0; in telnet_do()
1585 pfd[1].revents = 0; in telnet_do()
1588 if(pfd[0].revents & POLLIN) { in telnet_do()
1625 if(pfd[1].revents & POLLIN) { /* read from in file */ in telnet_do()
1626 nread = read(pfd[1].fd, buf, BUFSIZE - 1); in telnet_do()