Lines Matching refs:pipe_fds
71 int do_cloexec, int pipe_fds[2], int parent_end, int child_end, in spawn_process()
92 __close_nocancel (pipe_fds[child_end]); in spawn_process()
97 __fcntl (pipe_fds[parent_end], F_SETFD, 0); in spawn_process()
99 _IO_fileno (fp) = pipe_fds[parent_end]; in spawn_process()
113 int pipe_fds[2]; in _IO_new_proc_open() local
153 if (__pipe2 (pipe_fds, O_CLOEXEC) < 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()
196 spawn_ok = spawn_process (&fa, fp, command, do_cloexec, pipe_fds, in _IO_new_proc_open()
208 __close_nocancel (pipe_fds[child_end]); in _IO_new_proc_open()
209 __close_nocancel (pipe_fds[parent_end]); in _IO_new_proc_open()