Lines Matching refs:stdout_pipe
98 write_data(char *volatile input_data, int *stdin_pipe, int *stdout_pipe) in write_data() argument
117 (void)close(stdout_pipe[READ_PIPE]); in write_data()
154 int *stdout_pipe, pid_t jobpid) in read_data() argument
156 FILE *in = fdopen(stdout_pipe[READ_PIPE], "r"); in read_data()
312 int *stdout_pipe, pid_t *jobpid) in exec_user_command() argument
353 (void)close(stdout_pipe[READ_PIPE]); in exec_user_command()
362 if (stdout_pipe[WRITE_PIPE] != STDOUT) { in exec_user_command()
363 (void)dup2(stdout_pipe[WRITE_PIPE], STDOUT); in exec_user_command()
364 (void)close(stdout_pipe[WRITE_PIPE]); in exec_user_command()
489 int stdin_pipe[2], stdout_pipe[2]; in child_process() local
519 if (pipe(stdout_pipe) == -1) /* child's stdout */ in child_process()
579 if (exec_user_command(e, envp, usernm, stdin_pipe, stdout_pipe, in child_process()
596 (void)close(stdout_pipe[WRITE_PIPE]); in child_process()
612 write_data(input_data, stdin_pipe, stdout_pipe); in child_process()
637 retval = read_data(e, mailto, usernm, envp, stdout_pipe, jobpid); in child_process()