]>
Commit | Line | Data |
---|---|---|
92a42be0 SL |
1 | //! 32-bit specific Apple (ios/darwin) definitions |
2 | ||
3 | pub type c_long = i32; | |
4 | pub type c_ulong = u32; | |
5 | ||
92a42be0 SL |
6 | s! { |
7 | pub struct pthread_attr_t { | |
8 | __sig: c_long, | |
9 | __opaque: [::c_char; 36] | |
10 | } | |
11 | } | |
54a0048b SL |
12 | |
13 | pub const __PTHREAD_MUTEX_SIZE__: usize = 40; | |
14 | pub const __PTHREAD_COND_SIZE__: usize = 24; | |
15 | pub const __PTHREAD_RWLOCK_SIZE__: usize = 124; | |
16 | ||
17 | pub const TIOCTIMESTAMP: ::c_ulong = 0x40087459; | |
18 | pub const TIOCDCDTIMESTAMP: ::c_ulong = 0x40087458; |