1 //! AArch64-specific definitions for 64-bit linux-like values
4 pub type wchar_t
= u32;
5 pub type nlink_t
= u32;
6 pub type blksize_t
= i32;
12 pub st_mode
: ::mode_t
,
13 pub st_nlink
: ::nlink_t
,
19 pub st_blksize
: ::blksize_t
,
21 pub st_blocks
: ::blkcnt_t
,
22 pub st_atime
: ::time_t
,
23 pub st_atime_nsec
: ::c_long
,
24 pub st_mtime
: ::time_t
,
25 pub st_mtime_nsec
: ::c_long
,
26 pub st_ctime
: ::time_t
,
27 pub st_ctime_nsec
: ::c_long
,
28 __unused
: [::c_int
; 2],
34 pub st_mode
: ::mode_t
,
35 pub st_nlink
: ::nlink_t
,
40 pub st_size
: ::off64_t
,
41 pub st_blksize
: ::blksize_t
,
43 pub st_blocks
: ::blkcnt64_t
,
44 pub st_atime
: ::time_t
,
45 pub st_atime_nsec
: ::c_long
,
46 pub st_mtime
: ::time_t
,
47 pub st_mtime_nsec
: ::c_long
,
48 pub st_ctime
: ::time_t
,
49 pub st_ctime_nsec
: ::c_long
,
50 __unused
: [::c_int
; 2],
53 pub struct pthread_attr_t
{
58 pub const __SIZEOF_PTHREAD_MUTEX_T
: usize = 48;
59 pub const __SIZEOF_PTHREAD_MUTEXATTR_T
: usize = 8;
61 pub const O_DIRECT
: ::c_int
= 0x10000;
62 pub const O_DIRECTORY
: ::c_int
= 0x4000;
63 pub const O_NOFOLLOW
: ::c_int
= 0x8000;
65 pub const MAP_LOCKED
: ::c_int
= 0x02000;
66 pub const MAP_NORESERVE
: ::c_int
= 0x04000;
68 pub const EDEADLOCK
: ::c_int
= 35;
70 pub const SO_PEERCRED
: ::c_int
= 17;
71 pub const SO_RCVLOWAT
: ::c_int
= 18;
72 pub const SO_SNDLOWAT
: ::c_int
= 19;
73 pub const SO_RCVTIMEO
: ::c_int
= 20;
74 pub const SO_SNDTIMEO
: ::c_int
= 21;
76 pub const FIOCLEX
: ::c_ulong
= 0x5451;
77 pub const FIONBIO
: ::c_ulong
= 0x5421;
79 pub const SYS_gettid
: ::c_long
= 178;
80 pub const SYS_perf_event_open
: ::c_long
= 241;