Lines Matching defs:fp
108 FILE *fp;
115 if (( fp = fopen( file, "rF" )) == NULL ) {
119 if ( fseek( fp, 0L, SEEK_END ) != 0 ) { /* move to end to get len */
120 fclose( fp );
124 len = ftell( fp );
126 if ( fseek( fp, 0L, SEEK_SET ) != 0 ) { /* back to start of file */
127 fclose( fp );
132 fclose( fp );
136 rlen = fread( buf, 1, (size_t)len, fp );
137 eof = feof( fp );
138 fclose( fp );