Lines Matching refs:pfd
455 struct pollfd pfd;
457 pfd.fd = fd;
458 pfd.revents = 0;
459 pfd.events = POLLIN|POLLRDNORM|POLLERR;
462 retval = poll(&pfd, 1, timeout);
491 struct pollfd pfd;
492 pfd.fd = fd;
493 pfd.revents = 0;
494 pfd.events = POLLOUT;
495 retval = poll(&pfd, 1, timeout);
964 struct pollfd pfd;
980 memset(&pfd, 0, sizeof(pfd));
981 pfd.fd = fd;
982 pfd.events = POLLIN | POLLERR;
983 pfd.revents = 0;
989 poll(&pfd, 1, -1);