 |
IsoSpec
1.95
|
17 #ifndef _WIN32_WINNT // Allow use of features specific to Windows XP or later.
18 #define _WIN32_WINNT 0x0501 // Change this to the appropriate value to target other versions of Windows.
29 typedef int64_t OffsetType;
31 typedef uint32_t OffsetType;
34 #include <sys/types.h>
46 #define MAP_FIXED 0x10
47 #define MAP_ANONYMOUS 0x20
48 #define MAP_ANON MAP_ANONYMOUS
50 #define MAP_FAILED ((void *)-1)
55 #define MS_INVALIDATE 4
57 void* mmap(
void *addr,
size_t len,
int prot,
int flags,
int fildes, OffsetType off);
58 int munmap(
void *addr,
size_t len);
59 int _mprotect(
void *addr,
size_t len,
int prot);
60 int msync(
void *addr,
size_t len,
int flags);
61 int mlock(
const void *addr,
size_t len);
62 int munlock(
const void *addr,
size_t len);