Home | History | Annotate | Download | only in examples

Lines Matching defs:fp

68   FILE *fp;
70 fp = fopen (filename, "rb");
71 if (fp)
75 if ((0 != fseek (fp, 0, SEEK_END)) || (-1 == (size = ftell (fp))))
78 fclose (fp);
89 FILE *fp;
97 fp = fopen (filename, "rb");
98 if (!fp)
104 fclose (fp);
108 if (size != fread (buffer, 1, size, fp))
114 fclose (fp);