1 //! 64-bit specific definitions for linux-like values
3 pub type clock_t
= i64;
7 pub type blkcnt_t
= i64;
8 pub type __fsword_t
= i64;
9 pub type shmatt_t
= u64;
10 pub type msgqnum_t
= u64;
11 pub type msglen_t
= u64;
12 pub type fsblkcnt_t
= u64;
13 pub type fsfilcnt_t
= u64;
14 pub type rlim_t
= u64;
18 #[cfg(target_pointer_width = "32")]
20 #[cfg(target_pointer_width = "64")]
33 pub procs
: ::c_ushort
,
37 pub mem_unit
: ::c_uint
,
38 pub _f
: [::c_char
; 0],
42 pub msg_perm
: ::ipc_perm
,
43 pub msg_stime
: ::time_t
,
44 pub msg_rtime
: ::time_t
,
45 pub msg_ctime
: ::time_t
,
47 pub msg_qnum
: ::msgqnum_t
,
48 pub msg_qbytes
: ::msglen_t
,
49 pub msg_lspid
: ::pid_t
,
50 pub msg_lrpid
: ::pid_t
,
51 __glibc_reserved4
: u64,
52 __glibc_reserved5
: u64,
56 pub const __SIZEOF_PTHREAD_RWLOCKATTR_T
: usize = 8;
58 pub const O_LARGEFILE
: ::c_int
= 0;
61 if #[cfg(target_arch = "aarch64")] {
63 pub use self::aarch64
::*;
64 } else if #[cfg(any(target_arch = "powerpc64"))] {
66 pub use self::powerpc64
::*;
67 } else if #[cfg(any(target_arch = "sparc64"))] {
69 pub use self::sparc64
::*;
70 } else if #[cfg(any(target_arch = "x86_64"))] {
72 pub use self::x86_64
::*;
74 if #[cfg(target_pointer_width = "32")] {
79 pub use self::not_x32
::*;
83 // Unknown target_arch