Lines Matching defs:infile
49 static FILE *infile = NULL;
76 infile = stdin; /* no filenames, so use stdin */
96 while (argno < *ARGC || infile == stdin) {
98 if (infile == NULL) { /* have to open a new file */
112 infile = stdin;
113 else if ((infile = fopen((char *)file, "r")) == NULL)
117 c = readrec(&nbuf, &len, infile);
141 if (infile != stdin)
142 (void) fclose(infile);
143 infile = NULL;