]> git.proxmox.com Git - rustc.git/blob - src/liblibc/src/unix/bsd/apple/b32.rs
Imported Upstream version 1.9.0+dfsg1
[rustc.git] / src / liblibc / src / unix / bsd / apple / b32.rs
1 //! 32-bit specific Apple (ios/darwin) definitions
2
3 pub type c_long = i32;
4 pub type c_ulong = u32;
5
6 s! {
7 pub struct pthread_attr_t {
8 __sig: c_long,
9 __opaque: [::c_char; 36]
10 }
11 }
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;