The VSI functions are intended to be hookable aliases for Standard C
I/O, memory allocation and other system functions. They are intended
to allow virtualization of disk I/O so that non file data sources
can be made to appear as files, and so that additional error trapping
and reporting can be interested. The memory access API is aliased
so that special application memory management services can be used.
It is intended that each of these functions retains exactly the same
calling pattern as the original Standard C functions they relate to.
This means we don't have to provide custom documentation, and also means
that the default implementation is very simple.
\file cpl_vsi.h
Standard C Covers
The VSI functions are intended to be hookable aliases for Standard C I/O, memory allocation and other system functions. They are intended to allow virtualization of disk I/O so that non file data sources can be made to appear as files, and so that additional error trapping and reporting can be interested. The memory access API is aliased so that special application memory management services can be used.
It is intended that each of these functions retains exactly the same calling pattern as the original Standard C functions they relate to. This means we don't have to provide custom documentation, and also means that the default implementation is very simple.