| 481 | /************************************************************************/ |
| 482 | |
| 483 | int 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() */ |
no test coverage detected