Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
wmman.cpp File Reference
Include dependency graph for wmman.cpp:

Functions

unsigned MemoryProtectionFromPosix (int prot)
 
int mprotect (void *addr, size_t len, int prot)
 
static Status mmap_mem (void *start, size_t len, int prot, int flags, int fd, void **pp)
 
static Status DecodeFlags (int prot, int flags, DWORD &protect, DWORD &access)
 
static Status mmap_file (void *start, size_t len, int prot, int flags, int fd, off_t ofs, void **pp)
 
void * mmap (void *start, size_t len, int prot, int flags, int fd, off_t ofs)
 
int munmap (void *start, size_t len)
 

Function Documentation

◆ DecodeFlags()

static Status DecodeFlags ( int  prot,
int  flags,
DWORD &  protect,
DWORD &  access 
)
static

◆ MemoryProtectionFromPosix()

unsigned MemoryProtectionFromPosix ( int  prot)

◆ mmap()

void * mmap ( void *  start,
size_t  len,
int  prot,
int  flags,
int  fd,
off_t  ofs 
)

◆ mmap_file()

static Status mmap_file ( void *  start,
size_t  len,
int  prot,
int  flags,
int  fd,
off_t  ofs,
void **  pp 
)
static

◆ mmap_mem()

static Status mmap_mem ( void *  start,
size_t  len,
int  prot,
int  flags,
int  fd,
void **  pp 
)
static

◆ mprotect()

int mprotect ( void *  addr,
size_t  len,
int  prot 
)

◆ munmap()

int munmap ( void *  start,
size_t  len 
)