Home
last modified time | relevance | path

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

/freebsd/usr.bin/fortune/unstr/
H A Dunstr.c56 static char *Infile, /* name of input file */ variable
74 Infile = argv[1]; in main()
75 if ((size_t)snprintf(Datafile, sizeof(Datafile), "%s.dat", Infile) >= in main()
77 errx(1, "%s name too long", Infile); in main()
78 if ((Inf = fopen(Infile, "r")) == NULL) in main()
79 err(1, "%s", Infile); in main()
/freebsd/usr.bin/fortune/strfile/
H A Dstrfile.c89 static char *Infile = NULL, /* input file name */ variable
142 if ((inf = fopen(Infile, "r")) == NULL) { in main()
143 perror(Infile); in main()
283 Infile = *argv; in getargs()
293 if (!Infile) { in getargs()
299 Infile) >= sizeof(Outfile)) { in getargs()
345 Sort_1 = fopen(Infile, "r"); in do_order()
346 Sort_2 = fopen(Infile, "r"); in do_order()