Searched defs:svc_pipe (Results 1 - 1 of 1) sorted by relevance

/osnet-11/usr/src/lib/libnsl/rpc/
H A Dsvc_run.c109 int svc_pipe[2]; /* pipe for breaking out of poll: read(0), write(1) */ variable
288 (void) write(svc_pipe[1], &dummy, sizeof (dummy));
520 * We're ready to poll. Always set svc_pipe[0]
527 svc_pollset[npollfds].fd = svc_pipe[0];
771 if (pipe(svc_pipe) == -1) {
776 if (fcntl(svc_pipe[0], F_SETFL, O_NONBLOCK) == -1) {
781 if (fcntl(svc_pipe[1], F_SETFL, O_NONBLOCK) == -1) {
799 i = read(svc_pipe[0], buf, sizeof (buf));
1004 (void) write(svc_pipe[1], &dummy, sizeof (dummy));

Completed in 16 milliseconds