Lines Matching full:pfd
65 struct pollfd pfd[2]; in main() local
99 pfd[0].fd = t; in main()
100 pfd[0].events = POLLOUT; in main()
101 pfd[1].fd = u; in main()
102 pfd[1].events = POLLOUT; in main()
104 if (poll(pfd, 2, 1000) == 0) { in main()
107 pfd[0].fd = -1; in main()
112 if (pfd[0].revents & POLLOUT) { in main()
115 pfd[0].fd = -1; in main()
119 if (pfd[1].revents & POLLOUT) { in main()
122 pfd[1].fd = -1; in main()