Searched refs:stdin_pipe (Results 1 – 4 of 4) sorted by relevance
| /freebsd-14.2/contrib/libarchive/libarchive/ |
| H A D | filter_fork_posix.c | 91 if (pipe(stdin_pipe) == -1) in __archive_create_child() 96 close(stdin_pipe[0]); in __archive_create_child() 97 stdin_pipe[0] = tmp; in __archive_create_child() 125 if (stdin_pipe[0] != 0 /* stdin */) { in __archive_create_child() 155 close(stdin_pipe[1]); in __archive_create_child() 159 if (stdin_pipe[0] != 0 /* stdin */) in __archive_create_child() 160 close(stdin_pipe[0]); in __archive_create_child() 170 close(stdin_pipe[0]); in __archive_create_child() 173 *child_stdin = stdin_pipe[1]; in __archive_create_child() 191 close(stdin_pipe[0]); in __archive_create_child() [all …]
|
| /freebsd-14.2/lib/libdpv/ |
| H A D | util.c | 66 int stdin_pipe[2] = { -1, -1 }; in shell_spawn_pipecmd() local 80 if (pipe(stdin_pipe) < 0) in shell_spawn_pipecmd() 97 posix_spawn_file_actions_adddup2(&action, stdin_pipe[0], STDIN_FILENO); in shell_spawn_pipecmd() 98 posix_spawn_file_actions_addclose(&action, stdin_pipe[1]); in shell_spawn_pipecmd() 103 return stdin_pipe[1]; in shell_spawn_pipecmd()
|
| H A D | dialog_util.c | 236 int stdin_pipe[2] = { -1, -1 }; in dialog_spawn_gauge() local 308 if (pipe(stdin_pipe) < 0) in dialog_spawn_gauge() 325 posix_spawn_file_actions_adddup2(&action, stdin_pipe[0], STDIN_FILENO); in dialog_spawn_gauge() 326 posix_spawn_file_actions_addclose(&action, stdin_pipe[1]); in dialog_spawn_gauge() 333 return (stdin_pipe[1]); in dialog_spawn_gauge()
|
| /freebsd-14.2/usr.sbin/cron/cron/ |
| H A D | do_command.c | 83 int stdin_pipe[2], stdout_pipe[2]; in child_process() local 160 if (pipe(stdin_pipe) != 0 || pipe(stdout_pipe) != 0) { in child_process() 249 close(stdin_pipe[WRITE_PIPE]); in child_process() 255 close(STDIN); dup2(stdin_pipe[READ_PIPE], STDIN); in child_process() 261 close(stdin_pipe[READ_PIPE]); in child_process() 410 close(stdin_pipe[READ_PIPE]); in child_process() 425 FILE *out = fdopen(stdin_pipe[WRITE_PIPE], "w"); in child_process() 478 close(stdin_pipe[WRITE_PIPE]); in child_process()
|