Searched refs:save_stdout (Results 1 - 2 of 2) sorted by relevance

/macosx-10.10.1/groff-38/groff/src/roff/groff/
H A Dpipeline.c217 int save_stdout = 0; local
242 if ((save_stdout = dup(STDOUT_FILENO)) < 0)
295 if (dup2(save_stdout, STDOUT_FILENO) < 0) {
296 sprintf(err_str, "%s: dup2(save_stdout))", commands[i][0]);
300 if (close(save_stdout) < 0) {
301 sprintf(err_str, "%s: close(save_stdout)", commands[i][0]);
362 int save_stdout = dup(1); local
408 else if (dup2(save_stdout, 1) < 0)
/macosx-10.10.1/groff-38/groff/src/preproc/html/
H A Dpre-html.cpp318 int save_stdout = dup(1); local
322 if (redirect_stdout && save_stdout > 1 && fdnull > 1)
329 dup2(save_stdout, 1);
335 close(save_stdout);

Completed in 202 milliseconds