Home | History | Annotate | Download | only in rexecd

Lines Matching defs:fds

146 	struct pollfd fds[2];
283 fds[0].fd = s;
284 fds[1].fd = pv[0];
285 fds[0].events = fds[1].events = POLLIN;
290 if (poll(fds, 2, 0) < 0) {
295 if (fds[0].revents & POLLIN) {
297 fds[0].events = 0;
301 if (fds[1].revents & POLLIN) {
305 fds[1].events = 0;
309 } while ((fds[0].events | fds[1].events) & POLLIN);