 |
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. 26 #if defined(MMAN_LIBRARY) 27 #define MMANSHARED_EXPORT __declspec(dllexport) 29 #define MMANSHARED_EXPORT __declspec(dllimport) 35 typedef int64_t OffsetType;
37 typedef uint32_t OffsetType;
40 #include <sys/types.h> 55 #define MAP_FIXED 0x10 56 #define MAP_ANONYMOUS 0x20 57 #define MAP_ANON MAP_ANONYMOUS 59 #define MAP_FAILED ((void *)-1) 64 #define MS_INVALIDATE 4 66 MMANSHARED_EXPORT
void* mmap(
void *addr,
size_t len,
int prot,
int flags,
int fildes, OffsetType off);
67 MMANSHARED_EXPORT
int munmap(
void *addr,
size_t len);
68 MMANSHARED_EXPORT
int _mprotect(
void *addr,
size_t len,
int prot);
69 MMANSHARED_EXPORT
int msync(
void *addr,
size_t len,
int flags);
70 MMANSHARED_EXPORT
int mlock(
const void *addr,
size_t len);
71 MMANSHARED_EXPORT
int munlock(
const void *addr,
size_t len);