1 //! 64-bit specific definitions for linux-like values
4 pub type c_ulong
= u64;
5 pub type clock_t
= i64;
9 pub type blkcnt_t
= i64;
10 pub type __fsword_t
= ::c_long
;
14 __val
: [::c_ulong
; 16],
19 pub loads
: [::c_ulong
; 3],
20 pub totalram
: ::c_ulong
,
21 pub freeram
: ::c_ulong
,
22 pub sharedram
: ::c_ulong
,
23 pub bufferram
: ::c_ulong
,
24 pub totalswap
: ::c_ulong
,
25 pub freeswap
: ::c_ulong
,
26 pub procs
: ::c_ushort
,
28 pub totalhigh
: ::c_ulong
,
29 pub freehigh
: ::c_ulong
,
30 pub mem_unit
: ::c_uint
,
31 pub _f
: [::c_char
; 0],
35 pub msg_perm
: ::ipc_perm
,
36 pub msg_stime
: ::time_t
,
37 pub msg_rtime
: ::time_t
,
38 pub msg_ctime
: ::time_t
,
39 __msg_cbytes
: ::c_ulong
,
40 pub msg_qnum
: ::msgqnum_t
,
41 pub msg_qbytes
: ::msglen_t
,
42 pub msg_lspid
: ::pid_t
,
43 pub msg_lrpid
: ::pid_t
,
44 __glibc_reserved4
: ::c_ulong
,
45 __glibc_reserved5
: ::c_ulong
,
49 pub const __SIZEOF_PTHREAD_RWLOCK_T
: usize = 56;
50 pub const __SIZEOF_PTHREAD_RWLOCKATTR_T
: usize = 8;
53 if #[cfg(target_arch = "aarch64")] {
55 pub use self::aarch64
::*;
56 } else if #[cfg(any(target_arch = "powerpc64"))] {
58 pub use self::powerpc64
::*;
59 } else if #[cfg(any(target_arch = "sparc64"))] {
61 pub use self::sparc64
::*;
62 } else if #[cfg(any(target_arch = "x86_64"))] {
64 pub use self::x86_64
::*;
66 // Unknown target_arch