csmmap.h File Reference
Memory mapping interface. More...
#include "csextern.h"
Go to the source code of this file.
Functions | |
bool | csMemoryMapFile (csMemMapInfo *info, char const *filename) |
Map a file to a memory area. | |
void | csUnMemoryMapFile (csMemMapInfo *info) |
Unmap a file from a memory area. | |
bool | csMemoryMapWindow (csMemMapInfo *, char const *filename, unsigned int offset, unsigned int len, bool writable) |
Memory map in part of a file. | |
bool | csMemoryMapWindow (csMemMapInfo *, csMemMapInfo *original, unsigned int offset, unsigned int len, bool writable) |
Memory map in another part of an already mapped file. |
Detailed Description
Memory mapping interface.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.
Function Documentation
|
Map a file to a memory area.
Fills in the csMemMapInfo struct by mapping in |
|
Memory map in another part of an already mapped file. Provides more control than the standard csMemoryMapFile(). The csMemMapInfo 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 csMemoryMapFile(). The csMemMapInfo struct is compatible, UnMapMemoryFile() should be used to unmap. |
|
Unmap a file from a memory area.
|
Generated for Crystal Space by doxygen 1.3.9.1