Lines Matching refs:infile
66 static FILE *infile = NULL; variable
146 infile = stdin; /* no filenames, so use stdin */ in initgetrec()
193 while (argno < *ARGC || infile == stdin) { in getrec()
195 if (infile == NULL) { /* have to open a new file */ in getrec()
211 infile = stdin; in getrec()
212 else if ((infile = fopen(file, "rF")) == NULL) in getrec()
216 c = readrec(&buf, &bufsize, infile); in getrec()
237 if (infile != stdin) in getrec()
238 (void) fclose(infile); in getrec()
239 infile = NULL; in getrec()
251 if (infile != NULL && infile != stdin) in nextfile()
252 (void) fclose(infile); in nextfile()
253 infile = NULL; in nextfile()