RetroArch
|
Macros | |
#define | PROT_READ 0x1 /* Page can be read */ |
#define | PROT_WRITE 0x2 /* Page can be written. */ |
#define | PROT_READWRITE 0x3 /* Page can be written to and read from. */ |
#define | PROT_EXEC 0x4 /* Page can be executed. */ |
#define | PROT_NONE 0x0 /* Page can not be accessed. */ |
#define | MAP_FAILED ((void *) -1) |
Functions | |
void * | mmap (void *addr, size_t len, int prot, int flags, int fildes, size_t offset) |
int | munmap (void *addr, size_t len) |
int | mprotect (void *addr, size_t len, int prot) |
int | memsync (void *start, void *end) |
int | memprotect (void *addr, size_t len) |
#define MAP_FAILED ((void *) -1) |
#define PROT_EXEC 0x4 /* Page can be executed. */ |
#define PROT_NONE 0x0 /* Page can not be accessed. */ |
#define PROT_READ 0x1 /* Page can be read */ |
#define PROT_READWRITE 0x3 /* Page can be written to and read from. */ |
#define PROT_WRITE 0x2 /* Page can be written. */ |
int memprotect | ( | void * | addr, |
size_t | len | ||
) |
int mprotect | ( | void * | addr, |
size_t | len, | ||
int | prot | ||
) |
int munmap | ( | void * | addr, |
size_t | len | ||
) |