![]() |
Public API Reference |
Go to the source code of this file.
Functions | |
bool | MemoryMapFile (mmioInfo *info, char const *filename) |
Map a file to a memory area. More... | |
void | UnMemoryMapFile (mmioInfo *info) |
Unmap a file from a memory area. More... | |
bool | MemoryMapWindow (mmioInfo *, char const *filename, unsigned int offset, unsigned int len, bool writable) |
Memory map in part of a file. More... | |
bool | MemoryMapWindow (mmioInfo *, mmioInfo *original, unsigned int offset, unsigned int len, bool writable) |
Memory map in another part of an already mapped file. More... |
BE AWARE that the functions here are very platform-dependent, they even might not be available at all. For platform-independence don't use the routines here, use the csMemoryMappedIO class.
Definition in file csmmap.h.
|
Map a file to a memory area.
Fills in the mmioInfo struct by mapping in |
|
Memory map in another part of an already mapped file. Provides more control than the standard MemoryMapFile(). The mmioInfo struct is compatible, UnMapMemoryFile() should be used to unmap. This struct will reuse filehandles and any other possible resource from the already mapped file. |
|
Memory map in part of a file. Provides more control than the standard MemoryMapFile(). The mmioInfo struct is compatible, UnMapMemoryFile() should be used to unmap. |
|
Unmap a file from a memory area.
|