Lines Matching defs:current_output
459 FILE *current_output = NULL;
635 if (ihost && current_output)
636 fputc('\n', current_output);
638 if (icmd && current_output)
639 fputc('\n', current_output);
1613 if (current_output == stdout)
1710 current_output = fopen(fname, "w");
1711 if (current_output == NULL) {
1717 current_output = fopen(PATH_DEVNULL, "w");
1718 if (current_output == NULL) {
1724 current_output = stdout;
1730 (xcmd->handler)(&pcmd, current_output);
1733 fflush(current_output);
1740 (xcmd->handler)(&pcmd, current_output);
1742 if ((NULL != current_output) && (stdout != current_output)) {
1743 (void)fclose(current_output);
1744 current_output = NULL;