Lines Matching refs:ofd
125 int ofd[2]; in create_pipe() local
142 if (pipe2_safer (ofd, O_BINARY | O_CLOEXEC) < 0) in create_pipe()
166 if ((!pipe_stdin || dup2 (ofd[0], STDIN_FILENO) >= 0) in create_pipe()
227 close (ofd[0]); in create_pipe()
238 close (ofd[1]); in create_pipe()
246 fd[1] = ofd[1]; in create_pipe()
253 int ofd[2]; in create_pipe()
266 if (pipe_safer (ofd) < 0) in create_pipe()
288 ofd[0], STDIN_FILENO)) in create_pipe()
295 && (err = posix_spawn_file_actions_addclose (&actions, ofd[0])) in create_pipe()
301 && (err = posix_spawn_file_actions_addclose (&actions, ofd[1])) in create_pipe()
356 close (ofd[0]); in create_pipe()
357 close (ofd[1]); in create_pipe()
371 close (ofd[0]); in create_pipe()
378 fd[1] = ofd[1]; in create_pipe()