Last change
on this file since 319 was 279, checked in by coas-nagasima, 7 years ago |
ファイルを追加、更新。
|
-
Property svn:eol-style
set to
native
-
Property svn:keywords
set to
Id
-
Property svn:mime-type
set to
text/x-chdr
|
File size:
1.4 KB
|
Rev | Line | |
---|
[279] | 1 | #define MAP_FAILED ((void *) -1)
|
---|
| 2 |
|
---|
| 3 | #define PROT_NONE 0
|
---|
| 4 | #define PROT_READ 1
|
---|
| 5 | #define PROT_WRITE 2
|
---|
| 6 | #define PROT_EXEC 4
|
---|
| 7 | #define PROT_GROWSDOWN 0x01000000
|
---|
| 8 | #define PROT_GROWSUP 0x02000000
|
---|
| 9 |
|
---|
| 10 | #define MAP_SHARED 0x01
|
---|
| 11 | #define MAP_PRIVATE 0x02
|
---|
| 12 | #define MAP_FIXED 0x10
|
---|
| 13 |
|
---|
| 14 | #define MAP_TYPE 0x0f
|
---|
| 15 | #define MAP_FILE 0x00
|
---|
| 16 | #define MAP_ANON 0x20
|
---|
| 17 | #define MAP_ANONYMOUS MAP_ANON
|
---|
| 18 | #define MAP_NORESERVE 0x4000
|
---|
| 19 | #define MAP_GROWSDOWN 0x0100
|
---|
| 20 | #define MAP_DENYWRITE 0x0800
|
---|
| 21 | #define MAP_EXECUTABLE 0x1000
|
---|
| 22 | #define MAP_LOCKED 0x2000
|
---|
| 23 | #define MAP_POPULATE 0x8000
|
---|
| 24 | #define MAP_NONBLOCK 0x10000
|
---|
| 25 | #define MAP_STACK 0x20000
|
---|
| 26 | #define MAP_HUGETLB 0x40000
|
---|
| 27 |
|
---|
| 28 | #define POSIX_MADV_NORMAL 0
|
---|
| 29 | #define POSIX_MADV_RANDOM 1
|
---|
| 30 | #define POSIX_MADV_SEQUENTIAL 2
|
---|
| 31 | #define POSIX_MADV_WILLNEED 3
|
---|
| 32 | #define POSIX_MADV_DONTNEED 0
|
---|
| 33 |
|
---|
| 34 | #define MS_ASYNC 1
|
---|
| 35 | #define MS_INVALIDATE 2
|
---|
| 36 | #define MS_SYNC 4
|
---|
| 37 |
|
---|
| 38 | #define MCL_CURRENT 1
|
---|
| 39 | #define MCL_FUTURE 2
|
---|
| 40 |
|
---|
| 41 | #if defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
|
---|
| 42 | #define MADV_NORMAL 0
|
---|
| 43 | #define MADV_RANDOM 1
|
---|
| 44 | #define MADV_SEQUENTIAL 2
|
---|
| 45 | #define MADV_WILLNEED 3
|
---|
| 46 | #define MADV_DONTNEED 4
|
---|
| 47 | #define MADV_REMOVE 9
|
---|
| 48 | #define MADV_DONTFORK 10
|
---|
| 49 | #define MADV_DOFORK 11
|
---|
| 50 | #define MADV_MERGEABLE 12
|
---|
| 51 | #define MADV_UNMERGEABLE 13
|
---|
| 52 | #define MADV_HUGEPAGE 14
|
---|
| 53 | #define MADV_NOHUGEPAGE 15
|
---|
| 54 | #define MADV_DONTDUMP 16
|
---|
| 55 | #define MADV_DODUMP 17
|
---|
| 56 | #define MADV_HWPOISON 100
|
---|
| 57 | #define MADV_SOFT_OFFLINE 101
|
---|
| 58 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.