Home
last modified time | relevance | path

Searched refs:stdin_pipe (Results 1 – 1 of 1) sorted by relevance

/openbsd/src/usr.sbin/cron/
Ddo_command.c86 int stdin_pipe[2], stdout_pipe[2]; in child_process() local
111 if (pipe(stdin_pipe) != 0 || pipe(stdout_pipe) != 0) { in child_process()
186 close(stdin_pipe[WRITE_PIPE]); in child_process()
192 if (stdin_pipe[READ_PIPE] != STDIN_FILENO) { in child_process()
193 dup2(stdin_pipe[READ_PIPE], STDIN_FILENO); in child_process()
194 close(stdin_pipe[READ_PIPE]); in child_process()
278 close(stdin_pipe[READ_PIPE]); in child_process()
294 FILE *out = fdopen(stdin_pipe[WRITE_PIPE], "w"); in child_process()
339 close(stdin_pipe[WRITE_PIPE]); in child_process()