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