Searched refs:stdout_pipe (Results 1 – 3 of 3) sorted by relevance
86 int stdin_pipe[2], stdout_pipe[2]; in child_process() local111 if (pipe(stdin_pipe) != 0 || pipe(stdout_pipe) != 0) { in child_process()187 close(stdout_pipe[READ_PIPE]); in child_process()196 if (stdout_pipe[WRITE_PIPE] != STDOUT_FILENO) { in child_process()197 dup2(stdout_pipe[WRITE_PIPE], STDOUT_FILENO); in child_process()198 close(stdout_pipe[WRITE_PIPE]); in child_process()279 close(stdout_pipe[WRITE_PIPE]); in child_process()302 close(stdout_pipe[READ_PIPE]); in child_process()349 in = fdopen(stdout_pipe[READ_PIPE], "r"); in child_process()
2732 int stdout_pipe[2]; local2747 stdout_pipe[0] = -1;2748 stdout_pipe[1] = -1;2784 if (pipe (stdout_pipe) < 0)2874 if (dup2 (stdout_pipe[1], STDOUT_FILENO) < 0)2879 close (stdout_pipe[0]);2880 close (stdout_pipe[1]);2936 num_to_check = stdout_pipe[0];2937 FD_SET (stdout_pipe[0], &command_fds_to_drain.fds);2960 stdoutbuf = fd_buffer_initialize (stdout_pipe[0], 1,[all …]
2968 protocol_pipe vs. stderr_pipe race instead of a stdout_pipe