Lines Matching refs:inout
487 int inout[2], err[2];
493 if (socketpair(AF_UNIX, SOCK_STREAM, 0, inout) < 0) {
500 close(inout[0]);
501 close(inout[1]);
520 close(inout[0]);
521 close(inout[1]);
567 close(inout[1]);
569 if (dup2(inout[0], 0) < 0) /* stdin */
571 if (dup2(inout[0], 1) < 0) /* stdout (same as stdin) */
573 close(inout[0]);
626 close(inout[0]);
634 session_set_fds(s, inout[1], inout[1], err[1],
637 server_loop(pid, inout[1], inout[1], err[1]);
638 /* server_loop has closed inout[1] and err[1]. */