Lines Matching defs:pfd
222 struct pollfd pfd;
231 memset(&pfd, 0, sizeof(pfd));
232 pfd.fd = sock;
233 pfd.events = POLLIN | POLLERR;
234 pfd.revents = 0;
265 poll(&pfd, 1, 1);
371 struct pollfd pfd;
410 memset(&pfd, 0, sizeof(pfd));
411 pfd.fd = sock;
412 pfd.events = POLLOUT | POLLERR;
413 pfd.revents = 0;
468 poll(&pfd, 1, 1);
584 struct pollfd pfd;
592 memset(&pfd, 0, sizeof(pfd));
593 pfd.fd = sock;
594 pfd.events = POLLIN | POLLERR;
595 pfd.revents = 0;
603 poll(&pfd, 1, 1);