1 //! PowerPC64-specific definitions for 64-bit linux-like values
4 pub type wchar_t
= i32;
5 pub type nlink_t
= u64;
6 pub type blksize_t
= i64;
12 pub st_nlink
: ::nlink_t
,
13 pub st_mode
: ::mode_t
,
19 pub st_blksize
: ::blksize_t
,
20 pub st_blocks
: ::blkcnt_t
,
21 pub st_atime
: ::time_t
,
22 pub st_atime_nsec
: ::c_long
,
23 pub st_mtime
: ::time_t
,
24 pub st_mtime_nsec
: ::c_long
,
25 pub st_ctime
: ::time_t
,
26 pub st_ctime_nsec
: ::c_long
,
27 __unused
: [::c_long
; 3],
32 pub st_ino
: ::ino64_t
,
33 pub st_nlink
: ::nlink_t
,
34 pub st_mode
: ::mode_t
,
39 pub st_size
: ::off64_t
,
40 pub st_blksize
: ::blksize_t
,
41 pub st_blocks
: ::blkcnt64_t
,
42 pub st_atime
: ::time_t
,
43 pub st_atime_nsec
: ::c_long
,
44 pub st_mtime
: ::time_t
,
45 pub st_mtime_nsec
: ::c_long
,
46 pub st_ctime
: ::time_t
,
47 pub st_ctime_nsec
: ::c_long
,
48 __reserved
: [::c_long
; 3],
51 pub struct pthread_attr_t
{
56 pub const __SIZEOF_PTHREAD_MUTEX_T
: usize = 40;
57 pub const __SIZEOF_PTHREAD_MUTEXATTR_T
: usize = 4;
59 pub const O_DIRECTORY
: ::c_int
= 0x4000;
60 pub const O_NOFOLLOW
: ::c_int
= 0x8000;
61 pub const O_DIRECT
: ::c_int
= 0x20000;
63 pub const MAP_LOCKED
: ::c_int
= 0x00080;
64 pub const MAP_NORESERVE
: ::c_int
= 0x00040;
66 pub const EDEADLOCK
: ::c_int
= 58;
68 pub const SO_PEERCRED
: ::c_int
= 21;
69 pub const SO_RCVLOWAT
: ::c_int
= 16;
70 pub const SO_SNDLOWAT
: ::c_int
= 17;
71 pub const SO_RCVTIMEO
: ::c_int
= 18;
72 pub const SO_SNDTIMEO
: ::c_int
= 19;
74 pub const FIOCLEX
: ::c_ulong
= 0x20006601;
75 pub const FIONBIO
: ::c_ulong
= 0x8004667e;
77 pub const SYS_gettid
: ::c_long
= 207;
78 pub const SYS_perf_event_open
: ::c_long
= 319;