Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
|
#include <FXMemMap.h>
Public Types | |
enum | { NONE = 0, READ = 1, WRITE = 2, EXEC = 4, TRUNC = 8 } |
enum | { PRIV = 0, SHAR = 1 } |
Public Member Functions | |
FXMemMap () | |
void * | mapFile (const FXString &filename, long off=0, long len=-1L, FXuint access=READ, FXuint share=PRIV) |
void * | unmap () |
void | sync () |
void * | base () const |
long | length () const |
long | offset () const |
~FXMemMap () |
Moreover, mapped files may be shared by processes, resuling in far less "real" memory being used than would otherwise be the case.
|
Memory map access modes.
|
|
Share mode.
|
|
Construct a memory map.
|
|
Destroy the map.
|
|
Map a view of the file; the offset must be a multiple of the page size.
|
|
Unmap the view of the file.
|
|
Synchronize disk.
|
|
Return pointer to memory area.
|
|
Obtain length of the map.
|
|
Obtain offset of the map.
|
Copyright © 1997-2005 Jeroen van der Zijp |