]>
Commit | Line | Data |
---|---|---|
92a42be0 SL |
1 | pub type c_char = u8; |
2 | pub type wchar_t = u32; | |
9cc50fc6 SL |
3 | |
4 | pub const O_DIRECT: ::c_int = 0x10000; | |
5 | pub const O_DIRECTORY: ::c_int = 0x4000; | |
6 | pub const O_NOFOLLOW: ::c_int = 0x8000; | |
7 | ||
8 | pub const MAP_LOCKED: ::c_int = 0x02000; | |
9 | pub const MAP_NORESERVE: ::c_int = 0x04000; | |
10 | ||
11 | pub const EDEADLOCK: ::c_int = 35; | |
12 | ||
13 | pub const SO_PEERCRED: ::c_int = 17; | |
14 | pub const SO_RCVLOWAT: ::c_int = 18; | |
15 | pub const SO_SNDLOWAT: ::c_int = 19; | |
16 | pub const SO_RCVTIMEO: ::c_int = 20; | |
17 | pub const SO_SNDTIMEO: ::c_int = 21; | |
18 | ||
19 | pub const FIOCLEX: ::c_ulong = 0x5451; | |
20 | pub const FIONBIO: ::c_ulong = 0x5421; | |
54a0048b SL |
21 | |
22 | pub const SYS_gettid: ::c_long = 224; | |
23 | pub const SYS_perf_event_open: ::c_long = 364; |