Lines Matching defs:output
173 static bool symlist; /* -s: output symbol list */
174 static bool symdepth; /* -S: output symbol depth */
185 static FILE *output; /* output file pointer */
186 static const char *ofilename; /* output file name */
187 static bool overwriting; /* output overwrites input */
207 static bool zerosyms = true; /* to format symdepth output */
294 case 'o': /* output to a file */
297 case 's': /* only output list of symbols that control #ifs */
328 output = stdout;
349 output = fdopen(ofd, "wb+");
350 if (output == NULL)
354 output = fopen(ofilename, "wb");
355 if (output == NULL)
426 /* output lacks group's start line */
550 * Write a line to the output or not, according to command line options.
565 fputs(tline, output);
571 fputs(newline, output);
577 fflush(output);
599 * Flush the output and handle errors.
606 if (fclose(output) == EOF) {
1224 errx(2, "output may be truncated");