Lines Matching refs:infile
40 FILE *infile = NULL; variable
112 infile = stdin; /* no filenames, so use stdin */ in initgetrec()
157 while (argno < *ARGC || infile == stdin) { in getrec()
159 if (infile == NULL) { /* have to open a new file */ in getrec()
173 infile = stdin; in getrec()
174 else if ((infile = fopen(file, "r")) == NULL) in getrec()
179 c = readrec(&buf, &bufsize, infile, innew); in getrec()
205 if (infile != stdin) in getrec()
206 fclose(infile); in getrec()
207 infile = NULL; in getrec()
218 if (infile != NULL && infile != stdin) in nextfile()
219 fclose(infile); in nextfile()
220 infile = NULL; in nextfile()