Lines Matching defs:pfd
263 struct pollfd pfd;
266 pfd.events = POLLIN;
267 pfd.revents = 0;
268 pfd.fd = hp->h_server.c_sd;
270 if (poll(&pfd, 1, -1) <= 0)
273 if (pfd.revents & (POLLHUP | POLLERR)) {
281 if (pfd.revents & POLLIN) {
378 struct pollfd pfd;
381 pfd.events = POLLIN;
382 pfd.revents = 0;
383 pfd.fd = Acc.c_sd;
385 if (poll(&pfd, 1, -1) <= 0)
388 if (pfd.revents & (POLLHUP | POLLERR)) {
396 if (pfd.revents & POLLIN)