rcap/
lib.rs

1/* automatically generated by rust-bindgen */
2#![allow(non_camel_case_types)]
3#![allow(non_upper_case_globals)]
4#![allow(non_snake_case)]
5#![allow(dead_code)]
6
7extern crate libc;
8
9pub use caps::Caps::*;
10pub mod caps;
11
12pub type __int128_t = ::libc::c_void;
13pub type __uint128_t = ::libc::c_void;
14pub type __builtin_va_list = [__va_list_tag; 1usize];
15pub type size_t = ::libc::c_ulong;
16pub type __u_char = ::libc::c_uchar;
17pub type __u_short = ::libc::c_ushort;
18pub type __u_int = ::libc::c_uint;
19pub type __u_long = ::libc::c_ulong;
20pub type __int8_t = ::libc::c_char;
21pub type __uint8_t = ::libc::c_uchar;
22pub type __int16_t = ::libc::c_short;
23pub type __uint16_t = ::libc::c_ushort;
24pub type __int32_t = ::libc::c_int;
25pub type __uint32_t = ::libc::c_uint;
26pub type __int64_t = ::libc::c_long;
27pub type __uint64_t = ::libc::c_ulong;
28pub type __quad_t = ::libc::c_long;
29pub type __u_quad_t = ::libc::c_ulong;
30pub type __dev_t = ::libc::c_ulong;
31pub type __uid_t = ::libc::c_uint;
32pub type __gid_t = ::libc::c_uint;
33pub type __ino_t = ::libc::c_ulong;
34pub type __ino64_t = ::libc::c_ulong;
35pub type __mode_t = ::libc::c_uint;
36pub type __nlink_t = ::libc::c_ulong;
37pub type __off_t = ::libc::c_long;
38pub type __off64_t = ::libc::c_long;
39pub type __pid_t = ::libc::c_int;
40#[repr(C)]
41#[derive(Copy)]
42pub struct Struct_Unnamed1 {
43    pub __val: [::libc::c_int; 2usize],
44}
45impl ::std::clone::Clone for Struct_Unnamed1 {
46    fn clone(&self) -> Self { *self }
47}
48impl ::std::default::Default for Struct_Unnamed1 {
49    fn default() -> Self { unsafe { ::std::mem::zeroed() } }
50}
51pub type __fsid_t = Struct_Unnamed1;
52pub type __clock_t = ::libc::c_long;
53pub type __rlim_t = ::libc::c_ulong;
54pub type __rlim64_t = ::libc::c_ulong;
55pub type __id_t = ::libc::c_uint;
56pub type __time_t = ::libc::c_long;
57pub type __useconds_t = ::libc::c_uint;
58pub type __suseconds_t = ::libc::c_long;
59pub type __daddr_t = ::libc::c_int;
60pub type __key_t = ::libc::c_int;
61pub type __clockid_t = ::libc::c_int;
62pub type __timer_t = *mut ::libc::c_void;
63pub type __blksize_t = ::libc::c_long;
64pub type __blkcnt_t = ::libc::c_long;
65pub type __blkcnt64_t = ::libc::c_long;
66pub type __fsblkcnt_t = ::libc::c_ulong;
67pub type __fsblkcnt64_t = ::libc::c_ulong;
68pub type __fsfilcnt_t = ::libc::c_ulong;
69pub type __fsfilcnt64_t = ::libc::c_ulong;
70pub type __fsword_t = ::libc::c_long;
71pub type __ssize_t = ::libc::c_long;
72pub type __syscall_slong_t = ::libc::c_long;
73pub type __syscall_ulong_t = ::libc::c_ulong;
74pub type __loff_t = __off64_t;
75pub type __qaddr_t = *mut __quad_t;
76pub type __caddr_t = *mut ::libc::c_char;
77pub type __intptr_t = ::libc::c_long;
78pub type __socklen_t = ::libc::c_uint;
79pub type FILE = Struct__IO_FILE;
80pub type __FILE = Struct__IO_FILE;
81#[repr(C)]
82#[derive(Copy)]
83pub struct Struct_Unnamed2 {
84    pub __count: ::libc::c_int,
85    pub __value: Union_Unnamed3,
86}
87impl ::std::clone::Clone for Struct_Unnamed2 {
88    fn clone(&self) -> Self { *self }
89}
90impl ::std::default::Default for Struct_Unnamed2 {
91    fn default() -> Self { unsafe { ::std::mem::zeroed() } }
92}
93#[repr(C)]
94#[derive(Copy)]
95pub struct Union_Unnamed3 {
96    pub _bindgen_data_: [u32; 1usize],
97}
98impl Union_Unnamed3 {
99    pub unsafe fn __wch(&mut self) -> *mut ::libc::c_uint {
100        let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_);
101        ::std::mem::transmute(raw.offset(0))
102    }
103    pub unsafe fn __wchb(&mut self) -> *mut [::libc::c_char; 4usize] {
104        let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_);
105        ::std::mem::transmute(raw.offset(0))
106    }
107}
108impl ::std::clone::Clone for Union_Unnamed3 {
109    fn clone(&self) -> Self { *self }
110}
111impl ::std::default::Default for Union_Unnamed3 {
112    fn default() -> Self { unsafe { ::std::mem::zeroed() } }
113}
114pub type __mbstate_t = Struct_Unnamed2;
115#[repr(C)]
116#[derive(Copy)]
117pub struct Struct_Unnamed4 {
118    pub __pos: __off_t,
119    pub __state: __mbstate_t,
120}
121impl ::std::clone::Clone for Struct_Unnamed4 {
122    fn clone(&self) -> Self { *self }
123}
124impl ::std::default::Default for Struct_Unnamed4 {
125    fn default() -> Self { unsafe { ::std::mem::zeroed() } }
126}
127pub type _G_fpos_t = Struct_Unnamed4;
128#[repr(C)]
129#[derive(Copy)]
130pub struct Struct_Unnamed5 {
131    pub __pos: __off64_t,
132    pub __state: __mbstate_t,
133}
134impl ::std::clone::Clone for Struct_Unnamed5 {
135    fn clone(&self) -> Self { *self }
136}
137impl ::std::default::Default for Struct_Unnamed5 {
138    fn default() -> Self { unsafe { ::std::mem::zeroed() } }
139}
140pub type _G_fpos64_t = Struct_Unnamed5;
141pub type __gnuc_va_list = __builtin_va_list;
142pub enum Struct__IO_jump_t { }
143pub type _IO_lock_t = ::libc::c_void;
144#[repr(C)]
145#[derive(Copy)]
146pub struct Struct__IO_marker {
147    pub _next: *mut Struct__IO_marker,
148    pub _sbuf: *mut Struct__IO_FILE,
149    pub _pos: ::libc::c_int,
150}
151impl ::std::clone::Clone for Struct__IO_marker {
152    fn clone(&self) -> Self { *self }
153}
154impl ::std::default::Default for Struct__IO_marker {
155    fn default() -> Self { unsafe { ::std::mem::zeroed() } }
156}
157pub type Enum___codecvt_result = ::libc::c_uint;
158pub const __codecvt_ok: ::libc::c_uint = 0;
159pub const __codecvt_partial: ::libc::c_uint = 1;
160pub const __codecvt_error: ::libc::c_uint = 2;
161pub const __codecvt_noconv: ::libc::c_uint = 3;
162#[repr(C)]
163#[derive(Copy)]
164pub struct Struct__IO_FILE {
165    pub _flags: ::libc::c_int,
166    pub _IO_read_ptr: *mut ::libc::c_char,
167    pub _IO_read_end: *mut ::libc::c_char,
168    pub _IO_read_base: *mut ::libc::c_char,
169    pub _IO_write_base: *mut ::libc::c_char,
170    pub _IO_write_ptr: *mut ::libc::c_char,
171    pub _IO_write_end: *mut ::libc::c_char,
172    pub _IO_buf_base: *mut ::libc::c_char,
173    pub _IO_buf_end: *mut ::libc::c_char,
174    pub _IO_save_base: *mut ::libc::c_char,
175    pub _IO_backup_base: *mut ::libc::c_char,
176    pub _IO_save_end: *mut ::libc::c_char,
177    pub _markers: *mut Struct__IO_marker,
178    pub _chain: *mut Struct__IO_FILE,
179    pub _fileno: ::libc::c_int,
180    pub _flags2: ::libc::c_int,
181    pub _old_offset: __off_t,
182    pub _cur_column: ::libc::c_ushort,
183    pub _vtable_offset: ::libc::c_char,
184    pub _shortbuf: [::libc::c_char; 1usize],
185    pub _lock: *mut _IO_lock_t,
186    pub _offset: __off64_t,
187    pub __pad1: *mut ::libc::c_void,
188    pub __pad2: *mut ::libc::c_void,
189    pub __pad3: *mut ::libc::c_void,
190    pub __pad4: *mut ::libc::c_void,
191    pub __pad5: size_t,
192    pub _mode: ::libc::c_int,
193    pub _unused2: [::libc::c_char; 20usize],
194}
195impl ::std::clone::Clone for Struct__IO_FILE {
196    fn clone(&self) -> Self { *self }
197}
198impl ::std::default::Default for Struct__IO_FILE {
199    fn default() -> Self { unsafe { ::std::mem::zeroed() } }
200}
201pub type _IO_FILE = Struct__IO_FILE;
202pub enum Struct__IO_FILE_plus { }
203pub type __io_read_fn =
204    extern "C" fn(__cookie: *mut ::libc::c_void, __buf: *mut ::libc::c_char,
205                  __nbytes: size_t) -> __ssize_t;
206pub type __io_write_fn =
207    extern "C" fn(__cookie: *mut ::libc::c_void, __buf: *const ::libc::c_char,
208                  __n: size_t) -> __ssize_t;
209pub type __io_seek_fn =
210    extern "C" fn(__cookie: *mut ::libc::c_void, __pos: *mut __off64_t,
211                  __w: ::libc::c_int) -> ::libc::c_int;
212pub type __io_close_fn =
213    extern "C" fn(__cookie: *mut ::libc::c_void) -> ::libc::c_int;
214pub type va_list = __gnuc_va_list;
215pub type off_t = __off_t;
216pub type ssize_t = __ssize_t;
217pub type fpos_t = _G_fpos_t;
218pub type wchar_t = ::libc::c_int;
219pub type Enum_Unnamed6 = ::libc::c_uint;
220pub const P_ALL: ::libc::c_uint = 0;
221pub const P_PID: ::libc::c_uint = 1;
222pub const P_PGID: ::libc::c_uint = 2;
223pub type idtype_t = Enum_Unnamed6;
224#[repr(C)]
225#[derive(Copy)]
226pub struct Union_wait {
227    pub _bindgen_data_: [u32; 1usize],
228}
229impl Union_wait {
230    pub unsafe fn w_status(&mut self) -> *mut ::libc::c_int {
231        let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_);
232        ::std::mem::transmute(raw.offset(0))
233    }
234    pub unsafe fn __wait_terminated(&mut self) -> *mut Struct_Unnamed7 {
235        let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_);
236        ::std::mem::transmute(raw.offset(0))
237    }
238    pub unsafe fn __wait_stopped(&mut self) -> *mut Struct_Unnamed8 {
239        let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_);
240        ::std::mem::transmute(raw.offset(0))
241    }
242}
243impl ::std::clone::Clone for Union_wait {
244    fn clone(&self) -> Self { *self }
245}
246impl ::std::default::Default for Union_wait {
247    fn default() -> Self { unsafe { ::std::mem::zeroed() } }
248}
249#[repr(C)]
250#[derive(Copy)]
251pub struct Struct_Unnamed7 {
252    pub _bindgen_bitfield_1_: ::libc::c_uint,
253}
254impl ::std::clone::Clone for Struct_Unnamed7 {
255    fn clone(&self) -> Self { *self }
256}
257impl ::std::default::Default for Struct_Unnamed7 {
258    fn default() -> Self { unsafe { ::std::mem::zeroed() } }
259}
260#[repr(C)]
261#[derive(Copy)]
262pub struct Struct_Unnamed8 {
263    pub _bindgen_bitfield_1_: ::libc::c_uint,
264}
265impl ::std::clone::Clone for Struct_Unnamed8 {
266    fn clone(&self) -> Self { *self }
267}
268impl ::std::default::Default for Struct_Unnamed8 {
269    fn default() -> Self { unsafe { ::std::mem::zeroed() } }
270}
271#[repr(C)]
272#[derive(Copy)]
273pub struct Union_Unnamed9 {
274    pub _bindgen_data_: [u64; 1usize],
275}
276impl Union_Unnamed9 {
277    pub unsafe fn __uptr(&mut self) -> *mut *mut Union_wait {
278        let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_);
279        ::std::mem::transmute(raw.offset(0))
280    }
281    pub unsafe fn __iptr(&mut self) -> *mut *mut ::libc::c_int {
282        let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_);
283        ::std::mem::transmute(raw.offset(0))
284    }
285}
286impl ::std::clone::Clone for Union_Unnamed9 {
287    fn clone(&self) -> Self { *self }
288}
289impl ::std::default::Default for Union_Unnamed9 {
290    fn default() -> Self { unsafe { ::std::mem::zeroed() } }
291}
292pub type __WAIT_STATUS = Union_Unnamed9;
293#[repr(C)]
294#[derive(Copy)]
295pub struct Struct_Unnamed10 {
296    pub quot: ::libc::c_int,
297    pub rem: ::libc::c_int,
298}
299impl ::std::clone::Clone for Struct_Unnamed10 {
300    fn clone(&self) -> Self { *self }
301}
302impl ::std::default::Default for Struct_Unnamed10 {
303    fn default() -> Self { unsafe { ::std::mem::zeroed() } }
304}
305pub type div_t = Struct_Unnamed10;
306#[repr(C)]
307#[derive(Copy)]
308pub struct Struct_Unnamed11 {
309    pub quot: ::libc::c_long,
310    pub rem: ::libc::c_long,
311}
312impl ::std::clone::Clone for Struct_Unnamed11 {
313    fn clone(&self) -> Self { *self }
314}
315impl ::std::default::Default for Struct_Unnamed11 {
316    fn default() -> Self { unsafe { ::std::mem::zeroed() } }
317}
318pub type ldiv_t = Struct_Unnamed11;
319#[repr(C)]
320#[derive(Copy)]
321pub struct Struct_Unnamed12 {
322    pub quot: ::libc::c_longlong,
323    pub rem: ::libc::c_longlong,
324}
325impl ::std::clone::Clone for Struct_Unnamed12 {
326    fn clone(&self) -> Self { *self }
327}
328impl ::std::default::Default for Struct_Unnamed12 {
329    fn default() -> Self { unsafe { ::std::mem::zeroed() } }
330}
331pub type lldiv_t = Struct_Unnamed12;
332pub type u_char = __u_char;
333pub type u_short = __u_short;
334pub type u_int = __u_int;
335pub type u_long = __u_long;
336pub type quad_t = __quad_t;
337pub type u_quad_t = __u_quad_t;
338pub type fsid_t = __fsid_t;
339pub type loff_t = __loff_t;
340pub type ino_t = __ino_t;
341pub type dev_t = __dev_t;
342pub type gid_t = __gid_t;
343pub type mode_t = __mode_t;
344pub type nlink_t = __nlink_t;
345pub type uid_t = __uid_t;
346pub type pid_t = __pid_t;
347pub type id_t = __id_t;
348pub type daddr_t = __daddr_t;
349pub type caddr_t = __caddr_t;
350pub type key_t = __key_t;
351pub type clock_t = __clock_t;
352pub type time_t = __time_t;
353pub type clockid_t = __clockid_t;
354pub type timer_t = __timer_t;
355pub type ulong = ::libc::c_ulong;
356pub type ushort = ::libc::c_ushort;
357pub type _uint = ::libc::c_uint;
358pub type int8_t = ::libc::c_char;
359pub type int16_t = ::libc::c_short;
360pub type int32_t = ::libc::c_int;
361pub type int64_t = ::libc::c_long;
362pub type u_int8_t = ::libc::c_uchar;
363pub type u_int16_t = ::libc::c_ushort;
364pub type u_int32_t = ::libc::c_uint;
365pub type u_int64_t = ::libc::c_ulong;
366pub type register_t = ::libc::c_long;
367pub type __sig_atomic_t = ::libc::c_int;
368#[repr(C)]
369#[derive(Copy)]
370pub struct Struct_Unnamed13 {
371    pub __val: [::libc::c_ulong; 16usize],
372}
373impl ::std::clone::Clone for Struct_Unnamed13 {
374    fn clone(&self) -> Self { *self }
375}
376impl ::std::default::Default for Struct_Unnamed13 {
377    fn default() -> Self { unsafe { ::std::mem::zeroed() } }
378}
379pub type __sigset_t = Struct_Unnamed13;
380pub type sigset_t = __sigset_t;
381#[repr(C)]
382#[derive(Copy)]
383pub struct Struct_timespec {
384    pub tv_sec: __time_t,
385    pub tv_nsec: __syscall_slong_t,
386}
387impl ::std::clone::Clone for Struct_timespec {
388    fn clone(&self) -> Self { *self }
389}
390impl ::std::default::Default for Struct_timespec {
391    fn default() -> Self { unsafe { ::std::mem::zeroed() } }
392}
393#[repr(C)]
394#[derive(Copy)]
395pub struct Struct_timeval {
396    pub tv_sec: __time_t,
397    pub tv_usec: __suseconds_t,
398}
399impl ::std::clone::Clone for Struct_timeval {
400    fn clone(&self) -> Self { *self }
401}
402impl ::std::default::Default for Struct_timeval {
403    fn default() -> Self { unsafe { ::std::mem::zeroed() } }
404}
405pub type suseconds_t = __suseconds_t;
406pub type __fd_mask = ::libc::c_long;
407#[repr(C)]
408#[derive(Copy)]
409pub struct Struct_Unnamed14 {
410    pub __fds_bits: [__fd_mask; 16usize],
411}
412impl ::std::clone::Clone for Struct_Unnamed14 {
413    fn clone(&self) -> Self { *self }
414}
415impl ::std::default::Default for Struct_Unnamed14 {
416    fn default() -> Self { unsafe { ::std::mem::zeroed() } }
417}
418pub type fd_set = Struct_Unnamed14;
419pub type fd_mask = __fd_mask;
420pub type blksize_t = __blksize_t;
421pub type blkcnt_t = __blkcnt_t;
422pub type fsblkcnt_t = __fsblkcnt_t;
423pub type fsfilcnt_t = __fsfilcnt_t;
424pub type pthread_t = ::libc::c_ulong;
425#[repr(C)]
426#[derive(Copy)]
427pub struct Union_pthread_attr_t {
428    pub _bindgen_data_: [u64; 7usize],
429}
430impl Union_pthread_attr_t {
431    pub unsafe fn __size(&mut self) -> *mut [::libc::c_char; 56usize] {
432        let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_);
433        ::std::mem::transmute(raw.offset(0))
434    }
435    pub unsafe fn __align(&mut self) -> *mut ::libc::c_long {
436        let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_);
437        ::std::mem::transmute(raw.offset(0))
438    }
439}
440impl ::std::clone::Clone for Union_pthread_attr_t {
441    fn clone(&self) -> Self { *self }
442}
443impl ::std::default::Default for Union_pthread_attr_t {
444    fn default() -> Self { unsafe { ::std::mem::zeroed() } }
445}
446pub type pthread_attr_t = Union_pthread_attr_t;
447#[repr(C)]
448#[derive(Copy)]
449pub struct Struct___pthread_internal_list {
450    pub __prev: *mut Struct___pthread_internal_list,
451    pub __next: *mut Struct___pthread_internal_list,
452}
453impl ::std::clone::Clone for Struct___pthread_internal_list {
454    fn clone(&self) -> Self { *self }
455}
456impl ::std::default::Default for Struct___pthread_internal_list {
457    fn default() -> Self { unsafe { ::std::mem::zeroed() } }
458}
459pub type __pthread_list_t = Struct___pthread_internal_list;
460#[repr(C)]
461#[derive(Copy)]
462pub struct Union_Unnamed15 {
463    pub _bindgen_data_: [u64; 5usize],
464}
465impl Union_Unnamed15 {
466    pub unsafe fn __data(&mut self) -> *mut Struct___pthread_mutex_s {
467        let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_);
468        ::std::mem::transmute(raw.offset(0))
469    }
470    pub unsafe fn __size(&mut self) -> *mut [::libc::c_char; 40usize] {
471        let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_);
472        ::std::mem::transmute(raw.offset(0))
473    }
474    pub unsafe fn __align(&mut self) -> *mut ::libc::c_long {
475        let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_);
476        ::std::mem::transmute(raw.offset(0))
477    }
478}
479impl ::std::clone::Clone for Union_Unnamed15 {
480    fn clone(&self) -> Self { *self }
481}
482impl ::std::default::Default for Union_Unnamed15 {
483    fn default() -> Self { unsafe { ::std::mem::zeroed() } }
484}
485#[repr(C)]
486#[derive(Copy)]
487pub struct Struct___pthread_mutex_s {
488    pub __lock: ::libc::c_int,
489    pub __count: ::libc::c_uint,
490    pub __owner: ::libc::c_int,
491    pub __nusers: ::libc::c_uint,
492    pub __kind: ::libc::c_int,
493    pub __spins: ::libc::c_short,
494    pub __elision: ::libc::c_short,
495    pub __list: __pthread_list_t,
496}
497impl ::std::clone::Clone for Struct___pthread_mutex_s {
498    fn clone(&self) -> Self { *self }
499}
500impl ::std::default::Default for Struct___pthread_mutex_s {
501    fn default() -> Self { unsafe { ::std::mem::zeroed() } }
502}
503pub type pthread_mutex_t = Union_Unnamed15;
504#[repr(C)]
505#[derive(Copy)]
506pub struct Union_Unnamed16 {
507    pub _bindgen_data_: [u32; 1usize],
508}
509impl Union_Unnamed16 {
510    pub unsafe fn __size(&mut self) -> *mut [::libc::c_char; 4usize] {
511        let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_);
512        ::std::mem::transmute(raw.offset(0))
513    }
514    pub unsafe fn __align(&mut self) -> *mut ::libc::c_int {
515        let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_);
516        ::std::mem::transmute(raw.offset(0))
517    }
518}
519impl ::std::clone::Clone for Union_Unnamed16 {
520    fn clone(&self) -> Self { *self }
521}
522impl ::std::default::Default for Union_Unnamed16 {
523    fn default() -> Self { unsafe { ::std::mem::zeroed() } }
524}
525pub type pthread_mutexattr_t = Union_Unnamed16;
526#[repr(C)]
527#[derive(Copy)]
528pub struct Union_Unnamed17 {
529    pub _bindgen_data_: [u64; 6usize],
530}
531impl Union_Unnamed17 {
532    pub unsafe fn __data(&mut self) -> *mut Struct_Unnamed18 {
533        let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_);
534        ::std::mem::transmute(raw.offset(0))
535    }
536    pub unsafe fn __size(&mut self) -> *mut [::libc::c_char; 48usize] {
537        let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_);
538        ::std::mem::transmute(raw.offset(0))
539    }
540    pub unsafe fn __align(&mut self) -> *mut ::libc::c_longlong {
541        let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_);
542        ::std::mem::transmute(raw.offset(0))
543    }
544}
545impl ::std::clone::Clone for Union_Unnamed17 {
546    fn clone(&self) -> Self { *self }
547}
548impl ::std::default::Default for Union_Unnamed17 {
549    fn default() -> Self { unsafe { ::std::mem::zeroed() } }
550}
551#[repr(C)]
552#[derive(Copy)]
553pub struct Struct_Unnamed18 {
554    pub __lock: ::libc::c_int,
555    pub __futex: ::libc::c_uint,
556    pub __total_seq: ::libc::c_ulonglong,
557    pub __wakeup_seq: ::libc::c_ulonglong,
558    pub __woken_seq: ::libc::c_ulonglong,
559    pub __mutex: *mut ::libc::c_void,
560    pub __nwaiters: ::libc::c_uint,
561    pub __broadcast_seq: ::libc::c_uint,
562}
563impl ::std::clone::Clone for Struct_Unnamed18 {
564    fn clone(&self) -> Self { *self }
565}
566impl ::std::default::Default for Struct_Unnamed18 {
567    fn default() -> Self { unsafe { ::std::mem::zeroed() } }
568}
569pub type pthread_cond_t = Union_Unnamed17;
570#[repr(C)]
571#[derive(Copy)]
572pub struct Union_Unnamed19 {
573    pub _bindgen_data_: [u32; 1usize],
574}
575impl Union_Unnamed19 {
576    pub unsafe fn __size(&mut self) -> *mut [::libc::c_char; 4usize] {
577        let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_);
578        ::std::mem::transmute(raw.offset(0))
579    }
580    pub unsafe fn __align(&mut self) -> *mut ::libc::c_int {
581        let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_);
582        ::std::mem::transmute(raw.offset(0))
583    }
584}
585impl ::std::clone::Clone for Union_Unnamed19 {
586    fn clone(&self) -> Self { *self }
587}
588impl ::std::default::Default for Union_Unnamed19 {
589    fn default() -> Self { unsafe { ::std::mem::zeroed() } }
590}
591pub type pthread_condattr_t = Union_Unnamed19;
592pub type pthread_key_t = ::libc::c_uint;
593pub type pthread_once_t = ::libc::c_int;
594#[repr(C)]
595#[derive(Copy)]
596pub struct Union_Unnamed20 {
597    pub _bindgen_data_: [u64; 7usize],
598}
599impl Union_Unnamed20 {
600    pub unsafe fn __data(&mut self) -> *mut Struct_Unnamed21 {
601        let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_);
602        ::std::mem::transmute(raw.offset(0))
603    }
604    pub unsafe fn __size(&mut self) -> *mut [::libc::c_char; 56usize] {
605        let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_);
606        ::std::mem::transmute(raw.offset(0))
607    }
608    pub unsafe fn __align(&mut self) -> *mut ::libc::c_long {
609        let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_);
610        ::std::mem::transmute(raw.offset(0))
611    }
612}
613impl ::std::clone::Clone for Union_Unnamed20 {
614    fn clone(&self) -> Self { *self }
615}
616impl ::std::default::Default for Union_Unnamed20 {
617    fn default() -> Self { unsafe { ::std::mem::zeroed() } }
618}
619#[repr(C)]
620#[derive(Copy)]
621pub struct Struct_Unnamed21 {
622    pub __lock: ::libc::c_int,
623    pub __nr_readers: ::libc::c_uint,
624    pub __readers_wakeup: ::libc::c_uint,
625    pub __writer_wakeup: ::libc::c_uint,
626    pub __nr_readers_queued: ::libc::c_uint,
627    pub __nr_writers_queued: ::libc::c_uint,
628    pub __writer: ::libc::c_int,
629    pub __shared: ::libc::c_int,
630    pub __pad1: ::libc::c_ulong,
631    pub __pad2: ::libc::c_ulong,
632    pub __flags: ::libc::c_uint,
633}
634impl ::std::clone::Clone for Struct_Unnamed21 {
635    fn clone(&self) -> Self { *self }
636}
637impl ::std::default::Default for Struct_Unnamed21 {
638    fn default() -> Self { unsafe { ::std::mem::zeroed() } }
639}
640pub type pthread_rwlock_t = Union_Unnamed20;
641#[repr(C)]
642#[derive(Copy)]
643pub struct Union_Unnamed22 {
644    pub _bindgen_data_: [u64; 1usize],
645}
646impl Union_Unnamed22 {
647    pub unsafe fn __size(&mut self) -> *mut [::libc::c_char; 8usize] {
648        let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_);
649        ::std::mem::transmute(raw.offset(0))
650    }
651    pub unsafe fn __align(&mut self) -> *mut ::libc::c_long {
652        let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_);
653        ::std::mem::transmute(raw.offset(0))
654    }
655}
656impl ::std::clone::Clone for Union_Unnamed22 {
657    fn clone(&self) -> Self { *self }
658}
659impl ::std::default::Default for Union_Unnamed22 {
660    fn default() -> Self { unsafe { ::std::mem::zeroed() } }
661}
662pub type pthread_rwlockattr_t = Union_Unnamed22;
663pub type pthread_spinlock_t = ::libc::c_int;
664#[repr(C)]
665#[derive(Copy)]
666pub struct Union_Unnamed23 {
667    pub _bindgen_data_: [u64; 4usize],
668}
669impl Union_Unnamed23 {
670    pub unsafe fn __size(&mut self) -> *mut [::libc::c_char; 32usize] {
671        let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_);
672        ::std::mem::transmute(raw.offset(0))
673    }
674    pub unsafe fn __align(&mut self) -> *mut ::libc::c_long {
675        let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_);
676        ::std::mem::transmute(raw.offset(0))
677    }
678}
679impl ::std::clone::Clone for Union_Unnamed23 {
680    fn clone(&self) -> Self { *self }
681}
682impl ::std::default::Default for Union_Unnamed23 {
683    fn default() -> Self { unsafe { ::std::mem::zeroed() } }
684}
685pub type pthread_barrier_t = Union_Unnamed23;
686#[repr(C)]
687#[derive(Copy)]
688pub struct Union_Unnamed24 {
689    pub _bindgen_data_: [u32; 1usize],
690}
691impl Union_Unnamed24 {
692    pub unsafe fn __size(&mut self) -> *mut [::libc::c_char; 4usize] {
693        let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_);
694        ::std::mem::transmute(raw.offset(0))
695    }
696    pub unsafe fn __align(&mut self) -> *mut ::libc::c_int {
697        let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_);
698        ::std::mem::transmute(raw.offset(0))
699    }
700}
701impl ::std::clone::Clone for Union_Unnamed24 {
702    fn clone(&self) -> Self { *self }
703}
704impl ::std::default::Default for Union_Unnamed24 {
705    fn default() -> Self { unsafe { ::std::mem::zeroed() } }
706}
707pub type pthread_barrierattr_t = Union_Unnamed24;
708#[repr(C)]
709#[derive(Copy)]
710pub struct Struct_random_data {
711    pub fptr: *mut int32_t,
712    pub rptr: *mut int32_t,
713    pub state: *mut int32_t,
714    pub rand_type: ::libc::c_int,
715    pub rand_deg: ::libc::c_int,
716    pub rand_sep: ::libc::c_int,
717    pub end_ptr: *mut int32_t,
718}
719impl ::std::clone::Clone for Struct_random_data {
720    fn clone(&self) -> Self { *self }
721}
722impl ::std::default::Default for Struct_random_data {
723    fn default() -> Self { unsafe { ::std::mem::zeroed() } }
724}
725#[repr(C)]
726#[derive(Copy)]
727pub struct Struct_drand48_data {
728    pub __x: [::libc::c_ushort; 3usize],
729    pub __old_x: [::libc::c_ushort; 3usize],
730    pub __c: ::libc::c_ushort,
731    pub __init: ::libc::c_ushort,
732    pub __a: ::libc::c_ulonglong,
733}
734impl ::std::clone::Clone for Struct_drand48_data {
735    fn clone(&self) -> Self { *self }
736}
737impl ::std::default::Default for Struct_drand48_data {
738    fn default() -> Self { unsafe { ::std::mem::zeroed() } }
739}
740pub type __compar_fn_t =
741    ::std::option::Option<extern "C" fn(arg1: *const ::libc::c_void,
742                                        arg2: *const ::libc::c_void)
743                              -> ::libc::c_int>;
744pub enum Struct___locale_data { }
745#[repr(C)]
746#[derive(Copy)]
747pub struct Struct___locale_struct {
748    pub __locales: [*mut Struct___locale_data; 13usize],
749    pub __ctype_b: *const ::libc::c_ushort,
750    pub __ctype_tolower: *const ::libc::c_int,
751    pub __ctype_toupper: *const ::libc::c_int,
752    pub __names: [*const ::libc::c_char; 13usize],
753}
754impl ::std::clone::Clone for Struct___locale_struct {
755    fn clone(&self) -> Self { *self }
756}
757impl ::std::default::Default for Struct___locale_struct {
758    fn default() -> Self { unsafe { ::std::mem::zeroed() } }
759}
760pub type __locale_t = *mut Struct___locale_struct;
761pub type locale_t = __locale_t;
762pub type uint8_t = ::libc::c_uchar;
763pub type uint16_t = ::libc::c_ushort;
764pub type uint32_t = ::libc::c_uint;
765pub type uint64_t = ::libc::c_ulong;
766pub type int_least8_t = ::libc::c_char;
767pub type int_least16_t = ::libc::c_short;
768pub type int_least32_t = ::libc::c_int;
769pub type int_least64_t = ::libc::c_long;
770pub type uint_least8_t = ::libc::c_uchar;
771pub type uint_least16_t = ::libc::c_ushort;
772pub type uint_least32_t = ::libc::c_uint;
773pub type uint_least64_t = ::libc::c_ulong;
774pub type int_fast8_t = ::libc::c_char;
775pub type int_fast16_t = ::libc::c_long;
776pub type int_fast32_t = ::libc::c_long;
777pub type int_fast64_t = ::libc::c_long;
778pub type uint_fast8_t = ::libc::c_uchar;
779pub type uint_fast16_t = ::libc::c_ulong;
780pub type uint_fast32_t = ::libc::c_ulong;
781pub type uint_fast64_t = ::libc::c_ulong;
782pub type intptr_t = ::libc::c_long;
783pub type uintptr_t = ::libc::c_ulong;
784pub type intmax_t = ::libc::c_long;
785pub type uintmax_t = ::libc::c_ulong;
786pub type __s8 = ::libc::c_char;
787pub type __u8 = ::libc::c_uchar;
788pub type __s16 = ::libc::c_short;
789pub type __u16 = ::libc::c_ushort;
790pub type __s32 = ::libc::c_int;
791pub type __u32 = ::libc::c_uint;
792pub type __s64 = ::libc::c_longlong;
793pub type __u64 = ::libc::c_ulonglong;
794#[repr(C)]
795#[derive(Copy)]
796pub struct Struct_Unnamed25 {
797    pub fds_bits: [::libc::c_ulong; 16usize],
798}
799impl ::std::clone::Clone for Struct_Unnamed25 {
800    fn clone(&self) -> Self { *self }
801}
802impl ::std::default::Default for Struct_Unnamed25 {
803    fn default() -> Self { unsafe { ::std::mem::zeroed() } }
804}
805pub type __kernel_fd_set = Struct_Unnamed25;
806pub type __kernel_sighandler_t =
807    ::std::option::Option<extern "C" fn(arg1: ::libc::c_int) -> ()>;
808pub type __kernel_key_t = ::libc::c_int;
809pub type __kernel_mqd_t = ::libc::c_int;
810pub type __kernel_old_uid_t = ::libc::c_ushort;
811pub type __kernel_old_gid_t = ::libc::c_ushort;
812pub type __kernel_old_dev_t = ::libc::c_ulong;
813pub type __kernel_long_t = ::libc::c_long;
814pub type __kernel_ulong_t = ::libc::c_ulong;
815pub type __kernel_ino_t = __kernel_ulong_t;
816pub type __kernel_mode_t = ::libc::c_uint;
817pub type __kernel_pid_t = ::libc::c_int;
818pub type __kernel_ipc_pid_t = ::libc::c_int;
819pub type __kernel_uid_t = ::libc::c_uint;
820pub type __kernel_gid_t = ::libc::c_uint;
821pub type __kernel_suseconds_t = __kernel_long_t;
822pub type __kernel_daddr_t = ::libc::c_int;
823pub type __kernel_uid32_t = ::libc::c_uint;
824pub type __kernel_gid32_t = ::libc::c_uint;
825pub type __kernel_size_t = __kernel_ulong_t;
826pub type __kernel_ssize_t = __kernel_long_t;
827pub type __kernel_ptrdiff_t = __kernel_long_t;
828#[repr(C)]
829#[derive(Copy)]
830pub struct Struct_Unnamed26 {
831    pub val: [::libc::c_int; 2usize],
832}
833impl ::std::clone::Clone for Struct_Unnamed26 {
834    fn clone(&self) -> Self { *self }
835}
836impl ::std::default::Default for Struct_Unnamed26 {
837    fn default() -> Self { unsafe { ::std::mem::zeroed() } }
838}
839pub type __kernel_fsid_t = Struct_Unnamed26;
840pub type __kernel_off_t = __kernel_long_t;
841pub type __kernel_loff_t = ::libc::c_longlong;
842pub type __kernel_time_t = __kernel_long_t;
843pub type __kernel_clock_t = __kernel_long_t;
844pub type __kernel_timer_t = ::libc::c_int;
845pub type __kernel_clockid_t = ::libc::c_int;
846pub type __kernel_caddr_t = *mut ::libc::c_char;
847pub type __kernel_uid16_t = ::libc::c_ushort;
848pub type __kernel_gid16_t = ::libc::c_ushort;
849pub type __le16 = __u16;
850pub type __be16 = __u16;
851pub type __le32 = __u32;
852pub type __be32 = __u32;
853pub type __le64 = __u64;
854pub type __be64 = __u64;
855pub type __sum16 = __u16;
856pub type __wsum = __u32;
857pub enum Struct_task_struct { }
858#[repr(C)]
859#[derive(Copy)]
860pub struct Struct___user_cap_header_struct {
861    pub version: __u32,
862    pub pid: ::libc::c_int,
863}
864impl ::std::clone::Clone for Struct___user_cap_header_struct {
865    fn clone(&self) -> Self { *self }
866}
867impl ::std::default::Default for Struct___user_cap_header_struct {
868    fn default() -> Self { unsafe { ::std::mem::zeroed() } }
869}
870pub type cap_user_header_t = *mut Struct___user_cap_header_struct;
871#[repr(C)]
872#[derive(Copy)]
873pub struct Struct___user_cap_data_struct {
874    pub effective: __u32,
875    pub permitted: __u32,
876    pub inheritable: __u32,
877}
878impl ::std::clone::Clone for Struct___user_cap_data_struct {
879    fn clone(&self) -> Self { *self }
880}
881impl ::std::default::Default for Struct___user_cap_data_struct {
882    fn default() -> Self { unsafe { ::std::mem::zeroed() } }
883}
884pub type cap_user_data_t = *mut Struct___user_cap_data_struct;
885#[repr(C)]
886#[derive(Copy)]
887pub struct Struct_vfs_cap_data {
888    pub magic_etc: __le32,
889    pub data: [Struct_Unnamed27; 2usize],
890}
891impl ::std::clone::Clone for Struct_vfs_cap_data {
892    fn clone(&self) -> Self { *self }
893}
894impl ::std::default::Default for Struct_vfs_cap_data {
895    fn default() -> Self { unsafe { ::std::mem::zeroed() } }
896}
897#[repr(C)]
898#[derive(Copy)]
899pub struct Struct_Unnamed27 {
900    pub permitted: __le32,
901    pub inheritable: __le32,
902}
903impl ::std::clone::Clone for Struct_Unnamed27 {
904    fn clone(&self) -> Self { *self }
905}
906impl ::std::default::Default for Struct_Unnamed27 {
907    fn default() -> Self { unsafe { ::std::mem::zeroed() } }
908}
909pub type Enum_Unnamed28 = ::libc::c_uint;
910pub const XATTR_CREATE: ::libc::c_uint = 1;
911pub const XATTR_REPLACE: ::libc::c_uint = 2;
912pub type cap_t = *mut Struct__cap_struct;
913pub type cap_value_t = ::libc::c_int;
914pub type Enum_Unnamed29 = ::libc::c_uint;
915pub const CAP_EFFECTIVE: ::libc::c_uint = 0;
916pub const CAP_PERMITTED: ::libc::c_uint = 1;
917pub const CAP_INHERITABLE: ::libc::c_uint = 2;
918pub type cap_flag_t = Enum_Unnamed29;
919pub type Enum_Unnamed30 = ::libc::c_uint;
920pub const CAP_CLEAR: ::libc::c_uint = 0;
921pub const CAP_SET: ::libc::c_uint = 1;
922pub type cap_flag_value_t = Enum_Unnamed30;
923#[repr(C)]
924#[derive(Copy)]
925pub struct Struct__cap_struct {
926    pub head: Struct___user_cap_header_struct,
927    pub u: [Union_Unnamed31; 2usize],
928}
929impl ::std::clone::Clone for Struct__cap_struct {
930    fn clone(&self) -> Self { *self }
931}
932impl ::std::default::Default for Struct__cap_struct {
933    fn default() -> Self { unsafe { ::std::mem::zeroed() } }
934}
935#[repr(C)]
936#[derive(Copy)]
937pub struct Union_Unnamed31 {
938    pub _bindgen_data_: [u32; 3usize],
939}
940impl Union_Unnamed31 {
941    pub unsafe fn set(&mut self) -> *mut Struct___user_cap_data_struct {
942        let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_);
943        ::std::mem::transmute(raw.offset(0))
944    }
945    pub unsafe fn flat(&mut self) -> *mut [uint32_t; 3usize] {
946        let raw: *mut u8 = ::std::mem::transmute(&self._bindgen_data_);
947        ::std::mem::transmute(raw.offset(0))
948    }
949}
950impl ::std::clone::Clone for Union_Unnamed31 {
951    fn clone(&self) -> Self { *self }
952}
953impl ::std::default::Default for Union_Unnamed31 {
954    fn default() -> Self { unsafe { ::std::mem::zeroed() } }
955}
956pub type __va_list_tag = Struct___va_list_tag;
957#[repr(C)]
958#[derive(Copy)]
959pub struct Struct___va_list_tag {
960    pub gp_offset: ::libc::c_uint,
961    pub fp_offset: ::libc::c_uint,
962    pub overflow_arg_area: *mut ::libc::c_void,
963    pub reg_save_area: *mut ::libc::c_void,
964}
965impl ::std::clone::Clone for Struct___va_list_tag {
966    fn clone(&self) -> Self { *self }
967}
968impl ::std::default::Default for Struct___va_list_tag {
969    fn default() -> Self { unsafe { ::std::mem::zeroed() } }
970}
971#[link(name = "cap")]
972extern "C" {
973    pub static mut _IO_2_1_stdin_: Struct__IO_FILE_plus;
974    pub static mut _IO_2_1_stdout_: Struct__IO_FILE_plus;
975    pub static mut _IO_2_1_stderr_: Struct__IO_FILE_plus;
976    pub static mut stdin: *mut Struct__IO_FILE;
977    pub static mut stdout: *mut Struct__IO_FILE;
978    pub static mut stderr: *mut Struct__IO_FILE;
979    pub static mut sys_nerr: ::libc::c_int;
980    pub static mut sys_errlist: *const *const ::libc::c_char;
981}
982#[link(name = "cap")]
983extern "C" {
984    pub fn __errno_location() -> *mut ::libc::c_int;
985    pub fn __underflow(arg1: *mut _IO_FILE) -> ::libc::c_int;
986    pub fn __uflow(arg1: *mut _IO_FILE) -> ::libc::c_int;
987    pub fn __overflow(arg1: *mut _IO_FILE, arg2: ::libc::c_int)
988     -> ::libc::c_int;
989    pub fn _IO_getc(__fp: *mut _IO_FILE) -> ::libc::c_int;
990    pub fn _IO_putc(__c: ::libc::c_int, __fp: *mut _IO_FILE) -> ::libc::c_int;
991    pub fn _IO_feof(__fp: *mut _IO_FILE) -> ::libc::c_int;
992    pub fn _IO_ferror(__fp: *mut _IO_FILE) -> ::libc::c_int;
993    pub fn _IO_peekc_locked(__fp: *mut _IO_FILE) -> ::libc::c_int;
994    pub fn _IO_flockfile(arg1: *mut _IO_FILE) -> ();
995    pub fn _IO_funlockfile(arg1: *mut _IO_FILE) -> ();
996    pub fn _IO_ftrylockfile(arg1: *mut _IO_FILE) -> ::libc::c_int;
997    pub fn _IO_vfscanf(arg1: *mut _IO_FILE, arg2: *const ::libc::c_char,
998                       arg3: __gnuc_va_list, arg4: *mut ::libc::c_int)
999     -> ::libc::c_int;
1000    pub fn _IO_vfprintf(arg1: *mut _IO_FILE, arg2: *const ::libc::c_char,
1001                        arg3: __gnuc_va_list) -> ::libc::c_int;
1002    pub fn _IO_padn(arg1: *mut _IO_FILE, arg2: ::libc::c_int, arg3: __ssize_t)
1003     -> __ssize_t;
1004    pub fn _IO_sgetn(arg1: *mut _IO_FILE, arg2: *mut ::libc::c_void,
1005                     arg3: size_t) -> size_t;
1006    pub fn _IO_seekoff(arg1: *mut _IO_FILE, arg2: __off64_t,
1007                       arg3: ::libc::c_int, arg4: ::libc::c_int) -> __off64_t;
1008    pub fn _IO_seekpos(arg1: *mut _IO_FILE, arg2: __off64_t,
1009                       arg3: ::libc::c_int) -> __off64_t;
1010    pub fn _IO_free_backup_area(arg1: *mut _IO_FILE) -> ();
1011    pub fn remove(__filename: *const ::libc::c_char) -> ::libc::c_int;
1012    pub fn rename(__old: *const ::libc::c_char, __new: *const ::libc::c_char)
1013     -> ::libc::c_int;
1014    pub fn renameat(__oldfd: ::libc::c_int, __old: *const ::libc::c_char,
1015                    __newfd: ::libc::c_int, __new: *const ::libc::c_char)
1016     -> ::libc::c_int;
1017    pub fn tmpfile() -> *mut FILE;
1018    pub fn tmpnam(__s: *mut ::libc::c_char) -> *mut ::libc::c_char;
1019    pub fn tmpnam_r(__s: *mut ::libc::c_char) -> *mut ::libc::c_char;
1020    pub fn tempnam(__dir: *const ::libc::c_char, __pfx: *const ::libc::c_char)
1021     -> *mut ::libc::c_char;
1022    pub fn fclose(__stream: *mut FILE) -> ::libc::c_int;
1023    pub fn fflush(__stream: *mut FILE) -> ::libc::c_int;
1024    pub fn fflush_unlocked(__stream: *mut FILE) -> ::libc::c_int;
1025    pub fn fopen(__filename: *const ::libc::c_char,
1026                 __modes: *const ::libc::c_char) -> *mut FILE;
1027    pub fn freopen(__filename: *const ::libc::c_char,
1028                   __modes: *const ::libc::c_char, __stream: *mut FILE)
1029     -> *mut FILE;
1030    pub fn fdopen(__fd: ::libc::c_int, __modes: *const ::libc::c_char)
1031     -> *mut FILE;
1032    pub fn fmemopen(__s: *mut ::libc::c_void, __len: size_t,
1033                    __modes: *const ::libc::c_char) -> *mut FILE;
1034    pub fn open_memstream(__bufloc: *mut *mut ::libc::c_char,
1035                          __sizeloc: *mut size_t) -> *mut FILE;
1036    pub fn setbuf(__stream: *mut FILE, __buf: *mut ::libc::c_char) -> ();
1037    pub fn setvbuf(__stream: *mut FILE, __buf: *mut ::libc::c_char,
1038                   __modes: ::libc::c_int, __n: size_t) -> ::libc::c_int;
1039    pub fn setbuffer(__stream: *mut FILE, __buf: *mut ::libc::c_char,
1040                     __size: size_t) -> ();
1041    pub fn setlinebuf(__stream: *mut FILE) -> ();
1042    pub fn fprintf(__stream: *mut FILE, __format: *const ::libc::c_char, ...)
1043     -> ::libc::c_int;
1044    pub fn printf(__format: *const ::libc::c_char, ...) -> ::libc::c_int;
1045    pub fn sprintf(__s: *mut ::libc::c_char,
1046                   __format: *const ::libc::c_char, ...) -> ::libc::c_int;
1047    pub fn vfprintf(__s: *mut FILE, __format: *const ::libc::c_char,
1048                    __arg: __gnuc_va_list) -> ::libc::c_int;
1049    pub fn vprintf(__format: *const ::libc::c_char, __arg: __gnuc_va_list)
1050     -> ::libc::c_int;
1051    pub fn vsprintf(__s: *mut ::libc::c_char, __format: *const ::libc::c_char,
1052                    __arg: __gnuc_va_list) -> ::libc::c_int;
1053    pub fn snprintf(__s: *mut ::libc::c_char, __maxlen: size_t,
1054                    __format: *const ::libc::c_char, ...) -> ::libc::c_int;
1055    pub fn vsnprintf(__s: *mut ::libc::c_char, __maxlen: size_t,
1056                     __format: *const ::libc::c_char, __arg: __gnuc_va_list)
1057     -> ::libc::c_int;
1058    pub fn vdprintf(__fd: ::libc::c_int, __fmt: *const ::libc::c_char,
1059                    __arg: __gnuc_va_list) -> ::libc::c_int;
1060    pub fn dprintf(__fd: ::libc::c_int, __fmt: *const ::libc::c_char, ...)
1061     -> ::libc::c_int;
1062    pub fn fscanf(__stream: *mut FILE, __format: *const ::libc::c_char, ...)
1063     -> ::libc::c_int;
1064    pub fn scanf(__format: *const ::libc::c_char, ...) -> ::libc::c_int;
1065    pub fn sscanf(__s: *const ::libc::c_char,
1066                  __format: *const ::libc::c_char, ...) -> ::libc::c_int;
1067    pub fn vfscanf(__s: *mut FILE, __format: *const ::libc::c_char,
1068                   __arg: __gnuc_va_list) -> ::libc::c_int;
1069    pub fn vscanf(__format: *const ::libc::c_char, __arg: __gnuc_va_list)
1070     -> ::libc::c_int;
1071    pub fn vsscanf(__s: *const ::libc::c_char,
1072                   __format: *const ::libc::c_char, __arg: __gnuc_va_list)
1073     -> ::libc::c_int;
1074    pub fn fgetc(__stream: *mut FILE) -> ::libc::c_int;
1075    pub fn getc(__stream: *mut FILE) -> ::libc::c_int;
1076    pub fn getchar() -> ::libc::c_int;
1077    pub fn getc_unlocked(__stream: *mut FILE) -> ::libc::c_int;
1078    pub fn getchar_unlocked() -> ::libc::c_int;
1079    pub fn fgetc_unlocked(__stream: *mut FILE) -> ::libc::c_int;
1080    pub fn fputc(__c: ::libc::c_int, __stream: *mut FILE) -> ::libc::c_int;
1081    pub fn putc(__c: ::libc::c_int, __stream: *mut FILE) -> ::libc::c_int;
1082    pub fn putchar(__c: ::libc::c_int) -> ::libc::c_int;
1083    pub fn fputc_unlocked(__c: ::libc::c_int, __stream: *mut FILE)
1084     -> ::libc::c_int;
1085    pub fn putc_unlocked(__c: ::libc::c_int, __stream: *mut FILE)
1086     -> ::libc::c_int;
1087    pub fn putchar_unlocked(__c: ::libc::c_int) -> ::libc::c_int;
1088    pub fn getw(__stream: *mut FILE) -> ::libc::c_int;
1089    pub fn putw(__w: ::libc::c_int, __stream: *mut FILE) -> ::libc::c_int;
1090    pub fn fgets(__s: *mut ::libc::c_char, __n: ::libc::c_int,
1091                 __stream: *mut FILE) -> *mut ::libc::c_char;
1092    pub fn gets(__s: *mut ::libc::c_char) -> *mut ::libc::c_char;
1093    pub fn __getdelim(__lineptr: *mut *mut ::libc::c_char, __n: *mut size_t,
1094                      __delimiter: ::libc::c_int, __stream: *mut FILE)
1095     -> __ssize_t;
1096    pub fn getdelim(__lineptr: *mut *mut ::libc::c_char, __n: *mut size_t,
1097                    __delimiter: ::libc::c_int, __stream: *mut FILE)
1098     -> __ssize_t;
1099    pub fn getline(__lineptr: *mut *mut ::libc::c_char, __n: *mut size_t,
1100                   __stream: *mut FILE) -> __ssize_t;
1101    pub fn fputs(__s: *const ::libc::c_char, __stream: *mut FILE)
1102     -> ::libc::c_int;
1103    pub fn puts(__s: *const ::libc::c_char) -> ::libc::c_int;
1104    pub fn ungetc(__c: ::libc::c_int, __stream: *mut FILE) -> ::libc::c_int;
1105    pub fn fread(__ptr: *mut ::libc::c_void, __size: size_t, __n: size_t,
1106                 __stream: *mut FILE) -> size_t;
1107    pub fn fwrite(__ptr: *const ::libc::c_void, __size: size_t, __n: size_t,
1108                  __s: *mut FILE) -> size_t;
1109    pub fn fread_unlocked(__ptr: *mut ::libc::c_void, __size: size_t,
1110                          __n: size_t, __stream: *mut FILE) -> size_t;
1111    pub fn fwrite_unlocked(__ptr: *const ::libc::c_void, __size: size_t,
1112                           __n: size_t, __stream: *mut FILE) -> size_t;
1113    pub fn fseek(__stream: *mut FILE, __off: ::libc::c_long,
1114                 __whence: ::libc::c_int) -> ::libc::c_int;
1115    pub fn ftell(__stream: *mut FILE) -> ::libc::c_long;
1116    pub fn rewind(__stream: *mut FILE) -> ();
1117    pub fn fseeko(__stream: *mut FILE, __off: __off_t,
1118                  __whence: ::libc::c_int) -> ::libc::c_int;
1119    pub fn ftello(__stream: *mut FILE) -> __off_t;
1120    pub fn fgetpos(__stream: *mut FILE, __pos: *mut fpos_t) -> ::libc::c_int;
1121    pub fn fsetpos(__stream: *mut FILE, __pos: *const fpos_t)
1122     -> ::libc::c_int;
1123    pub fn clearerr(__stream: *mut FILE) -> ();
1124    pub fn feof(__stream: *mut FILE) -> ::libc::c_int;
1125    pub fn ferror(__stream: *mut FILE) -> ::libc::c_int;
1126    pub fn clearerr_unlocked(__stream: *mut FILE) -> ();
1127    pub fn feof_unlocked(__stream: *mut FILE) -> ::libc::c_int;
1128    pub fn ferror_unlocked(__stream: *mut FILE) -> ::libc::c_int;
1129    pub fn perror(__s: *const ::libc::c_char) -> ();
1130    pub fn fileno(__stream: *mut FILE) -> ::libc::c_int;
1131    pub fn fileno_unlocked(__stream: *mut FILE) -> ::libc::c_int;
1132    pub fn popen(__command: *const ::libc::c_char,
1133                 __modes: *const ::libc::c_char) -> *mut FILE;
1134    pub fn pclose(__stream: *mut FILE) -> ::libc::c_int;
1135    pub fn ctermid(__s: *mut ::libc::c_char) -> *mut ::libc::c_char;
1136    pub fn flockfile(__stream: *mut FILE) -> ();
1137    pub fn ftrylockfile(__stream: *mut FILE) -> ::libc::c_int;
1138    pub fn funlockfile(__stream: *mut FILE) -> ();
1139    pub fn __ctype_get_mb_cur_max() -> size_t;
1140    pub fn atof(__nptr: *const ::libc::c_char) -> ::libc::c_double;
1141    pub fn atoi(__nptr: *const ::libc::c_char) -> ::libc::c_int;
1142    pub fn atol(__nptr: *const ::libc::c_char) -> ::libc::c_long;
1143    pub fn atoll(__nptr: *const ::libc::c_char) -> ::libc::c_longlong;
1144    pub fn strtod(__nptr: *const ::libc::c_char,
1145                  __endptr: *mut *mut ::libc::c_char) -> ::libc::c_double;
1146    pub fn strtof(__nptr: *const ::libc::c_char,
1147                  __endptr: *mut *mut ::libc::c_char) -> ::libc::c_float;
1148    pub fn strtold(__nptr: *const ::libc::c_char,
1149                   __endptr: *mut *mut ::libc::c_char) -> ::libc::c_double;
1150    pub fn strtol(__nptr: *const ::libc::c_char,
1151                  __endptr: *mut *mut ::libc::c_char, __base: ::libc::c_int)
1152     -> ::libc::c_long;
1153    pub fn strtoul(__nptr: *const ::libc::c_char,
1154                   __endptr: *mut *mut ::libc::c_char, __base: ::libc::c_int)
1155     -> ::libc::c_ulong;
1156    pub fn strtoq(__nptr: *const ::libc::c_char,
1157                  __endptr: *mut *mut ::libc::c_char, __base: ::libc::c_int)
1158     -> ::libc::c_longlong;
1159    pub fn strtouq(__nptr: *const ::libc::c_char,
1160                   __endptr: *mut *mut ::libc::c_char, __base: ::libc::c_int)
1161     -> ::libc::c_ulonglong;
1162    pub fn strtoll(__nptr: *const ::libc::c_char,
1163                   __endptr: *mut *mut ::libc::c_char, __base: ::libc::c_int)
1164     -> ::libc::c_longlong;
1165    pub fn strtoull(__nptr: *const ::libc::c_char,
1166                    __endptr: *mut *mut ::libc::c_char, __base: ::libc::c_int)
1167     -> ::libc::c_ulonglong;
1168    pub fn l64a(__n: ::libc::c_long) -> *mut ::libc::c_char;
1169    pub fn a64l(__s: *const ::libc::c_char) -> ::libc::c_long;
1170    pub fn select(__nfds: ::libc::c_int, __readfds: *mut fd_set,
1171                  __writefds: *mut fd_set, __exceptfds: *mut fd_set,
1172                  __timeout: *mut Struct_timeval) -> ::libc::c_int;
1173    pub fn pselect(__nfds: ::libc::c_int, __readfds: *mut fd_set,
1174                   __writefds: *mut fd_set, __exceptfds: *mut fd_set,
1175                   __timeout: *const Struct_timespec,
1176                   __sigmask: *const __sigset_t) -> ::libc::c_int;
1177    pub fn gnu_dev_major(__dev: ::libc::c_ulonglong) -> ::libc::c_uint;
1178    pub fn gnu_dev_minor(__dev: ::libc::c_ulonglong) -> ::libc::c_uint;
1179    pub fn gnu_dev_makedev(__major: ::libc::c_uint, __minor: ::libc::c_uint)
1180     -> ::libc::c_ulonglong;
1181    pub fn random() -> ::libc::c_long;
1182    pub fn srandom(__seed: ::libc::c_uint) -> ();
1183    pub fn initstate(__seed: ::libc::c_uint, __statebuf: *mut ::libc::c_char,
1184                     __statelen: size_t) -> *mut ::libc::c_char;
1185    pub fn setstate(__statebuf: *mut ::libc::c_char) -> *mut ::libc::c_char;
1186    pub fn random_r(__buf: *mut Struct_random_data, __result: *mut int32_t)
1187     -> ::libc::c_int;
1188    pub fn srandom_r(__seed: ::libc::c_uint, __buf: *mut Struct_random_data)
1189     -> ::libc::c_int;
1190    pub fn initstate_r(__seed: ::libc::c_uint,
1191                       __statebuf: *mut ::libc::c_char, __statelen: size_t,
1192                       __buf: *mut Struct_random_data) -> ::libc::c_int;
1193    pub fn setstate_r(__statebuf: *mut ::libc::c_char,
1194                      __buf: *mut Struct_random_data) -> ::libc::c_int;
1195    pub fn rand() -> ::libc::c_int;
1196    pub fn srand(__seed: ::libc::c_uint) -> ();
1197    pub fn rand_r(__seed: *mut ::libc::c_uint) -> ::libc::c_int;
1198    pub fn drand48() -> ::libc::c_double;
1199    pub fn erand48(__xsubi: *mut ::libc::c_ushort) -> ::libc::c_double;
1200    pub fn lrand48() -> ::libc::c_long;
1201    pub fn nrand48(__xsubi: *mut ::libc::c_ushort) -> ::libc::c_long;
1202    pub fn mrand48() -> ::libc::c_long;
1203    pub fn jrand48(__xsubi: *mut ::libc::c_ushort) -> ::libc::c_long;
1204    pub fn srand48(__seedval: ::libc::c_long) -> ();
1205    pub fn seed48(__seed16v: *mut ::libc::c_ushort) -> *mut ::libc::c_ushort;
1206    pub fn lcong48(__param: *mut ::libc::c_ushort) -> ();
1207    pub fn drand48_r(__buffer: *mut Struct_drand48_data,
1208                     __result: *mut ::libc::c_double) -> ::libc::c_int;
1209    pub fn erand48_r(__xsubi: *mut ::libc::c_ushort,
1210                     __buffer: *mut Struct_drand48_data,
1211                     __result: *mut ::libc::c_double) -> ::libc::c_int;
1212    pub fn lrand48_r(__buffer: *mut Struct_drand48_data,
1213                     __result: *mut ::libc::c_long) -> ::libc::c_int;
1214    pub fn nrand48_r(__xsubi: *mut ::libc::c_ushort,
1215                     __buffer: *mut Struct_drand48_data,
1216                     __result: *mut ::libc::c_long) -> ::libc::c_int;
1217    pub fn mrand48_r(__buffer: *mut Struct_drand48_data,
1218                     __result: *mut ::libc::c_long) -> ::libc::c_int;
1219    pub fn jrand48_r(__xsubi: *mut ::libc::c_ushort,
1220                     __buffer: *mut Struct_drand48_data,
1221                     __result: *mut ::libc::c_long) -> ::libc::c_int;
1222    pub fn srand48_r(__seedval: ::libc::c_long,
1223                     __buffer: *mut Struct_drand48_data) -> ::libc::c_int;
1224    pub fn seed48_r(__seed16v: *mut ::libc::c_ushort,
1225                    __buffer: *mut Struct_drand48_data) -> ::libc::c_int;
1226    pub fn lcong48_r(__param: *mut ::libc::c_ushort,
1227                     __buffer: *mut Struct_drand48_data) -> ::libc::c_int;
1228    pub fn malloc(__size: size_t) -> *mut ::libc::c_void;
1229    pub fn calloc(__nmemb: size_t, __size: size_t) -> *mut ::libc::c_void;
1230    pub fn realloc(__ptr: *mut ::libc::c_void, __size: size_t)
1231     -> *mut ::libc::c_void;
1232    pub fn free(__ptr: *mut ::libc::c_void) -> ();
1233    pub fn cfree(__ptr: *mut ::libc::c_void) -> ();
1234    pub fn alloca(__size: size_t) -> *mut ::libc::c_void;
1235    pub fn valloc(__size: size_t) -> *mut ::libc::c_void;
1236    pub fn posix_memalign(__memptr: *mut *mut ::libc::c_void,
1237                          __alignment: size_t, __size: size_t)
1238     -> ::libc::c_int;
1239    pub fn abort() -> ();
1240    pub fn atexit(__func: ::std::option::Option<extern "C" fn() -> ()>)
1241     -> ::libc::c_int;
1242    pub fn on_exit(__func:
1243                       ::std::option::Option<extern "C" fn(__status:
1244                                                               ::libc::c_int,
1245                                                           __arg:
1246                                                               *mut ::libc::c_void)
1247                                                 -> ()>,
1248                   __arg: *mut ::libc::c_void) -> ::libc::c_int;
1249    pub fn exit(__status: ::libc::c_int) -> ();
1250    pub fn _Exit(__status: ::libc::c_int) -> ();
1251    pub fn getenv(__name: *const ::libc::c_char) -> *mut ::libc::c_char;
1252    pub fn putenv(__string: *mut ::libc::c_char) -> ::libc::c_int;
1253    pub fn setenv(__name: *const ::libc::c_char,
1254                  __value: *const ::libc::c_char, __replace: ::libc::c_int)
1255     -> ::libc::c_int;
1256    pub fn unsetenv(__name: *const ::libc::c_char) -> ::libc::c_int;
1257    pub fn clearenv() -> ::libc::c_int;
1258    pub fn mktemp(__template: *mut ::libc::c_char) -> *mut ::libc::c_char;
1259    pub fn mkstemp(__template: *mut ::libc::c_char) -> ::libc::c_int;
1260    pub fn mkstemps(__template: *mut ::libc::c_char,
1261                    __suffixlen: ::libc::c_int) -> ::libc::c_int;
1262    pub fn mkdtemp(__template: *mut ::libc::c_char) -> *mut ::libc::c_char;
1263    pub fn system(__command: *const ::libc::c_char) -> ::libc::c_int;
1264    pub fn realpath(__name: *const ::libc::c_char,
1265                    __resolved: *mut ::libc::c_char) -> *mut ::libc::c_char;
1266    pub fn bsearch(__key: *const ::libc::c_void,
1267                   __base: *const ::libc::c_void, __nmemb: size_t,
1268                   __size: size_t, __compar: __compar_fn_t)
1269     -> *mut ::libc::c_void;
1270    pub fn qsort(__base: *mut ::libc::c_void, __nmemb: size_t, __size: size_t,
1271                 __compar: __compar_fn_t) -> ();
1272    pub fn abs(__x: ::libc::c_int) -> ::libc::c_int;
1273    pub fn labs(__x: ::libc::c_long) -> ::libc::c_long;
1274    pub fn llabs(__x: ::libc::c_longlong) -> ::libc::c_longlong;
1275    pub fn div(__numer: ::libc::c_int, __denom: ::libc::c_int) -> div_t;
1276    pub fn ldiv(__numer: ::libc::c_long, __denom: ::libc::c_long) -> ldiv_t;
1277    pub fn lldiv(__numer: ::libc::c_longlong, __denom: ::libc::c_longlong)
1278     -> lldiv_t;
1279    pub fn ecvt(__value: ::libc::c_double, __ndigit: ::libc::c_int,
1280                __decpt: *mut ::libc::c_int, __sign: *mut ::libc::c_int)
1281     -> *mut ::libc::c_char;
1282    pub fn fcvt(__value: ::libc::c_double, __ndigit: ::libc::c_int,
1283                __decpt: *mut ::libc::c_int, __sign: *mut ::libc::c_int)
1284     -> *mut ::libc::c_char;
1285    pub fn gcvt(__value: ::libc::c_double, __ndigit: ::libc::c_int,
1286                __buf: *mut ::libc::c_char) -> *mut ::libc::c_char;
1287    pub fn qecvt(__value: ::libc::c_double, __ndigit: ::libc::c_int,
1288                 __decpt: *mut ::libc::c_int, __sign: *mut ::libc::c_int)
1289     -> *mut ::libc::c_char;
1290    pub fn qfcvt(__value: ::libc::c_double, __ndigit: ::libc::c_int,
1291                 __decpt: *mut ::libc::c_int, __sign: *mut ::libc::c_int)
1292     -> *mut ::libc::c_char;
1293    pub fn qgcvt(__value: ::libc::c_double, __ndigit: ::libc::c_int,
1294                 __buf: *mut ::libc::c_char) -> *mut ::libc::c_char;
1295    pub fn ecvt_r(__value: ::libc::c_double, __ndigit: ::libc::c_int,
1296                  __decpt: *mut ::libc::c_int, __sign: *mut ::libc::c_int,
1297                  __buf: *mut ::libc::c_char, __len: size_t) -> ::libc::c_int;
1298    pub fn fcvt_r(__value: ::libc::c_double, __ndigit: ::libc::c_int,
1299                  __decpt: *mut ::libc::c_int, __sign: *mut ::libc::c_int,
1300                  __buf: *mut ::libc::c_char, __len: size_t) -> ::libc::c_int;
1301    pub fn qecvt_r(__value: ::libc::c_double, __ndigit: ::libc::c_int,
1302                   __decpt: *mut ::libc::c_int, __sign: *mut ::libc::c_int,
1303                   __buf: *mut ::libc::c_char, __len: size_t)
1304     -> ::libc::c_int;
1305    pub fn qfcvt_r(__value: ::libc::c_double, __ndigit: ::libc::c_int,
1306                   __decpt: *mut ::libc::c_int, __sign: *mut ::libc::c_int,
1307                   __buf: *mut ::libc::c_char, __len: size_t)
1308     -> ::libc::c_int;
1309    pub fn mblen(__s: *const ::libc::c_char, __n: size_t) -> ::libc::c_int;
1310    pub fn mbtowc(__pwc: *mut wchar_t, __s: *const ::libc::c_char,
1311                  __n: size_t) -> ::libc::c_int;
1312    pub fn wctomb(__s: *mut ::libc::c_char, __wchar: wchar_t)
1313     -> ::libc::c_int;
1314    pub fn mbstowcs(__pwcs: *mut wchar_t, __s: *const ::libc::c_char,
1315                    __n: size_t) -> size_t;
1316    pub fn wcstombs(__s: *mut ::libc::c_char, __pwcs: *const wchar_t,
1317                    __n: size_t) -> size_t;
1318    pub fn rpmatch(__response: *const ::libc::c_char) -> ::libc::c_int;
1319    pub fn getsubopt(__optionp: *mut *mut ::libc::c_char,
1320                     __tokens: *const *mut ::libc::c_char,
1321                     __valuep: *mut *mut ::libc::c_char) -> ::libc::c_int;
1322    pub fn getloadavg(__loadavg: *mut ::libc::c_double,
1323                      __nelem: ::libc::c_int) -> ::libc::c_int;
1324    pub fn memcpy(__dest: *mut ::libc::c_void, __src: *const ::libc::c_void,
1325                  __n: size_t) -> *mut ::libc::c_void;
1326    pub fn memmove(__dest: *mut ::libc::c_void, __src: *const ::libc::c_void,
1327                   __n: size_t) -> *mut ::libc::c_void;
1328    pub fn memccpy(__dest: *mut ::libc::c_void, __src: *const ::libc::c_void,
1329                   __c: ::libc::c_int, __n: size_t) -> *mut ::libc::c_void;
1330    pub fn memset(__s: *mut ::libc::c_void, __c: ::libc::c_int, __n: size_t)
1331     -> *mut ::libc::c_void;
1332    pub fn memcmp(__s1: *const ::libc::c_void, __s2: *const ::libc::c_void,
1333                  __n: size_t) -> ::libc::c_int;
1334    pub fn memchr(__s: *const ::libc::c_void, __c: ::libc::c_int, __n: size_t)
1335     -> *mut ::libc::c_void;
1336    pub fn strcpy(__dest: *mut ::libc::c_char, __src: *const ::libc::c_char)
1337     -> *mut ::libc::c_char;
1338    pub fn strncpy(__dest: *mut ::libc::c_char, __src: *const ::libc::c_char,
1339                   __n: size_t) -> *mut ::libc::c_char;
1340    pub fn strcat(__dest: *mut ::libc::c_char, __src: *const ::libc::c_char)
1341     -> *mut ::libc::c_char;
1342    pub fn strncat(__dest: *mut ::libc::c_char, __src: *const ::libc::c_char,
1343                   __n: size_t) -> *mut ::libc::c_char;
1344    pub fn strcmp(__s1: *const ::libc::c_char, __s2: *const ::libc::c_char)
1345     -> ::libc::c_int;
1346    pub fn strncmp(__s1: *const ::libc::c_char, __s2: *const ::libc::c_char,
1347                   __n: size_t) -> ::libc::c_int;
1348    pub fn strcoll(__s1: *const ::libc::c_char, __s2: *const ::libc::c_char)
1349     -> ::libc::c_int;
1350    pub fn strxfrm(__dest: *mut ::libc::c_char, __src: *const ::libc::c_char,
1351                   __n: size_t) -> size_t;
1352    pub fn strcoll_l(__s1: *const ::libc::c_char, __s2: *const ::libc::c_char,
1353                     __l: __locale_t) -> ::libc::c_int;
1354    pub fn strxfrm_l(__dest: *mut ::libc::c_char,
1355                     __src: *const ::libc::c_char, __n: size_t,
1356                     __l: __locale_t) -> size_t;
1357    pub fn strdup(__s: *const ::libc::c_char) -> *mut ::libc::c_char;
1358    pub fn strndup(__string: *const ::libc::c_char, __n: size_t)
1359     -> *mut ::libc::c_char;
1360    pub fn strchr(__s: *const ::libc::c_char, __c: ::libc::c_int)
1361     -> *mut ::libc::c_char;
1362    pub fn strrchr(__s: *const ::libc::c_char, __c: ::libc::c_int)
1363     -> *mut ::libc::c_char;
1364    pub fn strcspn(__s: *const ::libc::c_char,
1365                   __reject: *const ::libc::c_char) -> size_t;
1366    pub fn strspn(__s: *const ::libc::c_char, __accept: *const ::libc::c_char)
1367     -> size_t;
1368    pub fn strpbrk(__s: *const ::libc::c_char,
1369                   __accept: *const ::libc::c_char) -> *mut ::libc::c_char;
1370    pub fn strstr(__haystack: *const ::libc::c_char,
1371                  __needle: *const ::libc::c_char) -> *mut ::libc::c_char;
1372    pub fn strtok(__s: *mut ::libc::c_char, __delim: *const ::libc::c_char)
1373     -> *mut ::libc::c_char;
1374    pub fn __strtok_r(__s: *mut ::libc::c_char,
1375                      __delim: *const ::libc::c_char,
1376                      __save_ptr: *mut *mut ::libc::c_char)
1377     -> *mut ::libc::c_char;
1378    pub fn strtok_r(__s: *mut ::libc::c_char, __delim: *const ::libc::c_char,
1379                    __save_ptr: *mut *mut ::libc::c_char)
1380     -> *mut ::libc::c_char;
1381    pub fn strlen(__s: *const ::libc::c_char) -> size_t;
1382    pub fn strnlen(__string: *const ::libc::c_char, __maxlen: size_t)
1383     -> size_t;
1384    pub fn strerror(__errnum: ::libc::c_int) -> *mut ::libc::c_char;
1385    pub fn strerror_r(__errnum: ::libc::c_int, __buf: *mut ::libc::c_char,
1386                      __buflen: size_t) -> ::libc::c_int;
1387    pub fn strerror_l(__errnum: ::libc::c_int, __l: __locale_t)
1388     -> *mut ::libc::c_char;
1389    pub fn __bzero(__s: *mut ::libc::c_void, __n: size_t) -> ();
1390    pub fn bcopy(__src: *const ::libc::c_void, __dest: *mut ::libc::c_void,
1391                 __n: size_t) -> ();
1392    pub fn bzero(__s: *mut ::libc::c_void, __n: size_t) -> ();
1393    pub fn bcmp(__s1: *const ::libc::c_void, __s2: *const ::libc::c_void,
1394                __n: size_t) -> ::libc::c_int;
1395    pub fn index(__s: *const ::libc::c_char, __c: ::libc::c_int)
1396     -> *mut ::libc::c_char;
1397    pub fn rindex(__s: *const ::libc::c_char, __c: ::libc::c_int)
1398     -> *mut ::libc::c_char;
1399    pub fn ffs(__i: ::libc::c_int) -> ::libc::c_int;
1400    pub fn strcasecmp(__s1: *const ::libc::c_char,
1401                      __s2: *const ::libc::c_char) -> ::libc::c_int;
1402    pub fn strncasecmp(__s1: *const ::libc::c_char,
1403                       __s2: *const ::libc::c_char, __n: size_t)
1404     -> ::libc::c_int;
1405    pub fn strsep(__stringp: *mut *mut ::libc::c_char,
1406                  __delim: *const ::libc::c_char) -> *mut ::libc::c_char;
1407    pub fn strsignal(__sig: ::libc::c_int) -> *mut ::libc::c_char;
1408    pub fn __stpcpy(__dest: *mut ::libc::c_char, __src: *const ::libc::c_char)
1409     -> *mut ::libc::c_char;
1410    pub fn stpcpy(__dest: *mut ::libc::c_char, __src: *const ::libc::c_char)
1411     -> *mut ::libc::c_char;
1412    pub fn __stpncpy(__dest: *mut ::libc::c_char,
1413                     __src: *const ::libc::c_char, __n: size_t)
1414     -> *mut ::libc::c_char;
1415    pub fn stpncpy(__dest: *mut ::libc::c_char, __src: *const ::libc::c_char,
1416                   __n: size_t) -> *mut ::libc::c_char;
1417    pub fn setxattr(__path: *const ::libc::c_char,
1418                    __name: *const ::libc::c_char,
1419                    __value: *const ::libc::c_void, __size: size_t,
1420                    __flags: ::libc::c_int) -> ::libc::c_int;
1421    pub fn lsetxattr(__path: *const ::libc::c_char,
1422                     __name: *const ::libc::c_char,
1423                     __value: *const ::libc::c_void, __size: size_t,
1424                     __flags: ::libc::c_int) -> ::libc::c_int;
1425    pub fn fsetxattr(__fd: ::libc::c_int, __name: *const ::libc::c_char,
1426                     __value: *const ::libc::c_void, __size: size_t,
1427                     __flags: ::libc::c_int) -> ::libc::c_int;
1428    pub fn getxattr(__path: *const ::libc::c_char,
1429                    __name: *const ::libc::c_char,
1430                    __value: *mut ::libc::c_void, __size: size_t) -> ssize_t;
1431    pub fn lgetxattr(__path: *const ::libc::c_char,
1432                     __name: *const ::libc::c_char,
1433                     __value: *mut ::libc::c_void, __size: size_t) -> ssize_t;
1434    pub fn fgetxattr(__fd: ::libc::c_int, __name: *const ::libc::c_char,
1435                     __value: *mut ::libc::c_void, __size: size_t) -> ssize_t;
1436    pub fn listxattr(__path: *const ::libc::c_char,
1437                     __list: *mut ::libc::c_char, __size: size_t) -> ssize_t;
1438    pub fn llistxattr(__path: *const ::libc::c_char,
1439                      __list: *mut ::libc::c_char, __size: size_t) -> ssize_t;
1440    pub fn flistxattr(__fd: ::libc::c_int, __list: *mut ::libc::c_char,
1441                      __size: size_t) -> ssize_t;
1442    pub fn removexattr(__path: *const ::libc::c_char,
1443                       __name: *const ::libc::c_char) -> ::libc::c_int;
1444    pub fn lremovexattr(__path: *const ::libc::c_char,
1445                        __name: *const ::libc::c_char) -> ::libc::c_int;
1446    pub fn fremovexattr(__fd: ::libc::c_int, __name: *const ::libc::c_char)
1447     -> ::libc::c_int;
1448    pub fn cap_dup(arg1: cap_t) -> cap_t;
1449    pub fn cap_free(arg1: *mut ::libc::c_void) -> ::libc::c_int;
1450    pub fn cap_init() -> cap_t;
1451    pub fn cap_get_flag(arg1: cap_t, arg2: cap_value_t, arg3: cap_flag_t,
1452                        arg4: *mut cap_flag_value_t) -> ::libc::c_int;
1453    pub fn cap_set_flag(arg1: cap_t, arg2: cap_flag_t, arg3: ::libc::c_int,
1454                        arg4: *const cap_value_t, arg5: cap_flag_value_t)
1455     -> ::libc::c_int;
1456    pub fn cap_clear(arg1: cap_t) -> ::libc::c_int;
1457    pub fn cap_clear_flag(arg1: cap_t, arg2: cap_flag_t) -> ::libc::c_int;
1458    pub fn cap_get_fd(arg1: ::libc::c_int) -> cap_t;
1459    pub fn cap_get_file(arg1: *const ::libc::c_char) -> cap_t;
1460    pub fn cap_set_fd(arg1: ::libc::c_int, arg2: cap_t) -> ::libc::c_int;
1461    pub fn cap_set_file(arg1: *const ::libc::c_char, arg2: cap_t)
1462     -> ::libc::c_int;
1463    pub fn cap_get_proc() -> cap_t;
1464    pub fn cap_get_pid(arg1: pid_t) -> cap_t;
1465    pub fn cap_set_proc(arg1: cap_t) -> ::libc::c_int;
1466    pub fn cap_get_bound(arg1: cap_value_t) -> ::libc::c_int;
1467    pub fn cap_drop_bound(arg1: cap_value_t) -> ::libc::c_int;
1468    pub fn cap_size(arg1: cap_t) -> ssize_t;
1469    pub fn cap_copy_ext(arg1: *mut ::libc::c_void, arg2: cap_t, arg3: ssize_t)
1470     -> ssize_t;
1471    pub fn cap_copy_int(arg1: *const ::libc::c_void) -> cap_t;
1472    pub fn cap_from_text(arg1: *const ::libc::c_char) -> cap_t;
1473    pub fn cap_to_text(arg1: cap_t, arg2: *mut ssize_t)
1474     -> *mut ::libc::c_char;
1475    pub fn cap_from_name(arg1: *const ::libc::c_char, arg2: *mut cap_value_t)
1476     -> ::libc::c_int;
1477    pub fn cap_to_name(arg1: cap_value_t) -> *mut ::libc::c_char;
1478    pub fn cap_compare(arg1: cap_t, arg2: cap_t) -> ::libc::c_int;
1479    pub fn capset(header: cap_user_header_t, data: cap_user_data_t)
1480     -> ::libc::c_int;
1481    pub fn capget(header: cap_user_header_t, data: cap_user_data_t)
1482     -> ::libc::c_int;
1483    pub fn capgetp(pid: pid_t, cap_d: cap_t) -> ::libc::c_int;
1484    pub fn capsetp(pid: pid_t, cap_d: cap_t) -> ::libc::c_int;
1485    pub fn _libcap_strdup(text: *const ::libc::c_char) -> *mut ::libc::c_char;
1486}