CrystalSpace

Public API Reference

Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

csmmap.h File Reference

Memory mapping interface. More...

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...


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

bool MemoryMapFile mmioInfo *    info,
char const *    filename
 

Map a file to a memory area.

Fills in the mmioInfo struct by mapping in filename. filename is a platform-dependent path. Returns true on success, false otherwise.

void UnMemoryMapFile mmioInfo *    info
 

Unmap a file from a memory area.


Generated for Crystal Space by doxygen 1.2.14