1#![allow(dead_code, non_snake_case, non_camel_case_types, non_upper_case_globals, improper_ctypes)]
4pub type _Tp = ();
5
6#[repr(C)]
7#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)]
8pub struct __BindgenBitfieldUnit<Storage> {
9 storage: Storage,
10}
11impl<Storage> __BindgenBitfieldUnit<Storage> {
12 #[inline]
13 pub const fn new(storage: Storage) -> Self {
14 Self { storage }
15 }
16}
17impl<Storage> __BindgenBitfieldUnit<Storage>
18where
19 Storage: AsRef<[u8]> + AsMut<[u8]>,
20{
21 #[inline]
22 pub fn get_bit(&self, index: usize) -> bool {
23 debug_assert!(index / 8 < self.storage.as_ref().len());
24 let byte_index = index / 8;
25 let byte = self.storage.as_ref()[byte_index];
26 let bit_index = if cfg!(target_endian = "big") {
27 7 - (index % 8)
28 } else {
29 index % 8
30 };
31 let mask = 1 << bit_index;
32 byte & mask == mask
33 }
34 #[inline]
35 pub fn set_bit(&mut self, index: usize, val: bool) {
36 debug_assert!(index / 8 < self.storage.as_ref().len());
37 let byte_index = index / 8;
38 let byte = &mut self.storage.as_mut()[byte_index];
39 let bit_index = if cfg!(target_endian = "big") {
40 7 - (index % 8)
41 } else {
42 index % 8
43 };
44 let mask = 1 << bit_index;
45 if val {
46 *byte |= mask;
47 } else {
48 *byte &= !mask;
49 }
50 }
51 #[inline]
52 pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 {
53 debug_assert!(bit_width <= 64);
54 debug_assert!(bit_offset / 8 < self.storage.as_ref().len());
55 debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len());
56 let mut val = 0;
57 for i in 0..(bit_width as usize) {
58 if self.get_bit(i + bit_offset) {
59 let index = if cfg!(target_endian = "big") {
60 bit_width as usize - 1 - i
61 } else {
62 i
63 };
64 val |= 1 << index;
65 }
66 }
67 val
68 }
69 #[inline]
70 pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) {
71 debug_assert!(bit_width <= 64);
72 debug_assert!(bit_offset / 8 < self.storage.as_ref().len());
73 debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len());
74 for i in 0..(bit_width as usize) {
75 let mask = 1 << i;
76 let val_bit_is_set = val & mask == mask;
77 let index = if cfg!(target_endian = "big") {
78 bit_width as usize - 1 - i
79 } else {
80 i
81 };
82 self.set_bit(index + bit_offset, val_bit_is_set);
83 }
84 }
85}
86#[derive(PartialEq, Copy, Clone, Hash, Debug, Default)]
87#[repr(transparent)]
88pub struct __BindgenFloat16(pub u16);
89pub const _LIBCPP_ABI_VERSION: u32 = 1;
90pub const _LIBCPP_HARDENING_MODE_DEFAULT: u32 = 2;
91pub const _LIBCPP_VERSION: u32 = 180100;
92pub const _LIBCPP_STD_VER: u32 = 14;
93pub const _LIBCPP_OBJECT_FORMAT_MACHO: u32 = 1;
94pub const _LIBCPP_HARDENING_MODE_NONE: u32 = 2;
95pub const _LIBCPP_HARDENING_MODE_FAST: u32 = 4;
96pub const _LIBCPP_HARDENING_MODE_EXTENSIVE: u32 = 16;
97pub const _LIBCPP_HARDENING_MODE_DEBUG: u32 = 8;
98pub const _LIBCPP_HARDENING_MODE: u32 = 2;
99pub const _LIBCPP_LOCALE__L_EXTENSIONS: u32 = 1;
100pub const __bool_true_false_are_defined: u32 = 1;
101pub const __WORDSIZE: u32 = 64;
102pub const __has_safe_buffers: u32 = 1;
103pub const __DARWIN_ONLY_64_BIT_INO_T: u32 = 1;
104pub const __DARWIN_ONLY_UNIX_CONFORMANCE: u32 = 1;
105pub const __DARWIN_ONLY_VERS_1050: u32 = 1;
106pub const __DARWIN_UNIX03: u32 = 1;
107pub const __DARWIN_64_BIT_INO_T: u32 = 1;
108pub const __DARWIN_VERS_1050: u32 = 1;
109pub const __DARWIN_NON_CANCELABLE: u32 = 0;
110pub const __DARWIN_SUF_EXTSN: &[u8; 14] = b"$DARWIN_EXTSN\0";
111pub const __DARWIN_C_ANSI: u32 = 4096;
112pub const __DARWIN_C_FULL: u32 = 900000;
113pub const __DARWIN_C_LEVEL: u32 = 900000;
114pub const __DARWIN_NO_LONG_LONG: u32 = 0;
115pub const _DARWIN_FEATURE_64_BIT_INODE: u32 = 1;
116pub const _DARWIN_FEATURE_ONLY_64_BIT_INODE: u32 = 1;
117pub const _DARWIN_FEATURE_ONLY_VERS_1050: u32 = 1;
118pub const _DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE: u32 = 1;
119pub const _DARWIN_FEATURE_UNIX_CONFORMANCE: u32 = 3;
120pub const __has_ptrcheck: u32 = 0;
121pub const USE_CLANG_TYPES: u32 = 0;
122pub const __PTHREAD_SIZE__: u32 = 8176;
123pub const __PTHREAD_ATTR_SIZE__: u32 = 56;
124pub const __PTHREAD_MUTEXATTR_SIZE__: u32 = 8;
125pub const __PTHREAD_MUTEX_SIZE__: u32 = 56;
126pub const __PTHREAD_CONDATTR_SIZE__: u32 = 8;
127pub const __PTHREAD_COND_SIZE__: u32 = 40;
128pub const __PTHREAD_ONCE_SIZE__: u32 = 8;
129pub const __PTHREAD_RWLOCK_SIZE__: u32 = 192;
130pub const __PTHREAD_RWLOCKATTR_SIZE__: u32 = 16;
131pub const INT8_MAX: u32 = 127;
132pub const INT16_MAX: u32 = 32767;
133pub const INT32_MAX: u32 = 2147483647;
134pub const INT64_MAX: u64 = 9223372036854775807;
135pub const INT8_MIN: i32 = -128;
136pub const INT16_MIN: i32 = -32768;
137pub const INT32_MIN: i32 = -2147483648;
138pub const INT64_MIN: i64 = -9223372036854775808;
139pub const UINT8_MAX: u32 = 255;
140pub const UINT16_MAX: u32 = 65535;
141pub const UINT32_MAX: u32 = 4294967295;
142pub const UINT64_MAX: i32 = -1;
143pub const INT_LEAST8_MIN: i32 = -128;
144pub const INT_LEAST16_MIN: i32 = -32768;
145pub const INT_LEAST32_MIN: i32 = -2147483648;
146pub const INT_LEAST64_MIN: i64 = -9223372036854775808;
147pub const INT_LEAST8_MAX: u32 = 127;
148pub const INT_LEAST16_MAX: u32 = 32767;
149pub const INT_LEAST32_MAX: u32 = 2147483647;
150pub const INT_LEAST64_MAX: u64 = 9223372036854775807;
151pub const UINT_LEAST8_MAX: u32 = 255;
152pub const UINT_LEAST16_MAX: u32 = 65535;
153pub const UINT_LEAST32_MAX: u32 = 4294967295;
154pub const UINT_LEAST64_MAX: i32 = -1;
155pub const INT_FAST8_MIN: i32 = -128;
156pub const INT_FAST16_MIN: i32 = -32768;
157pub const INT_FAST32_MIN: i32 = -2147483648;
158pub const INT_FAST64_MIN: i64 = -9223372036854775808;
159pub const INT_FAST8_MAX: u32 = 127;
160pub const INT_FAST16_MAX: u32 = 32767;
161pub const INT_FAST32_MAX: u32 = 2147483647;
162pub const INT_FAST64_MAX: u64 = 9223372036854775807;
163pub const UINT_FAST8_MAX: u32 = 255;
164pub const UINT_FAST16_MAX: u32 = 65535;
165pub const UINT_FAST32_MAX: u32 = 4294967295;
166pub const UINT_FAST64_MAX: i32 = -1;
167pub const INTPTR_MAX: u64 = 9223372036854775807;
168pub const INTPTR_MIN: i64 = -9223372036854775808;
169pub const UINTPTR_MAX: i32 = -1;
170pub const SIZE_MAX: i32 = -1;
171pub const WINT_MIN: i32 = -2147483648;
172pub const WINT_MAX: u32 = 2147483647;
173pub const SIG_ATOMIC_MIN: i32 = -2147483648;
174pub const SIG_ATOMIC_MAX: u32 = 2147483647;
175pub const __API_TO_BE_DEPRECATED: u32 = 100000;
176pub const __API_TO_BE_DEPRECATED_MACOS: u32 = 100000;
177pub const __API_TO_BE_DEPRECATED_IOS: u32 = 100000;
178pub const __API_TO_BE_DEPRECATED_MACCATALYST: u32 = 100000;
179pub const __API_TO_BE_DEPRECATED_WATCHOS: u32 = 100000;
180pub const __API_TO_BE_DEPRECATED_TVOS: u32 = 100000;
181pub const __API_TO_BE_DEPRECATED_DRIVERKIT: u32 = 100000;
182pub const __API_TO_BE_DEPRECATED_VISIONOS: u32 = 100000;
183pub const __MAC_10_0: u32 = 1000;
184pub const __MAC_10_1: u32 = 1010;
185pub const __MAC_10_2: u32 = 1020;
186pub const __MAC_10_3: u32 = 1030;
187pub const __MAC_10_4: u32 = 1040;
188pub const __MAC_10_5: u32 = 1050;
189pub const __MAC_10_6: u32 = 1060;
190pub const __MAC_10_7: u32 = 1070;
191pub const __MAC_10_8: u32 = 1080;
192pub const __MAC_10_9: u32 = 1090;
193pub const __MAC_10_10: u32 = 101000;
194pub const __MAC_10_10_2: u32 = 101002;
195pub const __MAC_10_10_3: u32 = 101003;
196pub const __MAC_10_11: u32 = 101100;
197pub const __MAC_10_11_2: u32 = 101102;
198pub const __MAC_10_11_3: u32 = 101103;
199pub const __MAC_10_11_4: u32 = 101104;
200pub const __MAC_10_12: u32 = 101200;
201pub const __MAC_10_12_1: u32 = 101201;
202pub const __MAC_10_12_2: u32 = 101202;
203pub const __MAC_10_12_4: u32 = 101204;
204pub const __MAC_10_13: u32 = 101300;
205pub const __MAC_10_13_1: u32 = 101301;
206pub const __MAC_10_13_2: u32 = 101302;
207pub const __MAC_10_13_4: u32 = 101304;
208pub const __MAC_10_14: u32 = 101400;
209pub const __MAC_10_14_1: u32 = 101401;
210pub const __MAC_10_14_4: u32 = 101404;
211pub const __MAC_10_14_5: u32 = 101405;
212pub const __MAC_10_14_6: u32 = 101406;
213pub const __MAC_10_15: u32 = 101500;
214pub const __MAC_10_15_1: u32 = 101501;
215pub const __MAC_10_15_4: u32 = 101504;
216pub const __MAC_10_16: u32 = 101600;
217pub const __MAC_11_0: u32 = 110000;
218pub const __MAC_11_1: u32 = 110100;
219pub const __MAC_11_3: u32 = 110300;
220pub const __MAC_11_4: u32 = 110400;
221pub const __MAC_11_5: u32 = 110500;
222pub const __MAC_11_6: u32 = 110600;
223pub const __MAC_12_0: u32 = 120000;
224pub const __MAC_12_1: u32 = 120100;
225pub const __MAC_12_2: u32 = 120200;
226pub const __MAC_12_3: u32 = 120300;
227pub const __MAC_12_4: u32 = 120400;
228pub const __MAC_12_5: u32 = 120500;
229pub const __MAC_12_6: u32 = 120600;
230pub const __MAC_12_7: u32 = 120700;
231pub const __MAC_13_0: u32 = 130000;
232pub const __MAC_13_1: u32 = 130100;
233pub const __MAC_13_2: u32 = 130200;
234pub const __MAC_13_3: u32 = 130300;
235pub const __MAC_13_4: u32 = 130400;
236pub const __MAC_13_5: u32 = 130500;
237pub const __MAC_13_6: u32 = 130600;
238pub const __MAC_14_0: u32 = 140000;
239pub const __MAC_14_1: u32 = 140100;
240pub const __MAC_14_2: u32 = 140200;
241pub const __MAC_14_3: u32 = 140300;
242pub const __MAC_14_4: u32 = 140400;
243pub const __MAC_14_5: u32 = 140500;
244pub const __MAC_15_0: u32 = 150000;
245pub const __IPHONE_2_0: u32 = 20000;
246pub const __IPHONE_2_1: u32 = 20100;
247pub const __IPHONE_2_2: u32 = 20200;
248pub const __IPHONE_3_0: u32 = 30000;
249pub const __IPHONE_3_1: u32 = 30100;
250pub const __IPHONE_3_2: u32 = 30200;
251pub const __IPHONE_4_0: u32 = 40000;
252pub const __IPHONE_4_1: u32 = 40100;
253pub const __IPHONE_4_2: u32 = 40200;
254pub const __IPHONE_4_3: u32 = 40300;
255pub const __IPHONE_5_0: u32 = 50000;
256pub const __IPHONE_5_1: u32 = 50100;
257pub const __IPHONE_6_0: u32 = 60000;
258pub const __IPHONE_6_1: u32 = 60100;
259pub const __IPHONE_7_0: u32 = 70000;
260pub const __IPHONE_7_1: u32 = 70100;
261pub const __IPHONE_8_0: u32 = 80000;
262pub const __IPHONE_8_1: u32 = 80100;
263pub const __IPHONE_8_2: u32 = 80200;
264pub const __IPHONE_8_3: u32 = 80300;
265pub const __IPHONE_8_4: u32 = 80400;
266pub const __IPHONE_9_0: u32 = 90000;
267pub const __IPHONE_9_1: u32 = 90100;
268pub const __IPHONE_9_2: u32 = 90200;
269pub const __IPHONE_9_3: u32 = 90300;
270pub const __IPHONE_10_0: u32 = 100000;
271pub const __IPHONE_10_1: u32 = 100100;
272pub const __IPHONE_10_2: u32 = 100200;
273pub const __IPHONE_10_3: u32 = 100300;
274pub const __IPHONE_11_0: u32 = 110000;
275pub const __IPHONE_11_1: u32 = 110100;
276pub const __IPHONE_11_2: u32 = 110200;
277pub const __IPHONE_11_3: u32 = 110300;
278pub const __IPHONE_11_4: u32 = 110400;
279pub const __IPHONE_12_0: u32 = 120000;
280pub const __IPHONE_12_1: u32 = 120100;
281pub const __IPHONE_12_2: u32 = 120200;
282pub const __IPHONE_12_3: u32 = 120300;
283pub const __IPHONE_12_4: u32 = 120400;
284pub const __IPHONE_13_0: u32 = 130000;
285pub const __IPHONE_13_1: u32 = 130100;
286pub const __IPHONE_13_2: u32 = 130200;
287pub const __IPHONE_13_3: u32 = 130300;
288pub const __IPHONE_13_4: u32 = 130400;
289pub const __IPHONE_13_5: u32 = 130500;
290pub const __IPHONE_13_6: u32 = 130600;
291pub const __IPHONE_13_7: u32 = 130700;
292pub const __IPHONE_14_0: u32 = 140000;
293pub const __IPHONE_14_1: u32 = 140100;
294pub const __IPHONE_14_2: u32 = 140200;
295pub const __IPHONE_14_3: u32 = 140300;
296pub const __IPHONE_14_5: u32 = 140500;
297pub const __IPHONE_14_4: u32 = 140400;
298pub const __IPHONE_14_6: u32 = 140600;
299pub const __IPHONE_14_7: u32 = 140700;
300pub const __IPHONE_14_8: u32 = 140800;
301pub const __IPHONE_15_0: u32 = 150000;
302pub const __IPHONE_15_1: u32 = 150100;
303pub const __IPHONE_15_2: u32 = 150200;
304pub const __IPHONE_15_3: u32 = 150300;
305pub const __IPHONE_15_4: u32 = 150400;
306pub const __IPHONE_15_5: u32 = 150500;
307pub const __IPHONE_15_6: u32 = 150600;
308pub const __IPHONE_15_7: u32 = 150700;
309pub const __IPHONE_15_8: u32 = 150800;
310pub const __IPHONE_16_0: u32 = 160000;
311pub const __IPHONE_16_1: u32 = 160100;
312pub const __IPHONE_16_2: u32 = 160200;
313pub const __IPHONE_16_3: u32 = 160300;
314pub const __IPHONE_16_4: u32 = 160400;
315pub const __IPHONE_16_5: u32 = 160500;
316pub const __IPHONE_16_6: u32 = 160600;
317pub const __IPHONE_16_7: u32 = 160700;
318pub const __IPHONE_17_0: u32 = 170000;
319pub const __IPHONE_17_1: u32 = 170100;
320pub const __IPHONE_17_2: u32 = 170200;
321pub const __IPHONE_17_3: u32 = 170300;
322pub const __IPHONE_17_4: u32 = 170400;
323pub const __IPHONE_17_5: u32 = 170500;
324pub const __IPHONE_18_0: u32 = 180000;
325pub const __WATCHOS_1_0: u32 = 10000;
326pub const __WATCHOS_2_0: u32 = 20000;
327pub const __WATCHOS_2_1: u32 = 20100;
328pub const __WATCHOS_2_2: u32 = 20200;
329pub const __WATCHOS_3_0: u32 = 30000;
330pub const __WATCHOS_3_1: u32 = 30100;
331pub const __WATCHOS_3_1_1: u32 = 30101;
332pub const __WATCHOS_3_2: u32 = 30200;
333pub const __WATCHOS_4_0: u32 = 40000;
334pub const __WATCHOS_4_1: u32 = 40100;
335pub const __WATCHOS_4_2: u32 = 40200;
336pub const __WATCHOS_4_3: u32 = 40300;
337pub const __WATCHOS_5_0: u32 = 50000;
338pub const __WATCHOS_5_1: u32 = 50100;
339pub const __WATCHOS_5_2: u32 = 50200;
340pub const __WATCHOS_5_3: u32 = 50300;
341pub const __WATCHOS_6_0: u32 = 60000;
342pub const __WATCHOS_6_1: u32 = 60100;
343pub const __WATCHOS_6_2: u32 = 60200;
344pub const __WATCHOS_7_0: u32 = 70000;
345pub const __WATCHOS_7_1: u32 = 70100;
346pub const __WATCHOS_7_2: u32 = 70200;
347pub const __WATCHOS_7_3: u32 = 70300;
348pub const __WATCHOS_7_4: u32 = 70400;
349pub const __WATCHOS_7_5: u32 = 70500;
350pub const __WATCHOS_7_6: u32 = 70600;
351pub const __WATCHOS_8_0: u32 = 80000;
352pub const __WATCHOS_8_1: u32 = 80100;
353pub const __WATCHOS_8_3: u32 = 80300;
354pub const __WATCHOS_8_4: u32 = 80400;
355pub const __WATCHOS_8_5: u32 = 80500;
356pub const __WATCHOS_8_6: u32 = 80600;
357pub const __WATCHOS_8_7: u32 = 80700;
358pub const __WATCHOS_8_8: u32 = 80800;
359pub const __WATCHOS_9_0: u32 = 90000;
360pub const __WATCHOS_9_1: u32 = 90100;
361pub const __WATCHOS_9_2: u32 = 90200;
362pub const __WATCHOS_9_3: u32 = 90300;
363pub const __WATCHOS_9_4: u32 = 90400;
364pub const __WATCHOS_9_5: u32 = 90500;
365pub const __WATCHOS_9_6: u32 = 90600;
366pub const __WATCHOS_10_0: u32 = 100000;
367pub const __WATCHOS_10_1: u32 = 100100;
368pub const __WATCHOS_10_2: u32 = 100200;
369pub const __WATCHOS_10_3: u32 = 100300;
370pub const __WATCHOS_10_4: u32 = 100400;
371pub const __WATCHOS_10_5: u32 = 100500;
372pub const __WATCHOS_11_0: u32 = 110000;
373pub const __TVOS_9_0: u32 = 90000;
374pub const __TVOS_9_1: u32 = 90100;
375pub const __TVOS_9_2: u32 = 90200;
376pub const __TVOS_10_0: u32 = 100000;
377pub const __TVOS_10_0_1: u32 = 100001;
378pub const __TVOS_10_1: u32 = 100100;
379pub const __TVOS_10_2: u32 = 100200;
380pub const __TVOS_11_0: u32 = 110000;
381pub const __TVOS_11_1: u32 = 110100;
382pub const __TVOS_11_2: u32 = 110200;
383pub const __TVOS_11_3: u32 = 110300;
384pub const __TVOS_11_4: u32 = 110400;
385pub const __TVOS_12_0: u32 = 120000;
386pub const __TVOS_12_1: u32 = 120100;
387pub const __TVOS_12_2: u32 = 120200;
388pub const __TVOS_12_3: u32 = 120300;
389pub const __TVOS_12_4: u32 = 120400;
390pub const __TVOS_13_0: u32 = 130000;
391pub const __TVOS_13_2: u32 = 130200;
392pub const __TVOS_13_3: u32 = 130300;
393pub const __TVOS_13_4: u32 = 130400;
394pub const __TVOS_14_0: u32 = 140000;
395pub const __TVOS_14_1: u32 = 140100;
396pub const __TVOS_14_2: u32 = 140200;
397pub const __TVOS_14_3: u32 = 140300;
398pub const __TVOS_14_5: u32 = 140500;
399pub const __TVOS_14_6: u32 = 140600;
400pub const __TVOS_14_7: u32 = 140700;
401pub const __TVOS_15_0: u32 = 150000;
402pub const __TVOS_15_1: u32 = 150100;
403pub const __TVOS_15_2: u32 = 150200;
404pub const __TVOS_15_3: u32 = 150300;
405pub const __TVOS_15_4: u32 = 150400;
406pub const __TVOS_15_5: u32 = 150500;
407pub const __TVOS_15_6: u32 = 150600;
408pub const __TVOS_16_0: u32 = 160000;
409pub const __TVOS_16_1: u32 = 160100;
410pub const __TVOS_16_2: u32 = 160200;
411pub const __TVOS_16_3: u32 = 160300;
412pub const __TVOS_16_4: u32 = 160400;
413pub const __TVOS_16_5: u32 = 160500;
414pub const __TVOS_16_6: u32 = 160600;
415pub const __TVOS_17_0: u32 = 170000;
416pub const __TVOS_17_1: u32 = 170100;
417pub const __TVOS_17_2: u32 = 170200;
418pub const __TVOS_17_3: u32 = 170300;
419pub const __TVOS_17_4: u32 = 170400;
420pub const __TVOS_17_5: u32 = 170500;
421pub const __TVOS_18_0: u32 = 180000;
422pub const __BRIDGEOS_2_0: u32 = 20000;
423pub const __BRIDGEOS_3_0: u32 = 30000;
424pub const __BRIDGEOS_3_1: u32 = 30100;
425pub const __BRIDGEOS_3_4: u32 = 30400;
426pub const __BRIDGEOS_4_0: u32 = 40000;
427pub const __BRIDGEOS_4_1: u32 = 40100;
428pub const __BRIDGEOS_5_0: u32 = 50000;
429pub const __BRIDGEOS_5_1: u32 = 50100;
430pub const __BRIDGEOS_5_3: u32 = 50300;
431pub const __BRIDGEOS_6_0: u32 = 60000;
432pub const __BRIDGEOS_6_2: u32 = 60200;
433pub const __BRIDGEOS_6_4: u32 = 60400;
434pub const __BRIDGEOS_6_5: u32 = 60500;
435pub const __BRIDGEOS_6_6: u32 = 60600;
436pub const __BRIDGEOS_7_0: u32 = 70000;
437pub const __BRIDGEOS_7_1: u32 = 70100;
438pub const __BRIDGEOS_7_2: u32 = 70200;
439pub const __BRIDGEOS_7_3: u32 = 70300;
440pub const __BRIDGEOS_7_4: u32 = 70400;
441pub const __BRIDGEOS_7_6: u32 = 70600;
442pub const __BRIDGEOS_8_0: u32 = 80000;
443pub const __BRIDGEOS_8_1: u32 = 80100;
444pub const __BRIDGEOS_8_2: u32 = 80200;
445pub const __BRIDGEOS_8_3: u32 = 80300;
446pub const __BRIDGEOS_8_4: u32 = 80400;
447pub const __BRIDGEOS_8_5: u32 = 80500;
448pub const __BRIDGEOS_9_0: u32 = 90000;
449pub const __DRIVERKIT_19_0: u32 = 190000;
450pub const __DRIVERKIT_20_0: u32 = 200000;
451pub const __DRIVERKIT_21_0: u32 = 210000;
452pub const __DRIVERKIT_22_0: u32 = 220000;
453pub const __DRIVERKIT_22_4: u32 = 220400;
454pub const __DRIVERKIT_22_5: u32 = 220500;
455pub const __DRIVERKIT_22_6: u32 = 220600;
456pub const __DRIVERKIT_23_0: u32 = 230000;
457pub const __DRIVERKIT_23_1: u32 = 230100;
458pub const __DRIVERKIT_23_2: u32 = 230200;
459pub const __DRIVERKIT_23_3: u32 = 230300;
460pub const __DRIVERKIT_23_4: u32 = 230400;
461pub const __DRIVERKIT_23_5: u32 = 230500;
462pub const __DRIVERKIT_24_0: u32 = 240000;
463pub const __VISIONOS_1_0: u32 = 10000;
464pub const __VISIONOS_1_1: u32 = 10100;
465pub const __VISIONOS_1_2: u32 = 10200;
466pub const __VISIONOS_2_0: u32 = 20000;
467pub const MAC_OS_X_VERSION_10_0: u32 = 1000;
468pub const MAC_OS_X_VERSION_10_1: u32 = 1010;
469pub const MAC_OS_X_VERSION_10_2: u32 = 1020;
470pub const MAC_OS_X_VERSION_10_3: u32 = 1030;
471pub const MAC_OS_X_VERSION_10_4: u32 = 1040;
472pub const MAC_OS_X_VERSION_10_5: u32 = 1050;
473pub const MAC_OS_X_VERSION_10_6: u32 = 1060;
474pub const MAC_OS_X_VERSION_10_7: u32 = 1070;
475pub const MAC_OS_X_VERSION_10_8: u32 = 1080;
476pub const MAC_OS_X_VERSION_10_9: u32 = 1090;
477pub const MAC_OS_X_VERSION_10_10: u32 = 101000;
478pub const MAC_OS_X_VERSION_10_10_2: u32 = 101002;
479pub const MAC_OS_X_VERSION_10_10_3: u32 = 101003;
480pub const MAC_OS_X_VERSION_10_11: u32 = 101100;
481pub const MAC_OS_X_VERSION_10_11_2: u32 = 101102;
482pub const MAC_OS_X_VERSION_10_11_3: u32 = 101103;
483pub const MAC_OS_X_VERSION_10_11_4: u32 = 101104;
484pub const MAC_OS_X_VERSION_10_12: u32 = 101200;
485pub const MAC_OS_X_VERSION_10_12_1: u32 = 101201;
486pub const MAC_OS_X_VERSION_10_12_2: u32 = 101202;
487pub const MAC_OS_X_VERSION_10_12_4: u32 = 101204;
488pub const MAC_OS_X_VERSION_10_13: u32 = 101300;
489pub const MAC_OS_X_VERSION_10_13_1: u32 = 101301;
490pub const MAC_OS_X_VERSION_10_13_2: u32 = 101302;
491pub const MAC_OS_X_VERSION_10_13_4: u32 = 101304;
492pub const MAC_OS_X_VERSION_10_14: u32 = 101400;
493pub const MAC_OS_X_VERSION_10_14_1: u32 = 101401;
494pub const MAC_OS_X_VERSION_10_14_4: u32 = 101404;
495pub const MAC_OS_X_VERSION_10_14_5: u32 = 101405;
496pub const MAC_OS_X_VERSION_10_14_6: u32 = 101406;
497pub const MAC_OS_X_VERSION_10_15: u32 = 101500;
498pub const MAC_OS_X_VERSION_10_15_1: u32 = 101501;
499pub const MAC_OS_X_VERSION_10_15_4: u32 = 101504;
500pub const MAC_OS_X_VERSION_10_16: u32 = 101600;
501pub const MAC_OS_VERSION_11_0: u32 = 110000;
502pub const MAC_OS_VERSION_11_1: u32 = 110100;
503pub const MAC_OS_VERSION_11_3: u32 = 110300;
504pub const MAC_OS_VERSION_11_4: u32 = 110400;
505pub const MAC_OS_VERSION_11_5: u32 = 110500;
506pub const MAC_OS_VERSION_11_6: u32 = 110600;
507pub const MAC_OS_VERSION_12_0: u32 = 120000;
508pub const MAC_OS_VERSION_12_1: u32 = 120100;
509pub const MAC_OS_VERSION_12_2: u32 = 120200;
510pub const MAC_OS_VERSION_12_3: u32 = 120300;
511pub const MAC_OS_VERSION_12_4: u32 = 120400;
512pub const MAC_OS_VERSION_12_5: u32 = 120500;
513pub const MAC_OS_VERSION_12_6: u32 = 120600;
514pub const MAC_OS_VERSION_12_7: u32 = 120700;
515pub const MAC_OS_VERSION_13_0: u32 = 130000;
516pub const MAC_OS_VERSION_13_1: u32 = 130100;
517pub const MAC_OS_VERSION_13_2: u32 = 130200;
518pub const MAC_OS_VERSION_13_3: u32 = 130300;
519pub const MAC_OS_VERSION_13_4: u32 = 130400;
520pub const MAC_OS_VERSION_13_5: u32 = 130500;
521pub const MAC_OS_VERSION_13_6: u32 = 130600;
522pub const MAC_OS_VERSION_14_0: u32 = 140000;
523pub const MAC_OS_VERSION_14_1: u32 = 140100;
524pub const MAC_OS_VERSION_14_2: u32 = 140200;
525pub const MAC_OS_VERSION_14_3: u32 = 140300;
526pub const MAC_OS_VERSION_14_4: u32 = 140400;
527pub const MAC_OS_VERSION_14_5: u32 = 140500;
528pub const MAC_OS_VERSION_15_0: u32 = 150000;
529pub const __MAC_OS_X_VERSION_MAX_ALLOWED: u32 = 150000;
530pub const __ENABLE_LEGACY_MAC_AVAILABILITY: u32 = 1;
531pub const __DARWIN_WCHAR_MIN: i32 = -2147483648;
532pub const _FORTIFY_SOURCE: u32 = 2;
533pub const __DARWIN_NSIG: u32 = 32;
534pub const NSIG: u32 = 32;
535pub const _ARM_SIGNAL_: u32 = 1;
536pub const SIGHUP: u32 = 1;
537pub const SIGINT: u32 = 2;
538pub const SIGQUIT: u32 = 3;
539pub const SIGILL: u32 = 4;
540pub const SIGTRAP: u32 = 5;
541pub const SIGABRT: u32 = 6;
542pub const SIGIOT: u32 = 6;
543pub const SIGEMT: u32 = 7;
544pub const SIGFPE: u32 = 8;
545pub const SIGKILL: u32 = 9;
546pub const SIGBUS: u32 = 10;
547pub const SIGSEGV: u32 = 11;
548pub const SIGSYS: u32 = 12;
549pub const SIGPIPE: u32 = 13;
550pub const SIGALRM: u32 = 14;
551pub const SIGTERM: u32 = 15;
552pub const SIGURG: u32 = 16;
553pub const SIGSTOP: u32 = 17;
554pub const SIGTSTP: u32 = 18;
555pub const SIGCONT: u32 = 19;
556pub const SIGCHLD: u32 = 20;
557pub const SIGTTIN: u32 = 21;
558pub const SIGTTOU: u32 = 22;
559pub const SIGIO: u32 = 23;
560pub const SIGXCPU: u32 = 24;
561pub const SIGXFSZ: u32 = 25;
562pub const SIGVTALRM: u32 = 26;
563pub const SIGPROF: u32 = 27;
564pub const SIGWINCH: u32 = 28;
565pub const SIGINFO: u32 = 29;
566pub const SIGUSR1: u32 = 30;
567pub const SIGUSR2: u32 = 31;
568pub const __DARWIN_OPAQUE_ARM_THREAD_STATE64: u32 = 0;
569pub const USE_CLANG_STDDEF: u32 = 0;
570pub const SIGEV_NONE: u32 = 0;
571pub const SIGEV_SIGNAL: u32 = 1;
572pub const SIGEV_THREAD: u32 = 3;
573pub const ILL_NOOP: u32 = 0;
574pub const ILL_ILLOPC: u32 = 1;
575pub const ILL_ILLTRP: u32 = 2;
576pub const ILL_PRVOPC: u32 = 3;
577pub const ILL_ILLOPN: u32 = 4;
578pub const ILL_ILLADR: u32 = 5;
579pub const ILL_PRVREG: u32 = 6;
580pub const ILL_COPROC: u32 = 7;
581pub const ILL_BADSTK: u32 = 8;
582pub const FPE_NOOP: u32 = 0;
583pub const FPE_FLTDIV: u32 = 1;
584pub const FPE_FLTOVF: u32 = 2;
585pub const FPE_FLTUND: u32 = 3;
586pub const FPE_FLTRES: u32 = 4;
587pub const FPE_FLTINV: u32 = 5;
588pub const FPE_FLTSUB: u32 = 6;
589pub const FPE_INTDIV: u32 = 7;
590pub const FPE_INTOVF: u32 = 8;
591pub const SEGV_NOOP: u32 = 0;
592pub const SEGV_MAPERR: u32 = 1;
593pub const SEGV_ACCERR: u32 = 2;
594pub const BUS_NOOP: u32 = 0;
595pub const BUS_ADRALN: u32 = 1;
596pub const BUS_ADRERR: u32 = 2;
597pub const BUS_OBJERR: u32 = 3;
598pub const TRAP_BRKPT: u32 = 1;
599pub const TRAP_TRACE: u32 = 2;
600pub const CLD_NOOP: u32 = 0;
601pub const CLD_EXITED: u32 = 1;
602pub const CLD_KILLED: u32 = 2;
603pub const CLD_DUMPED: u32 = 3;
604pub const CLD_TRAPPED: u32 = 4;
605pub const CLD_STOPPED: u32 = 5;
606pub const CLD_CONTINUED: u32 = 6;
607pub const POLL_IN: u32 = 1;
608pub const POLL_OUT: u32 = 2;
609pub const POLL_MSG: u32 = 3;
610pub const POLL_ERR: u32 = 4;
611pub const POLL_PRI: u32 = 5;
612pub const POLL_HUP: u32 = 6;
613pub const SA_ONSTACK: u32 = 1;
614pub const SA_RESTART: u32 = 2;
615pub const SA_RESETHAND: u32 = 4;
616pub const SA_NOCLDSTOP: u32 = 8;
617pub const SA_NODEFER: u32 = 16;
618pub const SA_NOCLDWAIT: u32 = 32;
619pub const SA_SIGINFO: u32 = 64;
620pub const SA_USERTRAMP: u32 = 256;
621pub const SA_64REGSET: u32 = 512;
622pub const SA_USERSPACE_MASK: u32 = 127;
623pub const SIG_BLOCK: u32 = 1;
624pub const SIG_UNBLOCK: u32 = 2;
625pub const SIG_SETMASK: u32 = 3;
626pub const SI_USER: u32 = 65537;
627pub const SI_QUEUE: u32 = 65538;
628pub const SI_TIMER: u32 = 65539;
629pub const SI_ASYNCIO: u32 = 65540;
630pub const SI_MESGQ: u32 = 65541;
631pub const SS_ONSTACK: u32 = 1;
632pub const SS_DISABLE: u32 = 4;
633pub const MINSIGSTKSZ: u32 = 32768;
634pub const SIGSTKSZ: u32 = 131072;
635pub const SV_ONSTACK: u32 = 1;
636pub const SV_INTERRUPT: u32 = 2;
637pub const SV_RESETHAND: u32 = 4;
638pub const SV_NODEFER: u32 = 16;
639pub const SV_NOCLDSTOP: u32 = 8;
640pub const SV_SIGINFO: u32 = 64;
641pub const PRIO_PROCESS: u32 = 0;
642pub const PRIO_PGRP: u32 = 1;
643pub const PRIO_USER: u32 = 2;
644pub const PRIO_DARWIN_THREAD: u32 = 3;
645pub const PRIO_DARWIN_PROCESS: u32 = 4;
646pub const PRIO_MIN: i32 = -20;
647pub const PRIO_MAX: u32 = 20;
648pub const PRIO_DARWIN_BG: u32 = 4096;
649pub const PRIO_DARWIN_NONUI: u32 = 4097;
650pub const RUSAGE_SELF: u32 = 0;
651pub const RUSAGE_CHILDREN: i32 = -1;
652pub const RUSAGE_INFO_V0: u32 = 0;
653pub const RUSAGE_INFO_V1: u32 = 1;
654pub const RUSAGE_INFO_V2: u32 = 2;
655pub const RUSAGE_INFO_V3: u32 = 3;
656pub const RUSAGE_INFO_V4: u32 = 4;
657pub const RUSAGE_INFO_V5: u32 = 5;
658pub const RUSAGE_INFO_V6: u32 = 6;
659pub const RUSAGE_INFO_CURRENT: u32 = 6;
660pub const RU_PROC_RUNS_RESLIDE: u32 = 1;
661pub const RLIMIT_CPU: u32 = 0;
662pub const RLIMIT_FSIZE: u32 = 1;
663pub const RLIMIT_DATA: u32 = 2;
664pub const RLIMIT_STACK: u32 = 3;
665pub const RLIMIT_CORE: u32 = 4;
666pub const RLIMIT_AS: u32 = 5;
667pub const RLIMIT_RSS: u32 = 5;
668pub const RLIMIT_MEMLOCK: u32 = 6;
669pub const RLIMIT_NPROC: u32 = 7;
670pub const RLIMIT_NOFILE: u32 = 8;
671pub const RLIM_NLIMITS: u32 = 9;
672pub const _RLIMIT_POSIX_FLAG: u32 = 4096;
673pub const RLIMIT_WAKEUPS_MONITOR: u32 = 1;
674pub const RLIMIT_CPU_USAGE_MONITOR: u32 = 2;
675pub const RLIMIT_THREAD_CPULIMITS: u32 = 3;
676pub const RLIMIT_FOOTPRINT_INTERVAL: u32 = 4;
677pub const WAKEMON_ENABLE: u32 = 1;
678pub const WAKEMON_DISABLE: u32 = 2;
679pub const WAKEMON_GET_PARAMS: u32 = 4;
680pub const WAKEMON_SET_DEFAULTS: u32 = 8;
681pub const WAKEMON_MAKE_FATAL: u32 = 16;
682pub const CPUMON_MAKE_FATAL: u32 = 4096;
683pub const FOOTPRINT_INTERVAL_RESET: u32 = 1;
684pub const IOPOL_TYPE_DISK: u32 = 0;
685pub const IOPOL_TYPE_VFS_ATIME_UPDATES: u32 = 2;
686pub const IOPOL_TYPE_VFS_MATERIALIZE_DATALESS_FILES: u32 = 3;
687pub const IOPOL_TYPE_VFS_STATFS_NO_DATA_VOLUME: u32 = 4;
688pub const IOPOL_TYPE_VFS_TRIGGER_RESOLVE: u32 = 5;
689pub const IOPOL_TYPE_VFS_IGNORE_CONTENT_PROTECTION: u32 = 6;
690pub const IOPOL_TYPE_VFS_IGNORE_PERMISSIONS: u32 = 7;
691pub const IOPOL_TYPE_VFS_SKIP_MTIME_UPDATE: u32 = 8;
692pub const IOPOL_TYPE_VFS_ALLOW_LOW_SPACE_WRITES: u32 = 9;
693pub const IOPOL_TYPE_VFS_DISALLOW_RW_FOR_O_EVTONLY: u32 = 10;
694pub const IOPOL_SCOPE_PROCESS: u32 = 0;
695pub const IOPOL_SCOPE_THREAD: u32 = 1;
696pub const IOPOL_SCOPE_DARWIN_BG: u32 = 2;
697pub const IOPOL_DEFAULT: u32 = 0;
698pub const IOPOL_IMPORTANT: u32 = 1;
699pub const IOPOL_PASSIVE: u32 = 2;
700pub const IOPOL_THROTTLE: u32 = 3;
701pub const IOPOL_UTILITY: u32 = 4;
702pub const IOPOL_STANDARD: u32 = 5;
703pub const IOPOL_APPLICATION: u32 = 5;
704pub const IOPOL_NORMAL: u32 = 1;
705pub const IOPOL_ATIME_UPDATES_DEFAULT: u32 = 0;
706pub const IOPOL_ATIME_UPDATES_OFF: u32 = 1;
707pub const IOPOL_MATERIALIZE_DATALESS_FILES_DEFAULT: u32 = 0;
708pub const IOPOL_MATERIALIZE_DATALESS_FILES_OFF: u32 = 1;
709pub const IOPOL_MATERIALIZE_DATALESS_FILES_ON: u32 = 2;
710pub const IOPOL_VFS_STATFS_NO_DATA_VOLUME_DEFAULT: u32 = 0;
711pub const IOPOL_VFS_STATFS_FORCE_NO_DATA_VOLUME: u32 = 1;
712pub const IOPOL_VFS_TRIGGER_RESOLVE_DEFAULT: u32 = 0;
713pub const IOPOL_VFS_TRIGGER_RESOLVE_OFF: u32 = 1;
714pub const IOPOL_VFS_CONTENT_PROTECTION_DEFAULT: u32 = 0;
715pub const IOPOL_VFS_CONTENT_PROTECTION_IGNORE: u32 = 1;
716pub const IOPOL_VFS_IGNORE_PERMISSIONS_OFF: u32 = 0;
717pub const IOPOL_VFS_IGNORE_PERMISSIONS_ON: u32 = 1;
718pub const IOPOL_VFS_SKIP_MTIME_UPDATE_OFF: u32 = 0;
719pub const IOPOL_VFS_SKIP_MTIME_UPDATE_ON: u32 = 1;
720pub const IOPOL_VFS_ALLOW_LOW_SPACE_WRITES_OFF: u32 = 0;
721pub const IOPOL_VFS_ALLOW_LOW_SPACE_WRITES_ON: u32 = 1;
722pub const IOPOL_VFS_DISALLOW_RW_FOR_O_EVTONLY_DEFAULT: u32 = 0;
723pub const IOPOL_VFS_DISALLOW_RW_FOR_O_EVTONLY_ON: u32 = 1;
724pub const IOPOL_VFS_NOCACHE_WRITE_FS_BLKSIZE_DEFAULT: u32 = 0;
725pub const IOPOL_VFS_NOCACHE_WRITE_FS_BLKSIZE_ON: u32 = 1;
726pub const WNOHANG: u32 = 1;
727pub const WUNTRACED: u32 = 2;
728pub const WCOREFLAG: u32 = 128;
729pub const _WSTOPPED: u32 = 127;
730pub const WEXITED: u32 = 4;
731pub const WSTOPPED: u32 = 8;
732pub const WCONTINUED: u32 = 16;
733pub const WNOWAIT: u32 = 32;
734pub const WAIT_ANY: i32 = -1;
735pub const WAIT_MYPGRP: u32 = 0;
736pub const _QUAD_HIGHWORD: u32 = 1;
737pub const _QUAD_LOWWORD: u32 = 0;
738pub const __DARWIN_LITTLE_ENDIAN: u32 = 1234;
739pub const __DARWIN_BIG_ENDIAN: u32 = 4321;
740pub const __DARWIN_PDP_ENDIAN: u32 = 3412;
741pub const LITTLE_ENDIAN: u32 = 1234;
742pub const BIG_ENDIAN: u32 = 4321;
743pub const PDP_ENDIAN: u32 = 3412;
744pub const __DARWIN_BYTE_ORDER: u32 = 1234;
745pub const BYTE_ORDER: u32 = 1234;
746pub const EXIT_FAILURE: u32 = 1;
747pub const EXIT_SUCCESS: u32 = 0;
748pub const RAND_MAX: u32 = 2147483647;
749pub const SWIFT_DTOA_BINARY16_SUPPORT: u32 = 1;
750pub const SWIFT_DTOA_PASS_FLOAT16_AS_FLOAT: u32 = 0;
751pub const FLOAT_IS_BINARY32: u32 = 1;
752pub const SWIFT_DTOA_BINARY32_SUPPORT: u32 = 1;
753pub const DOUBLE_IS_BINARY64: u32 = 1;
754pub const LONG_DOUBLE_IS_BINARY64: u32 = 1;
755pub const SWIFT_DTOA_BINARY64_SUPPORT: u32 = 1;
756pub type int_least8_t = i8;
757pub type int_least16_t = i16;
758pub type int_least32_t = i32;
759pub type int_least64_t = i64;
760pub type uint_least8_t = u8;
761pub type uint_least16_t = u16;
762pub type uint_least32_t = u32;
763pub type uint_least64_t = u64;
764pub type int_fast8_t = i8;
765pub type int_fast16_t = i16;
766pub type int_fast32_t = i32;
767pub type int_fast64_t = i64;
768pub type uint_fast8_t = u8;
769pub type uint_fast16_t = u16;
770pub type uint_fast32_t = u32;
771pub type uint_fast64_t = u64;
772pub type __int8_t = ::std::os::raw::c_schar;
773pub type __uint8_t = ::std::os::raw::c_uchar;
774pub type __int16_t = ::std::os::raw::c_short;
775pub type __uint16_t = ::std::os::raw::c_ushort;
776pub type __int32_t = ::std::os::raw::c_int;
777pub type __uint32_t = ::std::os::raw::c_uint;
778pub type __int64_t = ::std::os::raw::c_longlong;
779pub type __uint64_t = ::std::os::raw::c_ulonglong;
780pub type __darwin_intptr_t = ::std::os::raw::c_long;
781pub type __darwin_natural_t = ::std::os::raw::c_uint;
782pub type __darwin_ct_rune_t = ::std::os::raw::c_int;
783#[repr(C)]
784#[derive(Copy, Clone)]
785pub union __mbstate_t {
786 pub __mbstate8: [::std::os::raw::c_char; 128usize],
787 pub _mbstateL: ::std::os::raw::c_longlong,
788}
789const _: () = {
790 ["Size of __mbstate_t"][::std::mem::size_of::<__mbstate_t>() - 128usize];
791 ["Alignment of __mbstate_t"][::std::mem::align_of::<__mbstate_t>() - 8usize];
792 ["Offset of field: __mbstate_t::__mbstate8"]
793 [::std::mem::offset_of!(__mbstate_t, __mbstate8) - 0usize];
794 ["Offset of field: __mbstate_t::_mbstateL"]
795 [::std::mem::offset_of!(__mbstate_t, _mbstateL) - 0usize];
796};
797pub type __darwin_mbstate_t = __mbstate_t;
798pub type __darwin_ptrdiff_t = ::std::os::raw::c_long;
799pub type __darwin_size_t = ::std::os::raw::c_ulong;
800pub type __darwin_va_list = __builtin_va_list;
801pub type __darwin_wchar_t = ::std::os::raw::c_int;
802pub type __darwin_rune_t = __darwin_wchar_t;
803pub type __darwin_wint_t = ::std::os::raw::c_int;
804pub type __darwin_clock_t = ::std::os::raw::c_ulong;
805pub type __darwin_socklen_t = __uint32_t;
806pub type __darwin_ssize_t = ::std::os::raw::c_long;
807pub type __darwin_time_t = ::std::os::raw::c_long;
808pub type __darwin_blkcnt_t = __int64_t;
809pub type __darwin_blksize_t = __int32_t;
810pub type __darwin_dev_t = __int32_t;
811pub type __darwin_fsblkcnt_t = ::std::os::raw::c_uint;
812pub type __darwin_fsfilcnt_t = ::std::os::raw::c_uint;
813pub type __darwin_gid_t = __uint32_t;
814pub type __darwin_id_t = __uint32_t;
815pub type __darwin_ino64_t = __uint64_t;
816pub type __darwin_ino_t = __darwin_ino64_t;
817pub type __darwin_mach_port_name_t = __darwin_natural_t;
818pub type __darwin_mach_port_t = __darwin_mach_port_name_t;
819pub type __darwin_mode_t = __uint16_t;
820pub type __darwin_off_t = __int64_t;
821pub type __darwin_pid_t = __int32_t;
822pub type __darwin_sigset_t = __uint32_t;
823pub type __darwin_suseconds_t = __int32_t;
824pub type __darwin_uid_t = __uint32_t;
825pub type __darwin_useconds_t = __uint32_t;
826pub type __darwin_uuid_t = [::std::os::raw::c_uchar; 16usize];
827pub type __darwin_uuid_string_t = [::std::os::raw::c_char; 37usize];
828#[repr(C)]
829#[derive(Debug, Copy, Clone)]
830pub struct __darwin_pthread_handler_rec {
831 pub __routine: ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>,
832 pub __arg: *mut ::std::os::raw::c_void,
833 pub __next: *mut __darwin_pthread_handler_rec,
834}
835const _: () = {
836 ["Size of __darwin_pthread_handler_rec"]
837 [::std::mem::size_of::<__darwin_pthread_handler_rec>() - 24usize];
838 ["Alignment of __darwin_pthread_handler_rec"]
839 [::std::mem::align_of::<__darwin_pthread_handler_rec>() - 8usize];
840 ["Offset of field: __darwin_pthread_handler_rec::__routine"]
841 [::std::mem::offset_of!(__darwin_pthread_handler_rec, __routine) - 0usize];
842 ["Offset of field: __darwin_pthread_handler_rec::__arg"]
843 [::std::mem::offset_of!(__darwin_pthread_handler_rec, __arg) - 8usize];
844 ["Offset of field: __darwin_pthread_handler_rec::__next"]
845 [::std::mem::offset_of!(__darwin_pthread_handler_rec, __next) - 16usize];
846};
847#[repr(C)]
848#[derive(Debug, Copy, Clone)]
849pub struct _opaque_pthread_attr_t {
850 pub __sig: ::std::os::raw::c_long,
851 pub __opaque: [::std::os::raw::c_char; 56usize],
852}
853const _: () = {
854 ["Size of _opaque_pthread_attr_t"][::std::mem::size_of::<_opaque_pthread_attr_t>() - 64usize];
855 ["Alignment of _opaque_pthread_attr_t"]
856 [::std::mem::align_of::<_opaque_pthread_attr_t>() - 8usize];
857 ["Offset of field: _opaque_pthread_attr_t::__sig"]
858 [::std::mem::offset_of!(_opaque_pthread_attr_t, __sig) - 0usize];
859 ["Offset of field: _opaque_pthread_attr_t::__opaque"]
860 [::std::mem::offset_of!(_opaque_pthread_attr_t, __opaque) - 8usize];
861};
862#[repr(C)]
863#[derive(Debug, Copy, Clone)]
864pub struct _opaque_pthread_cond_t {
865 pub __sig: ::std::os::raw::c_long,
866 pub __opaque: [::std::os::raw::c_char; 40usize],
867}
868const _: () = {
869 ["Size of _opaque_pthread_cond_t"][::std::mem::size_of::<_opaque_pthread_cond_t>() - 48usize];
870 ["Alignment of _opaque_pthread_cond_t"]
871 [::std::mem::align_of::<_opaque_pthread_cond_t>() - 8usize];
872 ["Offset of field: _opaque_pthread_cond_t::__sig"]
873 [::std::mem::offset_of!(_opaque_pthread_cond_t, __sig) - 0usize];
874 ["Offset of field: _opaque_pthread_cond_t::__opaque"]
875 [::std::mem::offset_of!(_opaque_pthread_cond_t, __opaque) - 8usize];
876};
877#[repr(C)]
878#[derive(Debug, Copy, Clone)]
879pub struct _opaque_pthread_condattr_t {
880 pub __sig: ::std::os::raw::c_long,
881 pub __opaque: [::std::os::raw::c_char; 8usize],
882}
883const _: () = {
884 ["Size of _opaque_pthread_condattr_t"]
885 [::std::mem::size_of::<_opaque_pthread_condattr_t>() - 16usize];
886 ["Alignment of _opaque_pthread_condattr_t"]
887 [::std::mem::align_of::<_opaque_pthread_condattr_t>() - 8usize];
888 ["Offset of field: _opaque_pthread_condattr_t::__sig"]
889 [::std::mem::offset_of!(_opaque_pthread_condattr_t, __sig) - 0usize];
890 ["Offset of field: _opaque_pthread_condattr_t::__opaque"]
891 [::std::mem::offset_of!(_opaque_pthread_condattr_t, __opaque) - 8usize];
892};
893#[repr(C)]
894#[derive(Debug, Copy, Clone)]
895pub struct _opaque_pthread_mutex_t {
896 pub __sig: ::std::os::raw::c_long,
897 pub __opaque: [::std::os::raw::c_char; 56usize],
898}
899const _: () = {
900 ["Size of _opaque_pthread_mutex_t"][::std::mem::size_of::<_opaque_pthread_mutex_t>() - 64usize];
901 ["Alignment of _opaque_pthread_mutex_t"]
902 [::std::mem::align_of::<_opaque_pthread_mutex_t>() - 8usize];
903 ["Offset of field: _opaque_pthread_mutex_t::__sig"]
904 [::std::mem::offset_of!(_opaque_pthread_mutex_t, __sig) - 0usize];
905 ["Offset of field: _opaque_pthread_mutex_t::__opaque"]
906 [::std::mem::offset_of!(_opaque_pthread_mutex_t, __opaque) - 8usize];
907};
908#[repr(C)]
909#[derive(Debug, Copy, Clone)]
910pub struct _opaque_pthread_mutexattr_t {
911 pub __sig: ::std::os::raw::c_long,
912 pub __opaque: [::std::os::raw::c_char; 8usize],
913}
914const _: () = {
915 ["Size of _opaque_pthread_mutexattr_t"]
916 [::std::mem::size_of::<_opaque_pthread_mutexattr_t>() - 16usize];
917 ["Alignment of _opaque_pthread_mutexattr_t"]
918 [::std::mem::align_of::<_opaque_pthread_mutexattr_t>() - 8usize];
919 ["Offset of field: _opaque_pthread_mutexattr_t::__sig"]
920 [::std::mem::offset_of!(_opaque_pthread_mutexattr_t, __sig) - 0usize];
921 ["Offset of field: _opaque_pthread_mutexattr_t::__opaque"]
922 [::std::mem::offset_of!(_opaque_pthread_mutexattr_t, __opaque) - 8usize];
923};
924#[repr(C)]
925#[derive(Debug, Copy, Clone)]
926pub struct _opaque_pthread_once_t {
927 pub __sig: ::std::os::raw::c_long,
928 pub __opaque: [::std::os::raw::c_char; 8usize],
929}
930const _: () = {
931 ["Size of _opaque_pthread_once_t"][::std::mem::size_of::<_opaque_pthread_once_t>() - 16usize];
932 ["Alignment of _opaque_pthread_once_t"]
933 [::std::mem::align_of::<_opaque_pthread_once_t>() - 8usize];
934 ["Offset of field: _opaque_pthread_once_t::__sig"]
935 [::std::mem::offset_of!(_opaque_pthread_once_t, __sig) - 0usize];
936 ["Offset of field: _opaque_pthread_once_t::__opaque"]
937 [::std::mem::offset_of!(_opaque_pthread_once_t, __opaque) - 8usize];
938};
939#[repr(C)]
940#[derive(Debug, Copy, Clone)]
941pub struct _opaque_pthread_rwlock_t {
942 pub __sig: ::std::os::raw::c_long,
943 pub __opaque: [::std::os::raw::c_char; 192usize],
944}
945const _: () = {
946 ["Size of _opaque_pthread_rwlock_t"]
947 [::std::mem::size_of::<_opaque_pthread_rwlock_t>() - 200usize];
948 ["Alignment of _opaque_pthread_rwlock_t"]
949 [::std::mem::align_of::<_opaque_pthread_rwlock_t>() - 8usize];
950 ["Offset of field: _opaque_pthread_rwlock_t::__sig"]
951 [::std::mem::offset_of!(_opaque_pthread_rwlock_t, __sig) - 0usize];
952 ["Offset of field: _opaque_pthread_rwlock_t::__opaque"]
953 [::std::mem::offset_of!(_opaque_pthread_rwlock_t, __opaque) - 8usize];
954};
955#[repr(C)]
956#[derive(Debug, Copy, Clone)]
957pub struct _opaque_pthread_rwlockattr_t {
958 pub __sig: ::std::os::raw::c_long,
959 pub __opaque: [::std::os::raw::c_char; 16usize],
960}
961const _: () = {
962 ["Size of _opaque_pthread_rwlockattr_t"]
963 [::std::mem::size_of::<_opaque_pthread_rwlockattr_t>() - 24usize];
964 ["Alignment of _opaque_pthread_rwlockattr_t"]
965 [::std::mem::align_of::<_opaque_pthread_rwlockattr_t>() - 8usize];
966 ["Offset of field: _opaque_pthread_rwlockattr_t::__sig"]
967 [::std::mem::offset_of!(_opaque_pthread_rwlockattr_t, __sig) - 0usize];
968 ["Offset of field: _opaque_pthread_rwlockattr_t::__opaque"]
969 [::std::mem::offset_of!(_opaque_pthread_rwlockattr_t, __opaque) - 8usize];
970};
971#[repr(C)]
972#[derive(Debug, Copy, Clone)]
973pub struct _opaque_pthread_t {
974 pub __sig: ::std::os::raw::c_long,
975 pub __cleanup_stack: *mut __darwin_pthread_handler_rec,
976 pub __opaque: [::std::os::raw::c_char; 8176usize],
977}
978const _: () = {
979 ["Size of _opaque_pthread_t"][::std::mem::size_of::<_opaque_pthread_t>() - 8192usize];
980 ["Alignment of _opaque_pthread_t"][::std::mem::align_of::<_opaque_pthread_t>() - 8usize];
981 ["Offset of field: _opaque_pthread_t::__sig"]
982 [::std::mem::offset_of!(_opaque_pthread_t, __sig) - 0usize];
983 ["Offset of field: _opaque_pthread_t::__cleanup_stack"]
984 [::std::mem::offset_of!(_opaque_pthread_t, __cleanup_stack) - 8usize];
985 ["Offset of field: _opaque_pthread_t::__opaque"]
986 [::std::mem::offset_of!(_opaque_pthread_t, __opaque) - 16usize];
987};
988pub type __darwin_pthread_attr_t = _opaque_pthread_attr_t;
989pub type __darwin_pthread_cond_t = _opaque_pthread_cond_t;
990pub type __darwin_pthread_condattr_t = _opaque_pthread_condattr_t;
991pub type __darwin_pthread_key_t = ::std::os::raw::c_ulong;
992pub type __darwin_pthread_mutex_t = _opaque_pthread_mutex_t;
993pub type __darwin_pthread_mutexattr_t = _opaque_pthread_mutexattr_t;
994pub type __darwin_pthread_once_t = _opaque_pthread_once_t;
995pub type __darwin_pthread_rwlock_t = _opaque_pthread_rwlock_t;
996pub type __darwin_pthread_rwlockattr_t = _opaque_pthread_rwlockattr_t;
997pub type __darwin_pthread_t = *mut _opaque_pthread_t;
998pub type intmax_t = ::std::os::raw::c_long;
999pub type uintmax_t = ::std::os::raw::c_ulong;
1000pub type __darwin_nl_item = ::std::os::raw::c_int;
1001pub type __darwin_wctrans_t = ::std::os::raw::c_int;
1002pub type __darwin_wctype_t = __uint32_t;
1003pub const idtype_t_P_ALL: idtype_t = 0;
1004pub const idtype_t_P_PID: idtype_t = 1;
1005pub const idtype_t_P_PGID: idtype_t = 2;
1006pub type idtype_t = ::std::os::raw::c_uint;
1007pub type pid_t = __darwin_pid_t;
1008pub type id_t = __darwin_id_t;
1009pub type sig_atomic_t = ::std::os::raw::c_int;
1010pub type u_int8_t = ::std::os::raw::c_uchar;
1011pub type u_int16_t = ::std::os::raw::c_ushort;
1012pub type u_int32_t = ::std::os::raw::c_uint;
1013pub type u_int64_t = ::std::os::raw::c_ulonglong;
1014pub type register_t = i64;
1015pub type user_addr_t = u_int64_t;
1016pub type user_size_t = u_int64_t;
1017pub type user_ssize_t = i64;
1018pub type user_long_t = i64;
1019pub type user_ulong_t = u_int64_t;
1020pub type user_time_t = i64;
1021pub type user_off_t = i64;
1022pub type syscall_arg_t = u_int64_t;
1023#[repr(C)]
1024#[derive(Debug, Copy, Clone)]
1025pub struct __darwin_arm_exception_state {
1026 pub __exception: __uint32_t,
1027 pub __fsr: __uint32_t,
1028 pub __far: __uint32_t,
1029}
1030const _: () = {
1031 ["Size of __darwin_arm_exception_state"]
1032 [::std::mem::size_of::<__darwin_arm_exception_state>() - 12usize];
1033 ["Alignment of __darwin_arm_exception_state"]
1034 [::std::mem::align_of::<__darwin_arm_exception_state>() - 4usize];
1035 ["Offset of field: __darwin_arm_exception_state::__exception"]
1036 [::std::mem::offset_of!(__darwin_arm_exception_state, __exception) - 0usize];
1037 ["Offset of field: __darwin_arm_exception_state::__fsr"]
1038 [::std::mem::offset_of!(__darwin_arm_exception_state, __fsr) - 4usize];
1039 ["Offset of field: __darwin_arm_exception_state::__far"]
1040 [::std::mem::offset_of!(__darwin_arm_exception_state, __far) - 8usize];
1041};
1042#[repr(C)]
1043#[derive(Debug, Copy, Clone)]
1044pub struct __darwin_arm_exception_state64 {
1045 pub __far: __uint64_t,
1046 pub __esr: __uint32_t,
1047 pub __exception: __uint32_t,
1048}
1049const _: () = {
1050 ["Size of __darwin_arm_exception_state64"]
1051 [::std::mem::size_of::<__darwin_arm_exception_state64>() - 16usize];
1052 ["Alignment of __darwin_arm_exception_state64"]
1053 [::std::mem::align_of::<__darwin_arm_exception_state64>() - 8usize];
1054 ["Offset of field: __darwin_arm_exception_state64::__far"]
1055 [::std::mem::offset_of!(__darwin_arm_exception_state64, __far) - 0usize];
1056 ["Offset of field: __darwin_arm_exception_state64::__esr"]
1057 [::std::mem::offset_of!(__darwin_arm_exception_state64, __esr) - 8usize];
1058 ["Offset of field: __darwin_arm_exception_state64::__exception"]
1059 [::std::mem::offset_of!(__darwin_arm_exception_state64, __exception) - 12usize];
1060};
1061#[repr(C)]
1062#[derive(Debug, Copy, Clone)]
1063pub struct __darwin_arm_exception_state64_v2 {
1064 pub __far: __uint64_t,
1065 pub __esr: __uint64_t,
1066}
1067const _: () = {
1068 ["Size of __darwin_arm_exception_state64_v2"]
1069 [::std::mem::size_of::<__darwin_arm_exception_state64_v2>() - 16usize];
1070 ["Alignment of __darwin_arm_exception_state64_v2"]
1071 [::std::mem::align_of::<__darwin_arm_exception_state64_v2>() - 8usize];
1072 ["Offset of field: __darwin_arm_exception_state64_v2::__far"]
1073 [::std::mem::offset_of!(__darwin_arm_exception_state64_v2, __far) - 0usize];
1074 ["Offset of field: __darwin_arm_exception_state64_v2::__esr"]
1075 [::std::mem::offset_of!(__darwin_arm_exception_state64_v2, __esr) - 8usize];
1076};
1077#[repr(C)]
1078#[derive(Debug, Copy, Clone)]
1079pub struct __darwin_arm_thread_state {
1080 pub __r: [__uint32_t; 13usize],
1081 pub __sp: __uint32_t,
1082 pub __lr: __uint32_t,
1083 pub __pc: __uint32_t,
1084 pub __cpsr: __uint32_t,
1085}
1086const _: () = {
1087 ["Size of __darwin_arm_thread_state"]
1088 [::std::mem::size_of::<__darwin_arm_thread_state>() - 68usize];
1089 ["Alignment of __darwin_arm_thread_state"]
1090 [::std::mem::align_of::<__darwin_arm_thread_state>() - 4usize];
1091 ["Offset of field: __darwin_arm_thread_state::__r"]
1092 [::std::mem::offset_of!(__darwin_arm_thread_state, __r) - 0usize];
1093 ["Offset of field: __darwin_arm_thread_state::__sp"]
1094 [::std::mem::offset_of!(__darwin_arm_thread_state, __sp) - 52usize];
1095 ["Offset of field: __darwin_arm_thread_state::__lr"]
1096 [::std::mem::offset_of!(__darwin_arm_thread_state, __lr) - 56usize];
1097 ["Offset of field: __darwin_arm_thread_state::__pc"]
1098 [::std::mem::offset_of!(__darwin_arm_thread_state, __pc) - 60usize];
1099 ["Offset of field: __darwin_arm_thread_state::__cpsr"]
1100 [::std::mem::offset_of!(__darwin_arm_thread_state, __cpsr) - 64usize];
1101};
1102#[repr(C)]
1103#[derive(Debug, Copy, Clone)]
1104pub struct __darwin_arm_thread_state64 {
1105 pub __x: [__uint64_t; 29usize],
1106 pub __fp: __uint64_t,
1107 pub __lr: __uint64_t,
1108 pub __sp: __uint64_t,
1109 pub __pc: __uint64_t,
1110 pub __cpsr: __uint32_t,
1111 pub __pad: __uint32_t,
1112}
1113const _: () = {
1114 ["Size of __darwin_arm_thread_state64"]
1115 [::std::mem::size_of::<__darwin_arm_thread_state64>() - 272usize];
1116 ["Alignment of __darwin_arm_thread_state64"]
1117 [::std::mem::align_of::<__darwin_arm_thread_state64>() - 8usize];
1118 ["Offset of field: __darwin_arm_thread_state64::__x"]
1119 [::std::mem::offset_of!(__darwin_arm_thread_state64, __x) - 0usize];
1120 ["Offset of field: __darwin_arm_thread_state64::__fp"]
1121 [::std::mem::offset_of!(__darwin_arm_thread_state64, __fp) - 232usize];
1122 ["Offset of field: __darwin_arm_thread_state64::__lr"]
1123 [::std::mem::offset_of!(__darwin_arm_thread_state64, __lr) - 240usize];
1124 ["Offset of field: __darwin_arm_thread_state64::__sp"]
1125 [::std::mem::offset_of!(__darwin_arm_thread_state64, __sp) - 248usize];
1126 ["Offset of field: __darwin_arm_thread_state64::__pc"]
1127 [::std::mem::offset_of!(__darwin_arm_thread_state64, __pc) - 256usize];
1128 ["Offset of field: __darwin_arm_thread_state64::__cpsr"]
1129 [::std::mem::offset_of!(__darwin_arm_thread_state64, __cpsr) - 264usize];
1130 ["Offset of field: __darwin_arm_thread_state64::__pad"]
1131 [::std::mem::offset_of!(__darwin_arm_thread_state64, __pad) - 268usize];
1132};
1133#[repr(C)]
1134#[derive(Debug, Copy, Clone)]
1135pub struct __darwin_arm_vfp_state {
1136 pub __r: [__uint32_t; 64usize],
1137 pub __fpscr: __uint32_t,
1138}
1139const _: () = {
1140 ["Size of __darwin_arm_vfp_state"][::std::mem::size_of::<__darwin_arm_vfp_state>() - 260usize];
1141 ["Alignment of __darwin_arm_vfp_state"]
1142 [::std::mem::align_of::<__darwin_arm_vfp_state>() - 4usize];
1143 ["Offset of field: __darwin_arm_vfp_state::__r"]
1144 [::std::mem::offset_of!(__darwin_arm_vfp_state, __r) - 0usize];
1145 ["Offset of field: __darwin_arm_vfp_state::__fpscr"]
1146 [::std::mem::offset_of!(__darwin_arm_vfp_state, __fpscr) - 256usize];
1147};
1148#[repr(C)]
1149#[repr(align(16))]
1150#[derive(Debug, Copy, Clone)]
1151pub struct __darwin_arm_neon_state64 {
1152 pub __v: [__uint128_t; 32usize],
1153 pub __fpsr: __uint32_t,
1154 pub __fpcr: __uint32_t,
1155}
1156const _: () = {
1157 ["Size of __darwin_arm_neon_state64"]
1158 [::std::mem::size_of::<__darwin_arm_neon_state64>() - 528usize];
1159 ["Alignment of __darwin_arm_neon_state64"]
1160 [::std::mem::align_of::<__darwin_arm_neon_state64>() - 16usize];
1161 ["Offset of field: __darwin_arm_neon_state64::__v"]
1162 [::std::mem::offset_of!(__darwin_arm_neon_state64, __v) - 0usize];
1163 ["Offset of field: __darwin_arm_neon_state64::__fpsr"]
1164 [::std::mem::offset_of!(__darwin_arm_neon_state64, __fpsr) - 512usize];
1165 ["Offset of field: __darwin_arm_neon_state64::__fpcr"]
1166 [::std::mem::offset_of!(__darwin_arm_neon_state64, __fpcr) - 516usize];
1167};
1168#[repr(C)]
1169#[repr(align(16))]
1170#[derive(Debug, Copy, Clone)]
1171pub struct __darwin_arm_neon_state {
1172 pub __v: [__uint128_t; 16usize],
1173 pub __fpsr: __uint32_t,
1174 pub __fpcr: __uint32_t,
1175}
1176const _: () = {
1177 ["Size of __darwin_arm_neon_state"]
1178 [::std::mem::size_of::<__darwin_arm_neon_state>() - 272usize];
1179 ["Alignment of __darwin_arm_neon_state"]
1180 [::std::mem::align_of::<__darwin_arm_neon_state>() - 16usize];
1181 ["Offset of field: __darwin_arm_neon_state::__v"]
1182 [::std::mem::offset_of!(__darwin_arm_neon_state, __v) - 0usize];
1183 ["Offset of field: __darwin_arm_neon_state::__fpsr"]
1184 [::std::mem::offset_of!(__darwin_arm_neon_state, __fpsr) - 256usize];
1185 ["Offset of field: __darwin_arm_neon_state::__fpcr"]
1186 [::std::mem::offset_of!(__darwin_arm_neon_state, __fpcr) - 260usize];
1187};
1188#[repr(C)]
1189#[derive(Debug, Copy, Clone)]
1190pub struct __arm_pagein_state {
1191 pub __pagein_error: ::std::os::raw::c_int,
1192}
1193const _: () = {
1194 ["Size of __arm_pagein_state"][::std::mem::size_of::<__arm_pagein_state>() - 4usize];
1195 ["Alignment of __arm_pagein_state"][::std::mem::align_of::<__arm_pagein_state>() - 4usize];
1196 ["Offset of field: __arm_pagein_state::__pagein_error"]
1197 [::std::mem::offset_of!(__arm_pagein_state, __pagein_error) - 0usize];
1198};
1199#[repr(C)]
1200#[derive(Debug, Copy, Clone)]
1201pub struct __arm_legacy_debug_state {
1202 pub __bvr: [__uint32_t; 16usize],
1203 pub __bcr: [__uint32_t; 16usize],
1204 pub __wvr: [__uint32_t; 16usize],
1205 pub __wcr: [__uint32_t; 16usize],
1206}
1207const _: () = {
1208 ["Size of __arm_legacy_debug_state"]
1209 [::std::mem::size_of::<__arm_legacy_debug_state>() - 256usize];
1210 ["Alignment of __arm_legacy_debug_state"]
1211 [::std::mem::align_of::<__arm_legacy_debug_state>() - 4usize];
1212 ["Offset of field: __arm_legacy_debug_state::__bvr"]
1213 [::std::mem::offset_of!(__arm_legacy_debug_state, __bvr) - 0usize];
1214 ["Offset of field: __arm_legacy_debug_state::__bcr"]
1215 [::std::mem::offset_of!(__arm_legacy_debug_state, __bcr) - 64usize];
1216 ["Offset of field: __arm_legacy_debug_state::__wvr"]
1217 [::std::mem::offset_of!(__arm_legacy_debug_state, __wvr) - 128usize];
1218 ["Offset of field: __arm_legacy_debug_state::__wcr"]
1219 [::std::mem::offset_of!(__arm_legacy_debug_state, __wcr) - 192usize];
1220};
1221#[repr(C)]
1222#[derive(Debug, Copy, Clone)]
1223pub struct __darwin_arm_debug_state32 {
1224 pub __bvr: [__uint32_t; 16usize],
1225 pub __bcr: [__uint32_t; 16usize],
1226 pub __wvr: [__uint32_t; 16usize],
1227 pub __wcr: [__uint32_t; 16usize],
1228 pub __mdscr_el1: __uint64_t,
1229}
1230const _: () = {
1231 ["Size of __darwin_arm_debug_state32"]
1232 [::std::mem::size_of::<__darwin_arm_debug_state32>() - 264usize];
1233 ["Alignment of __darwin_arm_debug_state32"]
1234 [::std::mem::align_of::<__darwin_arm_debug_state32>() - 8usize];
1235 ["Offset of field: __darwin_arm_debug_state32::__bvr"]
1236 [::std::mem::offset_of!(__darwin_arm_debug_state32, __bvr) - 0usize];
1237 ["Offset of field: __darwin_arm_debug_state32::__bcr"]
1238 [::std::mem::offset_of!(__darwin_arm_debug_state32, __bcr) - 64usize];
1239 ["Offset of field: __darwin_arm_debug_state32::__wvr"]
1240 [::std::mem::offset_of!(__darwin_arm_debug_state32, __wvr) - 128usize];
1241 ["Offset of field: __darwin_arm_debug_state32::__wcr"]
1242 [::std::mem::offset_of!(__darwin_arm_debug_state32, __wcr) - 192usize];
1243 ["Offset of field: __darwin_arm_debug_state32::__mdscr_el1"]
1244 [::std::mem::offset_of!(__darwin_arm_debug_state32, __mdscr_el1) - 256usize];
1245};
1246#[repr(C)]
1247#[derive(Debug, Copy, Clone)]
1248pub struct __darwin_arm_debug_state64 {
1249 pub __bvr: [__uint64_t; 16usize],
1250 pub __bcr: [__uint64_t; 16usize],
1251 pub __wvr: [__uint64_t; 16usize],
1252 pub __wcr: [__uint64_t; 16usize],
1253 pub __mdscr_el1: __uint64_t,
1254}
1255const _: () = {
1256 ["Size of __darwin_arm_debug_state64"]
1257 [::std::mem::size_of::<__darwin_arm_debug_state64>() - 520usize];
1258 ["Alignment of __darwin_arm_debug_state64"]
1259 [::std::mem::align_of::<__darwin_arm_debug_state64>() - 8usize];
1260 ["Offset of field: __darwin_arm_debug_state64::__bvr"]
1261 [::std::mem::offset_of!(__darwin_arm_debug_state64, __bvr) - 0usize];
1262 ["Offset of field: __darwin_arm_debug_state64::__bcr"]
1263 [::std::mem::offset_of!(__darwin_arm_debug_state64, __bcr) - 128usize];
1264 ["Offset of field: __darwin_arm_debug_state64::__wvr"]
1265 [::std::mem::offset_of!(__darwin_arm_debug_state64, __wvr) - 256usize];
1266 ["Offset of field: __darwin_arm_debug_state64::__wcr"]
1267 [::std::mem::offset_of!(__darwin_arm_debug_state64, __wcr) - 384usize];
1268 ["Offset of field: __darwin_arm_debug_state64::__mdscr_el1"]
1269 [::std::mem::offset_of!(__darwin_arm_debug_state64, __mdscr_el1) - 512usize];
1270};
1271#[repr(C)]
1272#[derive(Debug, Copy, Clone)]
1273pub struct __darwin_arm_cpmu_state64 {
1274 pub __ctrs: [__uint64_t; 16usize],
1275}
1276const _: () = {
1277 ["Size of __darwin_arm_cpmu_state64"]
1278 [::std::mem::size_of::<__darwin_arm_cpmu_state64>() - 128usize];
1279 ["Alignment of __darwin_arm_cpmu_state64"]
1280 [::std::mem::align_of::<__darwin_arm_cpmu_state64>() - 8usize];
1281 ["Offset of field: __darwin_arm_cpmu_state64::__ctrs"]
1282 [::std::mem::offset_of!(__darwin_arm_cpmu_state64, __ctrs) - 0usize];
1283};
1284#[repr(C)]
1285#[derive(Debug, Copy, Clone)]
1286pub struct __darwin_mcontext32 {
1287 pub __es: __darwin_arm_exception_state,
1288 pub __ss: __darwin_arm_thread_state,
1289 pub __fs: __darwin_arm_vfp_state,
1290}
1291const _: () = {
1292 ["Size of __darwin_mcontext32"][::std::mem::size_of::<__darwin_mcontext32>() - 340usize];
1293 ["Alignment of __darwin_mcontext32"][::std::mem::align_of::<__darwin_mcontext32>() - 4usize];
1294 ["Offset of field: __darwin_mcontext32::__es"]
1295 [::std::mem::offset_of!(__darwin_mcontext32, __es) - 0usize];
1296 ["Offset of field: __darwin_mcontext32::__ss"]
1297 [::std::mem::offset_of!(__darwin_mcontext32, __ss) - 12usize];
1298 ["Offset of field: __darwin_mcontext32::__fs"]
1299 [::std::mem::offset_of!(__darwin_mcontext32, __fs) - 80usize];
1300};
1301#[repr(C)]
1302#[repr(align(16))]
1303#[derive(Debug, Copy, Clone)]
1304pub struct __darwin_mcontext64 {
1305 pub __es: __darwin_arm_exception_state64,
1306 pub __ss: __darwin_arm_thread_state64,
1307 pub __ns: __darwin_arm_neon_state64,
1308}
1309const _: () = {
1310 ["Size of __darwin_mcontext64"][::std::mem::size_of::<__darwin_mcontext64>() - 816usize];
1311 ["Alignment of __darwin_mcontext64"][::std::mem::align_of::<__darwin_mcontext64>() - 16usize];
1312 ["Offset of field: __darwin_mcontext64::__es"]
1313 [::std::mem::offset_of!(__darwin_mcontext64, __es) - 0usize];
1314 ["Offset of field: __darwin_mcontext64::__ss"]
1315 [::std::mem::offset_of!(__darwin_mcontext64, __ss) - 16usize];
1316 ["Offset of field: __darwin_mcontext64::__ns"]
1317 [::std::mem::offset_of!(__darwin_mcontext64, __ns) - 288usize];
1318};
1319pub type mcontext_t = *mut __darwin_mcontext64;
1320pub type pthread_attr_t = __darwin_pthread_attr_t;
1321#[repr(C)]
1322#[derive(Debug, Copy, Clone)]
1323pub struct __darwin_sigaltstack {
1324 pub ss_sp: *mut ::std::os::raw::c_void,
1325 pub ss_size: __darwin_size_t,
1326 pub ss_flags: ::std::os::raw::c_int,
1327}
1328const _: () = {
1329 ["Size of __darwin_sigaltstack"][::std::mem::size_of::<__darwin_sigaltstack>() - 24usize];
1330 ["Alignment of __darwin_sigaltstack"][::std::mem::align_of::<__darwin_sigaltstack>() - 8usize];
1331 ["Offset of field: __darwin_sigaltstack::ss_sp"]
1332 [::std::mem::offset_of!(__darwin_sigaltstack, ss_sp) - 0usize];
1333 ["Offset of field: __darwin_sigaltstack::ss_size"]
1334 [::std::mem::offset_of!(__darwin_sigaltstack, ss_size) - 8usize];
1335 ["Offset of field: __darwin_sigaltstack::ss_flags"]
1336 [::std::mem::offset_of!(__darwin_sigaltstack, ss_flags) - 16usize];
1337};
1338pub type stack_t = __darwin_sigaltstack;
1339#[repr(C)]
1340#[derive(Debug, Copy, Clone)]
1341pub struct __darwin_ucontext {
1342 pub uc_onstack: ::std::os::raw::c_int,
1343 pub uc_sigmask: __darwin_sigset_t,
1344 pub uc_stack: __darwin_sigaltstack,
1345 pub uc_link: *mut __darwin_ucontext,
1346 pub uc_mcsize: __darwin_size_t,
1347 pub uc_mcontext: *mut __darwin_mcontext64,
1348}
1349const _: () = {
1350 ["Size of __darwin_ucontext"][::std::mem::size_of::<__darwin_ucontext>() - 56usize];
1351 ["Alignment of __darwin_ucontext"][::std::mem::align_of::<__darwin_ucontext>() - 8usize];
1352 ["Offset of field: __darwin_ucontext::uc_onstack"]
1353 [::std::mem::offset_of!(__darwin_ucontext, uc_onstack) - 0usize];
1354 ["Offset of field: __darwin_ucontext::uc_sigmask"]
1355 [::std::mem::offset_of!(__darwin_ucontext, uc_sigmask) - 4usize];
1356 ["Offset of field: __darwin_ucontext::uc_stack"]
1357 [::std::mem::offset_of!(__darwin_ucontext, uc_stack) - 8usize];
1358 ["Offset of field: __darwin_ucontext::uc_link"]
1359 [::std::mem::offset_of!(__darwin_ucontext, uc_link) - 32usize];
1360 ["Offset of field: __darwin_ucontext::uc_mcsize"]
1361 [::std::mem::offset_of!(__darwin_ucontext, uc_mcsize) - 40usize];
1362 ["Offset of field: __darwin_ucontext::uc_mcontext"]
1363 [::std::mem::offset_of!(__darwin_ucontext, uc_mcontext) - 48usize];
1364};
1365pub type ucontext_t = __darwin_ucontext;
1366pub type sigset_t = __darwin_sigset_t;
1367pub type uid_t = __darwin_uid_t;
1368#[repr(C)]
1369#[derive(Copy, Clone)]
1370pub union sigval {
1371 pub sival_int: ::std::os::raw::c_int,
1372 pub sival_ptr: *mut ::std::os::raw::c_void,
1373}
1374const _: () = {
1375 ["Size of sigval"][::std::mem::size_of::<sigval>() - 8usize];
1376 ["Alignment of sigval"][::std::mem::align_of::<sigval>() - 8usize];
1377 ["Offset of field: sigval::sival_int"][::std::mem::offset_of!(sigval, sival_int) - 0usize];
1378 ["Offset of field: sigval::sival_ptr"][::std::mem::offset_of!(sigval, sival_ptr) - 0usize];
1379};
1380#[repr(C)]
1381#[derive(Copy, Clone)]
1382pub struct sigevent {
1383 pub sigev_notify: ::std::os::raw::c_int,
1384 pub sigev_signo: ::std::os::raw::c_int,
1385 pub sigev_value: sigval,
1386 pub sigev_notify_function: ::std::option::Option<unsafe extern "C" fn(arg1: sigval)>,
1387 pub sigev_notify_attributes: *mut pthread_attr_t,
1388}
1389const _: () = {
1390 ["Size of sigevent"][::std::mem::size_of::<sigevent>() - 32usize];
1391 ["Alignment of sigevent"][::std::mem::align_of::<sigevent>() - 8usize];
1392 ["Offset of field: sigevent::sigev_notify"]
1393 [::std::mem::offset_of!(sigevent, sigev_notify) - 0usize];
1394 ["Offset of field: sigevent::sigev_signo"]
1395 [::std::mem::offset_of!(sigevent, sigev_signo) - 4usize];
1396 ["Offset of field: sigevent::sigev_value"]
1397 [::std::mem::offset_of!(sigevent, sigev_value) - 8usize];
1398 ["Offset of field: sigevent::sigev_notify_function"]
1399 [::std::mem::offset_of!(sigevent, sigev_notify_function) - 16usize];
1400 ["Offset of field: sigevent::sigev_notify_attributes"]
1401 [::std::mem::offset_of!(sigevent, sigev_notify_attributes) - 24usize];
1402};
1403#[repr(C)]
1404#[derive(Copy, Clone)]
1405pub struct __siginfo {
1406 pub si_signo: ::std::os::raw::c_int,
1407 pub si_errno: ::std::os::raw::c_int,
1408 pub si_code: ::std::os::raw::c_int,
1409 pub si_pid: pid_t,
1410 pub si_uid: uid_t,
1411 pub si_status: ::std::os::raw::c_int,
1412 pub si_addr: *mut ::std::os::raw::c_void,
1413 pub si_value: sigval,
1414 pub si_band: ::std::os::raw::c_long,
1415 pub __pad: [::std::os::raw::c_ulong; 7usize],
1416}
1417const _: () = {
1418 ["Size of __siginfo"][::std::mem::size_of::<__siginfo>() - 104usize];
1419 ["Alignment of __siginfo"][::std::mem::align_of::<__siginfo>() - 8usize];
1420 ["Offset of field: __siginfo::si_signo"][::std::mem::offset_of!(__siginfo, si_signo) - 0usize];
1421 ["Offset of field: __siginfo::si_errno"][::std::mem::offset_of!(__siginfo, si_errno) - 4usize];
1422 ["Offset of field: __siginfo::si_code"][::std::mem::offset_of!(__siginfo, si_code) - 8usize];
1423 ["Offset of field: __siginfo::si_pid"][::std::mem::offset_of!(__siginfo, si_pid) - 12usize];
1424 ["Offset of field: __siginfo::si_uid"][::std::mem::offset_of!(__siginfo, si_uid) - 16usize];
1425 ["Offset of field: __siginfo::si_status"]
1426 [::std::mem::offset_of!(__siginfo, si_status) - 20usize];
1427 ["Offset of field: __siginfo::si_addr"][::std::mem::offset_of!(__siginfo, si_addr) - 24usize];
1428 ["Offset of field: __siginfo::si_value"][::std::mem::offset_of!(__siginfo, si_value) - 32usize];
1429 ["Offset of field: __siginfo::si_band"][::std::mem::offset_of!(__siginfo, si_band) - 40usize];
1430 ["Offset of field: __siginfo::__pad"][::std::mem::offset_of!(__siginfo, __pad) - 48usize];
1431};
1432pub type siginfo_t = __siginfo;
1433#[repr(C)]
1434#[derive(Copy, Clone)]
1435pub union __sigaction_u {
1436 pub __sa_handler: ::std::option::Option<unsafe extern "C" fn(arg1: ::std::os::raw::c_int)>,
1437 pub __sa_sigaction: ::std::option::Option<
1438 unsafe extern "C" fn(
1439 arg1: ::std::os::raw::c_int,
1440 arg2: *mut __siginfo,
1441 arg3: *mut ::std::os::raw::c_void,
1442 ),
1443 >,
1444}
1445const _: () = {
1446 ["Size of __sigaction_u"][::std::mem::size_of::<__sigaction_u>() - 8usize];
1447 ["Alignment of __sigaction_u"][::std::mem::align_of::<__sigaction_u>() - 8usize];
1448 ["Offset of field: __sigaction_u::__sa_handler"]
1449 [::std::mem::offset_of!(__sigaction_u, __sa_handler) - 0usize];
1450 ["Offset of field: __sigaction_u::__sa_sigaction"]
1451 [::std::mem::offset_of!(__sigaction_u, __sa_sigaction) - 0usize];
1452};
1453#[repr(C)]
1454#[derive(Copy, Clone)]
1455pub struct __sigaction {
1456 pub __sigaction_u: __sigaction_u,
1457 pub sa_tramp: ::std::option::Option<
1458 unsafe extern "C" fn(
1459 arg1: *mut ::std::os::raw::c_void,
1460 arg2: ::std::os::raw::c_int,
1461 arg3: ::std::os::raw::c_int,
1462 arg4: *mut siginfo_t,
1463 arg5: *mut ::std::os::raw::c_void,
1464 ),
1465 >,
1466 pub sa_mask: sigset_t,
1467 pub sa_flags: ::std::os::raw::c_int,
1468}
1469const _: () = {
1470 ["Size of __sigaction"][::std::mem::size_of::<__sigaction>() - 24usize];
1471 ["Alignment of __sigaction"][::std::mem::align_of::<__sigaction>() - 8usize];
1472 ["Offset of field: __sigaction::__sigaction_u"]
1473 [::std::mem::offset_of!(__sigaction, __sigaction_u) - 0usize];
1474 ["Offset of field: __sigaction::sa_tramp"]
1475 [::std::mem::offset_of!(__sigaction, sa_tramp) - 8usize];
1476 ["Offset of field: __sigaction::sa_mask"]
1477 [::std::mem::offset_of!(__sigaction, sa_mask) - 16usize];
1478 ["Offset of field: __sigaction::sa_flags"]
1479 [::std::mem::offset_of!(__sigaction, sa_flags) - 20usize];
1480};
1481#[repr(C)]
1482#[derive(Copy, Clone)]
1483pub struct sigaction {
1484 pub __sigaction_u: __sigaction_u,
1485 pub sa_mask: sigset_t,
1486 pub sa_flags: ::std::os::raw::c_int,
1487}
1488const _: () = {
1489 ["Size of sigaction"][::std::mem::size_of::<sigaction>() - 16usize];
1490 ["Alignment of sigaction"][::std::mem::align_of::<sigaction>() - 8usize];
1491 ["Offset of field: sigaction::__sigaction_u"]
1492 [::std::mem::offset_of!(sigaction, __sigaction_u) - 0usize];
1493 ["Offset of field: sigaction::sa_mask"][::std::mem::offset_of!(sigaction, sa_mask) - 8usize];
1494 ["Offset of field: sigaction::sa_flags"][::std::mem::offset_of!(sigaction, sa_flags) - 12usize];
1495};
1496pub type sig_t = ::std::option::Option<unsafe extern "C" fn(arg1: ::std::os::raw::c_int)>;
1497#[repr(C)]
1498#[derive(Debug, Copy, Clone)]
1499pub struct sigvec {
1500 pub sv_handler: ::std::option::Option<unsafe extern "C" fn(arg1: ::std::os::raw::c_int)>,
1501 pub sv_mask: ::std::os::raw::c_int,
1502 pub sv_flags: ::std::os::raw::c_int,
1503}
1504const _: () = {
1505 ["Size of sigvec"][::std::mem::size_of::<sigvec>() - 16usize];
1506 ["Alignment of sigvec"][::std::mem::align_of::<sigvec>() - 8usize];
1507 ["Offset of field: sigvec::sv_handler"][::std::mem::offset_of!(sigvec, sv_handler) - 0usize];
1508 ["Offset of field: sigvec::sv_mask"][::std::mem::offset_of!(sigvec, sv_mask) - 8usize];
1509 ["Offset of field: sigvec::sv_flags"][::std::mem::offset_of!(sigvec, sv_flags) - 12usize];
1510};
1511#[repr(C)]
1512#[derive(Debug, Copy, Clone)]
1513pub struct sigstack {
1514 pub ss_sp: *mut ::std::os::raw::c_char,
1515 pub ss_onstack: ::std::os::raw::c_int,
1516}
1517const _: () = {
1518 ["Size of sigstack"][::std::mem::size_of::<sigstack>() - 16usize];
1519 ["Alignment of sigstack"][::std::mem::align_of::<sigstack>() - 8usize];
1520 ["Offset of field: sigstack::ss_sp"][::std::mem::offset_of!(sigstack, ss_sp) - 0usize];
1521 ["Offset of field: sigstack::ss_onstack"]
1522 [::std::mem::offset_of!(sigstack, ss_onstack) - 8usize];
1523};
1524extern "C" {
1525 pub fn signal(
1526 arg1: ::std::os::raw::c_int,
1527 arg2: ::std::option::Option<unsafe extern "C" fn(arg1: ::std::os::raw::c_int)>,
1528 ) -> ::std::option::Option<
1529 unsafe extern "C" fn(
1530 arg1: ::std::os::raw::c_int,
1531 arg2: ::std::option::Option<unsafe extern "C" fn(arg1: ::std::os::raw::c_int)>,
1532 ),
1533 >;
1534}
1535#[repr(C)]
1536#[derive(Debug, Copy, Clone)]
1537pub struct timeval {
1538 pub tv_sec: __darwin_time_t,
1539 pub tv_usec: __darwin_suseconds_t,
1540}
1541const _: () = {
1542 ["Size of timeval"][::std::mem::size_of::<timeval>() - 16usize];
1543 ["Alignment of timeval"][::std::mem::align_of::<timeval>() - 8usize];
1544 ["Offset of field: timeval::tv_sec"][::std::mem::offset_of!(timeval, tv_sec) - 0usize];
1545 ["Offset of field: timeval::tv_usec"][::std::mem::offset_of!(timeval, tv_usec) - 8usize];
1546};
1547pub type rlim_t = __uint64_t;
1548#[repr(C)]
1549#[derive(Debug, Copy, Clone)]
1550pub struct rusage {
1551 pub ru_utime: timeval,
1552 pub ru_stime: timeval,
1553 pub ru_maxrss: ::std::os::raw::c_long,
1554 pub ru_ixrss: ::std::os::raw::c_long,
1555 pub ru_idrss: ::std::os::raw::c_long,
1556 pub ru_isrss: ::std::os::raw::c_long,
1557 pub ru_minflt: ::std::os::raw::c_long,
1558 pub ru_majflt: ::std::os::raw::c_long,
1559 pub ru_nswap: ::std::os::raw::c_long,
1560 pub ru_inblock: ::std::os::raw::c_long,
1561 pub ru_oublock: ::std::os::raw::c_long,
1562 pub ru_msgsnd: ::std::os::raw::c_long,
1563 pub ru_msgrcv: ::std::os::raw::c_long,
1564 pub ru_nsignals: ::std::os::raw::c_long,
1565 pub ru_nvcsw: ::std::os::raw::c_long,
1566 pub ru_nivcsw: ::std::os::raw::c_long,
1567}
1568const _: () = {
1569 ["Size of rusage"][::std::mem::size_of::<rusage>() - 144usize];
1570 ["Alignment of rusage"][::std::mem::align_of::<rusage>() - 8usize];
1571 ["Offset of field: rusage::ru_utime"][::std::mem::offset_of!(rusage, ru_utime) - 0usize];
1572 ["Offset of field: rusage::ru_stime"][::std::mem::offset_of!(rusage, ru_stime) - 16usize];
1573 ["Offset of field: rusage::ru_maxrss"][::std::mem::offset_of!(rusage, ru_maxrss) - 32usize];
1574 ["Offset of field: rusage::ru_ixrss"][::std::mem::offset_of!(rusage, ru_ixrss) - 40usize];
1575 ["Offset of field: rusage::ru_idrss"][::std::mem::offset_of!(rusage, ru_idrss) - 48usize];
1576 ["Offset of field: rusage::ru_isrss"][::std::mem::offset_of!(rusage, ru_isrss) - 56usize];
1577 ["Offset of field: rusage::ru_minflt"][::std::mem::offset_of!(rusage, ru_minflt) - 64usize];
1578 ["Offset of field: rusage::ru_majflt"][::std::mem::offset_of!(rusage, ru_majflt) - 72usize];
1579 ["Offset of field: rusage::ru_nswap"][::std::mem::offset_of!(rusage, ru_nswap) - 80usize];
1580 ["Offset of field: rusage::ru_inblock"][::std::mem::offset_of!(rusage, ru_inblock) - 88usize];
1581 ["Offset of field: rusage::ru_oublock"][::std::mem::offset_of!(rusage, ru_oublock) - 96usize];
1582 ["Offset of field: rusage::ru_msgsnd"][::std::mem::offset_of!(rusage, ru_msgsnd) - 104usize];
1583 ["Offset of field: rusage::ru_msgrcv"][::std::mem::offset_of!(rusage, ru_msgrcv) - 112usize];
1584 ["Offset of field: rusage::ru_nsignals"]
1585 [::std::mem::offset_of!(rusage, ru_nsignals) - 120usize];
1586 ["Offset of field: rusage::ru_nvcsw"][::std::mem::offset_of!(rusage, ru_nvcsw) - 128usize];
1587 ["Offset of field: rusage::ru_nivcsw"][::std::mem::offset_of!(rusage, ru_nivcsw) - 136usize];
1588};
1589pub type rusage_info_t = *mut ::std::os::raw::c_void;
1590#[repr(C)]
1591#[derive(Debug, Copy, Clone)]
1592pub struct rusage_info_v0 {
1593 pub ri_uuid: [u8; 16usize],
1594 pub ri_user_time: u64,
1595 pub ri_system_time: u64,
1596 pub ri_pkg_idle_wkups: u64,
1597 pub ri_interrupt_wkups: u64,
1598 pub ri_pageins: u64,
1599 pub ri_wired_size: u64,
1600 pub ri_resident_size: u64,
1601 pub ri_phys_footprint: u64,
1602 pub ri_proc_start_abstime: u64,
1603 pub ri_proc_exit_abstime: u64,
1604}
1605const _: () = {
1606 ["Size of rusage_info_v0"][::std::mem::size_of::<rusage_info_v0>() - 96usize];
1607 ["Alignment of rusage_info_v0"][::std::mem::align_of::<rusage_info_v0>() - 8usize];
1608 ["Offset of field: rusage_info_v0::ri_uuid"]
1609 [::std::mem::offset_of!(rusage_info_v0, ri_uuid) - 0usize];
1610 ["Offset of field: rusage_info_v0::ri_user_time"]
1611 [::std::mem::offset_of!(rusage_info_v0, ri_user_time) - 16usize];
1612 ["Offset of field: rusage_info_v0::ri_system_time"]
1613 [::std::mem::offset_of!(rusage_info_v0, ri_system_time) - 24usize];
1614 ["Offset of field: rusage_info_v0::ri_pkg_idle_wkups"]
1615 [::std::mem::offset_of!(rusage_info_v0, ri_pkg_idle_wkups) - 32usize];
1616 ["Offset of field: rusage_info_v0::ri_interrupt_wkups"]
1617 [::std::mem::offset_of!(rusage_info_v0, ri_interrupt_wkups) - 40usize];
1618 ["Offset of field: rusage_info_v0::ri_pageins"]
1619 [::std::mem::offset_of!(rusage_info_v0, ri_pageins) - 48usize];
1620 ["Offset of field: rusage_info_v0::ri_wired_size"]
1621 [::std::mem::offset_of!(rusage_info_v0, ri_wired_size) - 56usize];
1622 ["Offset of field: rusage_info_v0::ri_resident_size"]
1623 [::std::mem::offset_of!(rusage_info_v0, ri_resident_size) - 64usize];
1624 ["Offset of field: rusage_info_v0::ri_phys_footprint"]
1625 [::std::mem::offset_of!(rusage_info_v0, ri_phys_footprint) - 72usize];
1626 ["Offset of field: rusage_info_v0::ri_proc_start_abstime"]
1627 [::std::mem::offset_of!(rusage_info_v0, ri_proc_start_abstime) - 80usize];
1628 ["Offset of field: rusage_info_v0::ri_proc_exit_abstime"]
1629 [::std::mem::offset_of!(rusage_info_v0, ri_proc_exit_abstime) - 88usize];
1630};
1631#[repr(C)]
1632#[derive(Debug, Copy, Clone)]
1633pub struct rusage_info_v1 {
1634 pub ri_uuid: [u8; 16usize],
1635 pub ri_user_time: u64,
1636 pub ri_system_time: u64,
1637 pub ri_pkg_idle_wkups: u64,
1638 pub ri_interrupt_wkups: u64,
1639 pub ri_pageins: u64,
1640 pub ri_wired_size: u64,
1641 pub ri_resident_size: u64,
1642 pub ri_phys_footprint: u64,
1643 pub ri_proc_start_abstime: u64,
1644 pub ri_proc_exit_abstime: u64,
1645 pub ri_child_user_time: u64,
1646 pub ri_child_system_time: u64,
1647 pub ri_child_pkg_idle_wkups: u64,
1648 pub ri_child_interrupt_wkups: u64,
1649 pub ri_child_pageins: u64,
1650 pub ri_child_elapsed_abstime: u64,
1651}
1652const _: () = {
1653 ["Size of rusage_info_v1"][::std::mem::size_of::<rusage_info_v1>() - 144usize];
1654 ["Alignment of rusage_info_v1"][::std::mem::align_of::<rusage_info_v1>() - 8usize];
1655 ["Offset of field: rusage_info_v1::ri_uuid"]
1656 [::std::mem::offset_of!(rusage_info_v1, ri_uuid) - 0usize];
1657 ["Offset of field: rusage_info_v1::ri_user_time"]
1658 [::std::mem::offset_of!(rusage_info_v1, ri_user_time) - 16usize];
1659 ["Offset of field: rusage_info_v1::ri_system_time"]
1660 [::std::mem::offset_of!(rusage_info_v1, ri_system_time) - 24usize];
1661 ["Offset of field: rusage_info_v1::ri_pkg_idle_wkups"]
1662 [::std::mem::offset_of!(rusage_info_v1, ri_pkg_idle_wkups) - 32usize];
1663 ["Offset of field: rusage_info_v1::ri_interrupt_wkups"]
1664 [::std::mem::offset_of!(rusage_info_v1, ri_interrupt_wkups) - 40usize];
1665 ["Offset of field: rusage_info_v1::ri_pageins"]
1666 [::std::mem::offset_of!(rusage_info_v1, ri_pageins) - 48usize];
1667 ["Offset of field: rusage_info_v1::ri_wired_size"]
1668 [::std::mem::offset_of!(rusage_info_v1, ri_wired_size) - 56usize];
1669 ["Offset of field: rusage_info_v1::ri_resident_size"]
1670 [::std::mem::offset_of!(rusage_info_v1, ri_resident_size) - 64usize];
1671 ["Offset of field: rusage_info_v1::ri_phys_footprint"]
1672 [::std::mem::offset_of!(rusage_info_v1, ri_phys_footprint) - 72usize];
1673 ["Offset of field: rusage_info_v1::ri_proc_start_abstime"]
1674 [::std::mem::offset_of!(rusage_info_v1, ri_proc_start_abstime) - 80usize];
1675 ["Offset of field: rusage_info_v1::ri_proc_exit_abstime"]
1676 [::std::mem::offset_of!(rusage_info_v1, ri_proc_exit_abstime) - 88usize];
1677 ["Offset of field: rusage_info_v1::ri_child_user_time"]
1678 [::std::mem::offset_of!(rusage_info_v1, ri_child_user_time) - 96usize];
1679 ["Offset of field: rusage_info_v1::ri_child_system_time"]
1680 [::std::mem::offset_of!(rusage_info_v1, ri_child_system_time) - 104usize];
1681 ["Offset of field: rusage_info_v1::ri_child_pkg_idle_wkups"]
1682 [::std::mem::offset_of!(rusage_info_v1, ri_child_pkg_idle_wkups) - 112usize];
1683 ["Offset of field: rusage_info_v1::ri_child_interrupt_wkups"]
1684 [::std::mem::offset_of!(rusage_info_v1, ri_child_interrupt_wkups) - 120usize];
1685 ["Offset of field: rusage_info_v1::ri_child_pageins"]
1686 [::std::mem::offset_of!(rusage_info_v1, ri_child_pageins) - 128usize];
1687 ["Offset of field: rusage_info_v1::ri_child_elapsed_abstime"]
1688 [::std::mem::offset_of!(rusage_info_v1, ri_child_elapsed_abstime) - 136usize];
1689};
1690#[repr(C)]
1691#[derive(Debug, Copy, Clone)]
1692pub struct rusage_info_v2 {
1693 pub ri_uuid: [u8; 16usize],
1694 pub ri_user_time: u64,
1695 pub ri_system_time: u64,
1696 pub ri_pkg_idle_wkups: u64,
1697 pub ri_interrupt_wkups: u64,
1698 pub ri_pageins: u64,
1699 pub ri_wired_size: u64,
1700 pub ri_resident_size: u64,
1701 pub ri_phys_footprint: u64,
1702 pub ri_proc_start_abstime: u64,
1703 pub ri_proc_exit_abstime: u64,
1704 pub ri_child_user_time: u64,
1705 pub ri_child_system_time: u64,
1706 pub ri_child_pkg_idle_wkups: u64,
1707 pub ri_child_interrupt_wkups: u64,
1708 pub ri_child_pageins: u64,
1709 pub ri_child_elapsed_abstime: u64,
1710 pub ri_diskio_bytesread: u64,
1711 pub ri_diskio_byteswritten: u64,
1712}
1713const _: () = {
1714 ["Size of rusage_info_v2"][::std::mem::size_of::<rusage_info_v2>() - 160usize];
1715 ["Alignment of rusage_info_v2"][::std::mem::align_of::<rusage_info_v2>() - 8usize];
1716 ["Offset of field: rusage_info_v2::ri_uuid"]
1717 [::std::mem::offset_of!(rusage_info_v2, ri_uuid) - 0usize];
1718 ["Offset of field: rusage_info_v2::ri_user_time"]
1719 [::std::mem::offset_of!(rusage_info_v2, ri_user_time) - 16usize];
1720 ["Offset of field: rusage_info_v2::ri_system_time"]
1721 [::std::mem::offset_of!(rusage_info_v2, ri_system_time) - 24usize];
1722 ["Offset of field: rusage_info_v2::ri_pkg_idle_wkups"]
1723 [::std::mem::offset_of!(rusage_info_v2, ri_pkg_idle_wkups) - 32usize];
1724 ["Offset of field: rusage_info_v2::ri_interrupt_wkups"]
1725 [::std::mem::offset_of!(rusage_info_v2, ri_interrupt_wkups) - 40usize];
1726 ["Offset of field: rusage_info_v2::ri_pageins"]
1727 [::std::mem::offset_of!(rusage_info_v2, ri_pageins) - 48usize];
1728 ["Offset of field: rusage_info_v2::ri_wired_size"]
1729 [::std::mem::offset_of!(rusage_info_v2, ri_wired_size) - 56usize];
1730 ["Offset of field: rusage_info_v2::ri_resident_size"]
1731 [::std::mem::offset_of!(rusage_info_v2, ri_resident_size) - 64usize];
1732 ["Offset of field: rusage_info_v2::ri_phys_footprint"]
1733 [::std::mem::offset_of!(rusage_info_v2, ri_phys_footprint) - 72usize];
1734 ["Offset of field: rusage_info_v2::ri_proc_start_abstime"]
1735 [::std::mem::offset_of!(rusage_info_v2, ri_proc_start_abstime) - 80usize];
1736 ["Offset of field: rusage_info_v2::ri_proc_exit_abstime"]
1737 [::std::mem::offset_of!(rusage_info_v2, ri_proc_exit_abstime) - 88usize];
1738 ["Offset of field: rusage_info_v2::ri_child_user_time"]
1739 [::std::mem::offset_of!(rusage_info_v2, ri_child_user_time) - 96usize];
1740 ["Offset of field: rusage_info_v2::ri_child_system_time"]
1741 [::std::mem::offset_of!(rusage_info_v2, ri_child_system_time) - 104usize];
1742 ["Offset of field: rusage_info_v2::ri_child_pkg_idle_wkups"]
1743 [::std::mem::offset_of!(rusage_info_v2, ri_child_pkg_idle_wkups) - 112usize];
1744 ["Offset of field: rusage_info_v2::ri_child_interrupt_wkups"]
1745 [::std::mem::offset_of!(rusage_info_v2, ri_child_interrupt_wkups) - 120usize];
1746 ["Offset of field: rusage_info_v2::ri_child_pageins"]
1747 [::std::mem::offset_of!(rusage_info_v2, ri_child_pageins) - 128usize];
1748 ["Offset of field: rusage_info_v2::ri_child_elapsed_abstime"]
1749 [::std::mem::offset_of!(rusage_info_v2, ri_child_elapsed_abstime) - 136usize];
1750 ["Offset of field: rusage_info_v2::ri_diskio_bytesread"]
1751 [::std::mem::offset_of!(rusage_info_v2, ri_diskio_bytesread) - 144usize];
1752 ["Offset of field: rusage_info_v2::ri_diskio_byteswritten"]
1753 [::std::mem::offset_of!(rusage_info_v2, ri_diskio_byteswritten) - 152usize];
1754};
1755#[repr(C)]
1756#[derive(Debug, Copy, Clone)]
1757pub struct rusage_info_v3 {
1758 pub ri_uuid: [u8; 16usize],
1759 pub ri_user_time: u64,
1760 pub ri_system_time: u64,
1761 pub ri_pkg_idle_wkups: u64,
1762 pub ri_interrupt_wkups: u64,
1763 pub ri_pageins: u64,
1764 pub ri_wired_size: u64,
1765 pub ri_resident_size: u64,
1766 pub ri_phys_footprint: u64,
1767 pub ri_proc_start_abstime: u64,
1768 pub ri_proc_exit_abstime: u64,
1769 pub ri_child_user_time: u64,
1770 pub ri_child_system_time: u64,
1771 pub ri_child_pkg_idle_wkups: u64,
1772 pub ri_child_interrupt_wkups: u64,
1773 pub ri_child_pageins: u64,
1774 pub ri_child_elapsed_abstime: u64,
1775 pub ri_diskio_bytesread: u64,
1776 pub ri_diskio_byteswritten: u64,
1777 pub ri_cpu_time_qos_default: u64,
1778 pub ri_cpu_time_qos_maintenance: u64,
1779 pub ri_cpu_time_qos_background: u64,
1780 pub ri_cpu_time_qos_utility: u64,
1781 pub ri_cpu_time_qos_legacy: u64,
1782 pub ri_cpu_time_qos_user_initiated: u64,
1783 pub ri_cpu_time_qos_user_interactive: u64,
1784 pub ri_billed_system_time: u64,
1785 pub ri_serviced_system_time: u64,
1786}
1787const _: () = {
1788 ["Size of rusage_info_v3"][::std::mem::size_of::<rusage_info_v3>() - 232usize];
1789 ["Alignment of rusage_info_v3"][::std::mem::align_of::<rusage_info_v3>() - 8usize];
1790 ["Offset of field: rusage_info_v3::ri_uuid"]
1791 [::std::mem::offset_of!(rusage_info_v3, ri_uuid) - 0usize];
1792 ["Offset of field: rusage_info_v3::ri_user_time"]
1793 [::std::mem::offset_of!(rusage_info_v3, ri_user_time) - 16usize];
1794 ["Offset of field: rusage_info_v3::ri_system_time"]
1795 [::std::mem::offset_of!(rusage_info_v3, ri_system_time) - 24usize];
1796 ["Offset of field: rusage_info_v3::ri_pkg_idle_wkups"]
1797 [::std::mem::offset_of!(rusage_info_v3, ri_pkg_idle_wkups) - 32usize];
1798 ["Offset of field: rusage_info_v3::ri_interrupt_wkups"]
1799 [::std::mem::offset_of!(rusage_info_v3, ri_interrupt_wkups) - 40usize];
1800 ["Offset of field: rusage_info_v3::ri_pageins"]
1801 [::std::mem::offset_of!(rusage_info_v3, ri_pageins) - 48usize];
1802 ["Offset of field: rusage_info_v3::ri_wired_size"]
1803 [::std::mem::offset_of!(rusage_info_v3, ri_wired_size) - 56usize];
1804 ["Offset of field: rusage_info_v3::ri_resident_size"]
1805 [::std::mem::offset_of!(rusage_info_v3, ri_resident_size) - 64usize];
1806 ["Offset of field: rusage_info_v3::ri_phys_footprint"]
1807 [::std::mem::offset_of!(rusage_info_v3, ri_phys_footprint) - 72usize];
1808 ["Offset of field: rusage_info_v3::ri_proc_start_abstime"]
1809 [::std::mem::offset_of!(rusage_info_v3, ri_proc_start_abstime) - 80usize];
1810 ["Offset of field: rusage_info_v3::ri_proc_exit_abstime"]
1811 [::std::mem::offset_of!(rusage_info_v3, ri_proc_exit_abstime) - 88usize];
1812 ["Offset of field: rusage_info_v3::ri_child_user_time"]
1813 [::std::mem::offset_of!(rusage_info_v3, ri_child_user_time) - 96usize];
1814 ["Offset of field: rusage_info_v3::ri_child_system_time"]
1815 [::std::mem::offset_of!(rusage_info_v3, ri_child_system_time) - 104usize];
1816 ["Offset of field: rusage_info_v3::ri_child_pkg_idle_wkups"]
1817 [::std::mem::offset_of!(rusage_info_v3, ri_child_pkg_idle_wkups) - 112usize];
1818 ["Offset of field: rusage_info_v3::ri_child_interrupt_wkups"]
1819 [::std::mem::offset_of!(rusage_info_v3, ri_child_interrupt_wkups) - 120usize];
1820 ["Offset of field: rusage_info_v3::ri_child_pageins"]
1821 [::std::mem::offset_of!(rusage_info_v3, ri_child_pageins) - 128usize];
1822 ["Offset of field: rusage_info_v3::ri_child_elapsed_abstime"]
1823 [::std::mem::offset_of!(rusage_info_v3, ri_child_elapsed_abstime) - 136usize];
1824 ["Offset of field: rusage_info_v3::ri_diskio_bytesread"]
1825 [::std::mem::offset_of!(rusage_info_v3, ri_diskio_bytesread) - 144usize];
1826 ["Offset of field: rusage_info_v3::ri_diskio_byteswritten"]
1827 [::std::mem::offset_of!(rusage_info_v3, ri_diskio_byteswritten) - 152usize];
1828 ["Offset of field: rusage_info_v3::ri_cpu_time_qos_default"]
1829 [::std::mem::offset_of!(rusage_info_v3, ri_cpu_time_qos_default) - 160usize];
1830 ["Offset of field: rusage_info_v3::ri_cpu_time_qos_maintenance"]
1831 [::std::mem::offset_of!(rusage_info_v3, ri_cpu_time_qos_maintenance) - 168usize];
1832 ["Offset of field: rusage_info_v3::ri_cpu_time_qos_background"]
1833 [::std::mem::offset_of!(rusage_info_v3, ri_cpu_time_qos_background) - 176usize];
1834 ["Offset of field: rusage_info_v3::ri_cpu_time_qos_utility"]
1835 [::std::mem::offset_of!(rusage_info_v3, ri_cpu_time_qos_utility) - 184usize];
1836 ["Offset of field: rusage_info_v3::ri_cpu_time_qos_legacy"]
1837 [::std::mem::offset_of!(rusage_info_v3, ri_cpu_time_qos_legacy) - 192usize];
1838 ["Offset of field: rusage_info_v3::ri_cpu_time_qos_user_initiated"]
1839 [::std::mem::offset_of!(rusage_info_v3, ri_cpu_time_qos_user_initiated) - 200usize];
1840 ["Offset of field: rusage_info_v3::ri_cpu_time_qos_user_interactive"]
1841 [::std::mem::offset_of!(rusage_info_v3, ri_cpu_time_qos_user_interactive) - 208usize];
1842 ["Offset of field: rusage_info_v3::ri_billed_system_time"]
1843 [::std::mem::offset_of!(rusage_info_v3, ri_billed_system_time) - 216usize];
1844 ["Offset of field: rusage_info_v3::ri_serviced_system_time"]
1845 [::std::mem::offset_of!(rusage_info_v3, ri_serviced_system_time) - 224usize];
1846};
1847#[repr(C)]
1848#[derive(Debug, Copy, Clone)]
1849pub struct rusage_info_v4 {
1850 pub ri_uuid: [u8; 16usize],
1851 pub ri_user_time: u64,
1852 pub ri_system_time: u64,
1853 pub ri_pkg_idle_wkups: u64,
1854 pub ri_interrupt_wkups: u64,
1855 pub ri_pageins: u64,
1856 pub ri_wired_size: u64,
1857 pub ri_resident_size: u64,
1858 pub ri_phys_footprint: u64,
1859 pub ri_proc_start_abstime: u64,
1860 pub ri_proc_exit_abstime: u64,
1861 pub ri_child_user_time: u64,
1862 pub ri_child_system_time: u64,
1863 pub ri_child_pkg_idle_wkups: u64,
1864 pub ri_child_interrupt_wkups: u64,
1865 pub ri_child_pageins: u64,
1866 pub ri_child_elapsed_abstime: u64,
1867 pub ri_diskio_bytesread: u64,
1868 pub ri_diskio_byteswritten: u64,
1869 pub ri_cpu_time_qos_default: u64,
1870 pub ri_cpu_time_qos_maintenance: u64,
1871 pub ri_cpu_time_qos_background: u64,
1872 pub ri_cpu_time_qos_utility: u64,
1873 pub ri_cpu_time_qos_legacy: u64,
1874 pub ri_cpu_time_qos_user_initiated: u64,
1875 pub ri_cpu_time_qos_user_interactive: u64,
1876 pub ri_billed_system_time: u64,
1877 pub ri_serviced_system_time: u64,
1878 pub ri_logical_writes: u64,
1879 pub ri_lifetime_max_phys_footprint: u64,
1880 pub ri_instructions: u64,
1881 pub ri_cycles: u64,
1882 pub ri_billed_energy: u64,
1883 pub ri_serviced_energy: u64,
1884 pub ri_interval_max_phys_footprint: u64,
1885 pub ri_runnable_time: u64,
1886}
1887const _: () = {
1888 ["Size of rusage_info_v4"][::std::mem::size_of::<rusage_info_v4>() - 296usize];
1889 ["Alignment of rusage_info_v4"][::std::mem::align_of::<rusage_info_v4>() - 8usize];
1890 ["Offset of field: rusage_info_v4::ri_uuid"]
1891 [::std::mem::offset_of!(rusage_info_v4, ri_uuid) - 0usize];
1892 ["Offset of field: rusage_info_v4::ri_user_time"]
1893 [::std::mem::offset_of!(rusage_info_v4, ri_user_time) - 16usize];
1894 ["Offset of field: rusage_info_v4::ri_system_time"]
1895 [::std::mem::offset_of!(rusage_info_v4, ri_system_time) - 24usize];
1896 ["Offset of field: rusage_info_v4::ri_pkg_idle_wkups"]
1897 [::std::mem::offset_of!(rusage_info_v4, ri_pkg_idle_wkups) - 32usize];
1898 ["Offset of field: rusage_info_v4::ri_interrupt_wkups"]
1899 [::std::mem::offset_of!(rusage_info_v4, ri_interrupt_wkups) - 40usize];
1900 ["Offset of field: rusage_info_v4::ri_pageins"]
1901 [::std::mem::offset_of!(rusage_info_v4, ri_pageins) - 48usize];
1902 ["Offset of field: rusage_info_v4::ri_wired_size"]
1903 [::std::mem::offset_of!(rusage_info_v4, ri_wired_size) - 56usize];
1904 ["Offset of field: rusage_info_v4::ri_resident_size"]
1905 [::std::mem::offset_of!(rusage_info_v4, ri_resident_size) - 64usize];
1906 ["Offset of field: rusage_info_v4::ri_phys_footprint"]
1907 [::std::mem::offset_of!(rusage_info_v4, ri_phys_footprint) - 72usize];
1908 ["Offset of field: rusage_info_v4::ri_proc_start_abstime"]
1909 [::std::mem::offset_of!(rusage_info_v4, ri_proc_start_abstime) - 80usize];
1910 ["Offset of field: rusage_info_v4::ri_proc_exit_abstime"]
1911 [::std::mem::offset_of!(rusage_info_v4, ri_proc_exit_abstime) - 88usize];
1912 ["Offset of field: rusage_info_v4::ri_child_user_time"]
1913 [::std::mem::offset_of!(rusage_info_v4, ri_child_user_time) - 96usize];
1914 ["Offset of field: rusage_info_v4::ri_child_system_time"]
1915 [::std::mem::offset_of!(rusage_info_v4, ri_child_system_time) - 104usize];
1916 ["Offset of field: rusage_info_v4::ri_child_pkg_idle_wkups"]
1917 [::std::mem::offset_of!(rusage_info_v4, ri_child_pkg_idle_wkups) - 112usize];
1918 ["Offset of field: rusage_info_v4::ri_child_interrupt_wkups"]
1919 [::std::mem::offset_of!(rusage_info_v4, ri_child_interrupt_wkups) - 120usize];
1920 ["Offset of field: rusage_info_v4::ri_child_pageins"]
1921 [::std::mem::offset_of!(rusage_info_v4, ri_child_pageins) - 128usize];
1922 ["Offset of field: rusage_info_v4::ri_child_elapsed_abstime"]
1923 [::std::mem::offset_of!(rusage_info_v4, ri_child_elapsed_abstime) - 136usize];
1924 ["Offset of field: rusage_info_v4::ri_diskio_bytesread"]
1925 [::std::mem::offset_of!(rusage_info_v4, ri_diskio_bytesread) - 144usize];
1926 ["Offset of field: rusage_info_v4::ri_diskio_byteswritten"]
1927 [::std::mem::offset_of!(rusage_info_v4, ri_diskio_byteswritten) - 152usize];
1928 ["Offset of field: rusage_info_v4::ri_cpu_time_qos_default"]
1929 [::std::mem::offset_of!(rusage_info_v4, ri_cpu_time_qos_default) - 160usize];
1930 ["Offset of field: rusage_info_v4::ri_cpu_time_qos_maintenance"]
1931 [::std::mem::offset_of!(rusage_info_v4, ri_cpu_time_qos_maintenance) - 168usize];
1932 ["Offset of field: rusage_info_v4::ri_cpu_time_qos_background"]
1933 [::std::mem::offset_of!(rusage_info_v4, ri_cpu_time_qos_background) - 176usize];
1934 ["Offset of field: rusage_info_v4::ri_cpu_time_qos_utility"]
1935 [::std::mem::offset_of!(rusage_info_v4, ri_cpu_time_qos_utility) - 184usize];
1936 ["Offset of field: rusage_info_v4::ri_cpu_time_qos_legacy"]
1937 [::std::mem::offset_of!(rusage_info_v4, ri_cpu_time_qos_legacy) - 192usize];
1938 ["Offset of field: rusage_info_v4::ri_cpu_time_qos_user_initiated"]
1939 [::std::mem::offset_of!(rusage_info_v4, ri_cpu_time_qos_user_initiated) - 200usize];
1940 ["Offset of field: rusage_info_v4::ri_cpu_time_qos_user_interactive"]
1941 [::std::mem::offset_of!(rusage_info_v4, ri_cpu_time_qos_user_interactive) - 208usize];
1942 ["Offset of field: rusage_info_v4::ri_billed_system_time"]
1943 [::std::mem::offset_of!(rusage_info_v4, ri_billed_system_time) - 216usize];
1944 ["Offset of field: rusage_info_v4::ri_serviced_system_time"]
1945 [::std::mem::offset_of!(rusage_info_v4, ri_serviced_system_time) - 224usize];
1946 ["Offset of field: rusage_info_v4::ri_logical_writes"]
1947 [::std::mem::offset_of!(rusage_info_v4, ri_logical_writes) - 232usize];
1948 ["Offset of field: rusage_info_v4::ri_lifetime_max_phys_footprint"]
1949 [::std::mem::offset_of!(rusage_info_v4, ri_lifetime_max_phys_footprint) - 240usize];
1950 ["Offset of field: rusage_info_v4::ri_instructions"]
1951 [::std::mem::offset_of!(rusage_info_v4, ri_instructions) - 248usize];
1952 ["Offset of field: rusage_info_v4::ri_cycles"]
1953 [::std::mem::offset_of!(rusage_info_v4, ri_cycles) - 256usize];
1954 ["Offset of field: rusage_info_v4::ri_billed_energy"]
1955 [::std::mem::offset_of!(rusage_info_v4, ri_billed_energy) - 264usize];
1956 ["Offset of field: rusage_info_v4::ri_serviced_energy"]
1957 [::std::mem::offset_of!(rusage_info_v4, ri_serviced_energy) - 272usize];
1958 ["Offset of field: rusage_info_v4::ri_interval_max_phys_footprint"]
1959 [::std::mem::offset_of!(rusage_info_v4, ri_interval_max_phys_footprint) - 280usize];
1960 ["Offset of field: rusage_info_v4::ri_runnable_time"]
1961 [::std::mem::offset_of!(rusage_info_v4, ri_runnable_time) - 288usize];
1962};
1963#[repr(C)]
1964#[derive(Debug, Copy, Clone)]
1965pub struct rusage_info_v5 {
1966 pub ri_uuid: [u8; 16usize],
1967 pub ri_user_time: u64,
1968 pub ri_system_time: u64,
1969 pub ri_pkg_idle_wkups: u64,
1970 pub ri_interrupt_wkups: u64,
1971 pub ri_pageins: u64,
1972 pub ri_wired_size: u64,
1973 pub ri_resident_size: u64,
1974 pub ri_phys_footprint: u64,
1975 pub ri_proc_start_abstime: u64,
1976 pub ri_proc_exit_abstime: u64,
1977 pub ri_child_user_time: u64,
1978 pub ri_child_system_time: u64,
1979 pub ri_child_pkg_idle_wkups: u64,
1980 pub ri_child_interrupt_wkups: u64,
1981 pub ri_child_pageins: u64,
1982 pub ri_child_elapsed_abstime: u64,
1983 pub ri_diskio_bytesread: u64,
1984 pub ri_diskio_byteswritten: u64,
1985 pub ri_cpu_time_qos_default: u64,
1986 pub ri_cpu_time_qos_maintenance: u64,
1987 pub ri_cpu_time_qos_background: u64,
1988 pub ri_cpu_time_qos_utility: u64,
1989 pub ri_cpu_time_qos_legacy: u64,
1990 pub ri_cpu_time_qos_user_initiated: u64,
1991 pub ri_cpu_time_qos_user_interactive: u64,
1992 pub ri_billed_system_time: u64,
1993 pub ri_serviced_system_time: u64,
1994 pub ri_logical_writes: u64,
1995 pub ri_lifetime_max_phys_footprint: u64,
1996 pub ri_instructions: u64,
1997 pub ri_cycles: u64,
1998 pub ri_billed_energy: u64,
1999 pub ri_serviced_energy: u64,
2000 pub ri_interval_max_phys_footprint: u64,
2001 pub ri_runnable_time: u64,
2002 pub ri_flags: u64,
2003}
2004const _: () = {
2005 ["Size of rusage_info_v5"][::std::mem::size_of::<rusage_info_v5>() - 304usize];
2006 ["Alignment of rusage_info_v5"][::std::mem::align_of::<rusage_info_v5>() - 8usize];
2007 ["Offset of field: rusage_info_v5::ri_uuid"]
2008 [::std::mem::offset_of!(rusage_info_v5, ri_uuid) - 0usize];
2009 ["Offset of field: rusage_info_v5::ri_user_time"]
2010 [::std::mem::offset_of!(rusage_info_v5, ri_user_time) - 16usize];
2011 ["Offset of field: rusage_info_v5::ri_system_time"]
2012 [::std::mem::offset_of!(rusage_info_v5, ri_system_time) - 24usize];
2013 ["Offset of field: rusage_info_v5::ri_pkg_idle_wkups"]
2014 [::std::mem::offset_of!(rusage_info_v5, ri_pkg_idle_wkups) - 32usize];
2015 ["Offset of field: rusage_info_v5::ri_interrupt_wkups"]
2016 [::std::mem::offset_of!(rusage_info_v5, ri_interrupt_wkups) - 40usize];
2017 ["Offset of field: rusage_info_v5::ri_pageins"]
2018 [::std::mem::offset_of!(rusage_info_v5, ri_pageins) - 48usize];
2019 ["Offset of field: rusage_info_v5::ri_wired_size"]
2020 [::std::mem::offset_of!(rusage_info_v5, ri_wired_size) - 56usize];
2021 ["Offset of field: rusage_info_v5::ri_resident_size"]
2022 [::std::mem::offset_of!(rusage_info_v5, ri_resident_size) - 64usize];
2023 ["Offset of field: rusage_info_v5::ri_phys_footprint"]
2024 [::std::mem::offset_of!(rusage_info_v5, ri_phys_footprint) - 72usize];
2025 ["Offset of field: rusage_info_v5::ri_proc_start_abstime"]
2026 [::std::mem::offset_of!(rusage_info_v5, ri_proc_start_abstime) - 80usize];
2027 ["Offset of field: rusage_info_v5::ri_proc_exit_abstime"]
2028 [::std::mem::offset_of!(rusage_info_v5, ri_proc_exit_abstime) - 88usize];
2029 ["Offset of field: rusage_info_v5::ri_child_user_time"]
2030 [::std::mem::offset_of!(rusage_info_v5, ri_child_user_time) - 96usize];
2031 ["Offset of field: rusage_info_v5::ri_child_system_time"]
2032 [::std::mem::offset_of!(rusage_info_v5, ri_child_system_time) - 104usize];
2033 ["Offset of field: rusage_info_v5::ri_child_pkg_idle_wkups"]
2034 [::std::mem::offset_of!(rusage_info_v5, ri_child_pkg_idle_wkups) - 112usize];
2035 ["Offset of field: rusage_info_v5::ri_child_interrupt_wkups"]
2036 [::std::mem::offset_of!(rusage_info_v5, ri_child_interrupt_wkups) - 120usize];
2037 ["Offset of field: rusage_info_v5::ri_child_pageins"]
2038 [::std::mem::offset_of!(rusage_info_v5, ri_child_pageins) - 128usize];
2039 ["Offset of field: rusage_info_v5::ri_child_elapsed_abstime"]
2040 [::std::mem::offset_of!(rusage_info_v5, ri_child_elapsed_abstime) - 136usize];
2041 ["Offset of field: rusage_info_v5::ri_diskio_bytesread"]
2042 [::std::mem::offset_of!(rusage_info_v5, ri_diskio_bytesread) - 144usize];
2043 ["Offset of field: rusage_info_v5::ri_diskio_byteswritten"]
2044 [::std::mem::offset_of!(rusage_info_v5, ri_diskio_byteswritten) - 152usize];
2045 ["Offset of field: rusage_info_v5::ri_cpu_time_qos_default"]
2046 [::std::mem::offset_of!(rusage_info_v5, ri_cpu_time_qos_default) - 160usize];
2047 ["Offset of field: rusage_info_v5::ri_cpu_time_qos_maintenance"]
2048 [::std::mem::offset_of!(rusage_info_v5, ri_cpu_time_qos_maintenance) - 168usize];
2049 ["Offset of field: rusage_info_v5::ri_cpu_time_qos_background"]
2050 [::std::mem::offset_of!(rusage_info_v5, ri_cpu_time_qos_background) - 176usize];
2051 ["Offset of field: rusage_info_v5::ri_cpu_time_qos_utility"]
2052 [::std::mem::offset_of!(rusage_info_v5, ri_cpu_time_qos_utility) - 184usize];
2053 ["Offset of field: rusage_info_v5::ri_cpu_time_qos_legacy"]
2054 [::std::mem::offset_of!(rusage_info_v5, ri_cpu_time_qos_legacy) - 192usize];
2055 ["Offset of field: rusage_info_v5::ri_cpu_time_qos_user_initiated"]
2056 [::std::mem::offset_of!(rusage_info_v5, ri_cpu_time_qos_user_initiated) - 200usize];
2057 ["Offset of field: rusage_info_v5::ri_cpu_time_qos_user_interactive"]
2058 [::std::mem::offset_of!(rusage_info_v5, ri_cpu_time_qos_user_interactive) - 208usize];
2059 ["Offset of field: rusage_info_v5::ri_billed_system_time"]
2060 [::std::mem::offset_of!(rusage_info_v5, ri_billed_system_time) - 216usize];
2061 ["Offset of field: rusage_info_v5::ri_serviced_system_time"]
2062 [::std::mem::offset_of!(rusage_info_v5, ri_serviced_system_time) - 224usize];
2063 ["Offset of field: rusage_info_v5::ri_logical_writes"]
2064 [::std::mem::offset_of!(rusage_info_v5, ri_logical_writes) - 232usize];
2065 ["Offset of field: rusage_info_v5::ri_lifetime_max_phys_footprint"]
2066 [::std::mem::offset_of!(rusage_info_v5, ri_lifetime_max_phys_footprint) - 240usize];
2067 ["Offset of field: rusage_info_v5::ri_instructions"]
2068 [::std::mem::offset_of!(rusage_info_v5, ri_instructions) - 248usize];
2069 ["Offset of field: rusage_info_v5::ri_cycles"]
2070 [::std::mem::offset_of!(rusage_info_v5, ri_cycles) - 256usize];
2071 ["Offset of field: rusage_info_v5::ri_billed_energy"]
2072 [::std::mem::offset_of!(rusage_info_v5, ri_billed_energy) - 264usize];
2073 ["Offset of field: rusage_info_v5::ri_serviced_energy"]
2074 [::std::mem::offset_of!(rusage_info_v5, ri_serviced_energy) - 272usize];
2075 ["Offset of field: rusage_info_v5::ri_interval_max_phys_footprint"]
2076 [::std::mem::offset_of!(rusage_info_v5, ri_interval_max_phys_footprint) - 280usize];
2077 ["Offset of field: rusage_info_v5::ri_runnable_time"]
2078 [::std::mem::offset_of!(rusage_info_v5, ri_runnable_time) - 288usize];
2079 ["Offset of field: rusage_info_v5::ri_flags"]
2080 [::std::mem::offset_of!(rusage_info_v5, ri_flags) - 296usize];
2081};
2082#[repr(C)]
2083#[derive(Debug, Copy, Clone)]
2084pub struct rusage_info_v6 {
2085 pub ri_uuid: [u8; 16usize],
2086 pub ri_user_time: u64,
2087 pub ri_system_time: u64,
2088 pub ri_pkg_idle_wkups: u64,
2089 pub ri_interrupt_wkups: u64,
2090 pub ri_pageins: u64,
2091 pub ri_wired_size: u64,
2092 pub ri_resident_size: u64,
2093 pub ri_phys_footprint: u64,
2094 pub ri_proc_start_abstime: u64,
2095 pub ri_proc_exit_abstime: u64,
2096 pub ri_child_user_time: u64,
2097 pub ri_child_system_time: u64,
2098 pub ri_child_pkg_idle_wkups: u64,
2099 pub ri_child_interrupt_wkups: u64,
2100 pub ri_child_pageins: u64,
2101 pub ri_child_elapsed_abstime: u64,
2102 pub ri_diskio_bytesread: u64,
2103 pub ri_diskio_byteswritten: u64,
2104 pub ri_cpu_time_qos_default: u64,
2105 pub ri_cpu_time_qos_maintenance: u64,
2106 pub ri_cpu_time_qos_background: u64,
2107 pub ri_cpu_time_qos_utility: u64,
2108 pub ri_cpu_time_qos_legacy: u64,
2109 pub ri_cpu_time_qos_user_initiated: u64,
2110 pub ri_cpu_time_qos_user_interactive: u64,
2111 pub ri_billed_system_time: u64,
2112 pub ri_serviced_system_time: u64,
2113 pub ri_logical_writes: u64,
2114 pub ri_lifetime_max_phys_footprint: u64,
2115 pub ri_instructions: u64,
2116 pub ri_cycles: u64,
2117 pub ri_billed_energy: u64,
2118 pub ri_serviced_energy: u64,
2119 pub ri_interval_max_phys_footprint: u64,
2120 pub ri_runnable_time: u64,
2121 pub ri_flags: u64,
2122 pub ri_user_ptime: u64,
2123 pub ri_system_ptime: u64,
2124 pub ri_pinstructions: u64,
2125 pub ri_pcycles: u64,
2126 pub ri_energy_nj: u64,
2127 pub ri_penergy_nj: u64,
2128 pub ri_secure_time_in_system: u64,
2129 pub ri_secure_ptime_in_system: u64,
2130 pub ri_neural_footprint: u64,
2131 pub ri_lifetime_max_neural_footprint: u64,
2132 pub ri_interval_max_neural_footprint: u64,
2133 pub ri_reserved: [u64; 9usize],
2134}
2135const _: () = {
2136 ["Size of rusage_info_v6"][::std::mem::size_of::<rusage_info_v6>() - 464usize];
2137 ["Alignment of rusage_info_v6"][::std::mem::align_of::<rusage_info_v6>() - 8usize];
2138 ["Offset of field: rusage_info_v6::ri_uuid"]
2139 [::std::mem::offset_of!(rusage_info_v6, ri_uuid) - 0usize];
2140 ["Offset of field: rusage_info_v6::ri_user_time"]
2141 [::std::mem::offset_of!(rusage_info_v6, ri_user_time) - 16usize];
2142 ["Offset of field: rusage_info_v6::ri_system_time"]
2143 [::std::mem::offset_of!(rusage_info_v6, ri_system_time) - 24usize];
2144 ["Offset of field: rusage_info_v6::ri_pkg_idle_wkups"]
2145 [::std::mem::offset_of!(rusage_info_v6, ri_pkg_idle_wkups) - 32usize];
2146 ["Offset of field: rusage_info_v6::ri_interrupt_wkups"]
2147 [::std::mem::offset_of!(rusage_info_v6, ri_interrupt_wkups) - 40usize];
2148 ["Offset of field: rusage_info_v6::ri_pageins"]
2149 [::std::mem::offset_of!(rusage_info_v6, ri_pageins) - 48usize];
2150 ["Offset of field: rusage_info_v6::ri_wired_size"]
2151 [::std::mem::offset_of!(rusage_info_v6, ri_wired_size) - 56usize];
2152 ["Offset of field: rusage_info_v6::ri_resident_size"]
2153 [::std::mem::offset_of!(rusage_info_v6, ri_resident_size) - 64usize];
2154 ["Offset of field: rusage_info_v6::ri_phys_footprint"]
2155 [::std::mem::offset_of!(rusage_info_v6, ri_phys_footprint) - 72usize];
2156 ["Offset of field: rusage_info_v6::ri_proc_start_abstime"]
2157 [::std::mem::offset_of!(rusage_info_v6, ri_proc_start_abstime) - 80usize];
2158 ["Offset of field: rusage_info_v6::ri_proc_exit_abstime"]
2159 [::std::mem::offset_of!(rusage_info_v6, ri_proc_exit_abstime) - 88usize];
2160 ["Offset of field: rusage_info_v6::ri_child_user_time"]
2161 [::std::mem::offset_of!(rusage_info_v6, ri_child_user_time) - 96usize];
2162 ["Offset of field: rusage_info_v6::ri_child_system_time"]
2163 [::std::mem::offset_of!(rusage_info_v6, ri_child_system_time) - 104usize];
2164 ["Offset of field: rusage_info_v6::ri_child_pkg_idle_wkups"]
2165 [::std::mem::offset_of!(rusage_info_v6, ri_child_pkg_idle_wkups) - 112usize];
2166 ["Offset of field: rusage_info_v6::ri_child_interrupt_wkups"]
2167 [::std::mem::offset_of!(rusage_info_v6, ri_child_interrupt_wkups) - 120usize];
2168 ["Offset of field: rusage_info_v6::ri_child_pageins"]
2169 [::std::mem::offset_of!(rusage_info_v6, ri_child_pageins) - 128usize];
2170 ["Offset of field: rusage_info_v6::ri_child_elapsed_abstime"]
2171 [::std::mem::offset_of!(rusage_info_v6, ri_child_elapsed_abstime) - 136usize];
2172 ["Offset of field: rusage_info_v6::ri_diskio_bytesread"]
2173 [::std::mem::offset_of!(rusage_info_v6, ri_diskio_bytesread) - 144usize];
2174 ["Offset of field: rusage_info_v6::ri_diskio_byteswritten"]
2175 [::std::mem::offset_of!(rusage_info_v6, ri_diskio_byteswritten) - 152usize];
2176 ["Offset of field: rusage_info_v6::ri_cpu_time_qos_default"]
2177 [::std::mem::offset_of!(rusage_info_v6, ri_cpu_time_qos_default) - 160usize];
2178 ["Offset of field: rusage_info_v6::ri_cpu_time_qos_maintenance"]
2179 [::std::mem::offset_of!(rusage_info_v6, ri_cpu_time_qos_maintenance) - 168usize];
2180 ["Offset of field: rusage_info_v6::ri_cpu_time_qos_background"]
2181 [::std::mem::offset_of!(rusage_info_v6, ri_cpu_time_qos_background) - 176usize];
2182 ["Offset of field: rusage_info_v6::ri_cpu_time_qos_utility"]
2183 [::std::mem::offset_of!(rusage_info_v6, ri_cpu_time_qos_utility) - 184usize];
2184 ["Offset of field: rusage_info_v6::ri_cpu_time_qos_legacy"]
2185 [::std::mem::offset_of!(rusage_info_v6, ri_cpu_time_qos_legacy) - 192usize];
2186 ["Offset of field: rusage_info_v6::ri_cpu_time_qos_user_initiated"]
2187 [::std::mem::offset_of!(rusage_info_v6, ri_cpu_time_qos_user_initiated) - 200usize];
2188 ["Offset of field: rusage_info_v6::ri_cpu_time_qos_user_interactive"]
2189 [::std::mem::offset_of!(rusage_info_v6, ri_cpu_time_qos_user_interactive) - 208usize];
2190 ["Offset of field: rusage_info_v6::ri_billed_system_time"]
2191 [::std::mem::offset_of!(rusage_info_v6, ri_billed_system_time) - 216usize];
2192 ["Offset of field: rusage_info_v6::ri_serviced_system_time"]
2193 [::std::mem::offset_of!(rusage_info_v6, ri_serviced_system_time) - 224usize];
2194 ["Offset of field: rusage_info_v6::ri_logical_writes"]
2195 [::std::mem::offset_of!(rusage_info_v6, ri_logical_writes) - 232usize];
2196 ["Offset of field: rusage_info_v6::ri_lifetime_max_phys_footprint"]
2197 [::std::mem::offset_of!(rusage_info_v6, ri_lifetime_max_phys_footprint) - 240usize];
2198 ["Offset of field: rusage_info_v6::ri_instructions"]
2199 [::std::mem::offset_of!(rusage_info_v6, ri_instructions) - 248usize];
2200 ["Offset of field: rusage_info_v6::ri_cycles"]
2201 [::std::mem::offset_of!(rusage_info_v6, ri_cycles) - 256usize];
2202 ["Offset of field: rusage_info_v6::ri_billed_energy"]
2203 [::std::mem::offset_of!(rusage_info_v6, ri_billed_energy) - 264usize];
2204 ["Offset of field: rusage_info_v6::ri_serviced_energy"]
2205 [::std::mem::offset_of!(rusage_info_v6, ri_serviced_energy) - 272usize];
2206 ["Offset of field: rusage_info_v6::ri_interval_max_phys_footprint"]
2207 [::std::mem::offset_of!(rusage_info_v6, ri_interval_max_phys_footprint) - 280usize];
2208 ["Offset of field: rusage_info_v6::ri_runnable_time"]
2209 [::std::mem::offset_of!(rusage_info_v6, ri_runnable_time) - 288usize];
2210 ["Offset of field: rusage_info_v6::ri_flags"]
2211 [::std::mem::offset_of!(rusage_info_v6, ri_flags) - 296usize];
2212 ["Offset of field: rusage_info_v6::ri_user_ptime"]
2213 [::std::mem::offset_of!(rusage_info_v6, ri_user_ptime) - 304usize];
2214 ["Offset of field: rusage_info_v6::ri_system_ptime"]
2215 [::std::mem::offset_of!(rusage_info_v6, ri_system_ptime) - 312usize];
2216 ["Offset of field: rusage_info_v6::ri_pinstructions"]
2217 [::std::mem::offset_of!(rusage_info_v6, ri_pinstructions) - 320usize];
2218 ["Offset of field: rusage_info_v6::ri_pcycles"]
2219 [::std::mem::offset_of!(rusage_info_v6, ri_pcycles) - 328usize];
2220 ["Offset of field: rusage_info_v6::ri_energy_nj"]
2221 [::std::mem::offset_of!(rusage_info_v6, ri_energy_nj) - 336usize];
2222 ["Offset of field: rusage_info_v6::ri_penergy_nj"]
2223 [::std::mem::offset_of!(rusage_info_v6, ri_penergy_nj) - 344usize];
2224 ["Offset of field: rusage_info_v6::ri_secure_time_in_system"]
2225 [::std::mem::offset_of!(rusage_info_v6, ri_secure_time_in_system) - 352usize];
2226 ["Offset of field: rusage_info_v6::ri_secure_ptime_in_system"]
2227 [::std::mem::offset_of!(rusage_info_v6, ri_secure_ptime_in_system) - 360usize];
2228 ["Offset of field: rusage_info_v6::ri_neural_footprint"]
2229 [::std::mem::offset_of!(rusage_info_v6, ri_neural_footprint) - 368usize];
2230 ["Offset of field: rusage_info_v6::ri_lifetime_max_neural_footprint"]
2231 [::std::mem::offset_of!(rusage_info_v6, ri_lifetime_max_neural_footprint) - 376usize];
2232 ["Offset of field: rusage_info_v6::ri_interval_max_neural_footprint"]
2233 [::std::mem::offset_of!(rusage_info_v6, ri_interval_max_neural_footprint) - 384usize];
2234 ["Offset of field: rusage_info_v6::ri_reserved"]
2235 [::std::mem::offset_of!(rusage_info_v6, ri_reserved) - 392usize];
2236};
2237pub type rusage_info_current = rusage_info_v6;
2238#[repr(C)]
2239#[derive(Debug, Copy, Clone)]
2240pub struct rlimit {
2241 pub rlim_cur: rlim_t,
2242 pub rlim_max: rlim_t,
2243}
2244const _: () = {
2245 ["Size of rlimit"][::std::mem::size_of::<rlimit>() - 16usize];
2246 ["Alignment of rlimit"][::std::mem::align_of::<rlimit>() - 8usize];
2247 ["Offset of field: rlimit::rlim_cur"][::std::mem::offset_of!(rlimit, rlim_cur) - 0usize];
2248 ["Offset of field: rlimit::rlim_max"][::std::mem::offset_of!(rlimit, rlim_max) - 8usize];
2249};
2250#[repr(C)]
2251#[derive(Debug, Copy, Clone)]
2252pub struct proc_rlimit_control_wakeupmon {
2253 pub wm_flags: u32,
2254 pub wm_rate: i32,
2255}
2256const _: () = {
2257 ["Size of proc_rlimit_control_wakeupmon"]
2258 [::std::mem::size_of::<proc_rlimit_control_wakeupmon>() - 8usize];
2259 ["Alignment of proc_rlimit_control_wakeupmon"]
2260 [::std::mem::align_of::<proc_rlimit_control_wakeupmon>() - 4usize];
2261 ["Offset of field: proc_rlimit_control_wakeupmon::wm_flags"]
2262 [::std::mem::offset_of!(proc_rlimit_control_wakeupmon, wm_flags) - 0usize];
2263 ["Offset of field: proc_rlimit_control_wakeupmon::wm_rate"]
2264 [::std::mem::offset_of!(proc_rlimit_control_wakeupmon, wm_rate) - 4usize];
2265};
2266extern "C" {
2267 pub fn getpriority(arg1: ::std::os::raw::c_int, arg2: id_t) -> ::std::os::raw::c_int;
2268}
2269extern "C" {
2270 pub fn getiopolicy_np(
2271 arg1: ::std::os::raw::c_int,
2272 arg2: ::std::os::raw::c_int,
2273 ) -> ::std::os::raw::c_int;
2274}
2275extern "C" {
2276 pub fn getrlimit(arg1: ::std::os::raw::c_int, arg2: *mut rlimit) -> ::std::os::raw::c_int;
2277}
2278extern "C" {
2279 pub fn getrusage(arg1: ::std::os::raw::c_int, arg2: *mut rusage) -> ::std::os::raw::c_int;
2280}
2281extern "C" {
2282 pub fn setpriority(
2283 arg1: ::std::os::raw::c_int,
2284 arg2: id_t,
2285 arg3: ::std::os::raw::c_int,
2286 ) -> ::std::os::raw::c_int;
2287}
2288extern "C" {
2289 pub fn setiopolicy_np(
2290 arg1: ::std::os::raw::c_int,
2291 arg2: ::std::os::raw::c_int,
2292 arg3: ::std::os::raw::c_int,
2293 ) -> ::std::os::raw::c_int;
2294}
2295extern "C" {
2296 pub fn setrlimit(arg1: ::std::os::raw::c_int, arg2: *const rlimit) -> ::std::os::raw::c_int;
2297}
2298#[repr(C)]
2299#[derive(Copy, Clone)]
2300pub union wait {
2301 pub w_status: ::std::os::raw::c_int,
2302 pub w_T: wait__bindgen_ty_1,
2303 pub w_S: wait__bindgen_ty_2,
2304}
2305#[repr(C)]
2306#[repr(align(4))]
2307#[derive(Debug, Copy, Clone)]
2308pub struct wait__bindgen_ty_1 {
2309 pub _bitfield_align_1: [u16; 0],
2310 pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>,
2311}
2312const _: () = {
2313 ["Size of wait__bindgen_ty_1"][::std::mem::size_of::<wait__bindgen_ty_1>() - 4usize];
2314 ["Alignment of wait__bindgen_ty_1"][::std::mem::align_of::<wait__bindgen_ty_1>() - 4usize];
2315};
2316impl wait__bindgen_ty_1 {
2317 #[inline]
2318 pub fn w_Termsig(&self) -> ::std::os::raw::c_uint {
2319 unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 7u8) as u32) }
2320 }
2321 #[inline]
2322 pub fn set_w_Termsig(&mut self, val: ::std::os::raw::c_uint) {
2323 unsafe {
2324 let val: u32 = ::std::mem::transmute(val);
2325 self._bitfield_1.set(0usize, 7u8, val as u64)
2326 }
2327 }
2328 #[inline]
2329 pub fn w_Coredump(&self) -> ::std::os::raw::c_uint {
2330 unsafe { ::std::mem::transmute(self._bitfield_1.get(7usize, 1u8) as u32) }
2331 }
2332 #[inline]
2333 pub fn set_w_Coredump(&mut self, val: ::std::os::raw::c_uint) {
2334 unsafe {
2335 let val: u32 = ::std::mem::transmute(val);
2336 self._bitfield_1.set(7usize, 1u8, val as u64)
2337 }
2338 }
2339 #[inline]
2340 pub fn w_Retcode(&self) -> ::std::os::raw::c_uint {
2341 unsafe { ::std::mem::transmute(self._bitfield_1.get(8usize, 8u8) as u32) }
2342 }
2343 #[inline]
2344 pub fn set_w_Retcode(&mut self, val: ::std::os::raw::c_uint) {
2345 unsafe {
2346 let val: u32 = ::std::mem::transmute(val);
2347 self._bitfield_1.set(8usize, 8u8, val as u64)
2348 }
2349 }
2350 #[inline]
2351 pub fn w_Filler(&self) -> ::std::os::raw::c_uint {
2352 unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) }
2353 }
2354 #[inline]
2355 pub fn set_w_Filler(&mut self, val: ::std::os::raw::c_uint) {
2356 unsafe {
2357 let val: u32 = ::std::mem::transmute(val);
2358 self._bitfield_1.set(16usize, 16u8, val as u64)
2359 }
2360 }
2361 #[inline]
2362 pub fn new_bitfield_1(
2363 w_Termsig: ::std::os::raw::c_uint,
2364 w_Coredump: ::std::os::raw::c_uint,
2365 w_Retcode: ::std::os::raw::c_uint,
2366 w_Filler: ::std::os::raw::c_uint,
2367 ) -> __BindgenBitfieldUnit<[u8; 4usize]> {
2368 let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default();
2369 __bindgen_bitfield_unit.set(0usize, 7u8, {
2370 let w_Termsig: u32 = unsafe { ::std::mem::transmute(w_Termsig) };
2371 w_Termsig as u64
2372 });
2373 __bindgen_bitfield_unit.set(7usize, 1u8, {
2374 let w_Coredump: u32 = unsafe { ::std::mem::transmute(w_Coredump) };
2375 w_Coredump as u64
2376 });
2377 __bindgen_bitfield_unit.set(8usize, 8u8, {
2378 let w_Retcode: u32 = unsafe { ::std::mem::transmute(w_Retcode) };
2379 w_Retcode as u64
2380 });
2381 __bindgen_bitfield_unit.set(16usize, 16u8, {
2382 let w_Filler: u32 = unsafe { ::std::mem::transmute(w_Filler) };
2383 w_Filler as u64
2384 });
2385 __bindgen_bitfield_unit
2386 }
2387}
2388#[repr(C)]
2389#[repr(align(4))]
2390#[derive(Debug, Copy, Clone)]
2391pub struct wait__bindgen_ty_2 {
2392 pub _bitfield_align_1: [u16; 0],
2393 pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>,
2394}
2395const _: () = {
2396 ["Size of wait__bindgen_ty_2"][::std::mem::size_of::<wait__bindgen_ty_2>() - 4usize];
2397 ["Alignment of wait__bindgen_ty_2"][::std::mem::align_of::<wait__bindgen_ty_2>() - 4usize];
2398};
2399impl wait__bindgen_ty_2 {
2400 #[inline]
2401 pub fn w_Stopval(&self) -> ::std::os::raw::c_uint {
2402 unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 8u8) as u32) }
2403 }
2404 #[inline]
2405 pub fn set_w_Stopval(&mut self, val: ::std::os::raw::c_uint) {
2406 unsafe {
2407 let val: u32 = ::std::mem::transmute(val);
2408 self._bitfield_1.set(0usize, 8u8, val as u64)
2409 }
2410 }
2411 #[inline]
2412 pub fn w_Stopsig(&self) -> ::std::os::raw::c_uint {
2413 unsafe { ::std::mem::transmute(self._bitfield_1.get(8usize, 8u8) as u32) }
2414 }
2415 #[inline]
2416 pub fn set_w_Stopsig(&mut self, val: ::std::os::raw::c_uint) {
2417 unsafe {
2418 let val: u32 = ::std::mem::transmute(val);
2419 self._bitfield_1.set(8usize, 8u8, val as u64)
2420 }
2421 }
2422 #[inline]
2423 pub fn w_Filler(&self) -> ::std::os::raw::c_uint {
2424 unsafe { ::std::mem::transmute(self._bitfield_1.get(16usize, 16u8) as u32) }
2425 }
2426 #[inline]
2427 pub fn set_w_Filler(&mut self, val: ::std::os::raw::c_uint) {
2428 unsafe {
2429 let val: u32 = ::std::mem::transmute(val);
2430 self._bitfield_1.set(16usize, 16u8, val as u64)
2431 }
2432 }
2433 #[inline]
2434 pub fn new_bitfield_1(
2435 w_Stopval: ::std::os::raw::c_uint,
2436 w_Stopsig: ::std::os::raw::c_uint,
2437 w_Filler: ::std::os::raw::c_uint,
2438 ) -> __BindgenBitfieldUnit<[u8; 4usize]> {
2439 let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default();
2440 __bindgen_bitfield_unit.set(0usize, 8u8, {
2441 let w_Stopval: u32 = unsafe { ::std::mem::transmute(w_Stopval) };
2442 w_Stopval as u64
2443 });
2444 __bindgen_bitfield_unit.set(8usize, 8u8, {
2445 let w_Stopsig: u32 = unsafe { ::std::mem::transmute(w_Stopsig) };
2446 w_Stopsig as u64
2447 });
2448 __bindgen_bitfield_unit.set(16usize, 16u8, {
2449 let w_Filler: u32 = unsafe { ::std::mem::transmute(w_Filler) };
2450 w_Filler as u64
2451 });
2452 __bindgen_bitfield_unit
2453 }
2454}
2455const _: () = {
2456 ["Size of wait"][::std::mem::size_of::<wait>() - 4usize];
2457 ["Alignment of wait"][::std::mem::align_of::<wait>() - 4usize];
2458 ["Offset of field: wait::w_status"][::std::mem::offset_of!(wait, w_status) - 0usize];
2459 ["Offset of field: wait::w_T"][::std::mem::offset_of!(wait, w_T) - 0usize];
2460 ["Offset of field: wait::w_S"][::std::mem::offset_of!(wait, w_S) - 0usize];
2461};
2462extern "C" {
2463 pub fn wait(arg1: *mut ::std::os::raw::c_int) -> pid_t;
2464}
2465extern "C" {
2466 pub fn waitpid(
2467 arg1: pid_t,
2468 arg2: *mut ::std::os::raw::c_int,
2469 arg3: ::std::os::raw::c_int,
2470 ) -> pid_t;
2471}
2472extern "C" {
2473 pub fn waitid(
2474 arg1: idtype_t,
2475 arg2: id_t,
2476 arg3: *mut siginfo_t,
2477 arg4: ::std::os::raw::c_int,
2478 ) -> ::std::os::raw::c_int;
2479}
2480extern "C" {
2481 pub fn wait3(
2482 arg1: *mut ::std::os::raw::c_int,
2483 arg2: ::std::os::raw::c_int,
2484 arg3: *mut rusage,
2485 ) -> pid_t;
2486}
2487extern "C" {
2488 pub fn wait4(
2489 arg1: pid_t,
2490 arg2: *mut ::std::os::raw::c_int,
2491 arg3: ::std::os::raw::c_int,
2492 arg4: *mut rusage,
2493 ) -> pid_t;
2494}
2495extern "C" {
2496 pub fn alloca(arg1: usize) -> *mut ::std::os::raw::c_void;
2497}
2498pub type ct_rune_t = __darwin_ct_rune_t;
2499pub type rune_t = __darwin_rune_t;
2500#[repr(C)]
2501#[derive(Debug, Copy, Clone)]
2502pub struct div_t {
2503 pub quot: ::std::os::raw::c_int,
2504 pub rem: ::std::os::raw::c_int,
2505}
2506const _: () = {
2507 ["Size of div_t"][::std::mem::size_of::<div_t>() - 8usize];
2508 ["Alignment of div_t"][::std::mem::align_of::<div_t>() - 4usize];
2509 ["Offset of field: div_t::quot"][::std::mem::offset_of!(div_t, quot) - 0usize];
2510 ["Offset of field: div_t::rem"][::std::mem::offset_of!(div_t, rem) - 4usize];
2511};
2512#[repr(C)]
2513#[derive(Debug, Copy, Clone)]
2514pub struct ldiv_t {
2515 pub quot: ::std::os::raw::c_long,
2516 pub rem: ::std::os::raw::c_long,
2517}
2518const _: () = {
2519 ["Size of ldiv_t"][::std::mem::size_of::<ldiv_t>() - 16usize];
2520 ["Alignment of ldiv_t"][::std::mem::align_of::<ldiv_t>() - 8usize];
2521 ["Offset of field: ldiv_t::quot"][::std::mem::offset_of!(ldiv_t, quot) - 0usize];
2522 ["Offset of field: ldiv_t::rem"][::std::mem::offset_of!(ldiv_t, rem) - 8usize];
2523};
2524#[repr(C)]
2525#[derive(Debug, Copy, Clone)]
2526pub struct lldiv_t {
2527 pub quot: ::std::os::raw::c_longlong,
2528 pub rem: ::std::os::raw::c_longlong,
2529}
2530const _: () = {
2531 ["Size of lldiv_t"][::std::mem::size_of::<lldiv_t>() - 16usize];
2532 ["Alignment of lldiv_t"][::std::mem::align_of::<lldiv_t>() - 8usize];
2533 ["Offset of field: lldiv_t::quot"][::std::mem::offset_of!(lldiv_t, quot) - 0usize];
2534 ["Offset of field: lldiv_t::rem"][::std::mem::offset_of!(lldiv_t, rem) - 8usize];
2535};
2536extern "C" {
2537 pub static mut __mb_cur_max: ::std::os::raw::c_int;
2538}
2539pub type malloc_type_id_t = ::std::os::raw::c_ulonglong;
2540extern "C" {
2541 pub fn malloc_type_malloc(
2542 size: usize,
2543 type_id: malloc_type_id_t,
2544 ) -> *mut ::std::os::raw::c_void;
2545}
2546extern "C" {
2547 pub fn malloc_type_calloc(
2548 count: usize,
2549 size: usize,
2550 type_id: malloc_type_id_t,
2551 ) -> *mut ::std::os::raw::c_void;
2552}
2553extern "C" {
2554 pub fn malloc_type_free(ptr: *mut ::std::os::raw::c_void, type_id: malloc_type_id_t);
2555}
2556extern "C" {
2557 pub fn malloc_type_realloc(
2558 ptr: *mut ::std::os::raw::c_void,
2559 size: usize,
2560 type_id: malloc_type_id_t,
2561 ) -> *mut ::std::os::raw::c_void;
2562}
2563extern "C" {
2564 pub fn malloc_type_valloc(
2565 size: usize,
2566 type_id: malloc_type_id_t,
2567 ) -> *mut ::std::os::raw::c_void;
2568}
2569extern "C" {
2570 pub fn malloc_type_aligned_alloc(
2571 alignment: usize,
2572 size: usize,
2573 type_id: malloc_type_id_t,
2574 ) -> *mut ::std::os::raw::c_void;
2575}
2576extern "C" {
2577 pub fn malloc_type_posix_memalign(
2578 memptr: *mut *mut ::std::os::raw::c_void,
2579 alignment: usize,
2580 size: usize,
2581 type_id: malloc_type_id_t,
2582 ) -> ::std::os::raw::c_int;
2583}
2584#[repr(C)]
2585#[derive(Debug, Copy, Clone)]
2586pub struct _malloc_zone_t {
2587 _unused: [u8; 0],
2588}
2589pub type malloc_zone_t = _malloc_zone_t;
2590extern "C" {
2591 pub fn malloc_type_zone_malloc(
2592 zone: *mut malloc_zone_t,
2593 size: usize,
2594 type_id: malloc_type_id_t,
2595 ) -> *mut ::std::os::raw::c_void;
2596}
2597extern "C" {
2598 pub fn malloc_type_zone_calloc(
2599 zone: *mut malloc_zone_t,
2600 count: usize,
2601 size: usize,
2602 type_id: malloc_type_id_t,
2603 ) -> *mut ::std::os::raw::c_void;
2604}
2605extern "C" {
2606 pub fn malloc_type_zone_free(
2607 zone: *mut malloc_zone_t,
2608 ptr: *mut ::std::os::raw::c_void,
2609 type_id: malloc_type_id_t,
2610 );
2611}
2612extern "C" {
2613 pub fn malloc_type_zone_realloc(
2614 zone: *mut malloc_zone_t,
2615 ptr: *mut ::std::os::raw::c_void,
2616 size: usize,
2617 type_id: malloc_type_id_t,
2618 ) -> *mut ::std::os::raw::c_void;
2619}
2620extern "C" {
2621 pub fn malloc_type_zone_valloc(
2622 zone: *mut malloc_zone_t,
2623 size: usize,
2624 type_id: malloc_type_id_t,
2625 ) -> *mut ::std::os::raw::c_void;
2626}
2627extern "C" {
2628 pub fn malloc_type_zone_memalign(
2629 zone: *mut malloc_zone_t,
2630 alignment: usize,
2631 size: usize,
2632 type_id: malloc_type_id_t,
2633 ) -> *mut ::std::os::raw::c_void;
2634}
2635extern "C" {
2636 pub fn malloc(__size: usize) -> *mut ::std::os::raw::c_void;
2637}
2638extern "C" {
2639 pub fn calloc(__count: usize, __size: usize) -> *mut ::std::os::raw::c_void;
2640}
2641extern "C" {
2642 pub fn free(arg1: *mut ::std::os::raw::c_void);
2643}
2644extern "C" {
2645 pub fn realloc(
2646 __ptr: *mut ::std::os::raw::c_void,
2647 __size: usize,
2648 ) -> *mut ::std::os::raw::c_void;
2649}
2650extern "C" {
2651 pub fn reallocf(
2652 __ptr: *mut ::std::os::raw::c_void,
2653 __size: usize,
2654 ) -> *mut ::std::os::raw::c_void;
2655}
2656extern "C" {
2657 pub fn valloc(__size: usize) -> *mut ::std::os::raw::c_void;
2658}
2659extern "C" {
2660 pub fn aligned_alloc(__alignment: usize, __size: usize) -> *mut ::std::os::raw::c_void;
2661}
2662extern "C" {
2663 pub fn posix_memalign(
2664 __memptr: *mut *mut ::std::os::raw::c_void,
2665 __alignment: usize,
2666 __size: usize,
2667 ) -> ::std::os::raw::c_int;
2668}
2669extern "C" {
2670 pub fn abort() -> !;
2671}
2672extern "C" {
2673 pub fn abs(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
2674}
2675extern "C" {
2676 pub fn atexit(arg1: ::std::option::Option<unsafe extern "C" fn()>) -> ::std::os::raw::c_int;
2677}
2678extern "C" {
2679 pub fn at_quick_exit(
2680 arg1: ::std::option::Option<unsafe extern "C" fn()>,
2681 ) -> ::std::os::raw::c_int;
2682}
2683extern "C" {
2684 pub fn atof(arg1: *const ::std::os::raw::c_char) -> f64;
2685}
2686extern "C" {
2687 pub fn atoi(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
2688}
2689extern "C" {
2690 pub fn atol(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_long;
2691}
2692extern "C" {
2693 pub fn atoll(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_longlong;
2694}
2695extern "C" {
2696 pub fn bsearch(
2697 __key: *const ::std::os::raw::c_void,
2698 __base: *const ::std::os::raw::c_void,
2699 __nel: usize,
2700 __width: usize,
2701 __compar: ::std::option::Option<
2702 unsafe extern "C" fn(
2703 arg1: *const ::std::os::raw::c_void,
2704 arg2: *const ::std::os::raw::c_void,
2705 ) -> ::std::os::raw::c_int,
2706 >,
2707 ) -> *mut ::std::os::raw::c_void;
2708}
2709extern "C" {
2710 pub fn div(arg1: ::std::os::raw::c_int, arg2: ::std::os::raw::c_int) -> div_t;
2711}
2712extern "C" {
2713 pub fn exit(arg1: ::std::os::raw::c_int) -> !;
2714}
2715extern "C" {
2716 pub fn getenv(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char;
2717}
2718extern "C" {
2719 pub fn labs(arg1: ::std::os::raw::c_long) -> ::std::os::raw::c_long;
2720}
2721extern "C" {
2722 pub fn ldiv(arg1: ::std::os::raw::c_long, arg2: ::std::os::raw::c_long) -> ldiv_t;
2723}
2724extern "C" {
2725 pub fn llabs(arg1: ::std::os::raw::c_longlong) -> ::std::os::raw::c_longlong;
2726}
2727extern "C" {
2728 pub fn lldiv(arg1: ::std::os::raw::c_longlong, arg2: ::std::os::raw::c_longlong) -> lldiv_t;
2729}
2730extern "C" {
2731 pub fn mblen(__s: *const ::std::os::raw::c_char, __n: usize) -> ::std::os::raw::c_int;
2732}
2733extern "C" {
2734 pub fn mbstowcs(arg1: *mut u32, arg2: *const ::std::os::raw::c_char, arg3: usize) -> usize;
2735}
2736extern "C" {
2737 pub fn mbtowc(
2738 arg1: *mut u32,
2739 arg2: *const ::std::os::raw::c_char,
2740 arg3: usize,
2741 ) -> ::std::os::raw::c_int;
2742}
2743extern "C" {
2744 pub fn qsort(
2745 __base: *mut ::std::os::raw::c_void,
2746 __nel: usize,
2747 __width: usize,
2748 __compar: ::std::option::Option<
2749 unsafe extern "C" fn(
2750 arg1: *const ::std::os::raw::c_void,
2751 arg2: *const ::std::os::raw::c_void,
2752 ) -> ::std::os::raw::c_int,
2753 >,
2754 );
2755}
2756extern "C" {
2757 pub fn quick_exit(arg1: ::std::os::raw::c_int) -> !;
2758}
2759extern "C" {
2760 pub fn rand() -> ::std::os::raw::c_int;
2761}
2762extern "C" {
2763 pub fn srand(arg1: ::std::os::raw::c_uint);
2764}
2765extern "C" {
2766 pub fn strtod(
2767 arg1: *const ::std::os::raw::c_char,
2768 arg2: *mut *mut ::std::os::raw::c_char,
2769 ) -> f64;
2770}
2771extern "C" {
2772 pub fn strtof(
2773 arg1: *const ::std::os::raw::c_char,
2774 arg2: *mut *mut ::std::os::raw::c_char,
2775 ) -> f32;
2776}
2777extern "C" {
2778 pub fn strtol(
2779 __str: *const ::std::os::raw::c_char,
2780 __endptr: *mut *mut ::std::os::raw::c_char,
2781 __base: ::std::os::raw::c_int,
2782 ) -> ::std::os::raw::c_long;
2783}
2784extern "C" {
2785 pub fn strtold(
2786 arg1: *const ::std::os::raw::c_char,
2787 arg2: *mut *mut ::std::os::raw::c_char,
2788 ) -> f64;
2789}
2790extern "C" {
2791 pub fn strtoll(
2792 __str: *const ::std::os::raw::c_char,
2793 __endptr: *mut *mut ::std::os::raw::c_char,
2794 __base: ::std::os::raw::c_int,
2795 ) -> ::std::os::raw::c_longlong;
2796}
2797extern "C" {
2798 pub fn strtoul(
2799 __str: *const ::std::os::raw::c_char,
2800 __endptr: *mut *mut ::std::os::raw::c_char,
2801 __base: ::std::os::raw::c_int,
2802 ) -> ::std::os::raw::c_ulong;
2803}
2804extern "C" {
2805 pub fn strtoull(
2806 __str: *const ::std::os::raw::c_char,
2807 __endptr: *mut *mut ::std::os::raw::c_char,
2808 __base: ::std::os::raw::c_int,
2809 ) -> ::std::os::raw::c_ulonglong;
2810}
2811extern "C" {
2812 pub fn system(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
2813}
2814extern "C" {
2815 pub fn wcstombs(arg1: *mut ::std::os::raw::c_char, arg2: *const u32, arg3: usize) -> usize;
2816}
2817extern "C" {
2818 pub fn wctomb(arg1: *mut ::std::os::raw::c_char, arg2: u32) -> ::std::os::raw::c_int;
2819}
2820extern "C" {
2821 pub fn _Exit(arg1: ::std::os::raw::c_int) -> !;
2822}
2823extern "C" {
2824 pub fn a64l(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_long;
2825}
2826extern "C" {
2827 pub fn drand48() -> f64;
2828}
2829extern "C" {
2830 pub fn ecvt(
2831 arg1: f64,
2832 arg2: ::std::os::raw::c_int,
2833 arg3: *mut ::std::os::raw::c_int,
2834 arg4: *mut ::std::os::raw::c_int,
2835 ) -> *mut ::std::os::raw::c_char;
2836}
2837extern "C" {
2838 pub fn erand48(arg1: *mut ::std::os::raw::c_ushort) -> f64;
2839}
2840extern "C" {
2841 pub fn fcvt(
2842 arg1: f64,
2843 arg2: ::std::os::raw::c_int,
2844 arg3: *mut ::std::os::raw::c_int,
2845 arg4: *mut ::std::os::raw::c_int,
2846 ) -> *mut ::std::os::raw::c_char;
2847}
2848extern "C" {
2849 pub fn gcvt(
2850 arg1: f64,
2851 arg2: ::std::os::raw::c_int,
2852 arg3: *mut ::std::os::raw::c_char,
2853 ) -> *mut ::std::os::raw::c_char;
2854}
2855extern "C" {
2856 pub fn getsubopt(
2857 arg1: *mut *mut ::std::os::raw::c_char,
2858 arg2: *const *mut ::std::os::raw::c_char,
2859 arg3: *mut *mut ::std::os::raw::c_char,
2860 ) -> ::std::os::raw::c_int;
2861}
2862extern "C" {
2863 pub fn grantpt(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
2864}
2865extern "C" {
2866 pub fn initstate(
2867 arg1: ::std::os::raw::c_uint,
2868 arg2: *mut ::std::os::raw::c_char,
2869 arg3: usize,
2870 ) -> *mut ::std::os::raw::c_char;
2871}
2872extern "C" {
2873 pub fn jrand48(arg1: *mut ::std::os::raw::c_ushort) -> ::std::os::raw::c_long;
2874}
2875extern "C" {
2876 pub fn l64a(arg1: ::std::os::raw::c_long) -> *mut ::std::os::raw::c_char;
2877}
2878extern "C" {
2879 pub fn lcong48(arg1: *mut ::std::os::raw::c_ushort);
2880}
2881extern "C" {
2882 pub fn lrand48() -> ::std::os::raw::c_long;
2883}
2884extern "C" {
2885 pub fn mktemp(arg1: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char;
2886}
2887extern "C" {
2888 pub fn mkstemp(arg1: *mut ::std::os::raw::c_char) -> ::std::os::raw::c_int;
2889}
2890extern "C" {
2891 pub fn mrand48() -> ::std::os::raw::c_long;
2892}
2893extern "C" {
2894 pub fn nrand48(arg1: *mut ::std::os::raw::c_ushort) -> ::std::os::raw::c_long;
2895}
2896extern "C" {
2897 pub fn posix_openpt(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
2898}
2899extern "C" {
2900 pub fn ptsname(arg1: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char;
2901}
2902extern "C" {
2903 pub fn ptsname_r(
2904 fildes: ::std::os::raw::c_int,
2905 buffer: *mut ::std::os::raw::c_char,
2906 buflen: usize,
2907 ) -> ::std::os::raw::c_int;
2908}
2909extern "C" {
2910 pub fn putenv(arg1: *mut ::std::os::raw::c_char) -> ::std::os::raw::c_int;
2911}
2912extern "C" {
2913 pub fn random() -> ::std::os::raw::c_long;
2914}
2915extern "C" {
2916 pub fn rand_r(arg1: *mut ::std::os::raw::c_uint) -> ::std::os::raw::c_int;
2917}
2918extern "C" {
2919 #[link_name = "\u{1}_realpath$DARWIN_EXTSN"]
2920 pub fn realpath(
2921 arg1: *const ::std::os::raw::c_char,
2922 arg2: *mut ::std::os::raw::c_char,
2923 ) -> *mut ::std::os::raw::c_char;
2924}
2925extern "C" {
2926 pub fn seed48(arg1: *mut ::std::os::raw::c_ushort) -> *mut ::std::os::raw::c_ushort;
2927}
2928extern "C" {
2929 pub fn setenv(
2930 __name: *const ::std::os::raw::c_char,
2931 __value: *const ::std::os::raw::c_char,
2932 __overwrite: ::std::os::raw::c_int,
2933 ) -> ::std::os::raw::c_int;
2934}
2935extern "C" {
2936 pub fn setkey(arg1: *const ::std::os::raw::c_char);
2937}
2938extern "C" {
2939 pub fn setstate(arg1: *const ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char;
2940}
2941extern "C" {
2942 pub fn srand48(arg1: ::std::os::raw::c_long);
2943}
2944extern "C" {
2945 pub fn srandom(arg1: ::std::os::raw::c_uint);
2946}
2947extern "C" {
2948 pub fn unlockpt(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
2949}
2950extern "C" {
2951 pub fn unsetenv(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
2952}
2953pub type dev_t = __darwin_dev_t;
2954pub type mode_t = __darwin_mode_t;
2955extern "C" {
2956 pub fn arc4random() -> u32;
2957}
2958extern "C" {
2959 pub fn arc4random_addrandom(arg1: *mut ::std::os::raw::c_uchar, arg2: ::std::os::raw::c_int);
2960}
2961extern "C" {
2962 pub fn arc4random_buf(__buf: *mut ::std::os::raw::c_void, __nbytes: usize);
2963}
2964extern "C" {
2965 pub fn arc4random_stir();
2966}
2967extern "C" {
2968 pub fn arc4random_uniform(__upper_bound: u32) -> u32;
2969}
2970extern "C" {
2971 pub fn atexit_b(arg1: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int;
2972}
2973extern "C" {
2974 pub fn bsearch_b(
2975 __key: *const ::std::os::raw::c_void,
2976 __base: *const ::std::os::raw::c_void,
2977 __nel: usize,
2978 __width: usize,
2979 __compar: *mut ::std::os::raw::c_void,
2980 ) -> *mut ::std::os::raw::c_void;
2981}
2982extern "C" {
2983 pub fn cgetcap(
2984 arg1: *mut ::std::os::raw::c_char,
2985 arg2: *const ::std::os::raw::c_char,
2986 arg3: ::std::os::raw::c_int,
2987 ) -> *mut ::std::os::raw::c_char;
2988}
2989extern "C" {
2990 pub fn cgetclose() -> ::std::os::raw::c_int;
2991}
2992extern "C" {
2993 pub fn cgetent(
2994 arg1: *mut *mut ::std::os::raw::c_char,
2995 arg2: *mut *mut ::std::os::raw::c_char,
2996 arg3: *const ::std::os::raw::c_char,
2997 ) -> ::std::os::raw::c_int;
2998}
2999extern "C" {
3000 pub fn cgetfirst(
3001 arg1: *mut *mut ::std::os::raw::c_char,
3002 arg2: *mut *mut ::std::os::raw::c_char,
3003 ) -> ::std::os::raw::c_int;
3004}
3005extern "C" {
3006 pub fn cgetmatch(
3007 arg1: *const ::std::os::raw::c_char,
3008 arg2: *const ::std::os::raw::c_char,
3009 ) -> ::std::os::raw::c_int;
3010}
3011extern "C" {
3012 pub fn cgetnext(
3013 arg1: *mut *mut ::std::os::raw::c_char,
3014 arg2: *mut *mut ::std::os::raw::c_char,
3015 ) -> ::std::os::raw::c_int;
3016}
3017extern "C" {
3018 pub fn cgetnum(
3019 arg1: *mut ::std::os::raw::c_char,
3020 arg2: *const ::std::os::raw::c_char,
3021 arg3: *mut ::std::os::raw::c_long,
3022 ) -> ::std::os::raw::c_int;
3023}
3024extern "C" {
3025 pub fn cgetset(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
3026}
3027extern "C" {
3028 pub fn cgetstr(
3029 arg1: *mut ::std::os::raw::c_char,
3030 arg2: *const ::std::os::raw::c_char,
3031 arg3: *mut *mut ::std::os::raw::c_char,
3032 ) -> ::std::os::raw::c_int;
3033}
3034extern "C" {
3035 pub fn cgetustr(
3036 arg1: *mut ::std::os::raw::c_char,
3037 arg2: *const ::std::os::raw::c_char,
3038 arg3: *mut *mut ::std::os::raw::c_char,
3039 ) -> ::std::os::raw::c_int;
3040}
3041extern "C" {
3042 pub fn daemon(
3043 arg1: ::std::os::raw::c_int,
3044 arg2: ::std::os::raw::c_int,
3045 ) -> ::std::os::raw::c_int;
3046}
3047extern "C" {
3048 pub fn devname(arg1: dev_t, arg2: mode_t) -> *mut ::std::os::raw::c_char;
3049}
3050extern "C" {
3051 pub fn devname_r(
3052 arg1: dev_t,
3053 arg2: mode_t,
3054 buf: *mut ::std::os::raw::c_char,
3055 len: ::std::os::raw::c_int,
3056 ) -> *mut ::std::os::raw::c_char;
3057}
3058extern "C" {
3059 pub fn getbsize(
3060 arg1: *mut ::std::os::raw::c_int,
3061 arg2: *mut ::std::os::raw::c_long,
3062 ) -> *mut ::std::os::raw::c_char;
3063}
3064extern "C" {
3065 pub fn getloadavg(arg1: *mut f64, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
3066}
3067extern "C" {
3068 pub fn getprogname() -> *const ::std::os::raw::c_char;
3069}
3070extern "C" {
3071 pub fn setprogname(arg1: *const ::std::os::raw::c_char);
3072}
3073extern "C" {
3074 pub fn heapsort(
3075 __base: *mut ::std::os::raw::c_void,
3076 __nel: usize,
3077 __width: usize,
3078 __compar: ::std::option::Option<
3079 unsafe extern "C" fn(
3080 arg1: *const ::std::os::raw::c_void,
3081 arg2: *const ::std::os::raw::c_void,
3082 ) -> ::std::os::raw::c_int,
3083 >,
3084 ) -> ::std::os::raw::c_int;
3085}
3086extern "C" {
3087 pub fn heapsort_b(
3088 __base: *mut ::std::os::raw::c_void,
3089 __nel: usize,
3090 __width: usize,
3091 __compar: *mut ::std::os::raw::c_void,
3092 ) -> ::std::os::raw::c_int;
3093}
3094extern "C" {
3095 pub fn mergesort(
3096 __base: *mut ::std::os::raw::c_void,
3097 __nel: usize,
3098 __width: usize,
3099 __compar: ::std::option::Option<
3100 unsafe extern "C" fn(
3101 arg1: *const ::std::os::raw::c_void,
3102 arg2: *const ::std::os::raw::c_void,
3103 ) -> ::std::os::raw::c_int,
3104 >,
3105 ) -> ::std::os::raw::c_int;
3106}
3107extern "C" {
3108 pub fn mergesort_b(
3109 __base: *mut ::std::os::raw::c_void,
3110 __nel: usize,
3111 __width: usize,
3112 __compar: *mut ::std::os::raw::c_void,
3113 ) -> ::std::os::raw::c_int;
3114}
3115extern "C" {
3116 pub fn psort(
3117 __base: *mut ::std::os::raw::c_void,
3118 __nel: usize,
3119 __width: usize,
3120 __compar: ::std::option::Option<
3121 unsafe extern "C" fn(
3122 arg1: *const ::std::os::raw::c_void,
3123 arg2: *const ::std::os::raw::c_void,
3124 ) -> ::std::os::raw::c_int,
3125 >,
3126 );
3127}
3128extern "C" {
3129 pub fn psort_b(
3130 __base: *mut ::std::os::raw::c_void,
3131 __nel: usize,
3132 __width: usize,
3133 __compar: *mut ::std::os::raw::c_void,
3134 );
3135}
3136extern "C" {
3137 pub fn psort_r(
3138 __base: *mut ::std::os::raw::c_void,
3139 __nel: usize,
3140 __width: usize,
3141 arg1: *mut ::std::os::raw::c_void,
3142 __compar: ::std::option::Option<
3143 unsafe extern "C" fn(
3144 arg1: *mut ::std::os::raw::c_void,
3145 arg2: *const ::std::os::raw::c_void,
3146 arg3: *const ::std::os::raw::c_void,
3147 ) -> ::std::os::raw::c_int,
3148 >,
3149 );
3150}
3151extern "C" {
3152 pub fn qsort_b(
3153 __base: *mut ::std::os::raw::c_void,
3154 __nel: usize,
3155 __width: usize,
3156 __compar: *mut ::std::os::raw::c_void,
3157 );
3158}
3159extern "C" {
3160 pub fn qsort_r(
3161 __base: *mut ::std::os::raw::c_void,
3162 __nel: usize,
3163 __width: usize,
3164 arg1: *mut ::std::os::raw::c_void,
3165 __compar: ::std::option::Option<
3166 unsafe extern "C" fn(
3167 arg1: *mut ::std::os::raw::c_void,
3168 arg2: *const ::std::os::raw::c_void,
3169 arg3: *const ::std::os::raw::c_void,
3170 ) -> ::std::os::raw::c_int,
3171 >,
3172 );
3173}
3174extern "C" {
3175 pub fn radixsort(
3176 __base: *mut *const ::std::os::raw::c_uchar,
3177 __nel: ::std::os::raw::c_int,
3178 __table: *const ::std::os::raw::c_uchar,
3179 __endbyte: ::std::os::raw::c_uint,
3180 ) -> ::std::os::raw::c_int;
3181}
3182extern "C" {
3183 pub fn rpmatch(arg1: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
3184}
3185extern "C" {
3186 pub fn sradixsort(
3187 __base: *mut *const ::std::os::raw::c_uchar,
3188 __nel: ::std::os::raw::c_int,
3189 __table: *const ::std::os::raw::c_uchar,
3190 __endbyte: ::std::os::raw::c_uint,
3191 ) -> ::std::os::raw::c_int;
3192}
3193extern "C" {
3194 pub fn sranddev();
3195}
3196extern "C" {
3197 pub fn srandomdev();
3198}
3199extern "C" {
3200 pub fn strtonum(
3201 __numstr: *const ::std::os::raw::c_char,
3202 __minval: ::std::os::raw::c_longlong,
3203 __maxval: ::std::os::raw::c_longlong,
3204 __errstrp: *mut *const ::std::os::raw::c_char,
3205 ) -> ::std::os::raw::c_longlong;
3206}
3207extern "C" {
3208 pub fn strtoq(
3209 __str: *const ::std::os::raw::c_char,
3210 __endptr: *mut *mut ::std::os::raw::c_char,
3211 __base: ::std::os::raw::c_int,
3212 ) -> ::std::os::raw::c_longlong;
3213}
3214extern "C" {
3215 pub fn strtouq(
3216 __str: *const ::std::os::raw::c_char,
3217 __endptr: *mut *mut ::std::os::raw::c_char,
3218 __base: ::std::os::raw::c_int,
3219 ) -> ::std::os::raw::c_ulonglong;
3220}
3221extern "C" {
3222 pub static mut suboptarg: *mut ::std::os::raw::c_char;
3223}
3224extern "C" {
3225 pub fn swift_dtoa_optimal_binary16_p(
3226 arg1: *const ::std::os::raw::c_void,
3227 dest: *mut ::std::os::raw::c_char,
3228 length: usize,
3229 ) -> usize;
3230}
3231extern "C" {
3232 pub fn swift_dtoa_optimal_binary16(
3233 arg1: __BindgenFloat16,
3234 dest: *mut ::std::os::raw::c_char,
3235 length: usize,
3236 ) -> usize;
3237}
3238extern "C" {
3239 pub fn swift_dtoa_optimal_binary32_p(
3240 arg1: *const ::std::os::raw::c_void,
3241 dest: *mut ::std::os::raw::c_char,
3242 length: usize,
3243 ) -> usize;
3244}
3245extern "C" {
3246 pub fn swift_dtoa_optimal_float(
3247 arg1: f32,
3248 dest: *mut ::std::os::raw::c_char,
3249 length: usize,
3250 ) -> usize;
3251}
3252extern "C" {
3253 pub fn swift_dtoa_optimal_binary64_p(
3254 arg1: *const ::std::os::raw::c_void,
3255 dest: *mut ::std::os::raw::c_char,
3256 length: usize,
3257 ) -> usize;
3258}
3259extern "C" {
3260 pub fn swift_dtoa_optimal_double(
3261 arg1: f64,
3262 dest: *mut ::std::os::raw::c_char,
3263 length: usize,
3264 ) -> usize;
3265}
3266extern "C" {
3267 pub fn swift_dtoa_optimal_long_double(
3268 arg1: f64,
3269 dest: *mut ::std::os::raw::c_char,
3270 length: usize,
3271 ) -> usize;
3272}
3273pub type __builtin_va_list = *mut ::std::os::raw::c_char;
3274pub type __uint128_t = u128;