Lines Matching refs:fds
2632 int fds[2];
2641 if ((pipe(fds)) < 0) {
2646 if (((flags = fcntl(fds[0], F_GETFL, 0)) == -1) ||
2647 (fcntl(fds[0], F_SETFL, flags | O_NONBLOCK) == -1)) {
2649 (void) close(fds[0]);
2650 (void) close(fds[1]);
2653 if (((flags = fcntl(fds[1], F_GETFL, 0)) == -1) ||
2654 (fcntl(fds[1], F_SETFL, flags | O_NONBLOCK) == -1)) {
2656 (void) close(fds[0]);
2657 (void) close(fds[1]);
2663 dpif->event_rfd = fds[0];
2664 dpif->event_wfd = fds[1];