| ... | ... | @@ -26,6 +26,21 @@ pub const PROT_READ = 1; |
| 26 | 26 | pub const PROT_WRITE = 2; |
| 27 | 27 | pub const PROT_EXEC = 4; |
| 28 | 28 | |
| 29 | pub const CLOCK_REALTIME = 0; |
| 30 | pub const CLOCK_VIRTUAL = 1; |
| 31 | pub const CLOCK_PROF = 2; |
| 32 | pub const CLOCK_MONOTONIC = 4; |
| 33 | pub const CLOCK_UPTIME = 5; |
| 34 | pub const CLOCK_UPTIME_PRECISE = 7; |
| 35 | pub const CLOCK_UPTIME_FAST = 8; |
| 36 | pub const CLOCK_REALTIME_PRECISE = 9; |
| 37 | pub const CLOCK_REALTIME_FAST = 10; |
| 38 | pub const CLOCK_MONOTONIC_PRECISE = 11; |
| 39 | pub const CLOCK_MONOTONIC_FAST = 12; |
| 40 | pub const CLOCK_SECOND = 13; |
| 41 | pub const CLOCK_THREAD_CPUTIME_ID = 14; |
| 42 | pub const CLOCK_PROCESS_CPUTIME_ID = 15; |
| 43 | |
| 29 | 44 | pub const MAP_FAILED = maxInt(usize); |
| 30 | 45 | pub const MAP_SHARED = 0x0001; |
| 31 | 46 | pub const MAP_PRIVATE = 0x0002; |