Lines Matching refs:current_output
249 static FILE *current_output = NULL;
1129 if (current_output == stdout)
1238 current_output = fopen(fname, "w");
1239 if (current_output == NULL) {
1245 current_output = stdout;
1251 (xcmd->handler)(&pcmd, current_output);
1254 fflush(current_output);
1260 (xcmd->handler)(&pcmd, current_output);
1262 if ((NULL != current_output) && (stdout != current_output)) {
1263 (void)fclose(current_output);
1264 current_output = NULL;