Lines Matching defs:fp
110 FILE *fp = NULL;
114 fp = fopen(temp, "r");
116 return (fp);
121 fpkgparam(FILE *fp, char *param)
137 for (;;) { /* For each entry in the file fp */
142 while ((c = getc(fp)) != EOF) {
183 while ((c = getc(fp)) != EOF) {
321 static FILE *fp = NULL;
329 if (fp) {
330 (void) fclose(fp);
331 fp = NULL;
346 if (fp && strcmp(line, lastfname)) {
347 /* different filename implies need for different fp */
348 (void) fclose(fp);
349 fp = NULL;
351 if (!fp) {
353 if ((fp = fopen(lastfname, "r")) == NULL)
366 if (fseek(fp, 0L, 0))
370 if (pt = fpkgparam(fp, param)) {