Home
last modified time | relevance | path

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

/freebsd-13.1/usr.bin/fortune/unstr/
H A Dunstr.c70 static char *Infile, /* name of input file */ variable
88 Infile = argv[1]; in main()
89 if ((size_t)snprintf(Datafile, sizeof(Datafile), "%s.dat", Infile) >= in main()
91 errx(1, "%s name too long", Infile); in main()
92 if ((Inf = fopen(Infile, "r")) == NULL) in main()
93 err(1, "%s", Infile); in main()
/freebsd-13.1/usr.bin/fortune/strfile/
H A Dstrfile.c103 static char *Infile = NULL, /* input file name */ variable
156 if ((inf = fopen(Infile, "r")) == NULL) { in main()
157 perror(Infile); in main()
297 Infile = *argv; in getargs()
307 if (!Infile) { in getargs()
313 Infile) >= sizeof(Outfile)) { in getargs()
359 Sort_1 = fopen(Infile, "r"); in do_order()
360 Sort_2 = fopen(Infile, "r"); in do_order()