Searched refs:child_end (Results 1 – 2 of 2) sorted by relevance
/libio/ |
A D | iopopen.c | 71 int do_cloexec, int pipe_fds[2], int parent_end, int child_end, in spawn_process() argument 92 __close_nocancel (pipe_fds[child_end]); in spawn_process() 112 int parent_end, child_end; in _IO_new_proc_open() local 159 child_end = 1; in _IO_new_proc_open() 166 child_end = 0; in _IO_new_proc_open() 179 if (pipe_fds[child_end] == child_pipe_fd) in _IO_new_proc_open() 184 __close_nocancel (pipe_fds[child_end]); in _IO_new_proc_open() 185 pipe_fds[child_end] = tmp; in _IO_new_proc_open() 188 if (__posix_spawn_file_actions_adddup2 (&fa, pipe_fds[child_end], in _IO_new_proc_open() 197 parent_end, child_end, child_pipe_fd); in _IO_new_proc_open() [all …]
|
A D | oldiopopen.c | 65 volatile int parent_end, child_end; in _IO_old_proc_open() local 75 child_end = pipe_fds[1]; in _IO_old_proc_open() 81 child_end = pipe_fds[0]; in _IO_old_proc_open() 98 if (child_end != child_std_end) in _IO_old_proc_open() 100 __dup2 (child_end, child_std_end); in _IO_old_proc_open() 101 __close (child_end); in _IO_old_proc_open() 112 __close (child_end); in _IO_old_proc_open()
|
Completed in 4 milliseconds