1 //! 64-bit specific definitions for linux-like values
4 pub type c_ulong
= u64;
5 pub type clock_t
= i64;
7 pub type suseconds_t
= i64;
10 pub type blkcnt_t
= i64;
11 pub type __fsword_t
= ::c_long
;
15 __val
: [::c_ulong
; 16],
20 pub loads
: [::c_ulong
; 3],
21 pub totalram
: ::c_ulong
,
22 pub freeram
: ::c_ulong
,
23 pub sharedram
: ::c_ulong
,
24 pub bufferram
: ::c_ulong
,
25 pub totalswap
: ::c_ulong
,
26 pub freeswap
: ::c_ulong
,
27 pub procs
: ::c_ushort
,
29 pub totalhigh
: ::c_ulong
,
30 pub freehigh
: ::c_ulong
,
31 pub mem_unit
: ::c_uint
,
32 pub _f
: [::c_char
; 0],
36 pub msg_perm
: ::ipc_perm
,
37 pub msg_stime
: ::time_t
,
38 pub msg_rtime
: ::time_t
,
39 pub msg_ctime
: ::time_t
,
40 __msg_cbytes
: ::c_ulong
,
41 pub msg_qnum
: ::msgqnum_t
,
42 pub msg_qbytes
: ::msglen_t
,
43 pub msg_lspid
: ::pid_t
,
44 pub msg_lrpid
: ::pid_t
,
45 __glibc_reserved4
: ::c_ulong
,
46 __glibc_reserved5
: ::c_ulong
,
50 pub const __SIZEOF_PTHREAD_RWLOCK_T
: usize = 56;
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 = "x86_64"))] {
61 pub use self::x86_64
::*;
63 // Unknown target_arch