Home
last modified time | relevance | path

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

/libio/
A Diopopen.c92 __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()
208 __close_nocancel (pipe_fds[child_end]); in _IO_new_proc_open()
[all …]
A Doldiopopen.c66 int pipe_fds[2]; in _IO_old_proc_open() local
70 if (__pipe (pipe_fds) < 0) in _IO_old_proc_open()
74 parent_end = pipe_fds[0]; in _IO_old_proc_open()
75 child_end = pipe_fds[1]; in _IO_old_proc_open()
80 parent_end = pipe_fds[1]; in _IO_old_proc_open()
81 child_end = pipe_fds[0]; in _IO_old_proc_open()
86 __close (pipe_fds[0]); in _IO_old_proc_open()
87 __close (pipe_fds[1]); in _IO_old_proc_open()

Completed in 6 milliseconds