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

/freebsd-10.0-release/usr.bin/chat/
H A Dchat.c120 static char *report_file; variable
221 if (report_file != NULL)
222 free(report_file);
223 report_file = copy_of(optarg);
224 report_fp = fopen(report_file, "a");
227 fprintf(report_fp, "Opening \"%s\"...\n", report_file);
229 fatal(2, "cannot open \"%s\" for appending", report_file);
515 if (report_file != (char *) 0 && report_fp != (FILE *) NULL) {
537 fprintf (report_fp, "Closing \"%s\".\n", report_file);
/freebsd-10.0-release/contrib/ncurses/progs/
H A Dtoe.c332 char *report_file = 0; local
366 report_file = optarg;
373 report_file = optarg;
384 if (report_file != 0) {
385 if (freopen(report_file, "r", stdin) == 0) {
387 fprintf(stderr, "%s: can't open %s\n", _nc_progname, report_file);
392 _nc_set_source(report_file);

Completed in 69 milliseconds