Lines Matching refs:outfd
156 prepare_child(sigset_t *nset, int infd, int outfd)
172 if (outfd >= 0 && outfd != 1)
173 (void)dup2(outfd, 1);
196 start_commandv(const char *cmd, sigset_t *nset, int infd, int outfd,
215 prepare_child(nset, infd, outfd);
225 start_command(const char *cmd, sigset_t *nset, int infd, int outfd, ...)
230 va_start(args, outfd);
231 r = start_commandv(cmd, nset, infd, outfd, args);
435 run_command(const char *cmd, sigset_t *nset, int infd, int outfd, ...)
469 va_start(args, outfd);
470 pid = start_commandv(cmd, nset, infd, outfd, args);