 |
IsoSpec
2.1.2
|
20 #ifndef _WIN32_WINNT // Allow use of features specific to Windows XP or later.
21 #define _WIN32_WINNT 0x0501 // Change this to the appropriate value to target other versions of Windows.
32 typedef int64_t OffsetType;
34 typedef uint32_t OffsetType;
37 #include <sys/types.h>
49 #define MAP_FIXED 0x10
50 #define MAP_ANONYMOUS 0x20
51 #define MAP_ANON MAP_ANONYMOUS
53 #define MAP_FAILED ((void *)-1)
58 #define MS_INVALIDATE 4
60 void* mmap(
void *addr,
size_t len,
int prot,
int flags,
int fildes, OffsetType off);
61 int munmap(
void *addr,
size_t len);
62 int _mprotect(
void *addr,
size_t len,
int prot);
63 int msync(
void *addr,
size_t len,
int flags);
64 int mlock(
const void *addr,
size_t len);
65 int munlock(
const void *addr,
size_t len);