Lines Matching refs:std_output
611 int *std_output) in runcmd() argument
624 (void)dup2(std_output[1], STDOUT_FILENO); in runcmd()
627 (void)close(std_output[0]); in runcmd()
628 (void)close(std_output[1]); in runcmd()
640 (void)close(std_output[1]); in runcmd()
657 int ch, std_output[2]; in argv_sexp() local
692 std_output[0] = std_output[1] = -1; in argv_sexp()
693 if (pipe(std_output) < 0) { in argv_sexp()
697 if ((ifp = fdopen(std_output[0], "r")) == NULL) { in argv_sexp()
702 pid = runcmd(sp, sh_path, sh, np, std_output); in argv_sexp()
763 else if (std_output[0] != -1) in argv_sexp()
764 close(std_output[0]); in argv_sexp()
765 if (std_output[1] != -1) in argv_sexp()
766 close(std_output[0]); in argv_sexp()