Lines Matching refs:pfd
31 struct pollfd pfd[2];56 pfd[0].fd = 0;57 pfd[0].events = POLLIN;58 pfd[1].fd = fd = fifo_open(fifo);59 pfd[1].events = POLLIN;68 if (poll(pfd, 2, 1000) == -1)71 if (pfd[0].revents & POLLIN) {82 if (pfd[1].revents & POLLIN) {91 if (pfd[1].revents & POLLHUP) {94 pfd[1].fd = fd = fifo_open(fifo);