Lines Matching defs:stdin_pipe
86 int stdin_pipe[2], stdout_pipe[2];
111 if (pipe(stdin_pipe) != 0 || pipe(stdout_pipe) != 0) {
186 close(stdin_pipe[WRITE_PIPE]);
192 if (stdin_pipe[READ_PIPE] != STDIN_FILENO) {
193 dup2(stdin_pipe[READ_PIPE], STDIN_FILENO);
194 close(stdin_pipe[READ_PIPE]);
278 close(stdin_pipe[READ_PIPE]);
294 FILE *out = fdopen(stdin_pipe[WRITE_PIPE], "w");
329 * stdin_pipe[WRITE_PIPE] to be closed, too.
339 close(stdin_pipe[WRITE_PIPE]);