Searched refs:save_stdout (Results 1 – 2 of 2) sorted by relevance
217 int save_stdout = 0; in run_pipeline() local242 if ((save_stdout = dup(STDOUT_FILENO)) < 0) in run_pipeline()295 if (dup2(save_stdout, STDOUT_FILENO) < 0) { in run_pipeline()300 if (close(save_stdout) < 0) { in run_pipeline()362 int save_stdout = dup(1); in run_pipeline() local408 else if (dup2(save_stdout, 1) < 0) in run_pipeline()
318 int save_stdout = dup(1); in html_system() local322 if (redirect_stdout && save_stdout > 1 && fdnull > 1) in html_system()329 dup2(save_stdout, 1); in html_system()335 close(save_stdout); in html_system()