Lines Matching defs:pipe_stdin
115 * parent -> fd[1] -> STDIN_FILENO -> child if pipe_stdin
119 * At least one of pipe_stdin, pipe_stdout must be true.
120 * pipe_stdin and prog_stdin together determine the child's standard input.
122 * If pipe_stdin is true, prog_stdin is ignored.
128 bool pipe_stdin, bool pipe_stdout,
156 if (pipe_stdin)
162 * parent -> ofd[1] -> ofd[0] -> child if pipe_stdin
169 if (pipe_stdin || prog_stdin != NULL)
181 if ((!pipe_stdin || dup2 (ofd[0], STDIN_FILENO) >= 0)
188 && (pipe_stdin
218 if (pipe_stdin || prog_stdin != NULL)
221 if (pipe_stdin)
232 if (pipe_stdin)
239 if (pipe_stdin)
263 if (pipe_stdin)
269 * parent -> ofd[1] -> ofd[0] -> child if pipe_stdin
285 (pipe_stdin
293 || (pipe_stdin
299 || (pipe_stdin
311 || (!pipe_stdin
353 if (pipe_stdin)
374 if ((!pipe_stdin || dup2 (ofd[0], STDIN_FILENO) >= 0)
376 && (!pipe_stdin || close (ofd[0]) >= 0)
378 && (!pipe_stdin || close (ofd[1]) >= 0)
385 && (pipe_stdin
413 if (pipe_stdin)
426 if (pipe_stdin)
433 if (pipe_stdin)