Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
|
Go to the source code of this file.
Macros | |
#define | PROT_NONE 0x00 |
#define | PROT_READ 0x01 |
#define | PROT_WRITE 0x02 |
#define | PROT_EXEC 0x04 |
#define | MAP_SHARED 0x01 |
#define | MAP_PRIVATE 0x02 |
#define | MAP_FIXED 0x04 |
#define | MAP_ANONYMOUS 0x10 |
#define | MAP_NORESERVE 0x20 |
#define | MAP_FAILED ((void*)intptr_t(-1)) |
Functions | |
void * | mmap (void *start, size_t len, int prot, int flags, int fd, off_t offset) |
int | munmap (void *start, size_t len) |
int | mprotect (void *addr, size_t len, int prot) |
unsigned | MemoryProtectionFromPosix (int prot) |
#define MAP_ANONYMOUS 0x10 |
#define MAP_FAILED ((void*)intptr_t(-1)) |
#define MAP_FIXED 0x04 |
#define MAP_NORESERVE 0x20 |
#define MAP_PRIVATE 0x02 |
#define MAP_SHARED 0x01 |
#define PROT_EXEC 0x04 |
#define PROT_NONE 0x00 |
#define PROT_READ 0x01 |
#define PROT_WRITE 0x02 |
unsigned MemoryProtectionFromPosix | ( | int | prot | ) |
void * mmap | ( | void * | start, |
size_t | len, | ||
int | prot, | ||
int | flags, | ||
int | fd, | ||
off_t | offset | ||
) |
int mprotect | ( | void * | addr, |
size_t | len, | ||
int | prot | ||
) |
int munmap | ( | void * | start, |
size_t | len | ||
) |