PageRenderTime 27ms CodeModel.GetById 24ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/packages/libc/src/bmmanh.inc

https://github.com/slibre/freepascal
Unknown | 50 lines | 38 code | 12 blank | 0 comment | 0 complexity | a8bc0b640cc2e2d8e19596dcd52fbd99 MD5 | raw file
Possible License(s): LGPL-2.0, LGPL-2.1, LGPL-3.0
 1
 2const
 3   PROT_READ = $1;
 4   PROT_WRITE = $2;
 5   PROT_EXEC = $4;
 6   PROT_NONE = $0;
 7   MAP_SHARED = $01;
 8   MAP_PRIVATE = $02;
 9
10   MAP_TYPE = $0f;
11
12   MAP_FIXED = $10;
13
14   MAP_FILE = 0;
15   MAP_ANONYMOUS = $20;
16   MAP_ANON = MAP_ANONYMOUS;
17
18   MAP_GROWSDOWN = $0100;
19   MAP_DENYWRITE = $0800;
20   MAP_EXECUTABLE = $1000;
21   MAP_LOCKED = $2000;
22   MAP_NORESERVE = $4000;
23
24   MS_ASYNC = 1;
25   MS_SYNC = 4;
26   MS_INVALIDATE = 2;
27   MCL_CURRENT = 1;
28   MCL_FUTURE = 2;
29
30   MREMAP_MAYMOVE = 1;
31
32   MADV_NORMAL = 0;
33   MADV_RANDOM = 1;
34   MADV_SEQUENTIAL = 2;
35   MADV_WILLNEED = 3;
36   MADV_DONTNEED = 4;
37
38const
39   POSIX_MADV_NORMAL = 0;
40   POSIX_MADV_RANDOM = 1;
41   POSIX_MADV_SEQUENTIAL = 2;
42   POSIX_MADV_WILLNEED = 3;
43   POSIX_MADV_DONTNEED = 4;
44
45
46{ ---------------------------------------------------------------------
47    Borland compatibility types
48  ---------------------------------------------------------------------}
49
50// Type