Home
last modified time | relevance | path

Searched refs:Infile (Results 1 – 2 of 2) sorted by relevance

/freebsd-14.2/usr.bin/fortune/unstr/
H A Dunstr.c68 static char *Infile, /* name of input file */ variable
86 Infile = argv[1]; in main()
87 if ((size_t)snprintf(Datafile, sizeof(Datafile), "%s.dat", Infile) >= in main()
89 errx(1, "%s name too long", Infile); in main()
90 if ((Inf = fopen(Infile, "r")) == NULL) in main()
91 err(1, "%s", Infile); in main()
/freebsd-14.2/usr.bin/fortune/strfile/
H A Dstrfile.c101 static char *Infile = NULL, /* input file name */ variable
154 if ((inf = fopen(Infile, "r")) == NULL) { in main()
155 perror(Infile); in main()
295 Infile = *argv; in getargs()
305 if (!Infile) { in getargs()
311 Infile) >= sizeof(Outfile)) { in getargs()
357 Sort_1 = fopen(Infile, "r"); in do_order()
358 Sort_2 = fopen(Infile, "r"); in do_order()