Lines Matching defs:inout
490 int inout[2], err[2];
496 if (socketpair(AF_UNIX, SOCK_STREAM, 0, inout) < 0) {
503 close(inout[0]);
504 close(inout[1]);
523 close(inout[0]);
524 close(inout[1]);
570 close(inout[1]);
572 if (dup2(inout[0], 0) < 0) /* stdin */
574 if (dup2(inout[0], 1) < 0) /* stdout (same as stdin) */
576 close(inout[0]);
629 close(inout[0]);
637 session_set_fds(s, inout[1], inout[1], err[1],
640 server_loop(pid, inout[1], inout[1], err[1]);
641 /* server_loop has closed inout[1] and err[1]. */