MCPcopy Index your code
hub / github.com/MapServer/MapServer / msIO_fread

Function msIO_fread

mapio.c:499–509  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

497/************************************************************************/
498
499int 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/* ==================================================================== */

Callers 2

readPostBodyFunction · 0.85
fileGetbufFunction · 0.85

Calls 2

msIO_getHandlerFunction · 0.85
msIO_contextReadFunction · 0.85

Tested by

no test coverage detected