Lines Matching refs:pipe_fds
35 int pipe_fds[2];42 if (pipe2(pipe_fds, O_CLOEXEC) < 0)52 if (dup3(pipe_fds[1], STDOUT_FILENO, 0) < 0)55 if (pipe_fds[0] > 2)56 safe_close(pipe_fds[0]);57 if (pipe_fds[1] > 2)58 safe_close(pipe_fds[1]);82 pipe_fds[1] = safe_close(pipe_fds[1]);86 return pipe_fds[0];