1 pub type blkcnt_t
= i64;
2 pub type blksize_t
= i64;
5 pub type c_ulong
= u64;
7 pub type nlink_t
= u64;
9 pub type suseconds_t
= i64;
10 pub type time_t
= i64;
11 pub type wchar_t
= i32;
12 pub type clock_t
= i64;
13 pub type __u64
= ::c_ulong
;
17 pub aio_fildes
: ::c_int
,
18 pub aio_lio_opcode
: ::c_int
,
19 pub aio_reqprio
: ::c_int
,
20 pub aio_buf
: *mut ::c_void
,
21 pub aio_nbytes
: ::size_t
,
22 pub aio_sigevent
: ::sigevent
,
23 __next_prio
: *mut aiocb
,
26 __error_code
: ::c_int
,
27 __return_value
: ::ssize_t
,
28 pub aio_offset
: off_t
,
29 __glibc_reserved
: [::c_char
; 32]
33 pub st_dev
: ::c_ulong
,
34 st_pad1
: [::c_long
; 2],
36 pub st_mode
: ::mode_t
,
37 pub st_nlink
: ::nlink_t
,
40 pub st_rdev
: ::c_ulong
,
41 st_pad2
: [::c_ulong
; 1],
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 pub st_blksize
: ::blksize_t
,
52 pub st_blocks
: ::blkcnt_t
,
53 st_pad5
: [::c_long
; 7],
57 pub st_dev
: ::c_ulong
,
58 st_pad1
: [::c_long
; 2],
59 pub st_ino
: ::ino64_t
,
60 pub st_mode
: ::mode_t
,
61 pub st_nlink
: ::nlink_t
,
64 pub st_rdev
: ::c_ulong
,
65 st_pad2
: [::c_long
; 2],
66 pub st_size
: ::off64_t
,
67 pub st_atime
: ::time_t
,
68 pub st_atime_nsec
: ::c_long
,
69 pub st_mtime
: ::time_t
,
70 pub st_mtime_nsec
: ::c_long
,
71 pub st_ctime
: ::time_t
,
72 pub st_ctime_nsec
: ::c_long
,
73 pub st_blksize
: ::blksize_t
,
75 pub st_blocks
: ::blkcnt64_t
,
76 st_pad5
: [::c_long
; 7],
81 pub f_bsize
: ::c_long
,
82 pub f_frsize
: ::c_long
,
89 pub f_namelen
: ::c_long
,
90 pub f_flags
: ::c_long
,
91 pub f_spare
: [::c_long
; 5],
94 pub struct statvfs64
{
95 pub f_bsize
: ::c_ulong
,
96 pub f_frsize
: ::c_ulong
,
103 pub f_fsid
: ::c_ulong
,
104 pub f_flag
: ::c_ulong
,
105 pub f_namemax
: ::c_ulong
,
106 __f_spare
: [::c_int
; 6],
109 pub struct pthread_attr_t
{
110 __size
: [::c_ulong
; 7]
113 pub struct sigaction
{
114 pub sa_flags
: ::c_int
,
115 pub sa_sigaction
: ::sighandler_t
,
116 pub sa_mask
: sigset_t
,
117 pub sa_restorer
: ::dox
::Option
<extern fn()>,
121 pub ss_sp
: *mut ::c_void
,
122 pub ss_size
: ::size_t
,
123 pub ss_flags
: ::c_int
,
126 pub struct sigset_t
{
127 __size
: [::c_ulong
; 16],
130 pub struct siginfo_t
{
131 pub si_signo
: ::c_int
,
132 pub si_code
: ::c_int
,
133 pub si_errno
: ::c_int
,
135 _pad2
: [::c_long
; 14],
138 pub struct ipc_perm
{
145 pub __seq
: ::c_ushort
,
147 __unused1
: ::c_ulong
,
151 pub struct shmid_ds
{
152 pub shm_perm
: ::ipc_perm
,
153 pub shm_segsz
: ::size_t
,
154 pub shm_atime
: ::time_t
,
155 pub shm_dtime
: ::time_t
,
156 pub shm_ctime
: ::time_t
,
157 pub shm_cpid
: ::pid_t
,
158 pub shm_lpid
: ::pid_t
,
159 pub shm_nattch
: ::shmatt_t
,
160 __unused4
: ::c_ulong
,
164 pub struct msqid_ds
{
165 pub msg_perm
: ::ipc_perm
,
166 pub msg_stime
: ::time_t
,
167 pub msg_rtime
: ::time_t
,
168 pub msg_ctime
: ::time_t
,
169 __msg_cbytes
: ::c_ulong
,
170 pub msg_qnum
: ::msgqnum_t
,
171 pub msg_qbytes
: ::msglen_t
,
172 pub msg_lspid
: ::pid_t
,
173 pub msg_lrpid
: ::pid_t
,
174 __glibc_reserved4
: ::c_ulong
,
175 __glibc_reserved5
: ::c_ulong
,
179 pub f_type
: ::c_long
,
180 pub f_bsize
: ::c_long
,
181 pub f_frsize
: ::c_long
,
182 pub f_blocks
: ::fsblkcnt_t
,
183 pub f_bfree
: ::fsblkcnt_t
,
184 pub f_files
: ::fsblkcnt_t
,
185 pub f_ffree
: ::fsblkcnt_t
,
186 pub f_bavail
: ::fsblkcnt_t
,
187 pub f_fsid
: ::fsid_t
,
189 pub f_namelen
: ::c_long
,
190 f_spare
: [::c_long
; 6],
194 pub msg_name
: *mut ::c_void
,
195 pub msg_namelen
: ::socklen_t
,
196 pub msg_iov
: *mut ::iovec
,
197 pub msg_iovlen
: ::size_t
,
198 pub msg_control
: *mut ::c_void
,
199 pub msg_controllen
: ::size_t
,
200 pub msg_flags
: ::c_int
,
204 pub cmsg_len
: ::size_t
,
205 pub cmsg_level
: ::c_int
,
206 pub cmsg_type
: ::c_int
,
210 pub c_iflag
: ::tcflag_t
,
211 pub c_oflag
: ::tcflag_t
,
212 pub c_cflag
: ::tcflag_t
,
213 pub c_lflag
: ::tcflag_t
,
215 pub c_cc
: [::cc_t
; ::NCCS
],
219 pub l_type
: ::c_short
,
220 pub l_whence
: ::c_short
,
221 pub l_start
: ::off_t
,
227 pub uptime
: ::c_long
,
228 pub loads
: [::c_ulong
; 3],
229 pub totalram
: ::c_ulong
,
230 pub freeram
: ::c_ulong
,
231 pub sharedram
: ::c_ulong
,
232 pub bufferram
: ::c_ulong
,
233 pub totalswap
: ::c_ulong
,
234 pub freeswap
: ::c_ulong
,
235 pub procs
: ::c_ushort
,
237 pub totalhigh
: ::c_ulong
,
238 pub freehigh
: ::c_ulong
,
239 pub mem_unit
: ::c_uint
,
240 pub _f
: [::c_char
; 0],
244 pub const __SIZEOF_PTHREAD_CONDATTR_T
: usize = 4;
245 pub const __SIZEOF_PTHREAD_MUTEXATTR_T
: usize = 4;
246 pub const __SIZEOF_PTHREAD_MUTEX_T
: usize = 40;
247 pub const __SIZEOF_PTHREAD_RWLOCK_T
: usize = 56;
248 pub const __SIZEOF_PTHREAD_RWLOCKATTR_T
: usize = 8;
250 pub const O_LARGEFILE
: ::c_int
= 0;
252 pub const RLIM_INFINITY
: ::rlim_t
= 0xffff_ffff_ffff_ffff;
255 pub const SYS_pivot_root
: ::c_long
= 5151;
256 pub const SYS_gettid
: ::c_long
= 5178;
257 pub const SYS_memfd_create
: ::c_long
= 5314;