Spaces:
Running
Running
// Below code is originally from mman-win32 | |
// | |
/* | |
* sys/mman.h | |
* mman-win32 | |
*/ | |
/* All the headers include this file. */ | |
extern "C" { | |
/* Flags for msync. */ | |
/* Flags for portable clock_gettime call. */ | |
void* mmap(void *addr, size_t len, int prot, int flags, int fildes, ssize_t off); | |
int munmap(void *addr, size_t len); | |
int mprotect(void *addr, size_t len, int prot); | |
int msync(void *addr, size_t len, int flags); | |
int mlock(const void *addr, size_t len); | |
int munlock(const void *addr, size_t len); | |
int clock_gettime(int clk_id, struct timespec *tp); | |
}; | |