PLearn 0.1
|
#include <cstdlib>
#include <sys/stat.h>
Go to the source code of this file.
Namespaces | |
namespace | PLearn |
< for swap | |
Typedefs | |
typedef int | PLearn::tFileHandle |
Functions | |
void * | PLearn::MemoryMap (const char *filename, tFileHandle &handle, bool read_only, off_t &filesize) |
returns a pointer to the memory-mapped file or 0 if it fails for some reason. | |
void | PLearn::memoryUnmap (void *data, tFileHandle handle, int length) |
Variables | |
const int | PLearn::STORAGE_UNUSED_HANDLE = -1 |
Definition in file MemoryMap.h.