| 497 | /************************************************************************/ |
| 498 | |
| 499 | int msIO_fread( void *data, size_t size, size_t nmemb, FILE *fp ) |
| 500 | |
| 501 | { |
| 502 | msIOContext *context; |
| 503 | |
| 504 | context = msIO_getHandler( fp ); |
| 505 | if( context == NULL ) |
| 506 | return fread( data, size, nmemb, fp ); |
| 507 | else |
| 508 | return msIO_contextRead( context, data, size * nmemb ) / size; |
| 509 | } |
| 510 | |
| 511 | /* ==================================================================== */ |
| 512 | /* ==================================================================== */ |
no test coverage detected