MCPcopy Create free account
hub / github.com/MapServer/MapServer / msIO_fwrite

Function msIO_fwrite

mapio.c:483–493  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

481/************************************************************************/
482
483int msIO_fwrite( const void *data, size_t size, size_t nmemb, FILE *fp )
484
485{
486 msIOContext *context;
487
488 context = msIO_getHandler( fp );
489 if( context == NULL )
490 return fwrite( data, size, nmemb, fp );
491 else
492 return msIO_contextWrite( context, data, size * nmemb ) / size;
493}
494
495/************************************************************************/
496/* msIO_fread() */

Callers 12

msSaveImageGDALFunction · 0.85
mainFunction · 0.85
msWCSWriteFile20Function · 0.85
msReturnPageFunction · 0.85
msReturnOpenLayersPageFunction · 0.85
msOGRWriteFromQueryFunction · 0.85
msSaveImageIMFunction · 0.85
png_write_data_to_streamFunction · 0.85
saveImageMethod · 0.85
msWCSReturnCoverage11Function · 0.85

Calls 2

msIO_getHandlerFunction · 0.85
msIO_contextWriteFunction · 0.85

Tested by

no test coverage detected