Home
last modified time | relevance | path

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

/glibc-2.36/libio/
Diopopen.c71 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()
[all …]
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()
/glibc-2.36/sysdeps/pthread/
Dtst-pthread_cancel-select-loop.c46 static int pipe_fds[2]; variable
59 FD_SET (pipe_fds[0], &rfs); in canceled_thread_function()
71 xpipe (pipe_fds); in do_test()
82 xclose (pipe_fds[0]); in do_test()
83 xclose (pipe_fds[1]); in do_test()
/glibc-2.36/debug/
Dtst-read-chk-cancel.c23 static int pipe_fds[2]; variable
33 if (read (pipe_fds[0], &c, (uintptr_t) n) != 1) in read_thread()
42 xpipe (pipe_fds); in do_test()