Lines Matching refs:ifd
124 int ifd[2];
139 if (pipe2_safer (ifd, O_BINARY | O_CLOEXEC) < 0)
148 * parent <- ifd[0] <- ifd[1] <- child if pipe_stdout
167 && (!pipe_stdout || dup2 (ifd[1], STDOUT_FILENO) >= 0)
185 /* The child process doesn't inherit ifd[0], ifd[1], ofd[0], ofd[1],
229 close (ifd[1]);
236 close (ifd[0]);
244 fd[0] = ifd[0];
252 int ifd[2];
263 if (pipe_safer (ifd) < 0)
272 * parent <- ifd[0] <- ifd[1] <- child if pipe_stdout
292 ifd[1], STDOUT_FILENO))
298 && (err = posix_spawn_file_actions_addclose (&actions, ifd[1]))
304 && (err = posix_spawn_file_actions_addclose (&actions, ifd[0]))
351 close (ifd[0]);
352 close (ifd[1]);
373 close (ifd[1]);
376 fd[0] = ifd[0];