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