]> git.wh0rd.org - ICEs.git/blame - 490546/fxprintf.i.0
more
[ICEs.git] / 490546 / fxprintf.i.0
CommitLineData
bd3239d2
MF
1# 1 "fxprintf.c"
2# 1 "<command-line>"
3# 1 "./../include/libc-symbols.h" 1
4# 55 "./../include/libc-symbols.h"
5# 1 "/var/tmp/portage/sys-libs/glibc-2.15-r3/work/build-default-armv5te-iwmmxt-linux-gnueabi-nptl/config.h" 1
6# 56 "./../include/libc-symbols.h" 2
7# 815 "./../include/libc-symbols.h"
8# 1 "../sysdeps/wordsize-32/symbol-hacks.h" 1
9# 816 "./../include/libc-symbols.h" 2
10# 1 "<command-line>" 2
11# 1 "fxprintf.c"
12# 20 "fxprintf.c"
13# 1 "../include/assert.h" 1
14# 1 "../assert/assert.h" 1
15# 37 "../assert/assert.h"
16# 1 "../include/features.h" 1
17# 358 "../include/features.h"
18# 1 "../include/sys/cdefs.h" 1
19
20
21# 1 "../misc/sys/cdefs.h" 1
22# 378 "../misc/sys/cdefs.h"
23# 1 "../sysdeps/wordsize-32/bits/wordsize.h" 1
24# 379 "../misc/sys/cdefs.h" 2
25# 4 "../include/sys/cdefs.h" 2
26
27
28
29
30
31
32
33extern void __chk_fail (void) __attribute__ ((__noreturn__));
34
35
36# 359 "../include/features.h" 2
37# 382 "../include/features.h"
38# 1 "../include/gnu/stubs.h" 1
39# 383 "../include/features.h" 2
40# 38 "../assert/assert.h" 2
41# 66 "../assert/assert.h"
42
43
44
45extern void __assert_fail (__const char *__assertion, __const char *__file,
46 unsigned int __line, __const char *__function)
47 __attribute__ ((__nothrow__ )) __attribute__ ((__noreturn__));
48
49
50extern void __assert_perror_fail (int __errnum, __const char *__file,
51 unsigned int __line,
52 __const char *__function)
53 __attribute__ ((__nothrow__ )) __attribute__ ((__noreturn__));
54
55
56
57
58extern void __assert (const char *__assertion, const char *__file, int __line)
59 __attribute__ ((__nothrow__ )) __attribute__ ((__noreturn__));
60
61
62
63# 2 "../include/assert.h" 2
64
65
66
67
68extern void __assert_fail (__const char *__assertion, __const char *__file,
69 unsigned int __line, __const char *__function)
70 __attribute__ ((__nothrow__ )) __attribute__ ((__noreturn__));
71
72
73extern void __assert_perror_fail (int __errnum, __const char *__file,
74 unsigned int __line,
75 __const char *__function)
76 __attribute__ ((__nothrow__ )) __attribute__ ((__noreturn__));
77
78
79extern void __assert_fail_base (const char *fmt, const char *assertion,
80 const char *file, unsigned int line,
81 const char *function)
82 __attribute__ ((__nothrow__ )) __attribute__ ((__noreturn__));
83
84
85
86
87# 21 "fxprintf.c" 2
88# 1 "../include/ctype.h" 1
89
90
91
92extern void __ctype_init (void);
93
94
95extern int __isctype (int __c, int __mask);
96# 18 "../include/ctype.h"
97# 1 "../include/../locale/localeinfo.h" 1
98# 24 "../include/../locale/localeinfo.h"
99# 1 "/usr/lib/gcc/armv5te-iwmmxt-linux-gnueabi/4.7.3/include/stddef.h" 1 3 4
100# 150 "/usr/lib/gcc/armv5te-iwmmxt-linux-gnueabi/4.7.3/include/stddef.h" 3 4
101typedef int ptrdiff_t;
102# 213 "/usr/lib/gcc/armv5te-iwmmxt-linux-gnueabi/4.7.3/include/stddef.h" 3 4
103typedef unsigned int size_t;
104# 325 "/usr/lib/gcc/armv5te-iwmmxt-linux-gnueabi/4.7.3/include/stddef.h" 3 4
105typedef unsigned int wchar_t;
106# 25 "../include/../locale/localeinfo.h" 2
107# 1 "../include/langinfo.h" 1
108
109
110# 1 "../locale/langinfo.h" 1
111# 24 "../locale/langinfo.h"
112# 1 "../include/nl_types.h" 1
113# 1 "../catgets/nl_types.h" 1
114# 31 "../catgets/nl_types.h"
115
116
117
118typedef void *nl_catd;
119
120
121typedef int nl_item;
122
123
124
125
126
127extern nl_catd catopen (__const char *__cat_name, int __flag) ;
128
129
130
131extern char *catgets (nl_catd __catalog, int __set, int __number,
132 __const char *__string) __attribute__ ((__nothrow__ )) ;
133
134
135extern int catclose (nl_catd __catalog) __attribute__ ((__nothrow__ )) ;
136
137
138# 1 "../include/nl_types.h" 2
139# 25 "../locale/langinfo.h" 2
140
141# 1 "../include/bits/locale.h" 1
142# 1 "../locale/bits/locale.h" 1
143# 27 "../locale/bits/locale.h"
144enum
145{
146 __LC_CTYPE = 0,
147 __LC_NUMERIC = 1,
148 __LC_TIME = 2,
149 __LC_COLLATE = 3,
150 __LC_MONETARY = 4,
151 __LC_MESSAGES = 5,
152 __LC_ALL = 6,
153 __LC_PAPER = 7,
154 __LC_NAME = 8,
155 __LC_ADDRESS = 9,
156 __LC_TELEPHONE = 10,
157 __LC_MEASUREMENT = 11,
158 __LC_IDENTIFICATION = 12
159};
160# 1 "../include/bits/locale.h" 2
161# 27 "../locale/langinfo.h" 2
162
163
164
165# 42 "../locale/langinfo.h"
166enum
167{
168
169
170
171 ABDAY_1 = (((__LC_TIME) << 16) | (0)),
172
173 ABDAY_2,
174
175 ABDAY_3,
176
177 ABDAY_4,
178
179 ABDAY_5,
180
181 ABDAY_6,
182
183 ABDAY_7,
184
185
186
187 DAY_1,
188
189 DAY_2,
190
191 DAY_3,
192
193 DAY_4,
194
195 DAY_5,
196
197 DAY_6,
198
199 DAY_7,
200
201
202
203 ABMON_1,
204
205 ABMON_2,
206
207 ABMON_3,
208
209 ABMON_4,
210
211 ABMON_5,
212
213 ABMON_6,
214
215 ABMON_7,
216
217 ABMON_8,
218
219 ABMON_9,
220
221 ABMON_10,
222
223 ABMON_11,
224
225 ABMON_12,
226
227
228
229 MON_1,
230
231 MON_2,
232
233 MON_3,
234
235 MON_4,
236
237 MON_5,
238
239 MON_6,
240
241 MON_7,
242
243 MON_8,
244
245 MON_9,
246
247 MON_10,
248
249 MON_11,
250
251 MON_12,
252
253
254 AM_STR,
255
256 PM_STR,
257
258
259 D_T_FMT,
260
261 D_FMT,
262
263 T_FMT,
264
265 T_FMT_AMPM,
266
267
268 ERA,
269
270 __ERA_YEAR,
271
272
273
274 ERA_D_FMT,
275
276 ALT_DIGITS,
277
278 ERA_D_T_FMT,
279
280 ERA_T_FMT,
281
282
283 _NL_TIME_ERA_NUM_ENTRIES,
284 _NL_TIME_ERA_ENTRIES,
285
286 _NL_WABDAY_1,
287 _NL_WABDAY_2,
288 _NL_WABDAY_3,
289 _NL_WABDAY_4,
290 _NL_WABDAY_5,
291 _NL_WABDAY_6,
292 _NL_WABDAY_7,
293
294
295 _NL_WDAY_1,
296 _NL_WDAY_2,
297 _NL_WDAY_3,
298 _NL_WDAY_4,
299 _NL_WDAY_5,
300 _NL_WDAY_6,
301 _NL_WDAY_7,
302
303
304 _NL_WABMON_1,
305 _NL_WABMON_2,
306 _NL_WABMON_3,
307 _NL_WABMON_4,
308 _NL_WABMON_5,
309 _NL_WABMON_6,
310 _NL_WABMON_7,
311 _NL_WABMON_8,
312 _NL_WABMON_9,
313 _NL_WABMON_10,
314 _NL_WABMON_11,
315 _NL_WABMON_12,
316
317
318 _NL_WMON_1,
319 _NL_WMON_2,
320 _NL_WMON_3,
321 _NL_WMON_4,
322 _NL_WMON_5,
323 _NL_WMON_6,
324 _NL_WMON_7,
325 _NL_WMON_8,
326 _NL_WMON_9,
327 _NL_WMON_10,
328 _NL_WMON_11,
329 _NL_WMON_12,
330
331 _NL_WAM_STR,
332 _NL_WPM_STR,
333
334 _NL_WD_T_FMT,
335 _NL_WD_FMT,
336 _NL_WT_FMT,
337 _NL_WT_FMT_AMPM,
338
339 _NL_WERA_YEAR,
340 _NL_WERA_D_FMT,
341 _NL_WALT_DIGITS,
342 _NL_WERA_D_T_FMT,
343 _NL_WERA_T_FMT,
344
345 _NL_TIME_WEEK_NDAYS,
346 _NL_TIME_WEEK_1STDAY,
347 _NL_TIME_WEEK_1STWEEK,
348 _NL_TIME_FIRST_WEEKDAY,
349 _NL_TIME_FIRST_WORKDAY,
350 _NL_TIME_CAL_DIRECTION,
351 _NL_TIME_TIMEZONE,
352
353 _DATE_FMT,
354
355 _NL_W_DATE_FMT,
356
357 _NL_TIME_CODESET,
358
359 _NL_NUM_LC_TIME,
360
361
362
363
364 _NL_COLLATE_NRULES = (((__LC_COLLATE) << 16) | (0)),
365 _NL_COLLATE_RULESETS,
366 _NL_COLLATE_TABLEMB,
367 _NL_COLLATE_WEIGHTMB,
368 _NL_COLLATE_EXTRAMB,
369 _NL_COLLATE_INDIRECTMB,
370 _NL_COLLATE_GAP1,
371 _NL_COLLATE_GAP2,
372 _NL_COLLATE_GAP3,
373 _NL_COLLATE_TABLEWC,
374 _NL_COLLATE_WEIGHTWC,
375 _NL_COLLATE_EXTRAWC,
376 _NL_COLLATE_INDIRECTWC,
377 _NL_COLLATE_SYMB_HASH_SIZEMB,
378 _NL_COLLATE_SYMB_TABLEMB,
379 _NL_COLLATE_SYMB_EXTRAMB,
380 _NL_COLLATE_COLLSEQMB,
381 _NL_COLLATE_COLLSEQWC,
382 _NL_COLLATE_CODESET,
383 _NL_NUM_LC_COLLATE,
384
385
386
387
388 _NL_CTYPE_CLASS = (((__LC_CTYPE) << 16) | (0)),
389 _NL_CTYPE_TOUPPER,
390 _NL_CTYPE_GAP1,
391 _NL_CTYPE_TOLOWER,
392 _NL_CTYPE_GAP2,
393 _NL_CTYPE_CLASS32,
394 _NL_CTYPE_GAP3,
395 _NL_CTYPE_GAP4,
396 _NL_CTYPE_GAP5,
397 _NL_CTYPE_GAP6,
398 _NL_CTYPE_CLASS_NAMES,
399 _NL_CTYPE_MAP_NAMES,
400 _NL_CTYPE_WIDTH,
401 _NL_CTYPE_MB_CUR_MAX,
402 _NL_CTYPE_CODESET_NAME,
403 CODESET = _NL_CTYPE_CODESET_NAME,
404
405 _NL_CTYPE_TOUPPER32,
406 _NL_CTYPE_TOLOWER32,
407 _NL_CTYPE_CLASS_OFFSET,
408 _NL_CTYPE_MAP_OFFSET,
409 _NL_CTYPE_INDIGITS_MB_LEN,
410 _NL_CTYPE_INDIGITS0_MB,
411 _NL_CTYPE_INDIGITS1_MB,
412 _NL_CTYPE_INDIGITS2_MB,
413 _NL_CTYPE_INDIGITS3_MB,
414 _NL_CTYPE_INDIGITS4_MB,
415 _NL_CTYPE_INDIGITS5_MB,
416 _NL_CTYPE_INDIGITS6_MB,
417 _NL_CTYPE_INDIGITS7_MB,
418 _NL_CTYPE_INDIGITS8_MB,
419 _NL_CTYPE_INDIGITS9_MB,
420 _NL_CTYPE_INDIGITS_WC_LEN,
421 _NL_CTYPE_INDIGITS0_WC,
422 _NL_CTYPE_INDIGITS1_WC,
423 _NL_CTYPE_INDIGITS2_WC,
424 _NL_CTYPE_INDIGITS3_WC,
425 _NL_CTYPE_INDIGITS4_WC,
426 _NL_CTYPE_INDIGITS5_WC,
427 _NL_CTYPE_INDIGITS6_WC,
428 _NL_CTYPE_INDIGITS7_WC,
429 _NL_CTYPE_INDIGITS8_WC,
430 _NL_CTYPE_INDIGITS9_WC,
431 _NL_CTYPE_OUTDIGIT0_MB,
432 _NL_CTYPE_OUTDIGIT1_MB,
433 _NL_CTYPE_OUTDIGIT2_MB,
434 _NL_CTYPE_OUTDIGIT3_MB,
435 _NL_CTYPE_OUTDIGIT4_MB,
436 _NL_CTYPE_OUTDIGIT5_MB,
437 _NL_CTYPE_OUTDIGIT6_MB,
438 _NL_CTYPE_OUTDIGIT7_MB,
439 _NL_CTYPE_OUTDIGIT8_MB,
440 _NL_CTYPE_OUTDIGIT9_MB,
441 _NL_CTYPE_OUTDIGIT0_WC,
442 _NL_CTYPE_OUTDIGIT1_WC,
443 _NL_CTYPE_OUTDIGIT2_WC,
444 _NL_CTYPE_OUTDIGIT3_WC,
445 _NL_CTYPE_OUTDIGIT4_WC,
446 _NL_CTYPE_OUTDIGIT5_WC,
447 _NL_CTYPE_OUTDIGIT6_WC,
448 _NL_CTYPE_OUTDIGIT7_WC,
449 _NL_CTYPE_OUTDIGIT8_WC,
450 _NL_CTYPE_OUTDIGIT9_WC,
451 _NL_CTYPE_TRANSLIT_TAB_SIZE,
452 _NL_CTYPE_TRANSLIT_FROM_IDX,
453 _NL_CTYPE_TRANSLIT_FROM_TBL,
454 _NL_CTYPE_TRANSLIT_TO_IDX,
455 _NL_CTYPE_TRANSLIT_TO_TBL,
456 _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN,
457 _NL_CTYPE_TRANSLIT_DEFAULT_MISSING,
458 _NL_CTYPE_TRANSLIT_IGNORE_LEN,
459 _NL_CTYPE_TRANSLIT_IGNORE,
460 _NL_CTYPE_MAP_TO_NONASCII,
461 _NL_CTYPE_NONASCII_CASE,
462 _NL_CTYPE_EXTRA_MAP_1,
463 _NL_CTYPE_EXTRA_MAP_2,
464 _NL_CTYPE_EXTRA_MAP_3,
465 _NL_CTYPE_EXTRA_MAP_4,
466 _NL_CTYPE_EXTRA_MAP_5,
467 _NL_CTYPE_EXTRA_MAP_6,
468 _NL_CTYPE_EXTRA_MAP_7,
469 _NL_CTYPE_EXTRA_MAP_8,
470 _NL_CTYPE_EXTRA_MAP_9,
471 _NL_CTYPE_EXTRA_MAP_10,
472 _NL_CTYPE_EXTRA_MAP_11,
473 _NL_CTYPE_EXTRA_MAP_12,
474 _NL_CTYPE_EXTRA_MAP_13,
475 _NL_CTYPE_EXTRA_MAP_14,
476 _NL_NUM_LC_CTYPE,
477
478
479
480
481 __INT_CURR_SYMBOL = (((__LC_MONETARY) << 16) | (0)),
482
483
484
485 __CURRENCY_SYMBOL,
486
487
488
489 __MON_DECIMAL_POINT,
490
491
492
493 __MON_THOUSANDS_SEP,
494
495
496
497 __MON_GROUPING,
498
499
500
501 __POSITIVE_SIGN,
502
503
504
505 __NEGATIVE_SIGN,
506
507
508
509 __INT_FRAC_DIGITS,
510
511
512
513 __FRAC_DIGITS,
514
515
516
517 __P_CS_PRECEDES,
518
519
520
521 __P_SEP_BY_SPACE,
522
523
524
525 __N_CS_PRECEDES,
526
527
528
529 __N_SEP_BY_SPACE,
530
531
532
533 __P_SIGN_POSN,
534
535
536
537 __N_SIGN_POSN,
538
539
540
541 _NL_MONETARY_CRNCYSTR,
542
543 __INT_P_CS_PRECEDES,
544
545
546
547 __INT_P_SEP_BY_SPACE,
548
549
550
551 __INT_N_CS_PRECEDES,
552
553
554
555 __INT_N_SEP_BY_SPACE,
556
557
558
559 __INT_P_SIGN_POSN,
560
561
562
563 __INT_N_SIGN_POSN,
564
565
566
567 _NL_MONETARY_DUO_INT_CURR_SYMBOL,
568 _NL_MONETARY_DUO_CURRENCY_SYMBOL,
569 _NL_MONETARY_DUO_INT_FRAC_DIGITS,
570 _NL_MONETARY_DUO_FRAC_DIGITS,
571 _NL_MONETARY_DUO_P_CS_PRECEDES,
572 _NL_MONETARY_DUO_P_SEP_BY_SPACE,
573 _NL_MONETARY_DUO_N_CS_PRECEDES,
574 _NL_MONETARY_DUO_N_SEP_BY_SPACE,
575 _NL_MONETARY_DUO_INT_P_CS_PRECEDES,
576 _NL_MONETARY_DUO_INT_P_SEP_BY_SPACE,
577 _NL_MONETARY_DUO_INT_N_CS_PRECEDES,
578 _NL_MONETARY_DUO_INT_N_SEP_BY_SPACE,
579 _NL_MONETARY_DUO_P_SIGN_POSN,
580 _NL_MONETARY_DUO_N_SIGN_POSN,
581 _NL_MONETARY_DUO_INT_P_SIGN_POSN,
582 _NL_MONETARY_DUO_INT_N_SIGN_POSN,
583 _NL_MONETARY_UNO_VALID_FROM,
584 _NL_MONETARY_UNO_VALID_TO,
585 _NL_MONETARY_DUO_VALID_FROM,
586 _NL_MONETARY_DUO_VALID_TO,
587 _NL_MONETARY_CONVERSION_RATE,
588 _NL_MONETARY_DECIMAL_POINT_WC,
589 _NL_MONETARY_THOUSANDS_SEP_WC,
590 _NL_MONETARY_CODESET,
591 _NL_NUM_LC_MONETARY,
592
593
594
595 __DECIMAL_POINT = (((__LC_NUMERIC) << 16) | (0)),
596
597
598
599 RADIXCHAR = __DECIMAL_POINT,
600
601 __THOUSANDS_SEP,
602
603
604
605 THOUSEP = __THOUSANDS_SEP,
606
607 __GROUPING,
608
609
610
611 _NL_NUMERIC_DECIMAL_POINT_WC,
612 _NL_NUMERIC_THOUSANDS_SEP_WC,
613 _NL_NUMERIC_CODESET,
614 _NL_NUM_LC_NUMERIC,
615
616 __YESEXPR = (((__LC_MESSAGES) << 16) | (0)),
617
618 __NOEXPR,
619
620 __YESSTR,
621
622
623
624 __NOSTR,
625
626
627
628 _NL_MESSAGES_CODESET,
629 _NL_NUM_LC_MESSAGES,
630
631 _NL_PAPER_HEIGHT = (((__LC_PAPER) << 16) | (0)),
632 _NL_PAPER_WIDTH,
633 _NL_PAPER_CODESET,
634 _NL_NUM_LC_PAPER,
635
636 _NL_NAME_NAME_FMT = (((__LC_NAME) << 16) | (0)),
637 _NL_NAME_NAME_GEN,
638 _NL_NAME_NAME_MR,
639 _NL_NAME_NAME_MRS,
640 _NL_NAME_NAME_MISS,
641 _NL_NAME_NAME_MS,
642 _NL_NAME_CODESET,
643 _NL_NUM_LC_NAME,
644
645 _NL_ADDRESS_POSTAL_FMT = (((__LC_ADDRESS) << 16) | (0)),
646 _NL_ADDRESS_COUNTRY_NAME,
647 _NL_ADDRESS_COUNTRY_POST,
648 _NL_ADDRESS_COUNTRY_AB2,
649 _NL_ADDRESS_COUNTRY_AB3,
650 _NL_ADDRESS_COUNTRY_CAR,
651 _NL_ADDRESS_COUNTRY_NUM,
652 _NL_ADDRESS_COUNTRY_ISBN,
653 _NL_ADDRESS_LANG_NAME,
654 _NL_ADDRESS_LANG_AB,
655 _NL_ADDRESS_LANG_TERM,
656 _NL_ADDRESS_LANG_LIB,
657 _NL_ADDRESS_CODESET,
658 _NL_NUM_LC_ADDRESS,
659
660 _NL_TELEPHONE_TEL_INT_FMT = (((__LC_TELEPHONE) << 16) | (0)),
661 _NL_TELEPHONE_TEL_DOM_FMT,
662 _NL_TELEPHONE_INT_SELECT,
663 _NL_TELEPHONE_INT_PREFIX,
664 _NL_TELEPHONE_CODESET,
665 _NL_NUM_LC_TELEPHONE,
666
667 _NL_MEASUREMENT_MEASUREMENT = (((__LC_MEASUREMENT) << 16) | (0)),
668 _NL_MEASUREMENT_CODESET,
669 _NL_NUM_LC_MEASUREMENT,
670
671 _NL_IDENTIFICATION_TITLE = (((__LC_IDENTIFICATION) << 16) | (0)),
672 _NL_IDENTIFICATION_SOURCE,
673 _NL_IDENTIFICATION_ADDRESS,
674 _NL_IDENTIFICATION_CONTACT,
675 _NL_IDENTIFICATION_EMAIL,
676 _NL_IDENTIFICATION_TEL,
677 _NL_IDENTIFICATION_FAX,
678 _NL_IDENTIFICATION_LANGUAGE,
679 _NL_IDENTIFICATION_TERRITORY,
680 _NL_IDENTIFICATION_AUDIENCE,
681 _NL_IDENTIFICATION_APPLICATION,
682 _NL_IDENTIFICATION_ABBREVIATION,
683 _NL_IDENTIFICATION_REVISION,
684 _NL_IDENTIFICATION_DATE,
685 _NL_IDENTIFICATION_CATEGORY,
686 _NL_IDENTIFICATION_CODESET,
687 _NL_NUM_LC_IDENTIFICATION,
688
689
690 _NL_NUM
691};
692# 584 "../locale/langinfo.h"
693extern char *nl_langinfo (nl_item __item) __attribute__ ((__nothrow__ ));
694
695
696
697
698
699
700
701# 1 "../include/xlocale.h" 1
702# 1 "../locale/xlocale.h" 1
703# 28 "../locale/xlocale.h"
704typedef struct __locale_struct
705{
706
707 struct __locale_data *__locales[13];
708
709
710 const unsigned short int *__ctype_b;
711 const int *__ctype_tolower;
712 const int *__ctype_toupper;
713
714
715 const char *__names[13];
716} *__locale_t;
717
718
719typedef __locale_t locale_t;
720# 1 "../include/xlocale.h" 2
721# 593 "../locale/langinfo.h" 2
722
723
724extern char *nl_langinfo_l (nl_item __item, __locale_t __l);
725
726
727
728# 4 "../include/langinfo.h" 2
729
730
731
732extern __typeof (nl_langinfo_l) __nl_langinfo_l;
733
734# 26 "../include/../locale/localeinfo.h" 2
735# 1 "../include/limits.h" 1
736# 125 "../include/limits.h"
737# 1 "/usr/lib/gcc/armv5te-iwmmxt-linux-gnueabi/4.7.3/include-fixed/limits.h" 1 3 4
738# 126 "../include/limits.h" 2
739# 145 "../include/limits.h"
740# 1 "../include/bits/posix1_lim.h" 1
741# 1 "../posix/bits/posix1_lim.h" 1
742# 157 "../posix/bits/posix1_lim.h"
743# 1 "../nptl/sysdeps/unix/sysv/linux/bits/local_lim.h" 1
744# 39 "../nptl/sysdeps/unix/sysv/linux/bits/local_lim.h"
745# 1 "/usr/include/linux/limits.h" 1 3 4
746# 40 "../nptl/sysdeps/unix/sysv/linux/bits/local_lim.h" 2
747# 158 "../posix/bits/posix1_lim.h" 2
748# 1 "../include/bits/posix1_lim.h" 2
749# 146 "../include/limits.h" 2
750
751
752
753# 1 "../include/bits/posix2_lim.h" 1
754# 1 "../posix/bits/posix2_lim.h" 1
755# 1 "../include/bits/posix2_lim.h" 2
756# 150 "../include/limits.h" 2
757
758
759
760# 1 "../include/bits/xopen_lim.h" 1
761# 34 "../include/bits/xopen_lim.h"
762# 1 "/var/tmp/portage/sys-libs/glibc-2.15-r3/work/build-default-armv5te-iwmmxt-linux-gnueabi-nptl/bits/stdio_lim.h" 1
763# 35 "../include/bits/xopen_lim.h" 2
764# 154 "../include/limits.h" 2
765# 27 "../include/../locale/localeinfo.h" 2
766# 1 "../include/locale.h" 1
767
768# 1 "../locale/locale.h" 1
769# 29 "../locale/locale.h"
770# 1 "/usr/lib/gcc/armv5te-iwmmxt-linux-gnueabi/4.7.3/include/stddef.h" 1 3 4
771# 30 "../locale/locale.h" 2
772# 1 "../include/bits/locale.h" 1
773# 1 "../locale/bits/locale.h" 1
774# 1 "../include/bits/locale.h" 2
775# 31 "../locale/locale.h" 2
776
777
778# 51 "../locale/locale.h"
779
780
781
782struct lconv
783{
784
785
786 char *decimal_point;
787 char *thousands_sep;
788
789
790
791
792
793 char *grouping;
794
795
796
797
798
799 char *int_curr_symbol;
800 char *currency_symbol;
801 char *mon_decimal_point;
802 char *mon_thousands_sep;
803 char *mon_grouping;
804 char *positive_sign;
805 char *negative_sign;
806 char int_frac_digits;
807 char frac_digits;
808
809 char p_cs_precedes;
810
811 char p_sep_by_space;
812
813 char n_cs_precedes;
814
815 char n_sep_by_space;
816
817
818
819
820
821
822 char p_sign_posn;
823 char n_sign_posn;
824
825
826 char int_p_cs_precedes;
827
828 char int_p_sep_by_space;
829
830 char int_n_cs_precedes;
831
832 char int_n_sep_by_space;
833
834
835
836
837
838
839 char int_p_sign_posn;
840 char int_n_sign_posn;
841# 121 "../locale/locale.h"
842};
843
844
845
846extern char *setlocale (int __category, __const char *__locale) __attribute__ ((__nothrow__ ));
847
848
849extern struct lconv *localeconv (void) __attribute__ ((__nothrow__ ));
850
851
852# 146 "../locale/locale.h"
853# 1 "../include/xlocale.h" 1
854# 147 "../locale/locale.h" 2
855
856
857
858
859
860extern __locale_t newlocale (int __category_mask, __const char *__locale,
861 __locale_t __base) __attribute__ ((__nothrow__ ));
862# 187 "../locale/locale.h"
863extern __locale_t duplocale (__locale_t __dataset) __attribute__ ((__nothrow__ ));
864
865
866
867extern void freelocale (__locale_t __dataset) __attribute__ ((__nothrow__ ));
868
869
870
871
872
873
874extern __locale_t uselocale (__locale_t __dataset) __attribute__ ((__nothrow__ ));
875
876
877
878
879
880
881
882
883# 3 "../include/locale.h" 2
884
885extern __typeof (uselocale) __uselocale;
886
887
888
889
890
891
892
893extern struct loaded_l10nfile *_nl_locale_file_list[] ;
894
895
896extern const struct __locale_struct _nl_C_locobj ;
897
898
899
900extern struct lconv *__localeconv (void);
901
902
903extern const char *__current_locale_name (int category) ;
904# 28 "../include/../locale/localeinfo.h" 2
905# 1 "../include/time.h" 1
906
907
908
909
910# 1 "../time/time.h" 1
911# 30 "../time/time.h"
912
913
914
915
916
917
918
919
920# 1 "/usr/lib/gcc/armv5te-iwmmxt-linux-gnueabi/4.7.3/include/stddef.h" 1 3 4
921# 39 "../time/time.h" 2
922
923
924
925# 1 "../sysdeps/unix/sysv/linux/bits/time.h" 1
926# 27 "../sysdeps/unix/sysv/linux/bits/time.h"
927# 1 "../bits/types.h" 1
928# 28 "../bits/types.h"
929# 1 "../sysdeps/wordsize-32/bits/wordsize.h" 1
930# 29 "../bits/types.h" 2
931
932
933typedef unsigned char __u_char;
934typedef unsigned short int __u_short;
935typedef unsigned int __u_int;
936typedef unsigned long int __u_long;
937
938
939typedef signed char __int8_t;
940typedef unsigned char __uint8_t;
941typedef signed short int __int16_t;
942typedef unsigned short int __uint16_t;
943typedef signed int __int32_t;
944typedef unsigned int __uint32_t;
945
946
947
948
949__extension__ typedef signed long long int __int64_t;
950__extension__ typedef unsigned long long int __uint64_t;
951
952
953
954
955
956
957
958__extension__ typedef long long int __quad_t;
959__extension__ typedef unsigned long long int __u_quad_t;
960# 131 "../bits/types.h"
961# 1 "../bits/typesizes.h" 1
962# 132 "../bits/types.h" 2
963
964
965__extension__ typedef __u_quad_t __dev_t;
966__extension__ typedef unsigned int __uid_t;
967__extension__ typedef unsigned int __gid_t;
968__extension__ typedef unsigned long int __ino_t;
969__extension__ typedef __u_quad_t __ino64_t;
970__extension__ typedef unsigned int __mode_t;
971__extension__ typedef unsigned int __nlink_t;
972__extension__ typedef long int __off_t;
973__extension__ typedef __quad_t __off64_t;
974__extension__ typedef int __pid_t;
975__extension__ typedef struct { int __val[2]; } __fsid_t;
976__extension__ typedef long int __clock_t;
977__extension__ typedef unsigned long int __rlim_t;
978__extension__ typedef __u_quad_t __rlim64_t;
979__extension__ typedef unsigned int __id_t;
980__extension__ typedef long int __time_t;
981__extension__ typedef unsigned int __useconds_t;
982__extension__ typedef long int __suseconds_t;
983
984__extension__ typedef int __daddr_t;
985__extension__ typedef long int __swblk_t;
986__extension__ typedef int __key_t;
987
988
989__extension__ typedef int __clockid_t;
990
991
992__extension__ typedef void * __timer_t;
993
994
995__extension__ typedef long int __blksize_t;
996
997
998
999
1000__extension__ typedef long int __blkcnt_t;
1001__extension__ typedef __quad_t __blkcnt64_t;
1002
1003
1004__extension__ typedef unsigned long int __fsblkcnt_t;
1005__extension__ typedef __u_quad_t __fsblkcnt64_t;
1006
1007
1008__extension__ typedef unsigned long int __fsfilcnt_t;
1009__extension__ typedef __u_quad_t __fsfilcnt64_t;
1010
1011__extension__ typedef int __ssize_t;
1012
1013
1014
1015typedef __off64_t __loff_t;
1016typedef __quad_t *__qaddr_t;
1017typedef char *__caddr_t;
1018
1019
1020__extension__ typedef int __intptr_t;
1021
1022
1023__extension__ typedef unsigned int __socklen_t;
1024# 28 "../sysdeps/unix/sysv/linux/bits/time.h" 2
1025
1026
1027
1028struct timeval
1029 {
1030 __time_t tv_sec;
1031 __suseconds_t tv_usec;
1032 };
1033# 86 "../sysdeps/unix/sysv/linux/bits/time.h"
1034# 1 "../sysdeps/unix/sysv/linux/bits/timex.h" 1
1035# 24 "../sysdeps/unix/sysv/linux/bits/timex.h"
1036struct timex
1037{
1038 unsigned int modes;
1039 long int offset;
1040 long int freq;
1041 long int maxerror;
1042 long int esterror;
1043 int status;
1044 long int constant;
1045 long int precision;
1046 long int tolerance;
1047 struct timeval time;
1048 long int tick;
1049
1050 long int ppsfreq;
1051 long int jitter;
1052 int shift;
1053 long int stabil;
1054 long int jitcnt;
1055 long int calcnt;
1056 long int errcnt;
1057 long int stbcnt;
1058
1059 int tai;
1060
1061
1062 int :32; int :32; int :32; int :32;
1063 int :32; int :32; int :32; int :32;
1064 int :32; int :32; int :32;
1065};
1066# 87 "../sysdeps/unix/sysv/linux/bits/time.h" 2
1067
1068
1069
1070
1071extern int clock_adjtime (__clockid_t __clock_id, struct timex *__utx) __attribute__ ((__nothrow__ ));
1072
1073
1074# 43 "../time/time.h" 2
1075# 58 "../time/time.h"
1076
1077
1078typedef __clock_t clock_t;
1079
1080
1081
1082# 74 "../time/time.h"
1083
1084
1085typedef __time_t time_t;
1086
1087
1088
1089# 92 "../time/time.h"
1090typedef __clockid_t clockid_t;
1091# 104 "../time/time.h"
1092typedef __timer_t timer_t;
1093# 120 "../time/time.h"
1094struct timespec
1095 {
1096 __time_t tv_sec;
1097 long int tv_nsec;
1098 };
1099
1100
1101
1102
1103
1104
1105
1106
1107struct tm
1108{
1109 int tm_sec;
1110 int tm_min;
1111 int tm_hour;
1112 int tm_mday;
1113 int tm_mon;
1114 int tm_year;
1115 int tm_wday;
1116 int tm_yday;
1117 int tm_isdst;
1118
1119
1120 long int tm_gmtoff;
1121 __const char *tm_zone;
1122
1123
1124
1125
1126};
1127
1128
1129
1130
1131
1132
1133
1134
1135struct itimerspec
1136 {
1137 struct timespec it_interval;
1138 struct timespec it_value;
1139 };
1140
1141
1142struct sigevent;
1143
1144
1145
1146
1147
1148typedef __pid_t pid_t;
1149
1150
1151
1152
1153
1154
1155
1156
1157extern clock_t clock (void) __attribute__ ((__nothrow__ ));
1158
1159
1160extern time_t time (time_t *__timer) __attribute__ ((__nothrow__ ));
1161
1162
1163extern double difftime (time_t __time1, time_t __time0)
1164 __attribute__ ((__nothrow__ )) __attribute__ ((__const__));
1165
1166
1167extern time_t mktime (struct tm *__tp) __attribute__ ((__nothrow__ ));
1168
1169
1170
1171
1172
1173extern size_t strftime (char *__restrict __s, size_t __maxsize,
1174 __const char *__restrict __format,
1175 __const struct tm *__restrict __tp) __attribute__ ((__nothrow__ ));
1176
1177
1178
1179
1180
1181extern char *strptime (__const char *__restrict __s,
1182 __const char *__restrict __fmt, struct tm *__tp)
1183 __attribute__ ((__nothrow__ ));
1184
1185
1186
1187
1188
1189# 1 "../include/xlocale.h" 1
1190# 216 "../time/time.h" 2
1191
1192extern size_t strftime_l (char *__restrict __s, size_t __maxsize,
1193 __const char *__restrict __format,
1194 __const struct tm *__restrict __tp,
1195 __locale_t __loc) __attribute__ ((__nothrow__ ));
1196
1197
1198
1199extern char *strptime_l (__const char *__restrict __s,
1200 __const char *__restrict __fmt, struct tm *__tp,
1201 __locale_t __loc) __attribute__ ((__nothrow__ ));
1202
1203
1204
1205
1206
1207
1208extern struct tm *gmtime (__const time_t *__timer) __attribute__ ((__nothrow__ ));
1209
1210
1211
1212extern struct tm *localtime (__const time_t *__timer) __attribute__ ((__nothrow__ ));
1213
1214
1215
1216
1217
1218extern struct tm *gmtime_r (__const time_t *__restrict __timer,
1219 struct tm *__restrict __tp) __attribute__ ((__nothrow__ ));
1220
1221
1222
1223extern struct tm *localtime_r (__const time_t *__restrict __timer,
1224 struct tm *__restrict __tp) __attribute__ ((__nothrow__ ));
1225
1226
1227
1228
1229
1230extern char *asctime (__const struct tm *__tp) __attribute__ ((__nothrow__ ));
1231
1232
1233extern char *ctime (__const time_t *__timer) __attribute__ ((__nothrow__ ));
1234
1235
1236
1237
1238
1239
1240
1241extern char *asctime_r (__const struct tm *__restrict __tp,
1242 char *__restrict __buf) __attribute__ ((__nothrow__ ));
1243
1244
1245extern char *ctime_r (__const time_t *__restrict __timer,
1246 char *__restrict __buf) __attribute__ ((__nothrow__ ));
1247
1248
1249
1250
1251extern char *__tzname[2];
1252extern int __daylight;
1253extern long int __timezone;
1254
1255
1256
1257
1258extern char *tzname[2];
1259
1260
1261
1262extern void tzset (void) __attribute__ ((__nothrow__ ));
1263
1264
1265
1266extern int daylight;
1267extern long int timezone;
1268
1269
1270
1271
1272
1273extern int stime (__const time_t *__when) __attribute__ ((__nothrow__ ));
1274# 313 "../time/time.h"
1275extern time_t timegm (struct tm *__tp) __attribute__ ((__nothrow__ ));
1276
1277
1278extern time_t timelocal (struct tm *__tp) __attribute__ ((__nothrow__ ));
1279
1280
1281extern int dysize (int __year) __attribute__ ((__nothrow__ )) __attribute__ ((__const__));
1282# 328 "../time/time.h"
1283extern int nanosleep (__const struct timespec *__requested_time,
1284 struct timespec *__remaining);
1285
1286
1287
1288extern int clock_getres (clockid_t __clock_id, struct timespec *__res) __attribute__ ((__nothrow__ ));
1289
1290
1291extern int clock_gettime (clockid_t __clock_id, struct timespec *__tp) __attribute__ ((__nothrow__ ));
1292
1293
1294extern int clock_settime (clockid_t __clock_id, __const struct timespec *__tp)
1295 __attribute__ ((__nothrow__ ));
1296
1297
1298
1299
1300
1301
1302extern int clock_nanosleep (clockid_t __clock_id, int __flags,
1303 __const struct timespec *__req,
1304 struct timespec *__rem);
1305
1306
1307extern int clock_getcpuclockid (pid_t __pid, clockid_t *__clock_id) __attribute__ ((__nothrow__ ));
1308
1309
1310
1311
1312extern int timer_create (clockid_t __clock_id,
1313 struct sigevent *__restrict __evp,
1314 timer_t *__restrict __timerid) __attribute__ ((__nothrow__ ));
1315
1316
1317extern int timer_delete (timer_t __timerid) __attribute__ ((__nothrow__ ));
1318
1319
1320extern int timer_settime (timer_t __timerid, int __flags,
1321 __const struct itimerspec *__restrict __value,
1322 struct itimerspec *__restrict __ovalue) __attribute__ ((__nothrow__ ));
1323
1324
1325extern int timer_gettime (timer_t __timerid, struct itimerspec *__value)
1326 __attribute__ ((__nothrow__ ));
1327
1328
1329extern int timer_getoverrun (timer_t __timerid) __attribute__ ((__nothrow__ ));
1330# 390 "../time/time.h"
1331extern int getdate_err;
1332# 399 "../time/time.h"
1333extern struct tm *getdate (__const char *__string);
1334# 413 "../time/time.h"
1335extern int getdate_r (__const char *__restrict __string,
1336 struct tm *__restrict __resbufp);
1337
1338
1339
1340# 6 "../include/time.h" 2
1341# 1 "../include/xlocale.h" 1
1342# 7 "../include/time.h" 2
1343
1344
1345
1346extern __typeof (strftime_l) __strftime_l;
1347
1348extern __typeof (strptime_l) __strptime_l;
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361struct tm;
1362
1363
1364extern const unsigned short int __mon_yday[2][13] ;
1365
1366
1367extern struct tm _tmbuf ;
1368
1369
1370extern char *__tzstring (const char *string);
1371
1372
1373extern size_t __tzname_cur_max ;
1374
1375
1376extern int __use_tzfile ;
1377
1378extern void __tzfile_read (const char *file, size_t extra,
1379 char **extrap);
1380extern void __tzfile_compute (time_t timer, int use_localtime,
1381 long int *leap_correct, int *leap_hit,
1382 struct tm *tp);
1383extern void __tzfile_default (const char *std, const char *dst,
1384 long int stdoff, long int dstoff);
1385extern void __tzset_parse_tz (const char *tz);
1386extern void __tz_compute (time_t timer, struct tm *tm, int use_localtime)
1387 __attribute__ ((__nothrow__ )) ;
1388
1389
1390
1391
1392extern time_t __mktime_internal (struct tm *__tp,
1393 struct tm *(*__func) (const time_t *,
1394 struct tm *),
1395 time_t *__offset);
1396extern struct tm *__localtime_r (__const time_t *__timer,
1397 struct tm *__tp) ;
1398
1399extern struct tm *__gmtime_r (__const time_t *__restrict __timer,
1400 struct tm *__restrict __tp);
1401
1402
1403
1404
1405
1406
1407extern int __offtime (__const time_t *__timer,
1408 long int __offset,
1409 struct tm *__tp);
1410
1411extern char *__asctime_r (__const struct tm *__tp, char *__buf);
1412extern void __tzset (void);
1413
1414
1415extern struct tm *__tz_convert (const time_t *timer, int use_localtime, struct tm *tp);
1416
1417
1418
1419extern long int __tzname_max (void);
1420
1421extern int __nanosleep (__const struct timespec *__requested_time,
1422 struct timespec *__remaining);
1423
1424extern int __nanosleep_nocancel (__const struct timespec *__requested_time,
1425 struct timespec *__remaining)
1426 ;
1427extern int __getdate_r (__const char *__string, struct tm *__resbufp);
1428
1429
1430
1431extern int __getclktck (void);
1432
1433
1434
1435extern char * __strptime_internal (const char *rp, const char *fmt,
1436 struct tm *tm, void *statep,
1437 __locale_t locparam)
1438 ;
1439
1440extern double __difftime (time_t time1, time_t time0);
1441# 113 "../include/time.h"
1442
1443# 29 "../include/../locale/localeinfo.h" 2
1444# 1 "../sysdeps/generic/stdint.h" 1
1445# 27 "../sysdeps/generic/stdint.h"
1446# 1 "../bits/wchar.h" 1
1447# 28 "../sysdeps/generic/stdint.h" 2
1448# 1 "../sysdeps/wordsize-32/bits/wordsize.h" 1
1449# 29 "../sysdeps/generic/stdint.h" 2
1450# 37 "../sysdeps/generic/stdint.h"
1451typedef signed char int8_t;
1452typedef short int int16_t;
1453typedef int int32_t;
1454
1455
1456
1457__extension__
1458typedef long long int int64_t;
1459
1460
1461
1462
1463typedef unsigned char uint8_t;
1464typedef unsigned short int uint16_t;
1465
1466typedef unsigned int uint32_t;
1467
1468
1469
1470
1471
1472__extension__
1473typedef unsigned long long int uint64_t;
1474
1475
1476
1477
1478
1479
1480typedef signed char int_least8_t;
1481typedef short int int_least16_t;
1482typedef int int_least32_t;
1483
1484
1485
1486__extension__
1487typedef long long int int_least64_t;
1488
1489
1490
1491typedef unsigned char uint_least8_t;
1492typedef unsigned short int uint_least16_t;
1493typedef unsigned int uint_least32_t;
1494
1495
1496
1497__extension__
1498typedef unsigned long long int uint_least64_t;
1499
1500
1501
1502
1503
1504
1505typedef signed char int_fast8_t;
1506
1507
1508
1509
1510
1511typedef int int_fast16_t;
1512typedef int int_fast32_t;
1513__extension__
1514typedef long long int int_fast64_t;
1515
1516
1517
1518typedef unsigned char uint_fast8_t;
1519
1520
1521
1522
1523
1524typedef unsigned int uint_fast16_t;
1525typedef unsigned int uint_fast32_t;
1526__extension__
1527typedef unsigned long long int uint_fast64_t;
1528# 126 "../sysdeps/generic/stdint.h"
1529typedef int intptr_t;
1530
1531
1532typedef unsigned int uintptr_t;
1533# 138 "../sysdeps/generic/stdint.h"
1534__extension__
1535typedef long long int intmax_t;
1536__extension__
1537typedef unsigned long long int uintmax_t;
1538# 30 "../include/../locale/localeinfo.h" 2
1539# 1 "../include/sys/types.h" 1
1540# 1 "../posix/sys/types.h" 1
1541# 28 "../posix/sys/types.h"
1542
1543
1544
1545
1546
1547
1548typedef __u_char u_char;
1549typedef __u_short u_short;
1550typedef __u_int u_int;
1551typedef __u_long u_long;
1552typedef __quad_t quad_t;
1553typedef __u_quad_t u_quad_t;
1554typedef __fsid_t fsid_t;
1555
1556
1557
1558
1559typedef __loff_t loff_t;
1560
1561
1562
1563typedef __ino_t ino_t;
1564
1565
1566
1567
1568
1569
1570typedef __ino64_t ino64_t;
1571
1572
1573
1574
1575typedef __dev_t dev_t;
1576
1577
1578
1579
1580typedef __gid_t gid_t;
1581
1582
1583
1584
1585typedef __mode_t mode_t;
1586
1587
1588
1589
1590typedef __nlink_t nlink_t;
1591
1592
1593
1594
1595typedef __uid_t uid_t;
1596
1597
1598
1599
1600
1601typedef __off_t off_t;
1602
1603
1604
1605
1606
1607
1608typedef __off64_t off64_t;
1609# 105 "../posix/sys/types.h"
1610typedef __id_t id_t;
1611
1612
1613
1614
1615typedef __ssize_t ssize_t;
1616
1617
1618
1619
1620
1621typedef __daddr_t daddr_t;
1622typedef __caddr_t caddr_t;
1623
1624
1625
1626
1627
1628typedef __key_t key_t;
1629# 137 "../posix/sys/types.h"
1630typedef __useconds_t useconds_t;
1631
1632
1633
1634typedef __suseconds_t suseconds_t;
1635
1636
1637
1638
1639
1640# 1 "/usr/lib/gcc/armv5te-iwmmxt-linux-gnueabi/4.7.3/include/stddef.h" 1 3 4
1641# 148 "../posix/sys/types.h" 2
1642
1643
1644
1645typedef unsigned long int ulong;
1646typedef unsigned short int ushort;
1647typedef unsigned int uint;
1648# 201 "../posix/sys/types.h"
1649typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__)));
1650typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__)));
1651typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__)));
1652typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__)));
1653
1654typedef int register_t __attribute__ ((__mode__ (__word__)));
1655# 217 "../posix/sys/types.h"
1656# 1 "../include/endian.h" 1
1657# 1 "../string/endian.h" 1
1658# 37 "../string/endian.h"
1659# 1 "../ports/sysdeps/arm/bits/endian.h" 1
1660# 38 "../string/endian.h" 2
1661# 61 "../string/endian.h"
1662# 1 "../bits/byteswap.h" 1
1663# 62 "../string/endian.h" 2
1664# 2 "../include/endian.h" 2
1665# 218 "../posix/sys/types.h" 2
1666
1667
1668# 1 "../include/sys/select.h" 1
1669
1670# 1 "../misc/sys/select.h" 1
1671# 31 "../misc/sys/select.h"
1672# 1 "../bits/select.h" 1
1673# 32 "../misc/sys/select.h" 2
1674
1675
1676# 1 "../sysdeps/unix/sysv/linux/bits/sigset.h" 1
1677# 24 "../sysdeps/unix/sysv/linux/bits/sigset.h"
1678typedef int __sig_atomic_t;
1679
1680
1681
1682
1683typedef struct
1684 {
1685 unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))];
1686 } __sigset_t;
1687# 35 "../misc/sys/select.h" 2
1688
1689
1690
1691typedef __sigset_t sigset_t;
1692
1693
1694
1695
1696
1697
1698
1699# 1 "../sysdeps/unix/sysv/linux/bits/time.h" 1
1700# 47 "../misc/sys/select.h" 2
1701# 55 "../misc/sys/select.h"
1702typedef long int __fd_mask;
1703# 65 "../misc/sys/select.h"
1704typedef struct
1705 {
1706
1707
1708
1709 __fd_mask fds_bits[1024 / (8 * (int) sizeof (__fd_mask))];
1710
1711
1712
1713
1714
1715 } fd_set;
1716
1717
1718
1719
1720
1721
1722typedef __fd_mask fd_mask;
1723# 97 "../misc/sys/select.h"
1724
1725# 107 "../misc/sys/select.h"
1726extern int select (int __nfds, fd_set *__restrict __readfds,
1727 fd_set *__restrict __writefds,
1728 fd_set *__restrict __exceptfds,
1729 struct timeval *__restrict __timeout);
1730# 119 "../misc/sys/select.h"
1731extern int pselect (int __nfds, fd_set *__restrict __readfds,
1732 fd_set *__restrict __writefds,
1733 fd_set *__restrict __exceptfds,
1734 const struct timespec *__restrict __timeout,
1735 const __sigset_t *__restrict __sigmask);
1736# 132 "../misc/sys/select.h"
1737
1738# 3 "../include/sys/select.h" 2
1739
1740
1741extern int __pselect (int __nfds, fd_set *__readfds,
1742 fd_set *__writefds, fd_set *__exceptfds,
1743 const struct timespec *__timeout,
1744 const __sigset_t *__sigmask);
1745
1746extern int __select (int __nfds, fd_set *__restrict __readfds,
1747 fd_set *__restrict __writefds,
1748 fd_set *__restrict __exceptfds,
1749 struct timeval *__restrict __timeout);
1750
1751# 221 "../posix/sys/types.h" 2
1752
1753
1754# 1 "../sysdeps/unix/sysv/linux/sys/sysmacros.h" 1
1755# 30 "../sysdeps/unix/sysv/linux/sys/sysmacros.h"
1756
1757
1758__extension__
1759extern unsigned int gnu_dev_major (unsigned long long int __dev)
1760 __attribute__ ((__nothrow__ )) __attribute__ ((__const__));
1761__extension__
1762extern unsigned int gnu_dev_minor (unsigned long long int __dev)
1763 __attribute__ ((__nothrow__ )) __attribute__ ((__const__));
1764__extension__
1765extern unsigned long long int gnu_dev_makedev (unsigned int __major,
1766 unsigned int __minor)
1767 __attribute__ ((__nothrow__ )) __attribute__ ((__const__));
1768
1769
1770__extension__ extern __inline __attribute__ ((__const__)) unsigned int
1771__attribute__ ((__nothrow__ )) gnu_dev_major (unsigned long long int __dev)
1772{
1773 return ((__dev >> 8) & 0xfff) | ((unsigned int) (__dev >> 32) & ~0xfff);
1774}
1775
1776__extension__ extern __inline __attribute__ ((__const__)) unsigned int
1777__attribute__ ((__nothrow__ )) gnu_dev_minor (unsigned long long int __dev)
1778{
1779 return (__dev & 0xff) | ((unsigned int) (__dev >> 12) & ~0xff);
1780}
1781
1782__extension__ extern __inline __attribute__ ((__const__)) unsigned long long int
1783__attribute__ ((__nothrow__ )) gnu_dev_makedev (unsigned int __major, unsigned int __minor)
1784{
1785 return ((__minor & 0xff) | ((__major & 0xfff) << 8)
1786 | (((unsigned long long int) (__minor & ~0xff)) << 12)
1787 | (((unsigned long long int) (__major & ~0xfff)) << 32));
1788}
1789
1790
1791# 224 "../posix/sys/types.h" 2
1792
1793
1794
1795
1796
1797typedef __blksize_t blksize_t;
1798
1799
1800
1801
1802
1803
1804typedef __blkcnt_t blkcnt_t;
1805
1806
1807
1808typedef __fsblkcnt_t fsblkcnt_t;
1809
1810
1811
1812typedef __fsfilcnt_t fsfilcnt_t;
1813# 263 "../posix/sys/types.h"
1814typedef __blkcnt64_t blkcnt64_t;
1815typedef __fsblkcnt64_t fsblkcnt64_t;
1816typedef __fsfilcnt64_t fsfilcnt64_t;
1817
1818
1819
1820
1821
1822# 1 "../ports/sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h" 1
1823# 22 "../ports/sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h"
1824# 1 "../include/endian.h" 1
1825# 23 "../ports/sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h" 2
1826# 38 "../ports/sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h"
1827typedef unsigned long int pthread_t;
1828
1829
1830typedef union
1831{
1832 char __size[36];
1833 long int __align;
1834} pthread_attr_t;
1835
1836
1837typedef struct __pthread_internal_slist
1838{
1839 struct __pthread_internal_slist *__next;
1840} __pthread_slist_t;
1841
1842
1843
1844
1845typedef union
1846{
1847 struct __pthread_mutex_s
1848 {
1849 int __lock;
1850 unsigned int __count;
1851 int __owner;
1852
1853
1854 int __kind;
1855 unsigned int __nusers;
1856 __extension__ union
1857 {
1858 int __spins;
1859 __pthread_slist_t __list;
1860 };
1861 } __data;
1862 char __size[24];
1863 long int __align;
1864} pthread_mutex_t;
1865
1866typedef union
1867{
1868 char __size[4];
1869 long int __align;
1870} pthread_mutexattr_t;
1871
1872
1873
1874
1875typedef union
1876{
1877 struct
1878 {
1879 int __lock;
1880 unsigned int __futex;
1881 __extension__ unsigned long long int __total_seq;
1882 __extension__ unsigned long long int __wakeup_seq;
1883 __extension__ unsigned long long int __woken_seq;
1884 void *__mutex;
1885 unsigned int __nwaiters;
1886 unsigned int __broadcast_seq;
1887 } __data;
1888 char __size[48];
1889 __extension__ long long int __align;
1890} pthread_cond_t;
1891
1892typedef union
1893{
1894 char __size[4];
1895 long int __align;
1896} pthread_condattr_t;
1897
1898
1899
1900typedef unsigned int pthread_key_t;
1901
1902
1903
1904typedef int pthread_once_t;
1905
1906
1907
1908
1909
1910typedef union
1911{
1912 struct
1913 {
1914 int __lock;
1915 unsigned int __nr_readers;
1916 unsigned int __readers_wakeup;
1917 unsigned int __writer_wakeup;
1918 unsigned int __nr_readers_queued;
1919 unsigned int __nr_writers_queued;
1920# 141 "../ports/sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h"
1921 unsigned char __flags;
1922 unsigned char __shared;
1923 unsigned char __pad1;
1924 unsigned char __pad2;
1925
1926 int __writer;
1927 } __data;
1928 char __size[32];
1929 long int __align;
1930} pthread_rwlock_t;
1931
1932typedef union
1933{
1934 char __size[8];
1935 long int __align;
1936} pthread_rwlockattr_t;
1937
1938
1939
1940
1941
1942typedef volatile int pthread_spinlock_t;
1943
1944
1945
1946
1947typedef union
1948{
1949 char __size[20];
1950 long int __align;
1951} pthread_barrier_t;
1952
1953typedef union
1954{
1955 char __size[4];
1956 int __align;
1957} pthread_barrierattr_t;
1958# 272 "../posix/sys/types.h" 2
1959
1960
1961
1962# 1 "../include/sys/types.h" 2
1963# 31 "../include/../locale/localeinfo.h" 2
1964
1965# 1 "../intl/loadinfo.h" 1
1966# 54 "../intl/loadinfo.h"
1967struct loaded_l10nfile
1968{
1969 const char *filename;
1970 int decided;
1971
1972 const void *data;
1973
1974 struct loaded_l10nfile *next;
1975 struct loaded_l10nfile *successor[1];
1976};
1977
1978
1979
1980
1981
1982
1983extern const char *_nl_normalize_codeset (const char *codeset, size_t name_len)
1984 ;
1985
1986extern struct loaded_l10nfile *
1987_nl_make_l10nflist (struct loaded_l10nfile **l10nfile_list, const char *dirlist, size_t dirlist_len, int mask, const char *language, const char *territory, const char *codeset, const char *normalized_codeset, const char *modifier, const char *filename, int do_allocate)
1988
1989
1990
1991
1992
1993 ;
1994
1995
1996extern const char *_nl_expand_alias (const char *name);
1997
1998
1999
2000extern int _nl_explode_name (char *name, const char **language, const char **modifier, const char **territory, const char **codeset, const char **normalized_codeset)
2001
2002
2003
2004 ;
2005# 33 "../include/../locale/localeinfo.h" 2
2006# 51 "../include/../locale/localeinfo.h"
2007struct __locale_data
2008{
2009 const char *name;
2010 const char *filedata;
2011 off_t filesize;
2012 enum
2013 {
2014 ld_malloced,
2015 ld_mapped,
2016 ld_archive
2017 } alloc;
2018
2019
2020
2021
2022 struct
2023 {
2024 void (*cleanup) (struct __locale_data *) ;
2025 union
2026 {
2027 void *data;
2028 struct lc_time_data *time;
2029 const struct gconv_fcts *ctype;
2030 };
2031 } private;
2032
2033 unsigned int usage_count;
2034
2035 int use_translit;
2036
2037
2038 unsigned int nstrings;
2039 union locale_data_value
2040 {
2041 const uint32_t *wstr;
2042 const char *string;
2043 unsigned int word;
2044 }
2045 values [];
2046};
2047
2048
2049enum coll_sort_rule
2050{
2051 illegal_0__,
2052 sort_forward,
2053 sort_backward,
2054 illegal_3__,
2055 sort_position,
2056 sort_forward_position,
2057 sort_backward_position,
2058 sort_mask
2059};
2060
2061
2062enum value_type
2063{
2064 none,
2065 string,
2066 stringarray,
2067 byte,
2068 bytearray,
2069 word,
2070 stringlist,
2071 wordarray,
2072 wstring,
2073 wstringarray,
2074 wstringlist
2075};
2076# 131 "../include/../locale/localeinfo.h"
2077struct era_entry
2078{
2079 uint32_t direction;
2080 int32_t offset;
2081 int32_t start_date[3];
2082 int32_t stop_date[3];
2083 const char *era_name;
2084 const char *era_format;
2085 const wchar_t *era_wname;
2086 const wchar_t *era_wformat;
2087 int absolute_direction;
2088
2089
2090
2091};
2092
2093
2094
2095struct lc_time_data
2096{
2097 struct era_entry *eras;
2098 size_t num_eras;
2099 int era_initialized;
2100
2101 const char **alt_digits;
2102 const wchar_t **walt_digits;
2103 int alt_digits_initialized;
2104 int walt_digits_initialized;
2105};
2106
2107
2108
2109
2110enum
2111{
2112 __TOW_toupper = 0,
2113 __TOW_tolower = 1
2114};
2115# 181 "../include/../locale/localeinfo.h"
2116extern const union catnamestr_t
2117{
2118 struct
2119 {
2120
2121
2122# 1 "../include/../locale/categories.def" 1
2123# 42 "../include/../locale/categories.def"
2124char
2125# 62 "../include/../locale/categories.def"
2126 str62
2127# 42 "../include/../locale/categories.def"
2128 [sizeof ("LC_COLLATE")];
2129# 68 "../include/../locale/categories.def"
2130char
2131# 137 "../include/../locale/categories.def"
2132 str137
2133# 68 "../include/../locale/categories.def"
2134 [sizeof ("LC_CTYPE")];
2135# 140 "../include/../locale/categories.def"
2136char
2137# 189 "../include/../locale/categories.def"
2138 str189
2139# 140 "../include/../locale/categories.def"
2140 [sizeof ("LC_MONETARY")];
2141# 192 "../include/../locale/categories.def"
2142char
2143# 203 "../include/../locale/categories.def"
2144 str203
2145# 192 "../include/../locale/categories.def"
2146 [sizeof ("LC_NUMERIC")];
2147# 206 "../include/../locale/categories.def"
2148char
2149# 251 "../include/../locale/categories.def"
2150 str251
2151# 206 "../include/../locale/categories.def"
2152 [sizeof ("LC_TIME")];
2153# 254 "../include/../locale/categories.def"
2154char
2155# 263 "../include/../locale/categories.def"
2156 str263
2157# 254 "../include/../locale/categories.def"
2158 [sizeof ("LC_MESSAGES")];
2159# 265 "../include/../locale/categories.def"
2160char
2161
2162
2163
2164
2165
2166
2167 str272
2168# 265 "../include/../locale/categories.def"
2169 [sizeof ("LC_PAPER")];
2170# 274 "../include/../locale/categories.def"
2171char
2172# 285 "../include/../locale/categories.def"
2173 str285
2174# 274 "../include/../locale/categories.def"
2175 [sizeof ("LC_NAME")];
2176# 287 "../include/../locale/categories.def"
2177char
2178# 304 "../include/../locale/categories.def"
2179 str304
2180# 287 "../include/../locale/categories.def"
2181 [sizeof ("LC_ADDRESS")];
2182# 306 "../include/../locale/categories.def"
2183char
2184# 315 "../include/../locale/categories.def"
2185 str315
2186# 306 "../include/../locale/categories.def"
2187 [sizeof ("LC_TELEPHONE")];
2188# 317 "../include/../locale/categories.def"
2189char
2190
2191
2192
2193
2194
2195 str323
2196# 317 "../include/../locale/categories.def"
2197 [sizeof ("LC_MEASUREMENT")];
2198
2199
2200
2201
2202
2203
2204
2205char
2206# 345 "../include/../locale/categories.def"
2207 str345
2208# 325 "../include/../locale/categories.def"
2209 [sizeof ("LC_IDENTIFICATION")];
2210# 188 "../include/../locale/localeinfo.h" 2
2211
2212 };
2213 char str[0];
2214} _nl_category_names ;
2215extern const uint8_t _nl_category_name_idxs[13] ;
2216extern const uint8_t _nl_category_name_sizes[13] ;
2217
2218
2219extern const char _nl_C_name[] ;
2220extern const char _nl_POSIX_name[] ;
2221
2222
2223extern const char _nl_C_codeset[] ;
2224
2225
2226
2227
2228extern struct __locale_struct _nl_global_locale ;
2229
2230
2231
2232
2233# 1 "../bits/libc-tsd.h" 1
2234# 45 "../bits/libc-tsd.h"
2235# 1 "../ports/sysdeps/arm/nptl/tls.h" 1
2236# 23 "../ports/sysdeps/arm/nptl/tls.h"
2237# 1 "../sysdeps/unix/sysv/linux/dl-sysdep.h" 1
2238# 20 "../sysdeps/unix/sysv/linux/dl-sysdep.h"
2239# 1 "../ports/sysdeps/arm/dl-sysdep.h" 1
2240# 20 "../ports/sysdeps/arm/dl-sysdep.h"
2241# 1 "../sysdeps/generic/dl-sysdep.h" 1
2242# 21 "../ports/sysdeps/arm/dl-sysdep.h" 2
2243# 21 "../sysdeps/unix/sysv/linux/dl-sysdep.h" 2
2244# 32 "../sysdeps/unix/sysv/linux/dl-sysdep.h"
2245extern int _dl_discover_osversion (void) ;
2246# 24 "../ports/sysdeps/arm/nptl/tls.h" 2
2247
2248
2249# 1 "/usr/lib/gcc/armv5te-iwmmxt-linux-gnueabi/4.7.3/include/stdbool.h" 1 3 4
2250# 27 "../ports/sysdeps/arm/nptl/tls.h" 2
2251# 1 "/usr/lib/gcc/armv5te-iwmmxt-linux-gnueabi/4.7.3/include/stddef.h" 1 3 4
2252# 28 "../ports/sysdeps/arm/nptl/tls.h" 2
2253
2254
2255
2256typedef union dtv
2257{
2258 size_t counter;
2259 struct
2260 {
2261 void *val;
2262 _Bool is_static;
2263 } pointer;
2264} dtv_t;
2265# 49 "../ports/sysdeps/arm/nptl/tls.h"
2266# 1 "../ports/sysdeps/unix/sysv/linux/arm/eabi/sysdep.h" 1
2267# 26 "../ports/sysdeps/unix/sysv/linux/arm/eabi/sysdep.h"
2268# 1 "../ports/sysdeps/unix/sysv/linux/arm/sysdep.h" 1
2269# 26 "../ports/sysdeps/unix/sysv/linux/arm/sysdep.h"
2270# 1 "../ports/sysdeps/unix/arm/sysdep.h" 1
2271# 20 "../ports/sysdeps/unix/arm/sysdep.h"
2272# 1 "../sysdeps/unix/sysdep.h" 1
2273# 19 "../sysdeps/unix/sysdep.h"
2274# 1 "../sysdeps/generic/sysdep.h" 1
2275# 133 "../sysdeps/generic/sysdep.h"
2276# 1 "../sysdeps/generic/dwarf2.h" 1
2277# 40 "../sysdeps/generic/dwarf2.h"
2278enum dwarf_tag
2279 {
2280 DW_TAG_padding = 0x00,
2281 DW_TAG_array_type = 0x01,
2282 DW_TAG_class_type = 0x02,
2283 DW_TAG_entry_point = 0x03,
2284 DW_TAG_enumeration_type = 0x04,
2285 DW_TAG_formal_parameter = 0x05,
2286 DW_TAG_imported_declaration = 0x08,
2287 DW_TAG_label = 0x0a,
2288 DW_TAG_lexical_block = 0x0b,
2289 DW_TAG_member = 0x0d,
2290 DW_TAG_pointer_type = 0x0f,
2291 DW_TAG_reference_type = 0x10,
2292 DW_TAG_compile_unit = 0x11,
2293 DW_TAG_string_type = 0x12,
2294 DW_TAG_structure_type = 0x13,
2295 DW_TAG_subroutine_type = 0x15,
2296 DW_TAG_typedef = 0x16,
2297 DW_TAG_union_type = 0x17,
2298 DW_TAG_unspecified_parameters = 0x18,
2299 DW_TAG_variant = 0x19,
2300 DW_TAG_common_block = 0x1a,
2301 DW_TAG_common_inclusion = 0x1b,
2302 DW_TAG_inheritance = 0x1c,
2303 DW_TAG_inlined_subroutine = 0x1d,
2304 DW_TAG_module = 0x1e,
2305 DW_TAG_ptr_to_member_type = 0x1f,
2306 DW_TAG_set_type = 0x20,
2307 DW_TAG_subrange_type = 0x21,
2308 DW_TAG_with_stmt = 0x22,
2309 DW_TAG_access_declaration = 0x23,
2310 DW_TAG_base_type = 0x24,
2311 DW_TAG_catch_block = 0x25,
2312 DW_TAG_const_type = 0x26,
2313 DW_TAG_constant = 0x27,
2314 DW_TAG_enumerator = 0x28,
2315 DW_TAG_file_type = 0x29,
2316 DW_TAG_friend = 0x2a,
2317 DW_TAG_namelist = 0x2b,
2318 DW_TAG_namelist_item = 0x2c,
2319 DW_TAG_packed_type = 0x2d,
2320 DW_TAG_subprogram = 0x2e,
2321 DW_TAG_template_type_param = 0x2f,
2322 DW_TAG_template_value_param = 0x30,
2323 DW_TAG_thrown_type = 0x31,
2324 DW_TAG_try_block = 0x32,
2325 DW_TAG_variant_part = 0x33,
2326 DW_TAG_variable = 0x34,
2327 DW_TAG_volatile_type = 0x35,
2328
2329 DW_TAG_MIPS_loop = 0x4081,
2330
2331 DW_TAG_format_label = 0x4101,
2332 DW_TAG_function_template = 0x4102,
2333 DW_TAG_class_template = 0x4103,
2334 DW_TAG_GNU_BINCL = 0x4104,
2335 DW_TAG_GNU_EINCL = 0x4105
2336 };
2337# 108 "../sysdeps/generic/dwarf2.h"
2338enum dwarf_form
2339 {
2340 DW_FORM_addr = 0x01,
2341 DW_FORM_block2 = 0x03,
2342 DW_FORM_block4 = 0x04,
2343 DW_FORM_data2 = 0x05,
2344 DW_FORM_data4 = 0x06,
2345 DW_FORM_data8 = 0x07,
2346 DW_FORM_string = 0x08,
2347 DW_FORM_block = 0x09,
2348 DW_FORM_block1 = 0x0a,
2349 DW_FORM_data1 = 0x0b,
2350 DW_FORM_flag = 0x0c,
2351 DW_FORM_sdata = 0x0d,
2352 DW_FORM_strp = 0x0e,
2353 DW_FORM_udata = 0x0f,
2354 DW_FORM_ref_addr = 0x10,
2355 DW_FORM_ref1 = 0x11,
2356 DW_FORM_ref2 = 0x12,
2357 DW_FORM_ref4 = 0x13,
2358 DW_FORM_ref8 = 0x14,
2359 DW_FORM_ref_udata = 0x15,
2360 DW_FORM_indirect = 0x16
2361 };
2362
2363
2364
2365enum dwarf_attribute
2366 {
2367 DW_AT_sibling = 0x01,
2368 DW_AT_location = 0x02,
2369 DW_AT_name = 0x03,
2370 DW_AT_ordering = 0x09,
2371 DW_AT_subscr_data = 0x0a,
2372 DW_AT_byte_size = 0x0b,
2373 DW_AT_bit_offset = 0x0c,
2374 DW_AT_bit_size = 0x0d,
2375 DW_AT_element_list = 0x0f,
2376 DW_AT_stmt_list = 0x10,
2377 DW_AT_low_pc = 0x11,
2378 DW_AT_high_pc = 0x12,
2379 DW_AT_language = 0x13,
2380 DW_AT_member = 0x14,
2381 DW_AT_discr = 0x15,
2382 DW_AT_discr_value = 0x16,
2383 DW_AT_visibility = 0x17,
2384 DW_AT_import = 0x18,
2385 DW_AT_string_length = 0x19,
2386 DW_AT_common_reference = 0x1a,
2387 DW_AT_comp_dir = 0x1b,
2388 DW_AT_const_value = 0x1c,
2389 DW_AT_containing_type = 0x1d,
2390 DW_AT_default_value = 0x1e,
2391 DW_AT_inline = 0x20,
2392 DW_AT_is_optional = 0x21,
2393 DW_AT_lower_bound = 0x22,
2394 DW_AT_producer = 0x25,
2395 DW_AT_prototyped = 0x27,
2396 DW_AT_return_addr = 0x2a,
2397 DW_AT_start_scope = 0x2c,
2398 DW_AT_stride_size = 0x2e,
2399 DW_AT_upper_bound = 0x2f,
2400 DW_AT_abstract_origin = 0x31,
2401 DW_AT_accessibility = 0x32,
2402 DW_AT_address_class = 0x33,
2403 DW_AT_artificial = 0x34,
2404 DW_AT_base_types = 0x35,
2405 DW_AT_calling_convention = 0x36,
2406 DW_AT_count = 0x37,
2407 DW_AT_data_member_location = 0x38,
2408 DW_AT_decl_column = 0x39,
2409 DW_AT_decl_file = 0x3a,
2410 DW_AT_decl_line = 0x3b,
2411 DW_AT_declaration = 0x3c,
2412 DW_AT_discr_list = 0x3d,
2413 DW_AT_encoding = 0x3e,
2414 DW_AT_external = 0x3f,
2415 DW_AT_frame_base = 0x40,
2416 DW_AT_friend = 0x41,
2417 DW_AT_identifier_case = 0x42,
2418 DW_AT_macro_info = 0x43,
2419 DW_AT_namelist_items = 0x44,
2420 DW_AT_priority = 0x45,
2421 DW_AT_segment = 0x46,
2422 DW_AT_specification = 0x47,
2423 DW_AT_static_link = 0x48,
2424 DW_AT_type = 0x49,
2425 DW_AT_use_location = 0x4a,
2426 DW_AT_variable_parameter = 0x4b,
2427 DW_AT_virtuality = 0x4c,
2428 DW_AT_vtable_elem_location = 0x4d,
2429
2430 DW_AT_MIPS_fde = 0x2001,
2431 DW_AT_MIPS_loop_begin = 0x2002,
2432 DW_AT_MIPS_tail_loop_begin = 0x2003,
2433 DW_AT_MIPS_epilog_begin = 0x2004,
2434 DW_AT_MIPS_loop_unroll_factor = 0x2005,
2435 DW_AT_MIPS_software_pipeline_depth = 0x2006,
2436 DW_AT_MIPS_linkage_name = 0x2007,
2437 DW_AT_MIPS_stride = 0x2008,
2438 DW_AT_MIPS_abstract_name = 0x2009,
2439 DW_AT_MIPS_clone_origin = 0x200a,
2440 DW_AT_MIPS_has_inlines = 0x200b,
2441
2442 DW_AT_sf_names = 0x2101,
2443 DW_AT_src_info = 0x2102,
2444 DW_AT_mac_info = 0x2103,
2445 DW_AT_src_coords = 0x2104,
2446 DW_AT_body_begin = 0x2105,
2447 DW_AT_body_end = 0x2106
2448 };
2449
2450
2451
2452
2453
2454
2455enum dwarf_location_atom
2456 {
2457 DW_OP_addr = 0x03,
2458 DW_OP_deref = 0x06,
2459 DW_OP_const1u = 0x08,
2460 DW_OP_const1s = 0x09,
2461 DW_OP_const2u = 0x0a,
2462 DW_OP_const2s = 0x0b,
2463 DW_OP_const4u = 0x0c,
2464 DW_OP_const4s = 0x0d,
2465 DW_OP_const8u = 0x0e,
2466 DW_OP_const8s = 0x0f,
2467 DW_OP_constu = 0x10,
2468 DW_OP_consts = 0x11,
2469 DW_OP_dup = 0x12,
2470 DW_OP_drop = 0x13,
2471 DW_OP_over = 0x14,
2472 DW_OP_pick = 0x15,
2473 DW_OP_swap = 0x16,
2474 DW_OP_rot = 0x17,
2475 DW_OP_xderef = 0x18,
2476 DW_OP_abs = 0x19,
2477 DW_OP_and = 0x1a,
2478 DW_OP_div = 0x1b,
2479 DW_OP_minus = 0x1c,
2480 DW_OP_mod = 0x1d,
2481 DW_OP_mul = 0x1e,
2482 DW_OP_neg = 0x1f,
2483 DW_OP_not = 0x20,
2484 DW_OP_or = 0x21,
2485 DW_OP_plus = 0x22,
2486 DW_OP_plus_uconst = 0x23,
2487 DW_OP_shl = 0x24,
2488 DW_OP_shr = 0x25,
2489 DW_OP_shra = 0x26,
2490 DW_OP_xor = 0x27,
2491 DW_OP_bra = 0x28,
2492 DW_OP_eq = 0x29,
2493 DW_OP_ge = 0x2a,
2494 DW_OP_gt = 0x2b,
2495 DW_OP_le = 0x2c,
2496 DW_OP_lt = 0x2d,
2497 DW_OP_ne = 0x2e,
2498 DW_OP_skip = 0x2f,
2499 DW_OP_lit0 = 0x30,
2500 DW_OP_lit1 = 0x31,
2501 DW_OP_lit2 = 0x32,
2502 DW_OP_lit3 = 0x33,
2503 DW_OP_lit4 = 0x34,
2504 DW_OP_lit5 = 0x35,
2505 DW_OP_lit6 = 0x36,
2506 DW_OP_lit7 = 0x37,
2507 DW_OP_lit8 = 0x38,
2508 DW_OP_lit9 = 0x39,
2509 DW_OP_lit10 = 0x3a,
2510 DW_OP_lit11 = 0x3b,
2511 DW_OP_lit12 = 0x3c,
2512 DW_OP_lit13 = 0x3d,
2513 DW_OP_lit14 = 0x3e,
2514 DW_OP_lit15 = 0x3f,
2515 DW_OP_lit16 = 0x40,
2516 DW_OP_lit17 = 0x41,
2517 DW_OP_lit18 = 0x42,
2518 DW_OP_lit19 = 0x43,
2519 DW_OP_lit20 = 0x44,
2520 DW_OP_lit21 = 0x45,
2521 DW_OP_lit22 = 0x46,
2522 DW_OP_lit23 = 0x47,
2523 DW_OP_lit24 = 0x48,
2524 DW_OP_lit25 = 0x49,
2525 DW_OP_lit26 = 0x4a,
2526 DW_OP_lit27 = 0x4b,
2527 DW_OP_lit28 = 0x4c,
2528 DW_OP_lit29 = 0x4d,
2529 DW_OP_lit30 = 0x4e,
2530 DW_OP_lit31 = 0x4f,
2531 DW_OP_reg0 = 0x50,
2532 DW_OP_reg1 = 0x51,
2533 DW_OP_reg2 = 0x52,
2534 DW_OP_reg3 = 0x53,
2535 DW_OP_reg4 = 0x54,
2536 DW_OP_reg5 = 0x55,
2537 DW_OP_reg6 = 0x56,
2538 DW_OP_reg7 = 0x57,
2539 DW_OP_reg8 = 0x58,
2540 DW_OP_reg9 = 0x59,
2541 DW_OP_reg10 = 0x5a,
2542 DW_OP_reg11 = 0x5b,
2543 DW_OP_reg12 = 0x5c,
2544 DW_OP_reg13 = 0x5d,
2545 DW_OP_reg14 = 0x5e,
2546 DW_OP_reg15 = 0x5f,
2547 DW_OP_reg16 = 0x60,
2548 DW_OP_reg17 = 0x61,
2549 DW_OP_reg18 = 0x62,
2550 DW_OP_reg19 = 0x63,
2551 DW_OP_reg20 = 0x64,
2552 DW_OP_reg21 = 0x65,
2553 DW_OP_reg22 = 0x66,
2554 DW_OP_reg23 = 0x67,
2555 DW_OP_reg24 = 0x68,
2556 DW_OP_reg25 = 0x69,
2557 DW_OP_reg26 = 0x6a,
2558 DW_OP_reg27 = 0x6b,
2559 DW_OP_reg28 = 0x6c,
2560 DW_OP_reg29 = 0x6d,
2561 DW_OP_reg30 = 0x6e,
2562 DW_OP_reg31 = 0x6f,
2563 DW_OP_breg0 = 0x70,
2564 DW_OP_breg1 = 0x71,
2565 DW_OP_breg2 = 0x72,
2566 DW_OP_breg3 = 0x73,
2567 DW_OP_breg4 = 0x74,
2568 DW_OP_breg5 = 0x75,
2569 DW_OP_breg6 = 0x76,
2570 DW_OP_breg7 = 0x77,
2571 DW_OP_breg8 = 0x78,
2572 DW_OP_breg9 = 0x79,
2573 DW_OP_breg10 = 0x7a,
2574 DW_OP_breg11 = 0x7b,
2575 DW_OP_breg12 = 0x7c,
2576 DW_OP_breg13 = 0x7d,
2577 DW_OP_breg14 = 0x7e,
2578 DW_OP_breg15 = 0x7f,
2579 DW_OP_breg16 = 0x80,
2580 DW_OP_breg17 = 0x81,
2581 DW_OP_breg18 = 0x82,
2582 DW_OP_breg19 = 0x83,
2583 DW_OP_breg20 = 0x84,
2584 DW_OP_breg21 = 0x85,
2585 DW_OP_breg22 = 0x86,
2586 DW_OP_breg23 = 0x87,
2587 DW_OP_breg24 = 0x88,
2588 DW_OP_breg25 = 0x89,
2589 DW_OP_breg26 = 0x8a,
2590 DW_OP_breg27 = 0x8b,
2591 DW_OP_breg28 = 0x8c,
2592 DW_OP_breg29 = 0x8d,
2593 DW_OP_breg30 = 0x8e,
2594 DW_OP_breg31 = 0x8f,
2595 DW_OP_regx = 0x90,
2596 DW_OP_fbreg = 0x91,
2597 DW_OP_bregx = 0x92,
2598 DW_OP_piece = 0x93,
2599 DW_OP_deref_size = 0x94,
2600 DW_OP_xderef_size = 0x95,
2601 DW_OP_nop = 0x96
2602 };
2603
2604
2605
2606
2607
2608
2609enum dwarf_type
2610 {
2611 DW_ATE_void = 0x0,
2612 DW_ATE_address = 0x1,
2613 DW_ATE_boolean = 0x2,
2614 DW_ATE_complex_float = 0x3,
2615 DW_ATE_float = 0x4,
2616 DW_ATE_signed = 0x5,
2617 DW_ATE_signed_char = 0x6,
2618 DW_ATE_unsigned = 0x7,
2619 DW_ATE_unsigned_char = 0x8
2620 };
2621
2622
2623
2624
2625
2626enum dwarf_array_dim_ordering
2627 {
2628 DW_ORD_row_major = 0,
2629 DW_ORD_col_major = 1
2630 };
2631
2632
2633enum dwarf_access_attribute
2634 {
2635 DW_ACCESS_public = 1,
2636 DW_ACCESS_protected = 2,
2637 DW_ACCESS_private = 3
2638 };
2639
2640
2641enum dwarf_visibility_attribute
2642 {
2643 DW_VIS_local = 1,
2644 DW_VIS_exported = 2,
2645 DW_VIS_qualified = 3
2646 };
2647
2648
2649enum dwarf_virtuality_attribute
2650 {
2651 DW_VIRTUALITY_none = 0,
2652 DW_VIRTUALITY_virtual = 1,
2653 DW_VIRTUALITY_pure_virtual = 2
2654 };
2655
2656
2657enum dwarf_id_case
2658 {
2659 DW_ID_case_sensitive = 0,
2660 DW_ID_up_case = 1,
2661 DW_ID_down_case = 2,
2662 DW_ID_case_insensitive = 3
2663 };
2664
2665
2666enum dwarf_calling_convention
2667 {
2668 DW_CC_normal = 0x1,
2669 DW_CC_program = 0x2,
2670 DW_CC_nocall = 0x3
2671 };
2672
2673
2674
2675
2676
2677enum dwarf_inline_attribute
2678 {
2679 DW_INL_not_inlined = 0,
2680 DW_INL_inlined = 1,
2681 DW_INL_declared_not_inlined = 2,
2682 DW_INL_declared_inlined = 3
2683 };
2684
2685
2686enum dwarf_discrim_list
2687 {
2688 DW_DSC_label = 0,
2689 DW_DSC_range = 1
2690 };
2691
2692
2693enum dwarf_line_number_ops
2694 {
2695 DW_LNS_extended_op = 0,
2696 DW_LNS_copy = 1,
2697 DW_LNS_advance_pc = 2,
2698 DW_LNS_advance_line = 3,
2699 DW_LNS_set_file = 4,
2700 DW_LNS_set_column = 5,
2701 DW_LNS_negate_stmt = 6,
2702 DW_LNS_set_basic_block = 7,
2703 DW_LNS_const_add_pc = 8,
2704 DW_LNS_fixed_advance_pc = 9
2705 };
2706
2707
2708enum dwarf_line_number_x_ops
2709 {
2710 DW_LNE_end_sequence = 1,
2711 DW_LNE_set_address = 2,
2712 DW_LNE_define_file = 3
2713 };
2714
2715
2716enum dwarf_call_frame_info
2717 {
2718 DW_CFA_advance_loc = 0x40,
2719 DW_CFA_offset = 0x80,
2720 DW_CFA_restore = 0xc0,
2721 DW_CFA_nop = 0x00,
2722 DW_CFA_set_loc = 0x01,
2723 DW_CFA_advance_loc1 = 0x02,
2724 DW_CFA_advance_loc2 = 0x03,
2725 DW_CFA_advance_loc4 = 0x04,
2726 DW_CFA_offset_extended = 0x05,
2727 DW_CFA_restore_extended = 0x06,
2728 DW_CFA_undefined = 0x07,
2729 DW_CFA_same_value = 0x08,
2730 DW_CFA_register = 0x09,
2731 DW_CFA_remember_state = 0x0a,
2732 DW_CFA_restore_state = 0x0b,
2733 DW_CFA_def_cfa = 0x0c,
2734 DW_CFA_def_cfa_register = 0x0d,
2735 DW_CFA_def_cfa_offset = 0x0e,
2736 DW_CFA_def_cfa_expression = 0x0f,
2737 DW_CFA_expression = 0x10,
2738
2739 DW_CFA_offset_extended_sf = 0x11,
2740 DW_CFA_def_cfa_sf = 0x12,
2741 DW_CFA_def_cfa_offset_sf = 0x13,
2742
2743
2744 DW_CFA_MIPS_advance_loc8 = 0x1d,
2745
2746
2747 DW_CFA_GNU_window_save = 0x2d,
2748 DW_CFA_GNU_args_size = 0x2e,
2749 DW_CFA_GNU_negative_offset_extended = 0x2f
2750 };
2751# 536 "../sysdeps/generic/dwarf2.h"
2752enum dwarf_source_language
2753 {
2754 DW_LANG_C89 = 0x0001,
2755 DW_LANG_C = 0x0002,
2756 DW_LANG_Ada83 = 0x0003,
2757 DW_LANG_C_plus_plus = 0x0004,
2758 DW_LANG_Cobol74 = 0x0005,
2759 DW_LANG_Cobol85 = 0x0006,
2760 DW_LANG_Fortran77 = 0x0007,
2761 DW_LANG_Fortran90 = 0x0008,
2762 DW_LANG_Pascal83 = 0x0009,
2763 DW_LANG_Modula2 = 0x000a,
2764 DW_LANG_Java = 0x000b,
2765 DW_LANG_Mips_Assembler = 0x8001
2766 };
2767
2768
2769
2770
2771
2772
2773
2774enum dwarf_macinfo_record_type
2775 {
2776 DW_MACINFO_define = 1,
2777 DW_MACINFO_undef = 2,
2778 DW_MACINFO_start_file = 3,
2779 DW_MACINFO_end_file = 4,
2780 DW_MACINFO_vendor_ext = 255
2781 };
2782# 133 "../sysdeps/generic/sysdep.h" 2
2783# 20 "../sysdeps/unix/sysdep.h" 2
2784
2785# 1 "../sysdeps/unix/sysv/linux/sys/syscall.h" 1
2786# 25 "../sysdeps/unix/sysv/linux/sys/syscall.h"
2787# 1 "/usr/include/asm/unistd.h" 1 3 4
2788# 26 "../sysdeps/unix/sysv/linux/sys/syscall.h" 2
2789# 22 "../sysdeps/unix/sysdep.h" 2
2790# 21 "../ports/sysdeps/unix/arm/sysdep.h" 2
2791# 1 "../ports/sysdeps/arm/sysdep.h" 1
2792# 20 "../ports/sysdeps/arm/sysdep.h"
2793# 1 "../sysdeps/generic/sysdep.h" 1
2794# 21 "../ports/sysdeps/arm/sysdep.h" 2
2795# 22 "../ports/sysdeps/unix/arm/sysdep.h" 2
2796# 27 "../ports/sysdeps/unix/sysv/linux/arm/sysdep.h" 2
2797
2798
2799# 1 "../sysdeps/unix/sysv/linux/dl-sysdep.h" 1
2800# 20 "../sysdeps/unix/sysv/linux/dl-sysdep.h"
2801# 1 "../ports/sysdeps/arm/dl-sysdep.h" 1
2802# 20 "../ports/sysdeps/arm/dl-sysdep.h"
2803# 1 "../sysdeps/generic/dl-sysdep.h" 1
2804# 21 "../ports/sysdeps/arm/dl-sysdep.h" 2
2805# 21 "../sysdeps/unix/sysv/linux/dl-sysdep.h" 2
2806# 32 "../sysdeps/unix/sysv/linux/dl-sysdep.h"
2807extern int _dl_discover_osversion (void) ;
2808# 30 "../ports/sysdeps/unix/sysv/linux/arm/sysdep.h" 2
2809
2810# 1 "../ports/sysdeps/arm/nptl/tls.h" 1
2811# 32 "../ports/sysdeps/unix/sysv/linux/arm/sysdep.h" 2
2812
2813
2814
2815# 1 "../include/errno.h" 1
2816
2817
2818# 1 "../stdlib/errno.h" 1
2819# 32 "../stdlib/errno.h"
2820
2821
2822
2823
2824# 1 "../sysdeps/unix/sysv/linux/bits/errno.h" 1
2825# 25 "../sysdeps/unix/sysv/linux/bits/errno.h"
2826# 1 "/usr/include/linux/errno.h" 1 3 4
2827# 1 "/usr/include/asm/errno.h" 1 3 4
2828# 1 "/usr/include/asm-generic/errno.h" 1 3 4
2829
2830
2831
2832# 1 "/usr/include/asm-generic/errno-base.h" 1 3 4
2833# 5 "/usr/include/asm-generic/errno.h" 2 3 4
2834# 1 "/usr/include/asm/errno.h" 2 3 4
2835# 1 "/usr/include/linux/errno.h" 2 3 4
2836# 26 "../sysdeps/unix/sysv/linux/bits/errno.h" 2
2837# 47 "../sysdeps/unix/sysv/linux/bits/errno.h"
2838extern int *__errno_location (void) __attribute__ ((__nothrow__ )) __attribute__ ((__const__));
2839# 37 "../stdlib/errno.h" 2
2840# 55 "../stdlib/errno.h"
2841extern char *program_invocation_name, *program_invocation_short_name;
2842
2843
2844
2845
2846# 69 "../stdlib/errno.h"
2847typedef int error_t;
2848# 4 "../include/errno.h" 2
2849# 30 "../include/errno.h"
2850extern __thread int __libc_errno __attribute__ ((tls_model ("initial-exec")));
2851
2852
2853
2854
2855
2856
2857extern int *__errno_location (void) __attribute__ ((__nothrow__ )) __attribute__ ((__const__))
2858
2859
2860
2861;
2862
2863# 36 "../ports/sysdeps/unix/sysv/linux/arm/sysdep.h" 2
2864# 27 "../ports/sysdeps/unix/sysv/linux/arm/eabi/sysdep.h" 2
2865# 50 "../ports/sysdeps/arm/nptl/tls.h" 2
2866
2867
2868
2869
2870
2871# 1 "../nptl/descr.h" 1
2872# 23 "../nptl/descr.h"
2873# 1 "../include/limits.h" 1
2874# 145 "../include/limits.h"
2875# 1 "../include/bits/posix1_lim.h" 1
2876# 146 "../include/limits.h" 2
2877
2878
2879
2880# 1 "../include/bits/posix2_lim.h" 1
2881# 150 "../include/limits.h" 2
2882# 24 "../nptl/descr.h" 2
2883# 1 "../include/sched.h" 1
2884
2885# 1 "../posix/sched.h" 1
2886# 30 "../posix/sched.h"
2887# 1 "/usr/lib/gcc/armv5te-iwmmxt-linux-gnueabi/4.7.3/include/stddef.h" 1 3 4
2888# 31 "../posix/sched.h" 2
2889# 43 "../posix/sched.h"
2890# 1 "../sysdeps/unix/sysv/linux/bits/sched.h" 1
2891# 74 "../sysdeps/unix/sysv/linux/bits/sched.h"
2892struct sched_param
2893 {
2894 int __sched_priority;
2895 };
2896
2897
2898
2899
2900
2901extern int clone (int (*__fn) (void *__arg), void *__child_stack,
2902 int __flags, void *__arg, ...) __attribute__ ((__nothrow__ ));
2903
2904
2905extern int unshare (int __flags) __attribute__ ((__nothrow__ ));
2906
2907
2908extern int sched_getcpu (void) __attribute__ ((__nothrow__ ));
2909
2910
2911extern int setns (int __fd, int __nstype) __attribute__ ((__nothrow__ ));
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923struct __sched_param
2924 {
2925 int __sched_priority;
2926 };
2927# 120 "../sysdeps/unix/sysv/linux/bits/sched.h"
2928typedef unsigned long int __cpu_mask;
2929
2930
2931
2932
2933
2934
2935typedef struct
2936{
2937 __cpu_mask __bits[1024 / (8 * sizeof (__cpu_mask))];
2938} cpu_set_t;
2939# 203 "../sysdeps/unix/sysv/linux/bits/sched.h"
2940
2941
2942extern int __sched_cpucount (size_t __setsize, const cpu_set_t *__setp)
2943 __attribute__ ((__nothrow__ ));
2944extern cpu_set_t *__sched_cpualloc (size_t __count) __attribute__ ((__nothrow__ )) ;
2945extern void __sched_cpufree (cpu_set_t *__set) __attribute__ ((__nothrow__ ));
2946
2947
2948# 44 "../posix/sched.h" 2
2949
2950
2951
2952
2953
2954
2955
2956extern int sched_setparam (__pid_t __pid, __const struct sched_param *__param)
2957 __attribute__ ((__nothrow__ ));
2958
2959
2960extern int sched_getparam (__pid_t __pid, struct sched_param *__param) __attribute__ ((__nothrow__ ));
2961
2962
2963extern int sched_setscheduler (__pid_t __pid, int __policy,
2964 __const struct sched_param *__param) __attribute__ ((__nothrow__ ));
2965
2966
2967extern int sched_getscheduler (__pid_t __pid) __attribute__ ((__nothrow__ ));
2968
2969
2970extern int sched_yield (void) __attribute__ ((__nothrow__ ));
2971
2972
2973extern int sched_get_priority_max (int __algorithm) __attribute__ ((__nothrow__ ));
2974
2975
2976extern int sched_get_priority_min (int __algorithm) __attribute__ ((__nothrow__ ));
2977
2978
2979extern int sched_rr_get_interval (__pid_t __pid, struct timespec *__t) __attribute__ ((__nothrow__ ));
2980# 118 "../posix/sched.h"
2981extern int sched_setaffinity (__pid_t __pid, size_t __cpusetsize,
2982 __const cpu_set_t *__cpuset) __attribute__ ((__nothrow__ ));
2983
2984
2985extern int sched_getaffinity (__pid_t __pid, size_t __cpusetsize,
2986 cpu_set_t *__cpuset) __attribute__ ((__nothrow__ ));
2987
2988
2989
2990# 3 "../include/sched.h" 2
2991
2992
2993extern int __sched_setparam (__pid_t __pid,
2994 __const struct sched_param *__param);
2995extern int __sched_getparam (__pid_t __pid, struct sched_param *__param);
2996extern int __sched_setscheduler (__pid_t __pid, int __policy,
2997 __const struct sched_param *__param);
2998
2999extern int __sched_getscheduler (__pid_t __pid);
3000extern int __sched_yield (void);
3001
3002extern int __sched_get_priority_max (int __algorithm);
3003extern int __sched_get_priority_min (int __algorithm);
3004extern int __sched_rr_get_interval (__pid_t __pid, struct timespec *__t);
3005
3006
3007extern int __clone (int (*__fn) (void *__arg), void *__child_stack,
3008 int __flags, void *__arg, ...);
3009extern int __clone2 (int (*__fn) (void *__arg), void *__child_stack_base,
3010 size_t __child_stack_size, int __flags, void *__arg, ...);
3011# 25 "../nptl/descr.h" 2
3012# 1 "../include/setjmp.h" 1
3013
3014# 1 "../setjmp/setjmp.h" 1
3015# 28 "../setjmp/setjmp.h"
3016
3017
3018# 1 "../ports/sysdeps/arm/eabi/bits/setjmp.h" 1
3019# 35 "../ports/sysdeps/arm/eabi/bits/setjmp.h"
3020typedef int __jmp_buf[64] __attribute__((__aligned__ (8)));
3021# 31 "../setjmp/setjmp.h" 2
3022# 1 "../sysdeps/unix/sysv/linux/bits/sigset.h" 1
3023# 32 "../setjmp/setjmp.h" 2
3024
3025
3026
3027struct __jmp_buf_tag
3028 {
3029
3030
3031
3032
3033 __jmp_buf __jmpbuf;
3034 int __mask_was_saved;
3035 __sigset_t __saved_mask;
3036 };
3037
3038
3039
3040
3041typedef struct __jmp_buf_tag jmp_buf[1];
3042
3043
3044
3045extern int setjmp (jmp_buf __env) __attribute__ ((__nothrow__));
3046
3047
3048
3049
3050
3051
3052extern int __sigsetjmp (struct __jmp_buf_tag __env[1], int __savemask) __attribute__ ((__nothrow__));
3053
3054
3055
3056
3057extern int _setjmp (struct __jmp_buf_tag __env[1]) __attribute__ ((__nothrow__));
3058# 78 "../setjmp/setjmp.h"
3059
3060
3061
3062
3063extern void longjmp (struct __jmp_buf_tag __env[1], int __val)
3064 __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__));
3065
3066
3067
3068
3069
3070
3071
3072extern void _longjmp (struct __jmp_buf_tag __env[1], int __val)
3073 __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__));
3074
3075
3076
3077
3078
3079
3080
3081typedef struct __jmp_buf_tag sigjmp_buf[1];
3082# 110 "../setjmp/setjmp.h"
3083extern void siglongjmp (sigjmp_buf __env, int __val)
3084 __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__));
3085# 120 "../setjmp/setjmp.h"
3086
3087# 3 "../include/setjmp.h" 2
3088
3089
3090
3091
3092extern void __longjmp (__jmp_buf __env, int __val)
3093 __attribute__ ((__noreturn__));
3094
3095
3096
3097
3098
3099extern int __sigjmp_save (jmp_buf __env, int __savemask);
3100
3101extern void _longjmp_unwind (jmp_buf env, int val);
3102
3103extern void __libc_siglongjmp (sigjmp_buf env, int val)
3104 __attribute__ ((noreturn));
3105extern void __libc_longjmp (sigjmp_buf env, int val)
3106 __attribute__ ((noreturn));
3107
3108
3109
3110
3111# 26 "../nptl/descr.h" 2
3112
3113# 1 "../include/sys/types.h" 1
3114# 28 "../nptl/descr.h" 2
3115# 1 "../sysdeps/generic/hp-timing.h" 1
3116# 71 "../sysdeps/generic/hp-timing.h"
3117typedef int hp_timing_t;
3118# 29 "../nptl/descr.h" 2
3119
3120# 1 "../nptl/sysdeps/pthread/list.h" 1
3121# 35 "../nptl/sysdeps/pthread/list.h"
3122typedef struct list_head
3123{
3124 struct list_head *next;
3125 struct list_head *prev;
3126} list_t;
3127# 31 "../nptl/descr.h" 2
3128# 1 "../ports/sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h" 1
3129# 23 "../ports/sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h"
3130# 1 "../sysdeps/unix/sysv/linux/sys/param.h" 1
3131# 27 "../sysdeps/unix/sysv/linux/sys/param.h"
3132# 1 "../include/limits.h" 1
3133# 145 "../include/limits.h"
3134# 1 "../include/bits/posix1_lim.h" 1
3135# 146 "../include/limits.h" 2
3136
3137
3138
3139# 1 "../include/bits/posix2_lim.h" 1
3140# 150 "../include/limits.h" 2
3141# 28 "../sysdeps/unix/sysv/linux/sys/param.h" 2
3142
3143# 1 "/usr/include/linux/param.h" 1 3 4
3144
3145
3146
3147# 1 "/usr/include/asm/param.h" 1 3 4
3148# 1 "/usr/include/asm-generic/param.h" 1 3 4
3149# 1 "/usr/include/asm/param.h" 2 3 4
3150# 5 "/usr/include/linux/param.h" 2 3 4
3151# 30 "../sysdeps/unix/sysv/linux/sys/param.h" 2
3152# 53 "../sysdeps/unix/sysv/linux/sys/param.h"
3153# 1 "../include/sys/types.h" 1
3154# 54 "../sysdeps/unix/sysv/linux/sys/param.h" 2
3155# 24 "../ports/sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h" 2
3156
3157# 1 "../include/atomic.h" 1
3158# 49 "../include/atomic.h"
3159# 1 "../include/stdlib.h" 1
3160
3161
3162
3163
3164
3165
3166# 1 "/usr/lib/gcc/armv5te-iwmmxt-linux-gnueabi/4.7.3/include/stddef.h" 1 3 4
3167# 8 "../include/stdlib.h" 2
3168# 1 "../stdlib/stdlib.h" 1
3169# 33 "../stdlib/stdlib.h"
3170# 1 "/usr/lib/gcc/armv5te-iwmmxt-linux-gnueabi/4.7.3/include/stddef.h" 1 3 4
3171# 34 "../stdlib/stdlib.h" 2
3172
3173
3174
3175
3176
3177
3178
3179
3180# 1 "../sysdeps/unix/sysv/linux/bits/waitflags.h" 1
3181# 43 "../stdlib/stdlib.h" 2
3182# 1 "../bits/waitstatus.h" 1
3183# 65 "../bits/waitstatus.h"
3184# 1 "../include/endian.h" 1
3185# 66 "../bits/waitstatus.h" 2
3186
3187union wait
3188 {
3189 int w_status;
3190 struct
3191 {
3192
3193 unsigned int __w_termsig:7;
3194 unsigned int __w_coredump:1;
3195 unsigned int __w_retcode:8;
3196 unsigned int:16;
3197
3198
3199
3200
3201
3202
3203
3204 } __wait_terminated;
3205 struct
3206 {
3207
3208 unsigned int __w_stopval:8;
3209 unsigned int __w_stopsig:8;
3210 unsigned int:16;
3211
3212
3213
3214
3215
3216
3217 } __wait_stopped;
3218 };
3219# 44 "../stdlib/stdlib.h" 2
3220# 68 "../stdlib/stdlib.h"
3221typedef union
3222 {
3223 union wait *__uptr;
3224 int *__iptr;
3225 } __WAIT_STATUS __attribute__ ((__transparent_union__));
3226# 96 "../stdlib/stdlib.h"
3227
3228
3229typedef struct
3230 {
3231 int quot;
3232 int rem;
3233 } div_t;
3234
3235
3236
3237typedef struct
3238 {
3239 long int quot;
3240 long int rem;
3241 } ldiv_t;
3242
3243
3244
3245
3246
3247
3248
3249__extension__ typedef struct
3250 {
3251 long long int quot;
3252 long long int rem;
3253 } lldiv_t;
3254
3255
3256# 140 "../stdlib/stdlib.h"
3257extern size_t __ctype_get_mb_cur_max (void) __attribute__ ((__nothrow__ )) ;
3258
3259
3260
3261
3262extern double atof (__const char *__nptr)
3263 __attribute__ ((__nothrow__ )) __attribute__ ((__pure__)) ;
3264
3265extern int atoi (__const char *__nptr)
3266 __attribute__ ((__nothrow__ )) __attribute__ ((__pure__)) ;
3267
3268extern long int atol (__const char *__nptr)
3269 __attribute__ ((__nothrow__ )) __attribute__ ((__pure__)) ;
3270
3271
3272
3273
3274
3275__extension__ extern long long int atoll (__const char *__nptr)
3276 __attribute__ ((__nothrow__ )) __attribute__ ((__pure__)) ;
3277
3278
3279
3280
3281
3282extern double strtod (__const char *__restrict __nptr,
3283 char **__restrict __endptr)
3284 __attribute__ ((__nothrow__ )) ;
3285
3286
3287
3288
3289
3290extern float strtof (__const char *__restrict __nptr,
3291 char **__restrict __endptr) __attribute__ ((__nothrow__ )) ;
3292
3293extern long double strtold (__const char *__restrict __nptr,
3294 char **__restrict __endptr)
3295 __attribute__ ((__nothrow__ )) ;
3296
3297
3298
3299
3300
3301extern long int strtol (__const char *__restrict __nptr,
3302 char **__restrict __endptr, int __base)
3303 __attribute__ ((__nothrow__ )) ;
3304
3305extern unsigned long int strtoul (__const char *__restrict __nptr,
3306 char **__restrict __endptr, int __base)
3307 __attribute__ ((__nothrow__ )) ;
3308
3309
3310
3311
3312__extension__
3313extern long long int strtoq (__const char *__restrict __nptr,
3314 char **__restrict __endptr, int __base)
3315 __attribute__ ((__nothrow__ )) ;
3316
3317__extension__
3318extern unsigned long long int strtouq (__const char *__restrict __nptr,
3319 char **__restrict __endptr, int __base)
3320 __attribute__ ((__nothrow__ )) ;
3321
3322
3323
3324
3325
3326__extension__
3327extern long long int strtoll (__const char *__restrict __nptr,
3328 char **__restrict __endptr, int __base)
3329 __attribute__ ((__nothrow__ )) ;
3330
3331__extension__
3332extern unsigned long long int strtoull (__const char *__restrict __nptr,
3333 char **__restrict __endptr, int __base)
3334 __attribute__ ((__nothrow__ )) ;
3335
3336# 236 "../stdlib/stdlib.h"
3337# 1 "../include/xlocale.h" 1
3338# 237 "../stdlib/stdlib.h" 2
3339
3340
3341
3342extern long int strtol_l (__const char *__restrict __nptr,
3343 char **__restrict __endptr, int __base,
3344 __locale_t __loc) __attribute__ ((__nothrow__ )) ;
3345
3346extern unsigned long int strtoul_l (__const char *__restrict __nptr,
3347 char **__restrict __endptr,
3348 int __base, __locale_t __loc)
3349 __attribute__ ((__nothrow__ )) ;
3350
3351__extension__
3352extern long long int strtoll_l (__const char *__restrict __nptr,
3353 char **__restrict __endptr, int __base,
3354 __locale_t __loc)
3355 __attribute__ ((__nothrow__ )) ;
3356
3357__extension__
3358extern unsigned long long int strtoull_l (__const char *__restrict __nptr,
3359 char **__restrict __endptr,
3360 int __base, __locale_t __loc)
3361 __attribute__ ((__nothrow__ )) ;
3362
3363extern double strtod_l (__const char *__restrict __nptr,
3364 char **__restrict __endptr, __locale_t __loc)
3365 __attribute__ ((__nothrow__ )) ;
3366
3367extern float strtof_l (__const char *__restrict __nptr,
3368 char **__restrict __endptr, __locale_t __loc)
3369 __attribute__ ((__nothrow__ )) ;
3370
3371extern long double strtold_l (__const char *__restrict __nptr,
3372 char **__restrict __endptr,
3373 __locale_t __loc)
3374 __attribute__ ((__nothrow__ )) ;
3375
3376
3377
3378
3379
3380extern __inline double
3381__attribute__ ((__nothrow__ )) atof (__const char *__nptr)
3382{
3383 return strtod (__nptr, (char **) ((void *)0));
3384}
3385extern __inline int
3386__attribute__ ((__nothrow__ )) atoi (__const char *__nptr)
3387{
3388 return (int) strtol (__nptr, (char **) ((void *)0), 10);
3389}
3390extern __inline long int
3391__attribute__ ((__nothrow__ )) atol (__const char *__nptr)
3392{
3393 return strtol (__nptr, (char **) ((void *)0), 10);
3394}
3395
3396
3397
3398
3399__extension__ extern __inline long long int
3400__attribute__ ((__nothrow__ )) atoll (__const char *__nptr)
3401{
3402 return strtoll (__nptr, (char **) ((void *)0), 10);
3403}
3404
3405# 311 "../stdlib/stdlib.h"
3406extern char *l64a (long int __n) __attribute__ ((__nothrow__ )) ;
3407
3408
3409extern long int a64l (__const char *__s)
3410 __attribute__ ((__nothrow__ )) __attribute__ ((__pure__)) ;
3411
3412
3413
3414
3415# 1 "../include/sys/types.h" 1
3416# 321 "../stdlib/stdlib.h" 2
3417
3418
3419
3420
3421
3422
3423extern long int random (void) __attribute__ ((__nothrow__ ));
3424
3425
3426extern void srandom (unsigned int __seed) __attribute__ ((__nothrow__ ));
3427
3428
3429
3430
3431
3432extern char *initstate (unsigned int __seed, char *__statebuf,
3433 size_t __statelen) __attribute__ ((__nothrow__ )) ;
3434
3435
3436
3437extern char *setstate (char *__statebuf) __attribute__ ((__nothrow__ )) ;
3438
3439
3440
3441
3442
3443
3444
3445struct random_data
3446 {
3447 int32_t *fptr;
3448 int32_t *rptr;
3449 int32_t *state;
3450 int rand_type;
3451 int rand_deg;
3452 int rand_sep;
3453 int32_t *end_ptr;
3454 };
3455
3456extern int random_r (struct random_data *__restrict __buf,
3457 int32_t *__restrict __result) __attribute__ ((__nothrow__ )) ;
3458
3459extern int srandom_r (unsigned int __seed, struct random_data *__buf)
3460 __attribute__ ((__nothrow__ )) ;
3461
3462extern int initstate_r (unsigned int __seed, char *__restrict __statebuf,
3463 size_t __statelen,
3464 struct random_data *__restrict __buf)
3465 __attribute__ ((__nothrow__ )) ;
3466
3467extern int setstate_r (char *__restrict __statebuf,
3468 struct random_data *__restrict __buf)
3469 __attribute__ ((__nothrow__ )) ;
3470
3471
3472
3473
3474
3475
3476extern int rand (void) __attribute__ ((__nothrow__ ));
3477
3478extern void srand (unsigned int __seed) __attribute__ ((__nothrow__ ));
3479
3480
3481
3482
3483extern int rand_r (unsigned int *__seed) __attribute__ ((__nothrow__ ));
3484
3485
3486
3487
3488
3489
3490
3491extern double drand48 (void) __attribute__ ((__nothrow__ ));
3492extern double erand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__ )) ;
3493
3494
3495extern long int lrand48 (void) __attribute__ ((__nothrow__ ));
3496extern long int nrand48 (unsigned short int __xsubi[3])
3497 __attribute__ ((__nothrow__ )) ;
3498
3499
3500extern long int mrand48 (void) __attribute__ ((__nothrow__ ));
3501extern long int jrand48 (unsigned short int __xsubi[3])
3502 __attribute__ ((__nothrow__ )) ;
3503
3504
3505extern void srand48 (long int __seedval) __attribute__ ((__nothrow__ ));
3506extern unsigned short int *seed48 (unsigned short int __seed16v[3])
3507 __attribute__ ((__nothrow__ )) ;
3508extern void lcong48 (unsigned short int __param[7]) __attribute__ ((__nothrow__ )) ;
3509
3510
3511
3512
3513
3514struct drand48_data
3515 {
3516 unsigned short int __x[3];
3517 unsigned short int __old_x[3];
3518 unsigned short int __c;
3519 unsigned short int __init;
3520 unsigned long long int __a;
3521 };
3522
3523
3524extern int drand48_r (struct drand48_data *__restrict __buffer,
3525 double *__restrict __result) __attribute__ ((__nothrow__ )) ;
3526extern int erand48_r (unsigned short int __xsubi[3],
3527 struct drand48_data *__restrict __buffer,
3528 double *__restrict __result) __attribute__ ((__nothrow__ )) ;
3529
3530
3531extern int lrand48_r (struct drand48_data *__restrict __buffer,
3532 long int *__restrict __result)
3533 __attribute__ ((__nothrow__ )) ;
3534extern int nrand48_r (unsigned short int __xsubi[3],
3535 struct drand48_data *__restrict __buffer,
3536 long int *__restrict __result)
3537 __attribute__ ((__nothrow__ )) ;
3538
3539
3540extern int mrand48_r (struct drand48_data *__restrict __buffer,
3541 long int *__restrict __result)
3542 __attribute__ ((__nothrow__ )) ;
3543extern int jrand48_r (unsigned short int __xsubi[3],
3544 struct drand48_data *__restrict __buffer,
3545 long int *__restrict __result)
3546 __attribute__ ((__nothrow__ )) ;
3547
3548
3549extern int srand48_r (long int __seedval, struct drand48_data *__buffer)
3550 __attribute__ ((__nothrow__ )) ;
3551
3552extern int seed48_r (unsigned short int __seed16v[3],
3553 struct drand48_data *__buffer) __attribute__ ((__nothrow__ )) ;
3554
3555extern int lcong48_r (unsigned short int __param[7],
3556 struct drand48_data *__buffer)
3557 __attribute__ ((__nothrow__ )) ;
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567extern void *malloc (size_t __size) __attribute__ ((__nothrow__ )) __attribute__ ((__malloc__)) ;
3568
3569extern void *calloc (size_t __nmemb, size_t __size)
3570 __attribute__ ((__nothrow__ )) __attribute__ ((__malloc__)) ;
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581extern void *realloc (void *__ptr, size_t __size)
3582 __attribute__ ((__nothrow__ )) __attribute__ ((__warn_unused_result__));
3583
3584extern void free (void *__ptr) __attribute__ ((__nothrow__ ));
3585
3586
3587
3588
3589extern void cfree (void *__ptr) __attribute__ ((__nothrow__ ));
3590
3591
3592
3593# 1 "../include/alloca.h" 1
3594
3595
3596# 1 "../stdlib/alloca.h" 1
3597# 25 "../stdlib/alloca.h"
3598# 1 "/usr/lib/gcc/armv5te-iwmmxt-linux-gnueabi/4.7.3/include/stddef.h" 1 3 4
3599# 26 "../stdlib/alloca.h" 2
3600
3601
3602
3603
3604
3605
3606
3607extern void *alloca (size_t __size) __attribute__ ((__nothrow__ ));
3608
3609
3610
3611
3612
3613
3614# 4 "../include/alloca.h" 2
3615# 1 "../ports/sysdeps/arm/stackinfo.h" 1
3616# 25 "../ports/sysdeps/arm/stackinfo.h"
3617# 1 "../include/elf.h" 1
3618
3619# 1 "../elf/elf.h" 1
3620# 26 "../elf/elf.h"
3621
3622
3623
3624
3625
3626
3627
3628typedef uint16_t Elf32_Half;
3629typedef uint16_t Elf64_Half;
3630
3631
3632typedef uint32_t Elf32_Word;
3633typedef int32_t Elf32_Sword;
3634typedef uint32_t Elf64_Word;
3635typedef int32_t Elf64_Sword;
3636
3637
3638typedef uint64_t Elf32_Xword;
3639typedef int64_t Elf32_Sxword;
3640typedef uint64_t Elf64_Xword;
3641typedef int64_t Elf64_Sxword;
3642
3643
3644typedef uint32_t Elf32_Addr;
3645typedef uint64_t Elf64_Addr;
3646
3647
3648typedef uint32_t Elf32_Off;
3649typedef uint64_t Elf64_Off;
3650
3651
3652typedef uint16_t Elf32_Section;
3653typedef uint16_t Elf64_Section;
3654
3655
3656typedef Elf32_Half Elf32_Versym;
3657typedef Elf64_Half Elf64_Versym;
3658
3659
3660
3661
3662
3663
3664typedef struct
3665{
3666 unsigned char e_ident[(16)];
3667 Elf32_Half e_type;
3668 Elf32_Half e_machine;
3669 Elf32_Word e_version;
3670 Elf32_Addr e_entry;
3671 Elf32_Off e_phoff;
3672 Elf32_Off e_shoff;
3673 Elf32_Word e_flags;
3674 Elf32_Half e_ehsize;
3675 Elf32_Half e_phentsize;
3676 Elf32_Half e_phnum;
3677 Elf32_Half e_shentsize;
3678 Elf32_Half e_shnum;
3679 Elf32_Half e_shstrndx;
3680} Elf32_Ehdr;
3681
3682typedef struct
3683{
3684 unsigned char e_ident[(16)];
3685 Elf64_Half e_type;
3686 Elf64_Half e_machine;
3687 Elf64_Word e_version;
3688 Elf64_Addr e_entry;
3689 Elf64_Off e_phoff;
3690 Elf64_Off e_shoff;
3691 Elf64_Word e_flags;
3692 Elf64_Half e_ehsize;
3693 Elf64_Half e_phentsize;
3694 Elf64_Half e_phnum;
3695 Elf64_Half e_shentsize;
3696 Elf64_Half e_shnum;
3697 Elf64_Half e_shstrndx;
3698} Elf64_Ehdr;
3699# 270 "../elf/elf.h"
3700typedef struct
3701{
3702 Elf32_Word sh_name;
3703 Elf32_Word sh_type;
3704 Elf32_Word sh_flags;
3705 Elf32_Addr sh_addr;
3706 Elf32_Off sh_offset;
3707 Elf32_Word sh_size;
3708 Elf32_Word sh_link;
3709 Elf32_Word sh_info;
3710 Elf32_Word sh_addralign;
3711 Elf32_Word sh_entsize;
3712} Elf32_Shdr;
3713
3714typedef struct
3715{
3716 Elf64_Word sh_name;
3717 Elf64_Word sh_type;
3718 Elf64_Xword sh_flags;
3719 Elf64_Addr sh_addr;
3720 Elf64_Off sh_offset;
3721 Elf64_Xword sh_size;
3722 Elf64_Word sh_link;
3723 Elf64_Word sh_info;
3724 Elf64_Xword sh_addralign;
3725 Elf64_Xword sh_entsize;
3726} Elf64_Shdr;
3727# 379 "../elf/elf.h"
3728typedef struct
3729{
3730 Elf32_Word st_name;
3731 Elf32_Addr st_value;
3732 Elf32_Word st_size;
3733 unsigned char st_info;
3734 unsigned char st_other;
3735 Elf32_Section st_shndx;
3736} Elf32_Sym;
3737
3738typedef struct
3739{
3740 Elf64_Word st_name;
3741 unsigned char st_info;
3742 unsigned char st_other;
3743 Elf64_Section st_shndx;
3744 Elf64_Addr st_value;
3745 Elf64_Xword st_size;
3746} Elf64_Sym;
3747
3748
3749
3750
3751typedef struct
3752{
3753 Elf32_Half si_boundto;
3754 Elf32_Half si_flags;
3755} Elf32_Syminfo;
3756
3757typedef struct
3758{
3759 Elf64_Half si_boundto;
3760 Elf64_Half si_flags;
3761} Elf64_Syminfo;
3762# 494 "../elf/elf.h"
3763typedef struct
3764{
3765 Elf32_Addr r_offset;
3766 Elf32_Word r_info;
3767} Elf32_Rel;
3768
3769
3770
3771
3772
3773
3774typedef struct
3775{
3776 Elf64_Addr r_offset;
3777 Elf64_Xword r_info;
3778} Elf64_Rel;
3779
3780
3781
3782typedef struct
3783{
3784 Elf32_Addr r_offset;
3785 Elf32_Word r_info;
3786 Elf32_Sword r_addend;
3787} Elf32_Rela;
3788
3789typedef struct
3790{
3791 Elf64_Addr r_offset;
3792 Elf64_Xword r_info;
3793 Elf64_Sxword r_addend;
3794} Elf64_Rela;
3795# 539 "../elf/elf.h"
3796typedef struct
3797{
3798 Elf32_Word p_type;
3799 Elf32_Off p_offset;
3800 Elf32_Addr p_vaddr;
3801 Elf32_Addr p_paddr;
3802 Elf32_Word p_filesz;
3803 Elf32_Word p_memsz;
3804 Elf32_Word p_flags;
3805 Elf32_Word p_align;
3806} Elf32_Phdr;
3807
3808typedef struct
3809{
3810 Elf64_Word p_type;
3811 Elf64_Word p_flags;
3812 Elf64_Off p_offset;
3813 Elf64_Addr p_vaddr;
3814 Elf64_Addr p_paddr;
3815 Elf64_Xword p_filesz;
3816 Elf64_Xword p_memsz;
3817 Elf64_Xword p_align;
3818} Elf64_Phdr;
3819# 646 "../elf/elf.h"
3820typedef struct
3821{
3822 Elf32_Sword d_tag;
3823 union
3824 {
3825 Elf32_Word d_val;
3826 Elf32_Addr d_ptr;
3827 } d_un;
3828} Elf32_Dyn;
3829
3830typedef struct
3831{
3832 Elf64_Sxword d_tag;
3833 union
3834 {
3835 Elf64_Xword d_val;
3836 Elf64_Addr d_ptr;
3837 } d_un;
3838} Elf64_Dyn;
3839# 813 "../elf/elf.h"
3840typedef struct
3841{
3842 Elf32_Half vd_version;
3843 Elf32_Half vd_flags;
3844 Elf32_Half vd_ndx;
3845 Elf32_Half vd_cnt;
3846 Elf32_Word vd_hash;
3847 Elf32_Word vd_aux;
3848 Elf32_Word vd_next;
3849
3850} Elf32_Verdef;
3851
3852typedef struct
3853{
3854 Elf64_Half vd_version;
3855 Elf64_Half vd_flags;
3856 Elf64_Half vd_ndx;
3857 Elf64_Half vd_cnt;
3858 Elf64_Word vd_hash;
3859 Elf64_Word vd_aux;
3860 Elf64_Word vd_next;
3861
3862} Elf64_Verdef;
3863# 855 "../elf/elf.h"
3864typedef struct
3865{
3866 Elf32_Word vda_name;
3867 Elf32_Word vda_next;
3868
3869} Elf32_Verdaux;
3870
3871typedef struct
3872{
3873 Elf64_Word vda_name;
3874 Elf64_Word vda_next;
3875
3876} Elf64_Verdaux;
3877
3878
3879
3880
3881typedef struct
3882{
3883 Elf32_Half vn_version;
3884 Elf32_Half vn_cnt;
3885 Elf32_Word vn_file;
3886
3887 Elf32_Word vn_aux;
3888 Elf32_Word vn_next;
3889
3890} Elf32_Verneed;
3891
3892typedef struct
3893{
3894 Elf64_Half vn_version;
3895 Elf64_Half vn_cnt;
3896 Elf64_Word vn_file;
3897
3898 Elf64_Word vn_aux;
3899 Elf64_Word vn_next;
3900
3901} Elf64_Verneed;
3902# 902 "../elf/elf.h"
3903typedef struct
3904{
3905 Elf32_Word vna_hash;
3906 Elf32_Half vna_flags;
3907 Elf32_Half vna_other;
3908 Elf32_Word vna_name;
3909 Elf32_Word vna_next;
3910
3911} Elf32_Vernaux;
3912
3913typedef struct
3914{
3915 Elf64_Word vna_hash;
3916 Elf64_Half vna_flags;
3917 Elf64_Half vna_other;
3918 Elf64_Word vna_name;
3919 Elf64_Word vna_next;
3920
3921} Elf64_Vernaux;
3922# 936 "../elf/elf.h"
3923typedef struct
3924{
3925 uint32_t a_type;
3926 union
3927 {
3928 uint32_t a_val;
3929
3930
3931
3932 } a_un;
3933} Elf32_auxv_t;
3934
3935typedef struct
3936{
3937 uint64_t a_type;
3938 union
3939 {
3940 uint64_t a_val;
3941
3942
3943
3944 } a_un;
3945} Elf64_auxv_t;
3946# 1020 "../elf/elf.h"
3947typedef struct
3948{
3949 Elf32_Word n_namesz;
3950 Elf32_Word n_descsz;
3951 Elf32_Word n_type;
3952} Elf32_Nhdr;
3953
3954typedef struct
3955{
3956 Elf64_Word n_namesz;
3957 Elf64_Word n_descsz;
3958 Elf64_Word n_type;
3959} Elf64_Nhdr;
3960# 1084 "../elf/elf.h"
3961typedef struct
3962{
3963 Elf32_Xword m_value;
3964 Elf32_Word m_info;
3965 Elf32_Word m_poffset;
3966 Elf32_Half m_repeat;
3967 Elf32_Half m_stride;
3968} Elf32_Move;
3969
3970typedef struct
3971{
3972 Elf64_Xword m_value;
3973 Elf64_Xword m_info;
3974 Elf64_Xword m_poffset;
3975 Elf64_Half m_repeat;
3976 Elf64_Half m_stride;
3977} Elf64_Move;
3978# 1466 "../elf/elf.h"
3979typedef union
3980{
3981 struct
3982 {
3983 Elf32_Word gt_current_g_value;
3984 Elf32_Word gt_unused;
3985 } gt_header;
3986 struct
3987 {
3988 Elf32_Word gt_g_value;
3989 Elf32_Word gt_bytes;
3990 } gt_entry;
3991} Elf32_gptab;
3992
3993
3994
3995typedef struct
3996{
3997 Elf32_Word ri_gprmask;
3998 Elf32_Word ri_cprmask[4];
3999 Elf32_Sword ri_gp_value;
4000} Elf32_RegInfo;
4001
4002
4003
4004typedef struct
4005{
4006 unsigned char kind;
4007
4008 unsigned char size;
4009 Elf32_Section section;
4010
4011 Elf32_Word info;
4012} Elf_Options;
4013# 1542 "../elf/elf.h"
4014typedef struct
4015{
4016 Elf32_Word hwp_flags1;
4017 Elf32_Word hwp_flags2;
4018} Elf_Options_Hw;
4019# 1703 "../elf/elf.h"
4020typedef struct
4021{
4022 Elf32_Word l_name;
4023 Elf32_Word l_time_stamp;
4024 Elf32_Word l_checksum;
4025 Elf32_Word l_version;
4026 Elf32_Word l_flags;
4027} Elf32_Lib;
4028
4029typedef struct
4030{
4031 Elf64_Word l_name;
4032 Elf64_Word l_time_stamp;
4033 Elf64_Word l_checksum;
4034 Elf64_Word l_version;
4035 Elf64_Word l_flags;
4036} Elf64_Lib;
4037# 1734 "../elf/elf.h"
4038typedef Elf32_Addr Elf32_Conflict;
4039# 2807 "../elf/elf.h"
4040
4041# 3 "../include/elf.h" 2
4042
4043
4044# 1 "../sysdeps/generic/dl-dtprocnum.h" 1
4045# 6 "../include/elf.h" 2
4046# 26 "../ports/sysdeps/arm/stackinfo.h" 2
4047# 5 "../include/alloca.h" 2
4048
4049
4050
4051
4052extern void *__alloca (size_t __size);
4053
4054
4055
4056
4057
4058extern int __libc_use_alloca (size_t size) __attribute__ ((const));
4059extern int __libc_alloca_cutoff (size_t size) __attribute__ ((const));
4060
4061
4062
4063
4064# 1 "../nptl/sysdeps/pthread/allocalim.h" 1
4065# 20 "../nptl/sysdeps/pthread/allocalim.h"
4066# 1 "../include/alloca.h" 1
4067# 21 "../nptl/sysdeps/pthread/allocalim.h" 2
4068# 1 "../include/limits.h" 1
4069# 145 "../include/limits.h"
4070# 1 "../include/bits/posix1_lim.h" 1
4071# 146 "../include/limits.h" 2
4072
4073
4074
4075# 1 "../include/bits/posix2_lim.h" 1
4076# 150 "../include/limits.h" 2
4077# 22 "../nptl/sysdeps/pthread/allocalim.h" 2
4078
4079
4080extern int
4081__inline __attribute__ ((__always_inline__))
4082__libc_use_alloca (size_t size)
4083{
4084 return (__builtin_expect (size <= 16384 / 4, 1)
4085 || __builtin_expect (__libc_alloca_cutoff (size), 1));
4086}
4087# 22 "../include/alloca.h" 2
4088# 498 "../stdlib/stdlib.h" 2
4089
4090
4091
4092
4093
4094extern void *valloc (size_t __size) __attribute__ ((__nothrow__ )) __attribute__ ((__malloc__)) ;
4095
4096
4097
4098
4099extern int posix_memalign (void **__memptr, size_t __alignment, size_t __size)
4100 __attribute__ ((__nothrow__ )) ;
4101
4102
4103
4104
4105extern void abort (void) __attribute__ ((__nothrow__ )) __attribute__ ((__noreturn__));
4106
4107
4108
4109extern int atexit (void (*__func) (void)) __attribute__ ((__nothrow__ )) ;
4110# 528 "../stdlib/stdlib.h"
4111extern int at_quick_exit (void (*__func) (void)) __attribute__ ((__nothrow__ )) ;
4112
4113
4114
4115
4116
4117
4118
4119extern int on_exit (void (*__func) (int __status, void *__arg), void *__arg)
4120 __attribute__ ((__nothrow__ )) ;
4121
4122
4123
4124
4125
4126
4127extern void exit (int __status) __attribute__ ((__nothrow__ )) __attribute__ ((__noreturn__));
4128
4129
4130
4131
4132
4133
4134
4135extern void quick_exit (int __status) __attribute__ ((__nothrow__ )) __attribute__ ((__noreturn__));
4136
4137
4138
4139
4140
4141
4142
4143extern void _Exit (int __status) __attribute__ ((__nothrow__ )) __attribute__ ((__noreturn__));
4144
4145
4146
4147
4148
4149
4150extern char *getenv (__const char *__name) __attribute__ ((__nothrow__ )) ;
4151
4152
4153
4154
4155extern char *__secure_getenv (__const char *__name)
4156 __attribute__ ((__nothrow__ )) ;
4157
4158
4159
4160
4161
4162extern int putenv (char *__string) __attribute__ ((__nothrow__ )) ;
4163
4164
4165
4166
4167
4168extern int setenv (__const char *__name, __const char *__value, int __replace)
4169 __attribute__ ((__nothrow__ )) ;
4170
4171
4172extern int unsetenv (__const char *__name) __attribute__ ((__nothrow__ )) ;
4173
4174
4175
4176
4177
4178
4179extern int clearenv (void) __attribute__ ((__nothrow__ ));
4180# 606 "../stdlib/stdlib.h"
4181extern char *mktemp (char *__template) __attribute__ ((__nothrow__ )) ;
4182# 620 "../stdlib/stdlib.h"
4183extern int mkstemp (char *__template) ;
4184# 630 "../stdlib/stdlib.h"
4185extern int mkstemp64 (char *__template) ;
4186# 642 "../stdlib/stdlib.h"
4187extern int mkstemps (char *__template, int __suffixlen) ;
4188# 652 "../stdlib/stdlib.h"
4189extern int mkstemps64 (char *__template, int __suffixlen)
4190 ;
4191# 663 "../stdlib/stdlib.h"
4192extern char *mkdtemp (char *__template) __attribute__ ((__nothrow__ )) ;
4193# 674 "../stdlib/stdlib.h"
4194extern int mkostemp (char *__template, int __flags) ;
4195# 684 "../stdlib/stdlib.h"
4196extern int mkostemp64 (char *__template, int __flags) ;
4197# 694 "../stdlib/stdlib.h"
4198extern int mkostemps (char *__template, int __suffixlen, int __flags)
4199 ;
4200# 706 "../stdlib/stdlib.h"
4201extern int mkostemps64 (char *__template, int __suffixlen, int __flags)
4202 ;
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212extern int system (__const char *__command) ;
4213
4214
4215
4216
4217
4218
4219extern char *canonicalize_file_name (__const char *__name)
4220 __attribute__ ((__nothrow__ )) ;
4221# 734 "../stdlib/stdlib.h"
4222extern char *realpath (__const char *__restrict __name,
4223 char *__restrict __resolved) __attribute__ ((__nothrow__ )) ;
4224
4225
4226
4227
4228
4229
4230typedef int (*__compar_fn_t) (__const void *, __const void *);
4231
4232
4233typedef __compar_fn_t comparison_fn_t;
4234
4235
4236
4237typedef int (*__compar_d_fn_t) (__const void *, __const void *, void *);
4238
4239
4240
4241
4242
4243extern void *bsearch (__const void *__key, __const void *__base,
4244 size_t __nmemb, size_t __size, __compar_fn_t __compar)
4245 ;
4246
4247
4248
4249extern void qsort (void *__base, size_t __nmemb, size_t __size,
4250 __compar_fn_t __compar) ;
4251
4252extern void qsort_r (void *__base, size_t __nmemb, size_t __size,
4253 __compar_d_fn_t __compar, void *__arg)
4254 ;
4255
4256
4257
4258
4259extern int abs (int __x) __attribute__ ((__nothrow__ )) __attribute__ ((__const__)) ;
4260extern long int labs (long int __x) __attribute__ ((__nothrow__ )) __attribute__ ((__const__)) ;
4261
4262
4263
4264__extension__ extern long long int llabs (long long int __x)
4265 __attribute__ ((__nothrow__ )) __attribute__ ((__const__)) ;
4266
4267
4268
4269
4270
4271
4272
4273extern div_t div (int __numer, int __denom)
4274 __attribute__ ((__nothrow__ )) __attribute__ ((__const__)) ;
4275extern ldiv_t ldiv (long int __numer, long int __denom)
4276 __attribute__ ((__nothrow__ )) __attribute__ ((__const__)) ;
4277
4278
4279
4280
4281__extension__ extern lldiv_t lldiv (long long int __numer,
4282 long long int __denom)
4283 __attribute__ ((__nothrow__ )) __attribute__ ((__const__)) ;
4284
4285# 808 "../stdlib/stdlib.h"
4286extern char *ecvt (double __value, int __ndigit, int *__restrict __decpt,
4287 int *__restrict __sign) __attribute__ ((__nothrow__ )) ;
4288
4289
4290
4291
4292extern char *fcvt (double __value, int __ndigit, int *__restrict __decpt,
4293 int *__restrict __sign) __attribute__ ((__nothrow__ )) ;
4294
4295
4296
4297
4298extern char *gcvt (double __value, int __ndigit, char *__buf)
4299 __attribute__ ((__nothrow__ )) ;
4300
4301
4302
4303
4304extern char *qecvt (long double __value, int __ndigit,
4305 int *__restrict __decpt, int *__restrict __sign)
4306 __attribute__ ((__nothrow__ )) ;
4307extern char *qfcvt (long double __value, int __ndigit,
4308 int *__restrict __decpt, int *__restrict __sign)
4309 __attribute__ ((__nothrow__ )) ;
4310extern char *qgcvt (long double __value, int __ndigit, char *__buf)
4311 __attribute__ ((__nothrow__ )) ;
4312
4313
4314
4315
4316extern int ecvt_r (double __value, int __ndigit, int *__restrict __decpt,
4317 int *__restrict __sign, char *__restrict __buf,
4318 size_t __len) __attribute__ ((__nothrow__ )) ;
4319extern int fcvt_r (double __value, int __ndigit, int *__restrict __decpt,
4320 int *__restrict __sign, char *__restrict __buf,
4321 size_t __len) __attribute__ ((__nothrow__ )) ;
4322
4323extern int qecvt_r (long double __value, int __ndigit,
4324 int *__restrict __decpt, int *__restrict __sign,
4325 char *__restrict __buf, size_t __len)
4326 __attribute__ ((__nothrow__ )) ;
4327extern int qfcvt_r (long double __value, int __ndigit,
4328 int *__restrict __decpt, int *__restrict __sign,
4329 char *__restrict __buf, size_t __len)
4330 __attribute__ ((__nothrow__ )) ;
4331
4332
4333
4334
4335
4336
4337
4338extern int mblen (__const char *__s, size_t __n) __attribute__ ((__nothrow__ )) ;
4339
4340
4341extern int mbtowc (wchar_t *__restrict __pwc,
4342 __const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__ )) ;
4343
4344
4345extern int wctomb (char *__s, wchar_t __wchar) __attribute__ ((__nothrow__ )) ;
4346
4347
4348
4349extern size_t mbstowcs (wchar_t *__restrict __pwcs,
4350 __const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__ ));
4351
4352extern size_t wcstombs (char *__restrict __s,
4353 __const wchar_t *__restrict __pwcs, size_t __n)
4354 __attribute__ ((__nothrow__ ));
4355
4356
4357
4358
4359
4360
4361
4362
4363extern int rpmatch (__const char *__response) __attribute__ ((__nothrow__ )) ;
4364# 896 "../stdlib/stdlib.h"
4365extern int getsubopt (char **__restrict __optionp,
4366 char *__const *__restrict __tokens,
4367 char **__restrict __valuep)
4368 __attribute__ ((__nothrow__ )) ;
4369
4370
4371
4372
4373
4374extern void setkey (__const char *__key) __attribute__ ((__nothrow__ )) ;
4375
4376
4377
4378
4379
4380
4381
4382extern int posix_openpt (int __oflag) ;
4383
4384
4385
4386
4387
4388
4389
4390extern int grantpt (int __fd) __attribute__ ((__nothrow__ ));
4391
4392
4393
4394extern int unlockpt (int __fd) __attribute__ ((__nothrow__ ));
4395
4396
4397
4398
4399extern char *ptsname (int __fd) __attribute__ ((__nothrow__ )) ;
4400
4401
4402
4403
4404
4405
4406extern int ptsname_r (int __fd, char *__buf, size_t __buflen)
4407 __attribute__ ((__nothrow__ )) ;
4408
4409
4410extern int getpt (void);
4411
4412
4413
4414
4415
4416
4417extern int getloadavg (double __loadavg[], int __nelem)
4418 __attribute__ ((__nothrow__ )) ;
4419# 964 "../stdlib/stdlib.h"
4420
4421# 9 "../include/stdlib.h" 2
4422
4423
4424
4425
4426# 1 "../include/sys/stat.h" 1
4427
4428# 1 "../io/sys/stat.h" 1
4429# 105 "../io/sys/stat.h"
4430
4431
4432# 1 "../sysdeps/unix/sysv/linux/bits/stat.h" 1
4433# 39 "../sysdeps/unix/sysv/linux/bits/stat.h"
4434struct stat
4435 {
4436 __dev_t st_dev;
4437 unsigned short int __pad1;
4438
4439 __ino_t st_ino;
4440
4441
4442
4443 __mode_t st_mode;
4444 __nlink_t st_nlink;
4445 __uid_t st_uid;
4446 __gid_t st_gid;
4447 __dev_t st_rdev;
4448 unsigned short int __pad2;
4449
4450 __off_t st_size;
4451
4452
4453
4454 __blksize_t st_blksize;
4455
4456
4457 __blkcnt_t st_blocks;
4458# 73 "../sysdeps/unix/sysv/linux/bits/stat.h"
4459 struct timespec st_atim;
4460 struct timespec st_mtim;
4461 struct timespec st_ctim;
4462# 88 "../sysdeps/unix/sysv/linux/bits/stat.h"
4463 unsigned long int __unused4;
4464 unsigned long int __unused5;
4465
4466
4467
4468 };
4469
4470
4471struct stat64
4472 {
4473 __dev_t st_dev;
4474 unsigned int __pad1;
4475
4476 __ino_t __st_ino;
4477 __mode_t st_mode;
4478 __nlink_t st_nlink;
4479 __uid_t st_uid;
4480 __gid_t st_gid;
4481 __dev_t st_rdev;
4482 unsigned int __pad2;
4483 __off64_t st_size;
4484 __blksize_t st_blksize;
4485
4486 __blkcnt64_t st_blocks;
4487
4488
4489
4490
4491
4492
4493
4494 struct timespec st_atim;
4495 struct timespec st_mtim;
4496 struct timespec st_ctim;
4497# 130 "../sysdeps/unix/sysv/linux/bits/stat.h"
4498 __ino64_t st_ino;
4499 };
4500# 108 "../io/sys/stat.h" 2
4501# 211 "../io/sys/stat.h"
4502extern int stat (__const char *__restrict __file,
4503 struct stat *__restrict __buf) __attribute__ ((__nothrow__ )) ;
4504
4505
4506
4507extern int fstat (int __fd, struct stat *__buf) __attribute__ ((__nothrow__ )) ;
4508# 230 "../io/sys/stat.h"
4509extern int stat64 (__const char *__restrict __file,
4510 struct stat64 *__restrict __buf) __attribute__ ((__nothrow__ )) ;
4511extern int fstat64 (int __fd, struct stat64 *__buf) __attribute__ ((__nothrow__ )) ;
4512
4513
4514
4515
4516
4517
4518
4519extern int fstatat (int __fd, __const char *__restrict __file,
4520 struct stat *__restrict __buf, int __flag)
4521 __attribute__ ((__nothrow__ )) ;
4522# 255 "../io/sys/stat.h"
4523extern int fstatat64 (int __fd, __const char *__restrict __file,
4524 struct stat64 *__restrict __buf, int __flag)
4525 __attribute__ ((__nothrow__ )) ;
4526
4527
4528
4529
4530
4531
4532
4533extern int lstat (__const char *__restrict __file,
4534 struct stat *__restrict __buf) __attribute__ ((__nothrow__ )) ;
4535# 278 "../io/sys/stat.h"
4536extern int lstat64 (__const char *__restrict __file,
4537 struct stat64 *__restrict __buf)
4538 __attribute__ ((__nothrow__ )) ;
4539
4540
4541
4542
4543
4544extern int chmod (__const char *__file, __mode_t __mode)
4545 __attribute__ ((__nothrow__ )) ;
4546
4547
4548
4549
4550
4551extern int lchmod (__const char *__file, __mode_t __mode)
4552 __attribute__ ((__nothrow__ )) ;
4553
4554
4555
4556
4557extern int fchmod (int __fd, __mode_t __mode) __attribute__ ((__nothrow__ ));
4558
4559
4560
4561
4562
4563extern int fchmodat (int __fd, __const char *__file, __mode_t __mode,
4564 int __flag)
4565 __attribute__ ((__nothrow__ )) ;
4566
4567
4568
4569
4570
4571
4572extern __mode_t umask (__mode_t __mask) __attribute__ ((__nothrow__ ));
4573
4574
4575
4576
4577extern __mode_t getumask (void) __attribute__ ((__nothrow__ ));
4578
4579
4580
4581extern int mkdir (__const char *__path, __mode_t __mode)
4582 __attribute__ ((__nothrow__ )) ;
4583
4584
4585
4586
4587
4588extern int mkdirat (int __fd, __const char *__path, __mode_t __mode)
4589 __attribute__ ((__nothrow__ )) ;
4590
4591
4592
4593
4594
4595
4596extern int mknod (__const char *__path, __mode_t __mode, __dev_t __dev)
4597 __attribute__ ((__nothrow__ )) ;
4598
4599
4600
4601
4602
4603extern int mknodat (int __fd, __const char *__path, __mode_t __mode,
4604 __dev_t __dev) __attribute__ ((__nothrow__ )) ;
4605
4606
4607
4608
4609
4610extern int mkfifo (__const char *__path, __mode_t __mode)
4611 __attribute__ ((__nothrow__ )) ;
4612
4613
4614
4615
4616
4617extern int mkfifoat (int __fd, __const char *__path, __mode_t __mode)
4618 __attribute__ ((__nothrow__ )) ;
4619
4620
4621
4622
4623
4624extern int utimensat (int __fd, __const char *__path,
4625 __const struct timespec __times[2],
4626 int __flags)
4627 __attribute__ ((__nothrow__ )) ;
4628
4629
4630
4631
4632extern int futimens (int __fd, __const struct timespec __times[2]) __attribute__ ((__nothrow__ ));
4633# 401 "../io/sys/stat.h"
4634extern int __fxstat (int __ver, int __fildes, struct stat *__stat_buf)
4635 __attribute__ ((__nothrow__ )) ;
4636extern int __xstat (int __ver, __const char *__filename,
4637 struct stat *__stat_buf) __attribute__ ((__nothrow__ )) ;
4638extern int __lxstat (int __ver, __const char *__filename,
4639 struct stat *__stat_buf) __attribute__ ((__nothrow__ )) ;
4640extern int __fxstatat (int __ver, int __fildes, __const char *__filename,
4641 struct stat *__stat_buf, int __flag)
4642 __attribute__ ((__nothrow__ )) ;
4643# 434 "../io/sys/stat.h"
4644extern int __fxstat64 (int __ver, int __fildes, struct stat64 *__stat_buf)
4645 __attribute__ ((__nothrow__ )) ;
4646extern int __xstat64 (int __ver, __const char *__filename,
4647 struct stat64 *__stat_buf) __attribute__ ((__nothrow__ )) ;
4648extern int __lxstat64 (int __ver, __const char *__filename,
4649 struct stat64 *__stat_buf) __attribute__ ((__nothrow__ )) ;
4650extern int __fxstatat64 (int __ver, int __fildes, __const char *__filename,
4651 struct stat64 *__stat_buf, int __flag)
4652 __attribute__ ((__nothrow__ )) ;
4653
4654extern int __xmknod (int __ver, __const char *__path, __mode_t __mode,
4655 __dev_t *__dev) __attribute__ ((__nothrow__ )) ;
4656
4657extern int __xmknodat (int __ver, int __fd, __const char *__path,
4658 __mode_t __mode, __dev_t *__dev)
4659 __attribute__ ((__nothrow__ )) ;
4660
4661
4662
4663
4664extern __inline int
4665__attribute__ ((__nothrow__ )) stat (__const char *__path, struct stat *__statbuf)
4666{
4667 return __xstat (3, __path, __statbuf);
4668}
4669
4670
4671extern __inline int
4672__attribute__ ((__nothrow__ )) lstat (__const char *__path, struct stat *__statbuf)
4673{
4674 return __lxstat (3, __path, __statbuf);
4675}
4676
4677
4678extern __inline int
4679__attribute__ ((__nothrow__ )) fstat (int __fd, struct stat *__statbuf)
4680{
4681 return __fxstat (3, __fd, __statbuf);
4682}
4683
4684
4685extern __inline int
4686__attribute__ ((__nothrow__ )) fstatat (int __fd, __const char *__filename, struct stat *__statbuf, int __flag)
4687
4688{
4689 return __fxstatat (3, __fd, __filename, __statbuf, __flag);
4690}
4691
4692
4693
4694extern __inline int
4695__attribute__ ((__nothrow__ )) mknod (__const char *__path, __mode_t __mode, __dev_t __dev)
4696{
4697 return __xmknod (1, __path, __mode, &__dev);
4698}
4699
4700
4701
4702extern __inline int
4703__attribute__ ((__nothrow__ )) mknodat (int __fd, __const char *__path, __mode_t __mode, __dev_t __dev)
4704
4705{
4706 return __xmknodat (1, __fd, __path, __mode, &__dev);
4707}
4708
4709
4710
4711
4712
4713extern __inline int
4714__attribute__ ((__nothrow__ )) stat64 (__const char *__path, struct stat64 *__statbuf)
4715{
4716 return __xstat64 (3, __path, __statbuf);
4717}
4718
4719
4720extern __inline int
4721__attribute__ ((__nothrow__ )) lstat64 (__const char *__path, struct stat64 *__statbuf)
4722{
4723 return __lxstat64 (3, __path, __statbuf);
4724}
4725
4726
4727extern __inline int
4728__attribute__ ((__nothrow__ )) fstat64 (int __fd, struct stat64 *__statbuf)
4729{
4730 return __fxstat64 (3, __fd, __statbuf);
4731}
4732
4733
4734extern __inline int
4735__attribute__ ((__nothrow__ )) fstatat64 (int __fd, __const char *__filename, struct stat64 *__statbuf, int __flag)
4736
4737{
4738 return __fxstatat64 (3, __fd, __filename, __statbuf, __flag);
4739}
4740
4741
4742
4743
4744
4745
4746
4747# 3 "../include/sys/stat.h" 2
4748
4749
4750extern int __stat (__const char *__file, struct stat *__buf);
4751extern int __fstat (int __fd, struct stat *__buf);
4752extern int __lstat (__const char *__file, struct stat *__buf);
4753extern int __chmod (__const char *__file, __mode_t __mode);
4754extern int __fchmod (int __fd, __mode_t __mode);
4755extern __mode_t __umask (__mode_t __mask);
4756extern int __mkdir (__const char *__path, __mode_t __mode);
4757extern int __mknod (__const char *__path,
4758 __mode_t __mode, __dev_t __dev);
4759
4760
4761
4762
4763
4764
4765
4766
4767extern __inline__ int __stat (__const char *__path, struct stat *__statbuf)
4768{
4769 return __xstat (3, __path, __statbuf);
4770}
4771
4772extern __inline__ int __mknod (__const char *__path, __mode_t __mode,
4773 __dev_t __dev)
4774{
4775 return __xmknod (1, __path, __mode, &__dev);
4776}
4777
4778
4779
4780
4781# 14 "../include/stdlib.h" 2
4782
4783
4784
4785
4786extern __typeof (strtol_l) __strtol_l;
4787extern __typeof (strtoul_l) __strtoul_l;
4788extern __typeof (strtoll_l) __strtoll_l;
4789extern __typeof (strtoull_l) __strtoull_l;
4790extern __typeof (strtod_l) __strtod_l;
4791extern __typeof (strtof_l) __strtof_l;
4792extern __typeof (strtold_l) __strtold_l;
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811extern long int __random (void);
4812extern void __srandom (unsigned int __seed);
4813extern char *__initstate (unsigned int __seed, char *__statebuf,
4814 size_t __statelen);
4815extern char *__setstate (char *__statebuf);
4816extern int __random_r (struct random_data *__buf, int32_t *__result);
4817extern int __srandom_r (unsigned int __seed, struct random_data *__buf);
4818extern int __initstate_r (unsigned int __seed, char *__statebuf,
4819 size_t __statelen, struct random_data *__buf);
4820extern int __setstate_r (char *__statebuf, struct random_data *__buf);
4821extern int __rand_r (unsigned int *__seed);
4822extern int __erand48_r (unsigned short int __xsubi[3],
4823 struct drand48_data *__buffer, double *__result);
4824extern int __nrand48_r (unsigned short int __xsubi[3],
4825 struct drand48_data *__buffer,
4826 long int *__result);
4827extern int __jrand48_r (unsigned short int __xsubi[3],
4828 struct drand48_data *__buffer,
4829 long int *__result);
4830extern int __srand48_r (long int __seedval,
4831 struct drand48_data *__buffer);
4832extern int __seed48_r (unsigned short int __seed16v[3],
4833 struct drand48_data *__buffer);
4834extern int __lcong48_r (unsigned short int __param[7],
4835 struct drand48_data *__buffer);
4836
4837
4838extern int __drand48_iterate (unsigned short int __xsubi[3],
4839 struct drand48_data *__buffer);
4840
4841
4842extern struct drand48_data __libc_drand48_data ;
4843
4844extern int __setenv (__const char *__name, __const char *__value,
4845 int __replace);
4846extern int __unsetenv (__const char *__name);
4847extern int __clearenv (void);
4848extern char *__canonicalize_file_name (__const char *__name);
4849extern char *__realpath (__const char *__name, char *__resolved);
4850extern int __ptsname_r (int __fd, char *__buf, size_t __buflen);
4851
4852extern int __ptsname_internal (int fd, char *buf, size_t buflen,
4853 struct stat64 *stp);
4854
4855extern int __getpt (void);
4856extern int __posix_openpt (int __oflag);
4857
4858extern int __add_to_environ (const char *name, const char *value,
4859 const char *combines, int replace);
4860
4861extern void _quicksort (void *const pbase, size_t total_elems,
4862 size_t size, __compar_d_fn_t cmp, void *arg);
4863
4864extern int __on_exit (void (*__func) (int __status, void *__arg), void *__arg);
4865
4866extern int __cxa_atexit (void (*func) (void *), void *arg, void *d);
4867extern int __cxa_atexit_internal (void (*func) (void *), void *arg, void *d)
4868 ;
4869
4870extern void __cxa_finalize (void *d);
4871
4872extern int __posix_memalign (void **memptr, size_t alignment, size_t size);
4873
4874extern void *__libc_memalign (size_t alignment, size_t size)
4875 __attribute__ ((__malloc__));
4876
4877extern int __libc_system (const char *line);
4878
4879
4880extern double __strtod_internal (__const char *__restrict __nptr,
4881 char **__restrict __endptr, int __group)
4882 __attribute__ ((__nothrow__ )) ;
4883extern float __strtof_internal (__const char *__restrict __nptr,
4884 char **__restrict __endptr, int __group)
4885 __attribute__ ((__nothrow__ )) ;
4886extern long double __strtold_internal (__const char *__restrict __nptr,
4887 char **__restrict __endptr,
4888 int __group)
4889 __attribute__ ((__nothrow__ )) ;
4890extern long int __strtol_internal (__const char *__restrict __nptr,
4891 char **__restrict __endptr,
4892 int __base, int __group)
4893 __attribute__ ((__nothrow__ )) ;
4894extern unsigned long int __strtoul_internal (__const char *__restrict __nptr,
4895 char **__restrict __endptr,
4896 int __base, int __group)
4897 __attribute__ ((__nothrow__ )) ;
4898__extension__
4899extern long long int __strtoll_internal (__const char *__restrict __nptr,
4900 char **__restrict __endptr,
4901 int __base, int __group)
4902 __attribute__ ((__nothrow__ )) ;
4903__extension__
4904extern unsigned long long int __strtoull_internal (__const char *
4905 __restrict __nptr,
4906 char **__restrict __endptr,
4907 int __base, int __group)
4908 __attribute__ ((__nothrow__ )) ;
4909
4910
4911
4912
4913
4914
4915
4916
4917extern double ____strtod_l_internal (__const char *__restrict __nptr,
4918 char **__restrict __endptr, int __group,
4919 __locale_t __loc);
4920extern float ____strtof_l_internal (__const char *__restrict __nptr,
4921 char **__restrict __endptr, int __group,
4922 __locale_t __loc);
4923extern long double ____strtold_l_internal (__const char *__restrict __nptr,
4924 char **__restrict __endptr,
4925 int __group, __locale_t __loc);
4926extern long int ____strtol_l_internal (__const char *__restrict __nptr,
4927 char **__restrict __endptr,
4928 int __base, int __group,
4929 __locale_t __loc);
4930extern unsigned long int ____strtoul_l_internal (__const char *
4931 __restrict __nptr,
4932 char **__restrict __endptr,
4933 int __base, int __group,
4934 __locale_t __loc);
4935__extension__
4936extern long long int ____strtoll_l_internal (__const char *__restrict __nptr,
4937 char **__restrict __endptr,
4938 int __base, int __group,
4939 __locale_t __loc);
4940__extension__
4941extern unsigned long long int ____strtoull_l_internal (__const char *
4942 __restrict __nptr,
4943 char **
4944 __restrict __endptr,
4945 int __base, int __group,
4946 __locale_t __loc);
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964extern char *__ecvt (double __value, int __ndigit, int *__restrict __decpt,
4965 int *__restrict __sign);
4966extern char *__fcvt (double __value, int __ndigit, int *__restrict __decpt,
4967 int *__restrict __sign);
4968extern char *__gcvt (double __value, int __ndigit, char *__buf);
4969extern int __ecvt_r (double __value, int __ndigit, int *__restrict __decpt,
4970 int *__restrict __sign, char *__restrict __buf,
4971 size_t __len);
4972extern int __fcvt_r (double __value, int __ndigit, int *__restrict __decpt,
4973 int *__restrict __sign, char *__restrict __buf,
4974 size_t __len);
4975extern char *__qecvt (long double __value, int __ndigit,
4976 int *__restrict __decpt, int *__restrict __sign);
4977extern char *__qfcvt (long double __value, int __ndigit,
4978 int *__restrict __decpt, int *__restrict __sign);
4979extern char *__qgcvt (long double __value, int __ndigit, char *__buf);
4980extern int __qecvt_r (long double __value, int __ndigit,
4981 int *__restrict __decpt, int *__restrict __sign,
4982 char *__restrict __buf, size_t __len);
4983extern int __qfcvt_r (long double __value, int __ndigit,
4984 int *__restrict __decpt, int *__restrict __sign,
4985 char *__restrict __buf, size_t __len);
4986# 226 "../include/stdlib.h"
4987extern void *__default_morecore (ptrdiff_t) __attribute__ ((__nothrow__ ));
4988
4989
4990struct abort_msg_s
4991{
4992 unsigned int size;
4993 char msg[0];
4994};
4995extern struct abort_msg_s *__abort_msg;
4996
4997
4998
4999# 50 "../include/atomic.h" 2
5000
5001# 1 "../ports/sysdeps/unix/sysv/linux/arm/nptl/bits/atomic.h" 1
5002# 23 "../ports/sysdeps/unix/sysv/linux/arm/nptl/bits/atomic.h"
5003typedef int8_t atomic8_t;
5004typedef uint8_t uatomic8_t;
5005typedef int_fast8_t atomic_fast8_t;
5006typedef uint_fast8_t uatomic_fast8_t;
5007
5008typedef int32_t atomic32_t;
5009typedef uint32_t uatomic32_t;
5010typedef int_fast32_t atomic_fast32_t;
5011typedef uint_fast32_t uatomic_fast32_t;
5012
5013typedef intptr_t atomicptr_t;
5014typedef uintptr_t uatomicptr_t;
5015typedef intmax_t atomic_max_t;
5016typedef uintmax_t uatomic_max_t;
5017
5018void __arm_link_error (void);
5019# 52 "../include/atomic.h" 2
5020# 26 "../ports/sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h" 2
5021
5022# 1 "../ports/sysdeps/unix/sysv/linux/arm/kernel-features.h" 1
5023# 60 "../ports/sysdeps/unix/sysv/linux/arm/kernel-features.h"
5024# 1 "../sysdeps/unix/sysv/linux/kernel-features.h" 1
5025# 61 "../ports/sysdeps/unix/sysv/linux/arm/kernel-features.h" 2
5026# 28 "../ports/sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h" 2
5027# 146 "../ports/sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h"
5028extern void __lll_lock_wait_private (int *futex) ;
5029extern void __lll_lock_wait (int *futex, int private) ;
5030extern int __lll_robust_lock_wait (int *futex, int private) ;
5031# 192 "../ports/sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h"
5032extern int __lll_timedlock_wait (int *futex, const struct timespec *,
5033 int private) ;
5034extern int __lll_robust_timedlock_wait (int *futex, const struct timespec *,
5035 int private) ;
5036# 272 "../ports/sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h"
5037extern int __lll_timedwait_tid (int *, const struct timespec *)
5038 ;
5039# 32 "../nptl/descr.h" 2
5040# 1 "../ports/sysdeps/arm/nptl/pthreaddef.h" 1
5041# 33 "../nptl/descr.h" 2
5042# 1 "../sysdeps/unix/sysv/linux/dl-sysdep.h" 1
5043# 20 "../sysdeps/unix/sysv/linux/dl-sysdep.h"
5044# 1 "../ports/sysdeps/arm/dl-sysdep.h" 1
5045# 20 "../ports/sysdeps/arm/dl-sysdep.h"
5046# 1 "../sysdeps/generic/dl-sysdep.h" 1
5047# 21 "../ports/sysdeps/arm/dl-sysdep.h" 2
5048# 21 "../sysdeps/unix/sysv/linux/dl-sysdep.h" 2
5049# 32 "../sysdeps/unix/sysv/linux/dl-sysdep.h"
5050extern int _dl_discover_osversion (void) ;
5051# 34 "../nptl/descr.h" 2
5052# 1 "../nptl/../nptl_db/thread_db.h" 1
5053# 26 "../nptl/../nptl_db/thread_db.h"
5054# 1 "../include/pthread.h" 1
5055# 1 "../nptl/sysdeps/pthread/pthread.h" 1
5056# 24 "../nptl/sysdeps/pthread/pthread.h"
5057# 1 "../include/endian.h" 1
5058# 25 "../nptl/sysdeps/pthread/pthread.h" 2
5059
5060
5061
5062
5063
5064# 1 "../sysdeps/wordsize-32/bits/wordsize.h" 1
5065# 31 "../nptl/sysdeps/pthread/pthread.h" 2
5066
5067
5068
5069enum
5070{
5071 PTHREAD_CREATE_JOINABLE,
5072
5073 PTHREAD_CREATE_DETACHED
5074
5075};
5076
5077
5078
5079enum
5080{
5081 PTHREAD_MUTEX_TIMED_NP,
5082 PTHREAD_MUTEX_RECURSIVE_NP,
5083 PTHREAD_MUTEX_ERRORCHECK_NP,
5084 PTHREAD_MUTEX_ADAPTIVE_NP
5085
5086 ,
5087 PTHREAD_MUTEX_NORMAL = PTHREAD_MUTEX_TIMED_NP,
5088 PTHREAD_MUTEX_RECURSIVE = PTHREAD_MUTEX_RECURSIVE_NP,
5089 PTHREAD_MUTEX_ERRORCHECK = PTHREAD_MUTEX_ERRORCHECK_NP,
5090 PTHREAD_MUTEX_DEFAULT = PTHREAD_MUTEX_NORMAL
5091
5092
5093
5094 , PTHREAD_MUTEX_FAST_NP = PTHREAD_MUTEX_TIMED_NP
5095
5096};
5097
5098
5099
5100
5101enum
5102{
5103 PTHREAD_MUTEX_STALLED,
5104 PTHREAD_MUTEX_STALLED_NP = PTHREAD_MUTEX_STALLED,
5105 PTHREAD_MUTEX_ROBUST,
5106 PTHREAD_MUTEX_ROBUST_NP = PTHREAD_MUTEX_ROBUST
5107};
5108
5109
5110
5111
5112
5113enum
5114{
5115 PTHREAD_PRIO_NONE,
5116 PTHREAD_PRIO_INHERIT,
5117 PTHREAD_PRIO_PROTECT
5118};
5119# 115 "../nptl/sysdeps/pthread/pthread.h"
5120enum
5121{
5122 PTHREAD_RWLOCK_PREFER_READER_NP,
5123 PTHREAD_RWLOCK_PREFER_WRITER_NP,
5124 PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP,
5125 PTHREAD_RWLOCK_DEFAULT_NP = PTHREAD_RWLOCK_PREFER_READER_NP
5126};
5127# 147 "../nptl/sysdeps/pthread/pthread.h"
5128enum
5129{
5130 PTHREAD_INHERIT_SCHED,
5131
5132 PTHREAD_EXPLICIT_SCHED
5133
5134};
5135
5136
5137
5138enum
5139{
5140 PTHREAD_SCOPE_SYSTEM,
5141
5142 PTHREAD_SCOPE_PROCESS
5143
5144};
5145
5146
5147
5148enum
5149{
5150 PTHREAD_PROCESS_PRIVATE,
5151
5152 PTHREAD_PROCESS_SHARED
5153
5154};
5155# 182 "../nptl/sysdeps/pthread/pthread.h"
5156struct _pthread_cleanup_buffer
5157{
5158 void (*__routine) (void *);
5159 void *__arg;
5160 int __canceltype;
5161 struct _pthread_cleanup_buffer *__prev;
5162};
5163
5164
5165enum
5166{
5167 PTHREAD_CANCEL_ENABLE,
5168
5169 PTHREAD_CANCEL_DISABLE
5170
5171};
5172enum
5173{
5174 PTHREAD_CANCEL_DEFERRED,
5175
5176 PTHREAD_CANCEL_ASYNCHRONOUS
5177
5178};
5179# 220 "../nptl/sysdeps/pthread/pthread.h"
5180
5181
5182
5183
5184
5185extern int pthread_create (pthread_t *__restrict __newthread,
5186 __const pthread_attr_t *__restrict __attr,
5187 void *(*__start_routine) (void *),
5188 void *__restrict __arg) __attribute__ ((__nothrow__)) ;
5189
5190
5191
5192
5193
5194extern void pthread_exit (void *__retval) __attribute__ ((__noreturn__));
5195
5196
5197
5198
5199
5200
5201
5202extern int pthread_join (pthread_t __th, void **__thread_return);
5203
5204
5205
5206
5207extern int pthread_tryjoin_np (pthread_t __th, void **__thread_return) __attribute__ ((__nothrow__ ));
5208
5209
5210
5211
5212
5213
5214
5215extern int pthread_timedjoin_np (pthread_t __th, void **__thread_return,
5216 __const struct timespec *__abstime);
5217
5218
5219
5220
5221
5222
5223extern int pthread_detach (pthread_t __th) __attribute__ ((__nothrow__ ));
5224
5225
5226
5227extern pthread_t pthread_self (void) __attribute__ ((__nothrow__ )) __attribute__ ((__const__));
5228
5229
5230extern int pthread_equal (pthread_t __thread1, pthread_t __thread2) __attribute__ ((__nothrow__ ));
5231
5232
5233
5234
5235
5236
5237
5238extern int pthread_attr_init (pthread_attr_t *__attr) __attribute__ ((__nothrow__ )) ;
5239
5240
5241extern int pthread_attr_destroy (pthread_attr_t *__attr)
5242 __attribute__ ((__nothrow__ )) ;
5243
5244
5245extern int pthread_attr_getdetachstate (__const pthread_attr_t *__attr,
5246 int *__detachstate)
5247 __attribute__ ((__nothrow__ )) ;
5248
5249
5250extern int pthread_attr_setdetachstate (pthread_attr_t *__attr,
5251 int __detachstate)
5252 __attribute__ ((__nothrow__ )) ;
5253
5254
5255
5256extern int pthread_attr_getguardsize (__const pthread_attr_t *__attr,
5257 size_t *__guardsize)
5258 __attribute__ ((__nothrow__ )) ;
5259
5260
5261extern int pthread_attr_setguardsize (pthread_attr_t *__attr,
5262 size_t __guardsize)
5263 __attribute__ ((__nothrow__ )) ;
5264
5265
5266
5267extern int pthread_attr_getschedparam (__const pthread_attr_t *__restrict
5268 __attr,
5269 struct sched_param *__restrict __param)
5270 __attribute__ ((__nothrow__ )) ;
5271
5272
5273extern int pthread_attr_setschedparam (pthread_attr_t *__restrict __attr,
5274 __const struct sched_param *__restrict
5275 __param) __attribute__ ((__nothrow__ )) ;
5276
5277
5278extern int pthread_attr_getschedpolicy (__const pthread_attr_t *__restrict
5279 __attr, int *__restrict __policy)
5280 __attribute__ ((__nothrow__ )) ;
5281
5282
5283extern int pthread_attr_setschedpolicy (pthread_attr_t *__attr, int __policy)
5284 __attribute__ ((__nothrow__ )) ;
5285
5286
5287extern int pthread_attr_getinheritsched (__const pthread_attr_t *__restrict
5288 __attr, int *__restrict __inherit)
5289 __attribute__ ((__nothrow__ )) ;
5290
5291
5292extern int pthread_attr_setinheritsched (pthread_attr_t *__attr,
5293 int __inherit)
5294 __attribute__ ((__nothrow__ )) ;
5295
5296
5297
5298extern int pthread_attr_getscope (__const pthread_attr_t *__restrict __attr,
5299 int *__restrict __scope)
5300 __attribute__ ((__nothrow__ )) ;
5301
5302
5303extern int pthread_attr_setscope (pthread_attr_t *__attr, int __scope)
5304 __attribute__ ((__nothrow__ )) ;
5305
5306
5307extern int pthread_attr_getstackaddr (__const pthread_attr_t *__restrict
5308 __attr, void **__restrict __stackaddr)
5309 __attribute__ ((__nothrow__ )) __attribute__ ((__deprecated__));
5310
5311
5312
5313
5314
5315extern int pthread_attr_setstackaddr (pthread_attr_t *__attr,
5316 void *__stackaddr)
5317 __attribute__ ((__nothrow__ )) __attribute__ ((__deprecated__));
5318
5319
5320extern int pthread_attr_getstacksize (__const pthread_attr_t *__restrict
5321 __attr, size_t *__restrict __stacksize)
5322 __attribute__ ((__nothrow__ )) ;
5323
5324
5325
5326
5327extern int pthread_attr_setstacksize (pthread_attr_t *__attr,
5328 size_t __stacksize)
5329 __attribute__ ((__nothrow__ )) ;
5330
5331
5332
5333extern int pthread_attr_getstack (__const pthread_attr_t *__restrict __attr,
5334 void **__restrict __stackaddr,
5335 size_t *__restrict __stacksize)
5336 __attribute__ ((__nothrow__ )) ;
5337
5338
5339
5340
5341extern int pthread_attr_setstack (pthread_attr_t *__attr, void *__stackaddr,
5342 size_t __stacksize) __attribute__ ((__nothrow__ )) ;
5343
5344
5345
5346
5347
5348extern int pthread_attr_setaffinity_np (pthread_attr_t *__attr,
5349 size_t __cpusetsize,
5350 __const cpu_set_t *__cpuset)
5351 __attribute__ ((__nothrow__ )) ;
5352
5353
5354
5355extern int pthread_attr_getaffinity_np (__const pthread_attr_t *__attr,
5356 size_t __cpusetsize,
5357 cpu_set_t *__cpuset)
5358 __attribute__ ((__nothrow__ )) ;
5359
5360
5361
5362
5363
5364extern int pthread_getattr_np (pthread_t __th, pthread_attr_t *__attr)
5365 __attribute__ ((__nothrow__ )) ;
5366
5367
5368
5369
5370
5371
5372
5373extern int pthread_setschedparam (pthread_t __target_thread, int __policy,
5374 __const struct sched_param *__param)
5375 __attribute__ ((__nothrow__ )) ;
5376
5377
5378extern int pthread_getschedparam (pthread_t __target_thread,
5379 int *__restrict __policy,
5380 struct sched_param *__restrict __param)
5381 __attribute__ ((__nothrow__ )) ;
5382
5383
5384extern int pthread_setschedprio (pthread_t __target_thread, int __prio)
5385 __attribute__ ((__nothrow__ ));
5386
5387
5388
5389
5390extern int pthread_getname_np (pthread_t __target_thread, char *__buf,
5391 size_t __buflen)
5392 __attribute__ ((__nothrow__ )) ;
5393
5394
5395extern int pthread_setname_np (pthread_t __target_thread, __const char *__name)
5396 __attribute__ ((__nothrow__ )) ;
5397
5398
5399
5400
5401
5402extern int pthread_getconcurrency (void) __attribute__ ((__nothrow__ ));
5403
5404
5405extern int pthread_setconcurrency (int __level) __attribute__ ((__nothrow__ ));
5406
5407
5408
5409
5410
5411
5412
5413extern int pthread_yield (void) __attribute__ ((__nothrow__ ));
5414
5415
5416
5417
5418extern int pthread_setaffinity_np (pthread_t __th, size_t __cpusetsize,
5419 __const cpu_set_t *__cpuset)
5420 __attribute__ ((__nothrow__ )) ;
5421
5422
5423extern int pthread_getaffinity_np (pthread_t __th, size_t __cpusetsize,
5424 cpu_set_t *__cpuset)
5425 __attribute__ ((__nothrow__ )) ;
5426# 478 "../nptl/sysdeps/pthread/pthread.h"
5427extern int pthread_once (pthread_once_t *__once_control,
5428 void (*__init_routine) (void)) ;
5429# 490 "../nptl/sysdeps/pthread/pthread.h"
5430extern int pthread_setcancelstate (int __state, int *__oldstate);
5431
5432
5433
5434extern int pthread_setcanceltype (int __type, int *__oldtype);
5435
5436
5437extern int pthread_cancel (pthread_t __th);
5438
5439
5440
5441
5442extern void pthread_testcancel (void);
5443
5444
5445
5446
5447typedef struct
5448{
5449 struct
5450 {
5451 __jmp_buf __cancel_jmp_buf;
5452 int __mask_was_saved;
5453 } __cancel_jmp_buf[1];
5454 void *__pad[4];
5455} __pthread_unwind_buf_t __attribute__ ((__aligned__));
5456# 524 "../nptl/sysdeps/pthread/pthread.h"
5457struct __pthread_cleanup_frame
5458{
5459 void (*__cancel_routine) (void *);
5460 void *__cancel_arg;
5461 int __do_it;
5462 int __cancel_type;
5463};
5464# 664 "../nptl/sysdeps/pthread/pthread.h"
5465extern void __pthread_register_cancel (__pthread_unwind_buf_t *__buf)
5466 ;
5467# 676 "../nptl/sysdeps/pthread/pthread.h"
5468extern void __pthread_unregister_cancel (__pthread_unwind_buf_t *__buf)
5469 ;
5470# 699 "../nptl/sysdeps/pthread/pthread.h"
5471extern void __pthread_register_cancel_defer (__pthread_unwind_buf_t *__buf)
5472 ;
5473# 712 "../nptl/sysdeps/pthread/pthread.h"
5474extern void __pthread_unregister_cancel_restore (__pthread_unwind_buf_t *__buf)
5475 ;
5476
5477
5478
5479extern void __pthread_unwind_next (__pthread_unwind_buf_t *__buf)
5480 __attribute__ ((__noreturn__))
5481
5482 __attribute__ ((__weak__))
5483
5484 ;
5485
5486
5487
5488struct __jmp_buf_tag;
5489extern int __sigsetjmp (struct __jmp_buf_tag *__env, int __savemask) __attribute__ ((__nothrow__ ));
5490
5491
5492
5493
5494
5495extern int pthread_mutex_init (pthread_mutex_t *__mutex,
5496 __const pthread_mutexattr_t *__mutexattr)
5497 __attribute__ ((__nothrow__ )) ;
5498
5499
5500extern int pthread_mutex_destroy (pthread_mutex_t *__mutex)
5501 __attribute__ ((__nothrow__ )) ;
5502
5503
5504extern int pthread_mutex_trylock (pthread_mutex_t *__mutex)
5505 __attribute__ ((__nothrow__)) ;
5506
5507
5508extern int pthread_mutex_lock (pthread_mutex_t *__mutex)
5509 __attribute__ ((__nothrow__)) ;
5510
5511
5512
5513extern int pthread_mutex_timedlock (pthread_mutex_t *__restrict __mutex,
5514 __const struct timespec *__restrict
5515 __abstime) __attribute__ ((__nothrow__)) ;
5516
5517
5518
5519extern int pthread_mutex_unlock (pthread_mutex_t *__mutex)
5520 __attribute__ ((__nothrow__)) ;
5521
5522
5523
5524extern int pthread_mutex_getprioceiling (__const pthread_mutex_t *
5525 __restrict __mutex,
5526 int *__restrict __prioceiling)
5527 __attribute__ ((__nothrow__ )) ;
5528
5529
5530
5531extern int pthread_mutex_setprioceiling (pthread_mutex_t *__restrict __mutex,
5532 int __prioceiling,
5533 int *__restrict __old_ceiling)
5534 __attribute__ ((__nothrow__ )) ;
5535
5536
5537
5538
5539extern int pthread_mutex_consistent (pthread_mutex_t *__mutex)
5540 __attribute__ ((__nothrow__ )) ;
5541
5542extern int pthread_mutex_consistent_np (pthread_mutex_t *__mutex)
5543 __attribute__ ((__nothrow__ )) ;
5544# 790 "../nptl/sysdeps/pthread/pthread.h"
5545extern int pthread_mutexattr_init (pthread_mutexattr_t *__attr)
5546 __attribute__ ((__nothrow__ )) ;
5547
5548
5549extern int pthread_mutexattr_destroy (pthread_mutexattr_t *__attr)
5550 __attribute__ ((__nothrow__ )) ;
5551
5552
5553extern int pthread_mutexattr_getpshared (__const pthread_mutexattr_t *
5554 __restrict __attr,
5555 int *__restrict __pshared)
5556 __attribute__ ((__nothrow__ )) ;
5557
5558
5559extern int pthread_mutexattr_setpshared (pthread_mutexattr_t *__attr,
5560 int __pshared)
5561 __attribute__ ((__nothrow__ )) ;
5562
5563
5564
5565extern int pthread_mutexattr_gettype (__const pthread_mutexattr_t *__restrict
5566 __attr, int *__restrict __kind)
5567 __attribute__ ((__nothrow__ )) ;
5568
5569
5570
5571
5572extern int pthread_mutexattr_settype (pthread_mutexattr_t *__attr, int __kind)
5573 __attribute__ ((__nothrow__ )) ;
5574
5575
5576
5577extern int pthread_mutexattr_getprotocol (__const pthread_mutexattr_t *
5578 __restrict __attr,
5579 int *__restrict __protocol)
5580 __attribute__ ((__nothrow__ )) ;
5581
5582
5583
5584extern int pthread_mutexattr_setprotocol (pthread_mutexattr_t *__attr,
5585 int __protocol)
5586 __attribute__ ((__nothrow__ )) ;
5587
5588
5589extern int pthread_mutexattr_getprioceiling (__const pthread_mutexattr_t *
5590 __restrict __attr,
5591 int *__restrict __prioceiling)
5592 __attribute__ ((__nothrow__ )) ;
5593
5594
5595extern int pthread_mutexattr_setprioceiling (pthread_mutexattr_t *__attr,
5596 int __prioceiling)
5597 __attribute__ ((__nothrow__ )) ;
5598
5599
5600
5601extern int pthread_mutexattr_getrobust (__const pthread_mutexattr_t *__attr,
5602 int *__robustness)
5603 __attribute__ ((__nothrow__ )) ;
5604
5605extern int pthread_mutexattr_getrobust_np (__const pthread_mutexattr_t *__attr,
5606 int *__robustness)
5607 __attribute__ ((__nothrow__ )) ;
5608
5609
5610
5611extern int pthread_mutexattr_setrobust (pthread_mutexattr_t *__attr,
5612 int __robustness)
5613 __attribute__ ((__nothrow__ )) ;
5614
5615extern int pthread_mutexattr_setrobust_np (pthread_mutexattr_t *__attr,
5616 int __robustness)
5617 __attribute__ ((__nothrow__ )) ;
5618# 872 "../nptl/sysdeps/pthread/pthread.h"
5619extern int pthread_rwlock_init (pthread_rwlock_t *__restrict __rwlock,
5620 __const pthread_rwlockattr_t *__restrict
5621 __attr) __attribute__ ((__nothrow__ )) ;
5622
5623
5624extern int pthread_rwlock_destroy (pthread_rwlock_t *__rwlock)
5625 __attribute__ ((__nothrow__ )) ;
5626
5627
5628extern int pthread_rwlock_rdlock (pthread_rwlock_t *__rwlock)
5629 __attribute__ ((__nothrow__)) ;
5630
5631
5632extern int pthread_rwlock_tryrdlock (pthread_rwlock_t *__rwlock)
5633 __attribute__ ((__nothrow__)) ;
5634
5635
5636
5637extern int pthread_rwlock_timedrdlock (pthread_rwlock_t *__restrict __rwlock,
5638 __const struct timespec *__restrict
5639 __abstime) __attribute__ ((__nothrow__)) ;
5640
5641
5642
5643extern int pthread_rwlock_wrlock (pthread_rwlock_t *__rwlock)
5644 __attribute__ ((__nothrow__)) ;
5645
5646
5647extern int pthread_rwlock_trywrlock (pthread_rwlock_t *__rwlock)
5648 __attribute__ ((__nothrow__)) ;
5649
5650
5651
5652extern int pthread_rwlock_timedwrlock (pthread_rwlock_t *__restrict __rwlock,
5653 __const struct timespec *__restrict
5654 __abstime) __attribute__ ((__nothrow__)) ;
5655
5656
5657
5658extern int pthread_rwlock_unlock (pthread_rwlock_t *__rwlock)
5659 __attribute__ ((__nothrow__)) ;
5660
5661
5662
5663
5664
5665extern int pthread_rwlockattr_init (pthread_rwlockattr_t *__attr)
5666 __attribute__ ((__nothrow__ )) ;
5667
5668
5669extern int pthread_rwlockattr_destroy (pthread_rwlockattr_t *__attr)
5670 __attribute__ ((__nothrow__ )) ;
5671
5672
5673extern int pthread_rwlockattr_getpshared (__const pthread_rwlockattr_t *
5674 __restrict __attr,
5675 int *__restrict __pshared)
5676 __attribute__ ((__nothrow__ )) ;
5677
5678
5679extern int pthread_rwlockattr_setpshared (pthread_rwlockattr_t *__attr,
5680 int __pshared)
5681 __attribute__ ((__nothrow__ )) ;
5682
5683
5684extern int pthread_rwlockattr_getkind_np (__const pthread_rwlockattr_t *
5685 __restrict __attr,
5686 int *__restrict __pref)
5687 __attribute__ ((__nothrow__ )) ;
5688
5689
5690extern int pthread_rwlockattr_setkind_np (pthread_rwlockattr_t *__attr,
5691 int __pref) __attribute__ ((__nothrow__ )) ;
5692
5693
5694
5695
5696
5697
5698
5699extern int pthread_cond_init (pthread_cond_t *__restrict __cond,
5700 __const pthread_condattr_t *__restrict
5701 __cond_attr) __attribute__ ((__nothrow__ )) ;
5702
5703
5704extern int pthread_cond_destroy (pthread_cond_t *__cond)
5705 __attribute__ ((__nothrow__ )) ;
5706
5707
5708extern int pthread_cond_signal (pthread_cond_t *__cond)
5709 __attribute__ ((__nothrow__)) ;
5710
5711
5712extern int pthread_cond_broadcast (pthread_cond_t *__cond)
5713 __attribute__ ((__nothrow__)) ;
5714
5715
5716
5717
5718
5719
5720extern int pthread_cond_wait (pthread_cond_t *__restrict __cond,
5721 pthread_mutex_t *__restrict __mutex)
5722 ;
5723# 984 "../nptl/sysdeps/pthread/pthread.h"
5724extern int pthread_cond_timedwait (pthread_cond_t *__restrict __cond,
5725 pthread_mutex_t *__restrict __mutex,
5726 __const struct timespec *__restrict
5727 __abstime) ;
5728
5729
5730
5731
5732extern int pthread_condattr_init (pthread_condattr_t *__attr)
5733 __attribute__ ((__nothrow__ )) ;
5734
5735
5736extern int pthread_condattr_destroy (pthread_condattr_t *__attr)
5737 __attribute__ ((__nothrow__ )) ;
5738
5739
5740extern int pthread_condattr_getpshared (__const pthread_condattr_t *
5741 __restrict __attr,
5742 int *__restrict __pshared)
5743 __attribute__ ((__nothrow__ )) ;
5744
5745
5746extern int pthread_condattr_setpshared (pthread_condattr_t *__attr,
5747 int __pshared) __attribute__ ((__nothrow__ )) ;
5748
5749
5750
5751extern int pthread_condattr_getclock (__const pthread_condattr_t *
5752 __restrict __attr,
5753 __clockid_t *__restrict __clock_id)
5754 __attribute__ ((__nothrow__ )) ;
5755
5756
5757extern int pthread_condattr_setclock (pthread_condattr_t *__attr,
5758 __clockid_t __clock_id)
5759 __attribute__ ((__nothrow__ )) ;
5760# 1028 "../nptl/sysdeps/pthread/pthread.h"
5761extern int pthread_spin_init (pthread_spinlock_t *__lock, int __pshared)
5762 __attribute__ ((__nothrow__ )) ;
5763
5764
5765extern int pthread_spin_destroy (pthread_spinlock_t *__lock)
5766 __attribute__ ((__nothrow__ )) ;
5767
5768
5769extern int pthread_spin_lock (pthread_spinlock_t *__lock)
5770 __attribute__ ((__nothrow__)) ;
5771
5772
5773extern int pthread_spin_trylock (pthread_spinlock_t *__lock)
5774 __attribute__ ((__nothrow__)) ;
5775
5776
5777extern int pthread_spin_unlock (pthread_spinlock_t *__lock)
5778 __attribute__ ((__nothrow__)) ;
5779
5780
5781
5782
5783
5784
5785extern int pthread_barrier_init (pthread_barrier_t *__restrict __barrier,
5786 __const pthread_barrierattr_t *__restrict
5787 __attr, unsigned int __count)
5788 __attribute__ ((__nothrow__ )) ;
5789
5790
5791extern int pthread_barrier_destroy (pthread_barrier_t *__barrier)
5792 __attribute__ ((__nothrow__ )) ;
5793
5794
5795extern int pthread_barrier_wait (pthread_barrier_t *__barrier)
5796 __attribute__ ((__nothrow__)) ;
5797
5798
5799
5800extern int pthread_barrierattr_init (pthread_barrierattr_t *__attr)
5801 __attribute__ ((__nothrow__ )) ;
5802
5803
5804extern int pthread_barrierattr_destroy (pthread_barrierattr_t *__attr)
5805 __attribute__ ((__nothrow__ )) ;
5806
5807
5808extern int pthread_barrierattr_getpshared (__const pthread_barrierattr_t *
5809 __restrict __attr,
5810 int *__restrict __pshared)
5811 __attribute__ ((__nothrow__ )) ;
5812
5813
5814extern int pthread_barrierattr_setpshared (pthread_barrierattr_t *__attr,
5815 int __pshared)
5816 __attribute__ ((__nothrow__ )) ;
5817# 1095 "../nptl/sysdeps/pthread/pthread.h"
5818extern int pthread_key_create (pthread_key_t *__key,
5819 void (*__destr_function) (void *))
5820 __attribute__ ((__nothrow__ )) ;
5821
5822
5823extern int pthread_key_delete (pthread_key_t __key) __attribute__ ((__nothrow__ ));
5824
5825
5826extern void *pthread_getspecific (pthread_key_t __key) __attribute__ ((__nothrow__ ));
5827
5828
5829extern int pthread_setspecific (pthread_key_t __key,
5830 __const void *__pointer) __attribute__ ((__nothrow__ )) ;
5831
5832
5833
5834
5835extern int pthread_getcpuclockid (pthread_t __thread_id,
5836 __clockid_t *__clock_id)
5837 __attribute__ ((__nothrow__ )) ;
5838# 1129 "../nptl/sysdeps/pthread/pthread.h"
5839extern int pthread_atfork (void (*__prepare) (void),
5840 void (*__parent) (void),
5841 void (*__child) (void)) __attribute__ ((__nothrow__ ));
5842
5843
5844
5845
5846extern __inline int
5847__attribute__ ((__nothrow__ )) pthread_equal (pthread_t __thread1, pthread_t __thread2)
5848{
5849 return __thread1 == __thread2;
5850}
5851
5852
5853
5854# 2 "../include/pthread.h" 2
5855
5856
5857extern void __pthread_initialize (void) __attribute__ ((weak));
5858# 27 "../nptl/../nptl_db/thread_db.h" 2
5859
5860# 1 "../include/sys/types.h" 1
5861# 29 "../nptl/../nptl_db/thread_db.h" 2
5862# 1 "../ports/sysdeps/unix/sysv/linux/arm/sys/procfs.h" 1
5863# 32 "../ports/sysdeps/unix/sysv/linux/arm/sys/procfs.h"
5864# 1 "../include/sys/time.h" 1
5865
5866# 1 "../time/sys/time.h" 1
5867# 29 "../time/sys/time.h"
5868# 1 "../sysdeps/unix/sysv/linux/bits/time.h" 1
5869# 30 "../time/sys/time.h" 2
5870# 39 "../time/sys/time.h"
5871
5872# 57 "../time/sys/time.h"
5873struct timezone
5874 {
5875 int tz_minuteswest;
5876 int tz_dsttime;
5877 };
5878
5879typedef struct timezone *__restrict __timezone_ptr_t;
5880# 73 "../time/sys/time.h"
5881extern int gettimeofday (struct timeval *__restrict __tv,
5882 __timezone_ptr_t __tz) __attribute__ ((__nothrow__ )) ;
5883
5884
5885
5886
5887extern int settimeofday (__const struct timeval *__tv,
5888 __const struct timezone *__tz)
5889 __attribute__ ((__nothrow__ )) ;
5890
5891
5892
5893
5894
5895extern int adjtime (__const struct timeval *__delta,
5896 struct timeval *__olddelta) __attribute__ ((__nothrow__ ));
5897
5898
5899
5900
5901enum __itimer_which
5902 {
5903
5904 ITIMER_REAL = 0,
5905
5906
5907 ITIMER_VIRTUAL = 1,
5908
5909
5910
5911 ITIMER_PROF = 2
5912
5913 };
5914
5915
5916
5917struct itimerval
5918 {
5919
5920 struct timeval it_interval;
5921
5922 struct timeval it_value;
5923 };
5924
5925
5926
5927
5928typedef enum __itimer_which __itimer_which_t;
5929
5930
5931
5932
5933
5934
5935extern int getitimer (__itimer_which_t __which,
5936 struct itimerval *__value) __attribute__ ((__nothrow__ ));
5937
5938
5939
5940
5941extern int setitimer (__itimer_which_t __which,
5942 __const struct itimerval *__restrict __new,
5943 struct itimerval *__restrict __old) __attribute__ ((__nothrow__ ));
5944
5945
5946
5947
5948extern int utimes (__const char *__file, __const struct timeval __tvp[2])
5949 __attribute__ ((__nothrow__ )) ;
5950
5951
5952
5953extern int lutimes (__const char *__file, __const struct timeval __tvp[2])
5954 __attribute__ ((__nothrow__ )) ;
5955
5956
5957extern int futimes (int __fd, __const struct timeval __tvp[2]) __attribute__ ((__nothrow__ ));
5958
5959
5960
5961
5962
5963
5964extern int futimesat (int __fd, __const char *__file,
5965 __const struct timeval __tvp[2]) __attribute__ ((__nothrow__ ));
5966# 191 "../time/sys/time.h"
5967
5968# 3 "../include/sys/time.h" 2
5969
5970
5971extern int __gettimeofday (struct timeval *__tv,
5972 struct timezone *__tz);
5973extern int __gettimeofday_internal (struct timeval *__tv,
5974 struct timezone *__tz)
5975 ;
5976extern int __settimeofday (__const struct timeval *__tv,
5977 __const struct timezone *__tz)
5978 ;
5979extern int __adjtime (__const struct timeval *__delta,
5980 struct timeval *__olddelta);
5981extern int __getitimer (enum __itimer_which __which,
5982 struct itimerval *__value);
5983extern int __setitimer (enum __itimer_which __which,
5984 __const struct itimerval *__restrict __new,
5985 struct itimerval *__restrict __old)
5986 ;
5987extern int __utimes (__const char *__file, const struct timeval __tvp[2])
5988 ;
5989extern int __futimes (int fd, __const struct timeval tvp[2]) ;
5990# 33 "../ports/sysdeps/unix/sysv/linux/arm/sys/procfs.h" 2
5991# 1 "../include/sys/types.h" 1
5992# 34 "../ports/sysdeps/unix/sysv/linux/arm/sys/procfs.h" 2
5993# 1 "../ports/sysdeps/unix/sysv/linux/arm/sys/user.h" 1
5994# 26 "../ports/sysdeps/unix/sysv/linux/arm/sys/user.h"
5995struct user_fpregs
5996{
5997 struct fp_reg
5998 {
5999 unsigned int sign1:1;
6000 unsigned int unused:15;
6001 unsigned int sign2:1;
6002 unsigned int exponent:14;
6003 unsigned int j:1;
6004 unsigned int mantissa1:31;
6005 unsigned int mantissa0:32;
6006 } fpregs[8];
6007 unsigned int fpsr:32;
6008 unsigned int fpcr:32;
6009 unsigned char ftype[8];
6010 unsigned int init_flag;
6011};
6012
6013struct user_regs
6014{
6015 unsigned long int uregs[18];
6016};
6017
6018struct user
6019{
6020 struct user_regs regs;
6021 int u_fpvalid;
6022
6023 unsigned long int u_tsize;
6024 unsigned long int u_dsize;
6025 unsigned long int u_ssize;
6026
6027 unsigned long start_code;
6028 unsigned long start_stack;
6029
6030 long int signal;
6031 int reserved;
6032 struct user_regs *u_ar0;
6033
6034 unsigned long magic;
6035 char u_comm[32];
6036 int u_debugreg[8];
6037 struct user_fpregs u_fp;
6038 struct user_fpregs *u_fp0;
6039};
6040# 35 "../ports/sysdeps/unix/sysv/linux/arm/sys/procfs.h" 2
6041
6042
6043
6044
6045typedef unsigned long elf_greg_t;
6046
6047
6048
6049
6050
6051
6052typedef elf_greg_t elf_gregset_t[(sizeof (struct user_regs) / sizeof(elf_greg_t))];
6053
6054
6055typedef struct user_fpregs elf_fpregset_t;
6056
6057
6058struct elf_siginfo
6059 {
6060 int si_signo;
6061 int si_code;
6062 int si_errno;
6063 };
6064# 66 "../ports/sysdeps/unix/sysv/linux/arm/sys/procfs.h"
6065struct elf_prstatus
6066 {
6067 struct elf_siginfo pr_info;
6068 short int pr_cursig;
6069 unsigned long int pr_sigpend;
6070 unsigned long int pr_sighold;
6071 __pid_t pr_pid;
6072 __pid_t pr_ppid;
6073 __pid_t pr_pgrp;
6074 __pid_t pr_sid;
6075 struct timeval pr_utime;
6076 struct timeval pr_stime;
6077 struct timeval pr_cutime;
6078 struct timeval pr_cstime;
6079 elf_gregset_t pr_reg;
6080 int pr_fpvalid;
6081 };
6082
6083
6084
6085
6086struct elf_prpsinfo
6087 {
6088 char pr_state;
6089 char pr_sname;
6090 char pr_zomb;
6091 char pr_nice;
6092 unsigned long int pr_flag;
6093 unsigned short int pr_uid;
6094 unsigned short int pr_gid;
6095 int pr_pid, pr_ppid, pr_pgrp, pr_sid;
6096
6097 char pr_fname[16];
6098 char pr_psargs[(80)];
6099 };
6100
6101
6102
6103
6104
6105
6106typedef void *psaddr_t;
6107
6108
6109typedef elf_gregset_t prgregset_t;
6110typedef elf_fpregset_t prfpregset_t;
6111
6112
6113
6114typedef __pid_t lwpid_t;
6115
6116
6117typedef struct elf_prstatus prstatus_t;
6118typedef struct elf_prpsinfo prpsinfo_t;
6119
6120
6121# 30 "../nptl/../nptl_db/thread_db.h" 2
6122
6123
6124
6125typedef enum
6126{
6127 TD_OK,
6128 TD_ERR,
6129 TD_NOTHR,
6130 TD_NOSV,
6131 TD_NOLWP,
6132 TD_BADPH,
6133 TD_BADTH,
6134 TD_BADSH,
6135 TD_BADTA,
6136 TD_BADKEY,
6137 TD_NOMSG,
6138 TD_NOFPREGS,
6139 TD_NOLIBTHREAD,
6140 TD_NOEVENT,
6141 TD_NOCAPAB,
6142 TD_DBERR,
6143 TD_NOAPLIC,
6144 TD_NOTSD,
6145 TD_MALLOC,
6146 TD_PARTIALREG,
6147 TD_NOXREGS,
6148 TD_TLSDEFER,
6149 TD_NOTALLOC = TD_TLSDEFER,
6150 TD_VERSION,
6151 TD_NOTLS
6152} td_err_e;
6153
6154
6155
6156
6157typedef enum
6158{
6159 TD_THR_ANY_STATE,
6160 TD_THR_UNKNOWN,
6161 TD_THR_STOPPED,
6162 TD_THR_RUN,
6163 TD_THR_ACTIVE,
6164 TD_THR_ZOMBIE,
6165 TD_THR_SLEEP,
6166 TD_THR_STOPPED_ASLEEP
6167} td_thr_state_e;
6168
6169
6170
6171typedef enum
6172{
6173 TD_THR_ANY_TYPE,
6174 TD_THR_USER,
6175 TD_THR_SYSTEM
6176} td_thr_type_e;
6177
6178
6179
6180
6181
6182typedef struct td_thragent td_thragent_t;
6183
6184
6185typedef struct td_thrhandle
6186{
6187 td_thragent_t *th_ta_p;
6188 psaddr_t th_unique;
6189} td_thrhandle_t;
6190
6191
6192
6193struct link_map;
6194# 116 "../nptl/../nptl_db/thread_db.h"
6195typedef struct td_thr_events
6196{
6197 uint32_t event_bits[2];
6198} td_thr_events_t;
6199# 155 "../nptl/../nptl_db/thread_db.h"
6200typedef enum
6201{
6202 TD_ALL_EVENTS,
6203 TD_EVENT_NONE = TD_ALL_EVENTS,
6204 TD_READY,
6205 TD_SLEEP,
6206 TD_SWITCHTO,
6207 TD_SWITCHFROM,
6208 TD_LOCK_TRY,
6209 TD_CATCHSIG,
6210 TD_IDLE,
6211 TD_CREATE,
6212 TD_DEATH,
6213 TD_PREEMPT,
6214 TD_PRI_INHERIT,
6215 TD_REAP,
6216 TD_CONCURRENCY,
6217 TD_TIMEOUT,
6218 TD_MIN_EVENT_NUM = TD_READY,
6219 TD_MAX_EVENT_NUM = TD_TIMEOUT,
6220 TD_EVENTS_ENABLE = 31
6221} td_event_e;
6222
6223
6224typedef enum
6225{
6226 NOTIFY_BPT,
6227 NOTIFY_AUTOBPT,
6228
6229 NOTIFY_SYSCALL
6230} td_notify_e;
6231
6232
6233typedef struct td_notify
6234{
6235 td_notify_e type;
6236 union
6237 {
6238 psaddr_t bptaddr;
6239 int syscallno;
6240 } u;
6241} td_notify_t;
6242
6243
6244typedef struct td_event_msg
6245{
6246 td_event_e event;
6247 const td_thrhandle_t *th_p;
6248 union
6249 {
6250
6251
6252
6253 uintptr_t data;
6254 } msg;
6255} td_event_msg_t;
6256
6257
6258typedef struct
6259{
6260 td_thr_events_t eventmask;
6261 td_event_e eventnum;
6262 void *eventdata;
6263} td_eventbuf_t;
6264
6265
6266
6267typedef struct td_ta_stats
6268{
6269 int nthreads;
6270 int r_concurrency;
6271 int nrunnable_num;
6272 int nrunnable_den;
6273 int a_concurrency_num;
6274 int a_concurrency_den;
6275 int nlwps_num;
6276
6277 int nlwps_den;
6278
6279 int nidle_num;
6280
6281 int nidle_den;
6282
6283} td_ta_stats_t;
6284
6285
6286
6287
6288typedef pthread_t thread_t;
6289typedef pthread_key_t thread_key_t;
6290
6291
6292
6293typedef int td_thr_iter_f (const td_thrhandle_t *, void *);
6294
6295
6296typedef int td_key_iter_f (thread_key_t, void (*) (void *), void *);
6297
6298
6299
6300
6301struct ps_prochandle;
6302
6303
6304
6305typedef struct td_thrinfo
6306{
6307 td_thragent_t *ti_ta_p;
6308 unsigned int ti_user_flags;
6309 thread_t ti_tid;
6310
6311 char *ti_tls;
6312 psaddr_t ti_startfunc;
6313
6314 psaddr_t ti_stkbase;
6315 long int ti_stksize;
6316 psaddr_t ti_ro_area;
6317 int ti_ro_size;
6318 td_thr_state_e ti_state;
6319 unsigned char ti_db_suspended;
6320 td_thr_type_e ti_type;
6321
6322 intptr_t ti_pc;
6323 intptr_t ti_sp;
6324 short int ti_flags;
6325 int ti_pri;
6326 lwpid_t ti_lid;
6327 sigset_t ti_sigmask;
6328 unsigned char ti_traceme;
6329
6330 unsigned char ti_preemptflag;
6331 unsigned char ti_pirecflag;
6332 sigset_t ti_pending;
6333 td_thr_events_t ti_events;
6334} td_thrinfo_t;
6335
6336
6337
6338
6339
6340
6341extern td_err_e td_init (void);
6342
6343
6344extern td_err_e td_log (void);
6345
6346
6347extern const char **td_symbol_list (void);
6348
6349
6350extern td_err_e td_ta_new (struct ps_prochandle *__ps, td_thragent_t **__ta);
6351
6352
6353extern td_err_e td_ta_delete (td_thragent_t *__ta);
6354
6355
6356extern td_err_e td_ta_get_nthreads (const td_thragent_t *__ta, int *__np);
6357
6358
6359
6360extern td_err_e td_ta_get_ph (const td_thragent_t *__ta,
6361 struct ps_prochandle **__ph);
6362
6363
6364
6365extern td_err_e td_ta_map_id2thr (const td_thragent_t *__ta, pthread_t __pt,
6366 td_thrhandle_t *__th);
6367
6368
6369
6370extern td_err_e td_ta_map_lwp2thr (const td_thragent_t *__ta, lwpid_t __lwpid,
6371 td_thrhandle_t *__th);
6372
6373
6374
6375
6376extern td_err_e td_ta_thr_iter (const td_thragent_t *__ta,
6377 td_thr_iter_f *__callback, void *__cbdata_p,
6378 td_thr_state_e __state, int __ti_pri,
6379 sigset_t *__ti_sigmask_p,
6380 unsigned int __ti_user_flags);
6381
6382
6383extern td_err_e td_ta_tsd_iter (const td_thragent_t *__ta, td_key_iter_f *__ki,
6384 void *__p);
6385
6386
6387
6388extern td_err_e td_ta_event_addr (const td_thragent_t *__ta,
6389 td_event_e __event, td_notify_t *__ptr);
6390
6391
6392extern td_err_e td_ta_set_event (const td_thragent_t *__ta,
6393 td_thr_events_t *__event);
6394
6395
6396extern td_err_e td_ta_clear_event (const td_thragent_t *__ta,
6397 td_thr_events_t *__event);
6398
6399
6400extern td_err_e td_ta_event_getmsg (const td_thragent_t *__ta,
6401 td_event_msg_t *__msg);
6402
6403
6404
6405extern td_err_e td_ta_setconcurrency (const td_thragent_t *__ta, int __level);
6406
6407
6408
6409extern td_err_e td_ta_enable_stats (const td_thragent_t *__ta, int __enable);
6410
6411
6412extern td_err_e td_ta_reset_stats (const td_thragent_t *__ta);
6413
6414
6415extern td_err_e td_ta_get_stats (const td_thragent_t *__ta,
6416 td_ta_stats_t *__statsp);
6417
6418
6419
6420extern td_err_e td_thr_validate (const td_thrhandle_t *__th);
6421
6422
6423extern td_err_e td_thr_get_info (const td_thrhandle_t *__th,
6424 td_thrinfo_t *__infop);
6425
6426
6427extern td_err_e td_thr_getfpregs (const td_thrhandle_t *__th,
6428 prfpregset_t *__regset);
6429
6430
6431extern td_err_e td_thr_getgregs (const td_thrhandle_t *__th,
6432 prgregset_t __gregs);
6433
6434
6435extern td_err_e td_thr_getxregs (const td_thrhandle_t *__th, void *__xregs);
6436
6437
6438extern td_err_e td_thr_getxregsize (const td_thrhandle_t *__th, int *__sizep);
6439
6440
6441extern td_err_e td_thr_setfpregs (const td_thrhandle_t *__th,
6442 const prfpregset_t *__fpregs);
6443
6444
6445extern td_err_e td_thr_setgregs (const td_thrhandle_t *__th,
6446 prgregset_t __gregs);
6447
6448
6449extern td_err_e td_thr_setxregs (const td_thrhandle_t *__th,
6450 const void *__addr);
6451
6452
6453
6454extern td_err_e td_thr_tlsbase (const td_thrhandle_t *__th,
6455 unsigned long int __modid,
6456 psaddr_t *__base);
6457
6458
6459extern td_err_e td_thr_tls_get_addr (const td_thrhandle_t *__th,
6460 psaddr_t __map_address, size_t __offset,
6461 psaddr_t *__address);
6462
6463
6464
6465extern td_err_e td_thr_event_enable (const td_thrhandle_t *__th, int __event);
6466
6467
6468extern td_err_e td_thr_set_event (const td_thrhandle_t *__th,
6469 td_thr_events_t *__event);
6470
6471
6472extern td_err_e td_thr_clear_event (const td_thrhandle_t *__th,
6473 td_thr_events_t *__event);
6474
6475
6476extern td_err_e td_thr_event_getmsg (const td_thrhandle_t *__th,
6477 td_event_msg_t *__msg);
6478
6479
6480
6481extern td_err_e td_thr_setprio (const td_thrhandle_t *__th, int __prio);
6482
6483
6484
6485extern td_err_e td_thr_setsigpending (const td_thrhandle_t *__th,
6486 unsigned char __n, const sigset_t *__ss);
6487
6488
6489extern td_err_e td_thr_sigsetmask (const td_thrhandle_t *__th,
6490 const sigset_t *__ss);
6491
6492
6493
6494extern td_err_e td_thr_tsd (const td_thrhandle_t *__th,
6495 const thread_key_t __tk, void **__data);
6496
6497
6498
6499extern td_err_e td_thr_dbsuspend (const td_thrhandle_t *__th);
6500
6501
6502extern td_err_e td_thr_dbresume (const td_thrhandle_t *__th);
6503# 35 "../nptl/descr.h" 2
6504
6505
6506# 1 "../ports/sysdeps/unix/sysv/linux/arm/eabi/nptl/unwind.h" 1
6507# 40 "../ports/sysdeps/unix/sysv/linux/arm/eabi/nptl/unwind.h"
6508 typedef unsigned _Unwind_Word __attribute__((__mode__(__word__)));
6509 typedef signed _Unwind_Sword __attribute__((__mode__(__word__)));
6510 typedef unsigned _Unwind_Ptr __attribute__((__mode__(__pointer__)));
6511 typedef unsigned _Unwind_Internal_Ptr __attribute__((__mode__(__pointer__)));
6512 typedef _Unwind_Word _uw;
6513 typedef unsigned _uw64 __attribute__((mode(__DI__)));
6514 typedef unsigned _uw16 __attribute__((mode(__HI__)));
6515 typedef unsigned _uw8 __attribute__((mode(__QI__)));
6516
6517 typedef enum
6518 {
6519 _URC_OK = 0,
6520 _URC_FOREIGN_EXCEPTION_CAUGHT = 1,
6521 _URC_END_OF_STACK = 5,
6522 _URC_HANDLER_FOUND = 6,
6523 _URC_INSTALL_CONTEXT = 7,
6524 _URC_CONTINUE_UNWIND = 8,
6525 _URC_FAILURE = 9
6526 }
6527 _Unwind_Reason_Code;
6528
6529 typedef enum
6530 {
6531 _US_VIRTUAL_UNWIND_FRAME = 0,
6532 _US_UNWIND_FRAME_STARTING = 1,
6533 _US_UNWIND_FRAME_RESUME = 2,
6534 _US_ACTION_MASK = 3,
6535 _US_FORCE_UNWIND = 8,
6536 _US_END_OF_STACK = 16
6537 }
6538 _Unwind_State;
6539
6540
6541 typedef int _Unwind_Action;
6542
6543
6544
6545
6546
6547
6548
6549 typedef struct _Unwind_Control_Block _Unwind_Control_Block;
6550 typedef struct _Unwind_Context _Unwind_Context;
6551 typedef _uw _Unwind_EHT_Header;
6552
6553
6554
6555
6556 struct _Unwind_Control_Block
6557 {
6558
6559
6560
6561 _uw64 exception_class;
6562
6563
6564
6565 void (*exception_cleanup)(_Unwind_Reason_Code, _Unwind_Control_Block *);
6566
6567 struct
6568 {
6569 _uw reserved1;
6570 _uw reserved2;
6571 _uw reserved3;
6572 _uw reserved4;
6573 _uw reserved5;
6574 }
6575 unwinder_cache;
6576
6577 struct
6578 {
6579 _uw sp;
6580 _uw bitpattern[5];
6581 }
6582 barrier_cache;
6583
6584 struct
6585 {
6586 _uw bitpattern[4];
6587 }
6588 cleanup_cache;
6589
6590 struct
6591 {
6592 _uw fnstart;
6593 _Unwind_EHT_Header *ehtp;
6594 _uw additional;
6595 _uw reserved1;
6596 }
6597 pr_cache;
6598 long long int :0;
6599 };
6600
6601
6602
6603 typedef enum
6604 {
6605 _UVRSC_CORE = 0,
6606 _UVRSC_VFP = 1,
6607 _UVRSC_FPA = 2,
6608 _UVRSC_WMMXD = 3,
6609 _UVRSC_WMMXC = 4
6610 }
6611 _Unwind_VRS_RegClass;
6612
6613 typedef enum
6614 {
6615 _UVRSD_UINT32 = 0,
6616 _UVRSD_VFPX = 1,
6617 _UVRSD_FPAX = 2,
6618 _UVRSD_UINT64 = 3,
6619 _UVRSD_FLOAT = 4,
6620 _UVRSD_DOUBLE = 5
6621 }
6622 _Unwind_VRS_DataRepresentation;
6623
6624 typedef enum
6625 {
6626 _UVRSR_OK = 0,
6627 _UVRSR_NOT_IMPLEMENTED = 1,
6628 _UVRSR_FAILED = 2
6629 }
6630 _Unwind_VRS_Result;
6631
6632
6633 typedef struct
6634 {
6635
6636 _uw data;
6637
6638 _uw *next;
6639
6640 _uw8 bytes_left;
6641
6642 _uw8 words_left;
6643 }
6644 __gnu_unwind_state;
6645
6646 typedef _Unwind_Reason_Code (*personality_routine) (_Unwind_State,
6647 _Unwind_Control_Block *, _Unwind_Context *);
6648
6649 _Unwind_VRS_Result _Unwind_VRS_Set(_Unwind_Context *, _Unwind_VRS_RegClass,
6650 _uw, _Unwind_VRS_DataRepresentation,
6651 void *);
6652
6653 _Unwind_VRS_Result _Unwind_VRS_Get(_Unwind_Context *, _Unwind_VRS_RegClass,
6654 _uw, _Unwind_VRS_DataRepresentation,
6655 void *);
6656
6657 _Unwind_VRS_Result _Unwind_VRS_Pop(_Unwind_Context *, _Unwind_VRS_RegClass,
6658 _uw, _Unwind_VRS_DataRepresentation);
6659
6660
6661
6662
6663 typedef char _Unwind_Exception_Class[8];
6664
6665 void * _Unwind_GetLanguageSpecificData (_Unwind_Context *);
6666 _Unwind_Ptr _Unwind_GetRegionStart (_Unwind_Context *);
6667
6668
6669 _Unwind_Ptr _Unwind_GetDataRelBase (_Unwind_Context *);
6670 _Unwind_Ptr _Unwind_GetTextRelBase (_Unwind_Context *);
6671
6672
6673 _Unwind_Reason_Code _Unwind_RaiseException(_Unwind_Control_Block *ucbp);
6674 void __attribute__((noreturn)) _Unwind_Resume(_Unwind_Control_Block *ucbp);
6675 _Unwind_Reason_Code _Unwind_Resume_or_Rethrow (_Unwind_Control_Block *ucbp);
6676
6677 typedef _Unwind_Reason_Code (*_Unwind_Stop_Fn)
6678 (int, _Unwind_Action, _Unwind_Exception_Class,
6679 _Unwind_Control_Block *, struct _Unwind_Context *, void *);
6680 _Unwind_Reason_Code _Unwind_ForcedUnwind (_Unwind_Control_Block *,
6681 _Unwind_Stop_Fn, void *);
6682 _Unwind_Word _Unwind_GetCFA (struct _Unwind_Context *);
6683 void _Unwind_Complete(_Unwind_Control_Block *ucbp);
6684 void _Unwind_DeleteException (_Unwind_Control_Block *);
6685
6686 _Unwind_Reason_Code __gnu_unwind_frame (_Unwind_Control_Block *,
6687 _Unwind_Context *);
6688 _Unwind_Reason_Code __gnu_unwind_execute (_Unwind_Context *,
6689 __gnu_unwind_state *);
6690
6691
6692 static inline _Unwind_Word
6693 _Unwind_decode_target2 (_Unwind_Word ptr)
6694 {
6695 _Unwind_Word tmp;
6696
6697 tmp = *(_Unwind_Word *) ptr;
6698
6699 if (!tmp)
6700 return 0;
6701
6702
6703
6704 tmp += ptr;
6705 tmp = *(_Unwind_Word *) tmp;
6706
6707
6708
6709
6710
6711
6712 return tmp;
6713 }
6714
6715 static inline _Unwind_Word
6716 _Unwind_GetGR (_Unwind_Context *context, int regno)
6717 {
6718 _uw val;
6719 _Unwind_VRS_Get (context, _UVRSC_CORE, regno, _UVRSD_UINT32, &val);
6720 return val;
6721 }
6722
6723
6724
6725
6726
6727 static inline void
6728 _Unwind_SetGR (_Unwind_Context *context, int regno, _Unwind_Word val)
6729 {
6730 _Unwind_VRS_Set (context, _UVRSC_CORE, regno, _UVRSD_UINT32, &val);
6731 }
6732
6733
6734
6735
6736
6737
6738typedef _Unwind_Reason_Code (*_Unwind_Trace_Fn)
6739 (struct _Unwind_Context *, void *);
6740
6741extern _Unwind_Reason_Code _Unwind_Backtrace (_Unwind_Trace_Fn, void *);
6742# 38 "../nptl/descr.h" 2
6743
6744
6745# 1 "../include/resolv.h" 1
6746# 12 "../include/resolv.h"
6747# 1 "../resolv/resolv.h" 1
6748# 56 "../resolv/resolv.h"
6749# 1 "../include/sys/types.h" 1
6750# 57 "../resolv/resolv.h" 2
6751# 1 "../include/netinet/in.h" 1
6752
6753
6754# 1 "../inet/netinet/in.h" 1
6755# 25 "../inet/netinet/in.h"
6756# 1 "../include/sys/socket.h" 1
6757
6758# 1 "../socket/sys/socket.h" 1
6759# 26 "../socket/sys/socket.h"
6760
6761
6762# 1 "../include/sys/uio.h" 1
6763
6764# 1 "../misc/sys/uio.h" 1
6765# 24 "../misc/sys/uio.h"
6766# 1 "../include/sys/types.h" 1
6767# 25 "../misc/sys/uio.h" 2
6768
6769
6770
6771
6772# 1 "../sysdeps/unix/sysv/linux/bits/uio.h" 1
6773# 26 "../sysdeps/unix/sysv/linux/bits/uio.h"
6774# 1 "../include/sys/types.h" 1
6775# 27 "../sysdeps/unix/sysv/linux/bits/uio.h" 2
6776# 44 "../sysdeps/unix/sysv/linux/bits/uio.h"
6777struct iovec
6778 {
6779 void *iov_base;
6780 size_t iov_len;
6781 };
6782
6783
6784
6785
6786
6787
6788
6789
6790
6791extern ssize_t process_vm_readv (pid_t __pid, __const struct iovec *__lvec,
6792 unsigned long int __liovcnt,
6793 __const struct iovec *__rvec,
6794 unsigned long int __riovcnt,
6795 unsigned long int __flags)
6796 __attribute__ ((__nothrow__ ));
6797
6798
6799extern ssize_t process_vm_writev (pid_t __pid, __const struct iovec *__lvec,
6800 unsigned long int __liovcnt,
6801 __const struct iovec *__rvec,
6802 unsigned long int __riovcnt,
6803 unsigned long int __flags)
6804 __attribute__ ((__nothrow__ ));
6805
6806
6807# 30 "../misc/sys/uio.h" 2
6808# 40 "../misc/sys/uio.h"
6809extern ssize_t readv (int __fd, __const struct iovec *__iovec, int __count)
6810 ;
6811# 51 "../misc/sys/uio.h"
6812extern ssize_t writev (int __fd, __const struct iovec *__iovec, int __count)
6813 ;
6814# 66 "../misc/sys/uio.h"
6815extern ssize_t preadv (int __fd, __const struct iovec *__iovec, int __count,
6816 __off_t __offset) ;
6817# 78 "../misc/sys/uio.h"
6818extern ssize_t pwritev (int __fd, __const struct iovec *__iovec, int __count,
6819 __off_t __offset) ;
6820# 104 "../misc/sys/uio.h"
6821extern ssize_t preadv64 (int __fd, __const struct iovec *__iovec, int __count,
6822 __off64_t __offset) ;
6823# 116 "../misc/sys/uio.h"
6824extern ssize_t pwritev64 (int __fd, __const struct iovec *__iovec, int __count,
6825 __off64_t __offset) ;
6826
6827
6828
6829
6830# 3 "../include/sys/uio.h" 2
6831
6832
6833extern ssize_t __readv (int __fd, __const struct iovec *__iovec,
6834 int __count);
6835extern ssize_t __libc_readv (int __fd, __const struct iovec *__iovec,
6836 int __count);
6837extern ssize_t __writev (int __fd, __const struct iovec *__iovec,
6838 int __count);
6839extern ssize_t __libc_writev (int __fd, __const struct iovec *__iovec,
6840 int __count);
6841# 29 "../socket/sys/socket.h" 2
6842
6843# 1 "/usr/lib/gcc/armv5te-iwmmxt-linux-gnueabi/4.7.3/include/stddef.h" 1 3 4
6844# 31 "../socket/sys/socket.h" 2
6845
6846
6847# 1 "../sysdeps/unix/sysv/linux/bits/sigset.h" 1
6848# 34 "../socket/sys/socket.h" 2
6849
6850
6851
6852
6853
6854
6855# 1 "../sysdeps/unix/sysv/linux/bits/socket.h" 1
6856# 29 "../sysdeps/unix/sysv/linux/bits/socket.h"
6857# 1 "/usr/lib/gcc/armv5te-iwmmxt-linux-gnueabi/4.7.3/include/stddef.h" 1 3 4
6858# 30 "../sysdeps/unix/sysv/linux/bits/socket.h" 2
6859
6860# 1 "../include/sys/types.h" 1
6861# 32 "../sysdeps/unix/sysv/linux/bits/socket.h" 2
6862
6863
6864
6865typedef __socklen_t socklen_t;
6866
6867
6868
6869
6870enum __socket_type
6871{
6872 SOCK_STREAM = 1,
6873
6874
6875 SOCK_DGRAM = 2,
6876
6877
6878 SOCK_RAW = 3,
6879
6880 SOCK_RDM = 4,
6881
6882 SOCK_SEQPACKET = 5,
6883
6884
6885 SOCK_DCCP = 6,
6886
6887 SOCK_PACKET = 10,
6888
6889
6890
6891
6892
6893
6894
6895 SOCK_CLOEXEC = 02000000,
6896
6897
6898 SOCK_NONBLOCK = 04000
6899
6900
6901};
6902# 177 "../sysdeps/unix/sysv/linux/bits/socket.h"
6903# 1 "../bits/sockaddr.h" 1
6904# 29 "../bits/sockaddr.h"
6905typedef unsigned short int sa_family_t;
6906# 178 "../sysdeps/unix/sysv/linux/bits/socket.h" 2
6907
6908
6909struct sockaddr
6910 {
6911 sa_family_t sa_family;
6912 char sa_data[14];
6913 };
6914# 193 "../sysdeps/unix/sysv/linux/bits/socket.h"
6915struct sockaddr_storage
6916 {
6917 sa_family_t ss_family;
6918 unsigned long int __ss_align;
6919 char __ss_padding[(128 - (2 * sizeof (unsigned long int)))];
6920 };
6921
6922
6923
6924enum
6925 {
6926 MSG_OOB = 0x01,
6927
6928 MSG_PEEK = 0x02,
6929
6930 MSG_DONTROUTE = 0x04,
6931
6932
6933
6934 MSG_TRYHARD = MSG_DONTROUTE,
6935
6936
6937 MSG_CTRUNC = 0x08,
6938
6939 MSG_PROXY = 0x10,
6940
6941 MSG_TRUNC = 0x20,
6942
6943 MSG_DONTWAIT = 0x40,
6944
6945 MSG_EOR = 0x80,
6946
6947 MSG_WAITALL = 0x100,
6948
6949 MSG_FIN = 0x200,
6950
6951 MSG_SYN = 0x400,
6952
6953 MSG_CONFIRM = 0x800,
6954
6955 MSG_RST = 0x1000,
6956
6957 MSG_ERRQUEUE = 0x2000,
6958
6959 MSG_NOSIGNAL = 0x4000,
6960
6961 MSG_MORE = 0x8000,
6962
6963 MSG_WAITFORONE = 0x10000,
6964
6965
6966 MSG_CMSG_CLOEXEC = 0x40000000
6967
6968
6969
6970 };
6971
6972
6973
6974
6975struct msghdr
6976 {
6977 void *msg_name;
6978 socklen_t msg_namelen;
6979
6980 struct iovec *msg_iov;
6981 size_t msg_iovlen;
6982
6983 void *msg_control;
6984 size_t msg_controllen;
6985
6986
6987
6988
6989 int msg_flags;
6990 };
6991
6992
6993
6994struct mmsghdr
6995 {
6996 struct msghdr msg_hdr;
6997 unsigned int msg_len;
6998 };
6999
7000
7001
7002struct cmsghdr
7003 {
7004 size_t cmsg_len;
7005
7006
7007
7008
7009 int cmsg_level;
7010 int cmsg_type;
7011
7012 __extension__ unsigned char __cmsg_data [];
7013
7014 };
7015# 310 "../sysdeps/unix/sysv/linux/bits/socket.h"
7016extern struct cmsghdr *__cmsg_nxthdr (struct msghdr *__mhdr,
7017 struct cmsghdr *__cmsg) __attribute__ ((__nothrow__ ));
7018
7019
7020
7021
7022extern __inline struct cmsghdr *
7023__attribute__ ((__nothrow__ )) __cmsg_nxthdr (struct msghdr *__mhdr, struct cmsghdr *__cmsg)
7024{
7025 if ((size_t) __cmsg->cmsg_len < sizeof (struct cmsghdr))
7026
7027 return (struct cmsghdr *) 0;
7028
7029 __cmsg = (struct cmsghdr *) ((unsigned char *) __cmsg
7030 + (((__cmsg->cmsg_len) + sizeof (size_t) - 1) & (size_t) ~(sizeof (size_t) - 1)));
7031 if ((unsigned char *) (__cmsg + 1) > ((unsigned char *) __mhdr->msg_control
7032 + __mhdr->msg_controllen)
7033 || ((unsigned char *) __cmsg + (((__cmsg->cmsg_len) + sizeof (size_t) - 1) & (size_t) ~(sizeof (size_t) - 1))
7034 > ((unsigned char *) __mhdr->msg_control + __mhdr->msg_controllen)))
7035
7036 return (struct cmsghdr *) 0;
7037 return __cmsg;
7038}
7039
7040
7041
7042
7043enum
7044 {
7045 SCM_RIGHTS = 0x01
7046
7047
7048 , SCM_CREDENTIALS = 0x02
7049
7050
7051 };
7052
7053
7054
7055struct ucred
7056{
7057 pid_t pid;
7058 uid_t uid;
7059 gid_t gid;
7060};
7061# 383 "../sysdeps/unix/sysv/linux/bits/socket.h"
7062# 1 "/usr/include/asm/socket.h" 1 3 4
7063# 1 "/usr/include/asm-generic/socket.h" 1 3 4
7064
7065
7066
7067# 1 "/usr/include/asm/sockios.h" 1 3 4
7068# 1 "/usr/include/asm-generic/sockios.h" 1 3 4
7069# 1 "/usr/include/asm/sockios.h" 2 3 4
7070# 5 "/usr/include/asm-generic/socket.h" 2 3 4
7071# 1 "/usr/include/asm/socket.h" 2 3 4
7072# 384 "../sysdeps/unix/sysv/linux/bits/socket.h" 2
7073# 417 "../sysdeps/unix/sysv/linux/bits/socket.h"
7074struct linger
7075 {
7076 int l_onoff;
7077 int l_linger;
7078 };
7079
7080
7081
7082
7083
7084
7085
7086
7087
7088extern int recvmmsg (int __fd, struct mmsghdr *__vmessages,
7089 unsigned int __vlen, int __flags,
7090 __const struct timespec *__tmo);
7091
7092
7093
7094
7095
7096extern int sendmmsg (int __fd, struct mmsghdr *__vmessages,
7097 unsigned int __vlen, int __flags);
7098
7099
7100# 41 "../socket/sys/socket.h" 2
7101
7102
7103
7104
7105struct osockaddr
7106 {
7107 unsigned short int sa_family;
7108 unsigned char sa_data[14];
7109 };
7110
7111
7112
7113
7114enum
7115{
7116 SHUT_RD = 0,
7117
7118 SHUT_WR,
7119
7120 SHUT_RDWR
7121
7122};
7123# 92 "../socket/sys/socket.h"
7124typedef union { struct sockaddr *__restrict __sockaddr__; struct sockaddr_at *__restrict __sockaddr_at__; struct sockaddr_ax25 *__restrict __sockaddr_ax25__; struct sockaddr_dl *__restrict __sockaddr_dl__; struct sockaddr_eon *__restrict __sockaddr_eon__; struct sockaddr_in *__restrict __sockaddr_in__; struct sockaddr_in6 *__restrict __sockaddr_in6__; struct sockaddr_inarp *__restrict __sockaddr_inarp__; struct sockaddr_ipx *__restrict __sockaddr_ipx__; struct sockaddr_iso *__restrict __sockaddr_iso__; struct sockaddr_ns *__restrict __sockaddr_ns__; struct sockaddr_un *__restrict __sockaddr_un__; struct sockaddr_x25 *__restrict __sockaddr_x25__;
7125 } __SOCKADDR_ARG __attribute__ ((__transparent_union__));
7126
7127
7128typedef union { __const struct sockaddr *__restrict __sockaddr__; __const struct sockaddr_at *__restrict __sockaddr_at__; __const struct sockaddr_ax25 *__restrict __sockaddr_ax25__; __const struct sockaddr_dl *__restrict __sockaddr_dl__; __const struct sockaddr_eon *__restrict __sockaddr_eon__; __const struct sockaddr_in *__restrict __sockaddr_in__; __const struct sockaddr_in6 *__restrict __sockaddr_in6__; __const struct sockaddr_inarp *__restrict __sockaddr_inarp__; __const struct sockaddr_ipx *__restrict __sockaddr_ipx__; __const struct sockaddr_iso *__restrict __sockaddr_iso__; __const struct sockaddr_ns *__restrict __sockaddr_ns__; __const struct sockaddr_un *__restrict __sockaddr_un__; __const struct sockaddr_x25 *__restrict __sockaddr_x25__;
7129 } __CONST_SOCKADDR_ARG __attribute__ ((__transparent_union__));
7130
7131
7132
7133
7134
7135
7136
7137extern int socket (int __domain, int __type, int __protocol) __attribute__ ((__nothrow__ ));
7138
7139
7140
7141
7142
7143extern int socketpair (int __domain, int __type, int __protocol,
7144 int __fds[2]) __attribute__ ((__nothrow__ ));
7145
7146
7147extern int bind (int __fd, __CONST_SOCKADDR_ARG __addr, socklen_t __len)
7148 __attribute__ ((__nothrow__ ));
7149
7150
7151extern int getsockname (int __fd, __SOCKADDR_ARG __addr,
7152 socklen_t *__restrict __len) __attribute__ ((__nothrow__ ));
7153# 129 "../socket/sys/socket.h"
7154extern int connect (int __fd, __CONST_SOCKADDR_ARG __addr, socklen_t __len);
7155
7156
7157
7158extern int getpeername (int __fd, __SOCKADDR_ARG __addr,
7159 socklen_t *__restrict __len) __attribute__ ((__nothrow__ ));
7160
7161
7162
7163
7164
7165
7166extern ssize_t send (int __fd, __const void *__buf, size_t __n, int __flags);
7167
7168
7169
7170
7171
7172
7173extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags);
7174
7175
7176
7177
7178
7179
7180extern ssize_t sendto (int __fd, __const void *__buf, size_t __n,
7181 int __flags, __CONST_SOCKADDR_ARG __addr,
7182 socklen_t __addr_len);
7183# 166 "../socket/sys/socket.h"
7184extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
7185 int __flags, __SOCKADDR_ARG __addr,
7186 socklen_t *__restrict __addr_len);
7187
7188
7189
7190
7191
7192
7193
7194extern ssize_t sendmsg (int __fd, __const struct msghdr *__message,
7195 int __flags);
7196
7197
7198
7199
7200
7201
7202extern ssize_t recvmsg (int __fd, struct msghdr *__message, int __flags);
7203
7204
7205
7206
7207
7208extern int getsockopt (int __fd, int __level, int __optname,
7209 void *__restrict __optval,
7210 socklen_t *__restrict __optlen) __attribute__ ((__nothrow__ ));
7211
7212
7213
7214
7215extern int setsockopt (int __fd, int __level, int __optname,
7216 __const void *__optval, socklen_t __optlen) __attribute__ ((__nothrow__ ));
7217
7218
7219
7220
7221
7222extern int listen (int __fd, int __n) __attribute__ ((__nothrow__ ));
7223# 214 "../socket/sys/socket.h"
7224extern int accept (int __fd, __SOCKADDR_ARG __addr,
7225 socklen_t *__restrict __addr_len);
7226
7227
7228
7229
7230
7231
7232extern int accept4 (int __fd, __SOCKADDR_ARG __addr,
7233 socklen_t *__restrict __addr_len, int __flags);
7234# 232 "../socket/sys/socket.h"
7235extern int shutdown (int __fd, int __how) __attribute__ ((__nothrow__ ));
7236
7237
7238
7239
7240extern int sockatmark (int __fd) __attribute__ ((__nothrow__ ));
7241
7242
7243
7244
7245
7246
7247
7248extern int isfdtype (int __fd, int __fdtype) __attribute__ ((__nothrow__ ));
7249# 254 "../socket/sys/socket.h"
7250
7251# 3 "../include/sys/socket.h" 2
7252
7253
7254
7255
7256
7257
7258extern int __socket (int __domain, int __type,
7259 int __protocol) ;
7260
7261
7262
7263
7264
7265extern int __socketpair (int __domain, int __type, int __protocol,
7266 int __fds[2]) ;
7267
7268
7269
7270extern int __opensock (void) ;
7271
7272
7273
7274extern int __getpeername (int __fd, __SOCKADDR_ARG __addr,
7275 socklen_t *__len) ;
7276
7277
7278extern ssize_t __libc_send (int __fd, __const void *__buf, size_t __n,
7279 int __flags);
7280extern ssize_t __send (int __fd, __const void *__buf, size_t __n, int __flags);
7281
7282
7283
7284
7285extern ssize_t __libc_recv (int __fd, void *__buf, size_t __n, int __flags);
7286
7287
7288
7289extern ssize_t __libc_sendto (int __fd, __const void *__buf, size_t __n,
7290 int __flags, __CONST_SOCKADDR_ARG __addr,
7291 socklen_t __addr_len);
7292
7293
7294
7295
7296
7297extern ssize_t __libc_recvfrom (int __fd, void *__restrict __buf, size_t __n,
7298 int __flags, __SOCKADDR_ARG __addr,
7299 socklen_t *__restrict __addr_len);
7300
7301
7302
7303
7304
7305extern int __libc_connect (int __fd, __CONST_SOCKADDR_ARG __addr,
7306 socklen_t __len);
7307extern int __connect (int __fd, __CONST_SOCKADDR_ARG __addr, socklen_t __len);
7308extern int __connect_internal (int __fd, __CONST_SOCKADDR_ARG __addr,
7309 socklen_t __len) ;
7310
7311
7312
7313
7314
7315
7316extern ssize_t __recv (int __fd, void *__buf, size_t __n, int __flags)
7317 ;
7318
7319
7320
7321extern ssize_t __libc_sendto (int __fd, __const void *__buf, size_t __n,
7322 int __flags, __CONST_SOCKADDR_ARG __addr,
7323 socklen_t __addr_len);
7324extern ssize_t __sendto (int __fd, __const void *__buf, size_t __n,
7325 int __flags, __CONST_SOCKADDR_ARG __addr,
7326 socklen_t __addr_len) ;
7327
7328
7329
7330
7331
7332extern ssize_t __recvfrom (int __fd, void *__restrict __buf, size_t __n,
7333 int __flags, __SOCKADDR_ARG __addr,
7334 socklen_t *__restrict __addr_len) ;
7335
7336
7337
7338extern ssize_t __libc_sendmsg (int __fd, __const struct msghdr *__message,
7339 int __flags);
7340extern ssize_t __sendmsg (int __fd, __const struct msghdr *__message,
7341 int __flags) ;
7342
7343
7344
7345extern ssize_t __libc_recvmsg (int __fd, struct msghdr *__message,
7346 int __flags);
7347extern ssize_t __recvmsg (int __fd, struct msghdr *__message,
7348 int __flags) ;
7349
7350
7351
7352
7353extern int __setsockopt (int __fd, int __level, int __optname,
7354 __const void *__optval,
7355 socklen_t __optlen) ;
7356
7357
7358
7359
7360extern int __getsockopt (int __fd, int __level, int __optname,
7361 void *__restrict __optval,
7362 socklen_t *__restrict __optlen) ;
7363
7364
7365extern int __getsockname (int __fd, __SOCKADDR_ARG __addr,
7366 socklen_t *__restrict __len) ;
7367
7368
7369extern int __bind (int __fd, __CONST_SOCKADDR_ARG __addr,
7370 socklen_t __len) ;
7371
7372
7373
7374
7375extern int __listen (int __fd, int __n) ;
7376
7377
7378
7379
7380
7381
7382extern int __libc_accept (int __fd, __SOCKADDR_ARG __addr,
7383 socklen_t *__restrict __addr_len)
7384 __attribute__ ((__nothrow__ ));
7385
7386
7387
7388
7389
7390
7391extern int __libc_sa_len (sa_family_t __af);
7392extern int __libc_sa_len_internal (sa_family_t __af) ;
7393# 157 "../include/sys/socket.h"
7394extern int __have_sock_cloexec;
7395# 26 "../inet/netinet/in.h" 2
7396
7397
7398
7399
7400
7401
7402enum
7403 {
7404 IPPROTO_IP = 0,
7405
7406 IPPROTO_HOPOPTS = 0,
7407
7408 IPPROTO_ICMP = 1,
7409
7410 IPPROTO_IGMP = 2,
7411
7412 IPPROTO_IPIP = 4,
7413
7414 IPPROTO_TCP = 6,
7415
7416 IPPROTO_EGP = 8,
7417
7418 IPPROTO_PUP = 12,
7419
7420 IPPROTO_UDP = 17,
7421
7422 IPPROTO_IDP = 22,
7423
7424 IPPROTO_TP = 29,
7425
7426 IPPROTO_DCCP = 33,
7427
7428 IPPROTO_IPV6 = 41,
7429
7430 IPPROTO_ROUTING = 43,
7431
7432 IPPROTO_FRAGMENT = 44,
7433
7434 IPPROTO_RSVP = 46,
7435
7436 IPPROTO_GRE = 47,
7437
7438 IPPROTO_ESP = 50,
7439
7440 IPPROTO_AH = 51,
7441
7442 IPPROTO_ICMPV6 = 58,
7443
7444 IPPROTO_NONE = 59,
7445
7446 IPPROTO_DSTOPTS = 60,
7447
7448 IPPROTO_MTP = 92,
7449
7450 IPPROTO_ENCAP = 98,
7451
7452 IPPROTO_PIM = 103,
7453
7454 IPPROTO_COMP = 108,
7455
7456 IPPROTO_SCTP = 132,
7457
7458 IPPROTO_UDPLITE = 136,
7459
7460 IPPROTO_RAW = 255,
7461
7462 IPPROTO_MAX
7463 };
7464
7465
7466
7467typedef uint16_t in_port_t;
7468
7469
7470enum
7471 {
7472 IPPORT_ECHO = 7,
7473 IPPORT_DISCARD = 9,
7474 IPPORT_SYSTAT = 11,
7475 IPPORT_DAYTIME = 13,
7476 IPPORT_NETSTAT = 15,
7477 IPPORT_FTP = 21,
7478 IPPORT_TELNET = 23,
7479 IPPORT_SMTP = 25,
7480 IPPORT_TIMESERVER = 37,
7481 IPPORT_NAMESERVER = 42,
7482 IPPORT_WHOIS = 43,
7483 IPPORT_MTP = 57,
7484
7485 IPPORT_TFTP = 69,
7486 IPPORT_RJE = 77,
7487 IPPORT_FINGER = 79,
7488 IPPORT_TTYLINK = 87,
7489 IPPORT_SUPDUP = 95,
7490
7491
7492 IPPORT_EXECSERVER = 512,
7493 IPPORT_LOGINSERVER = 513,
7494 IPPORT_CMDSERVER = 514,
7495 IPPORT_EFSSERVER = 520,
7496
7497
7498 IPPORT_BIFFUDP = 512,
7499 IPPORT_WHOSERVER = 513,
7500 IPPORT_ROUTESERVER = 520,
7501
7502
7503 IPPORT_RESERVED = 1024,
7504
7505
7506 IPPORT_USERRESERVED = 5000
7507 };
7508
7509
7510
7511typedef uint32_t in_addr_t;
7512struct in_addr
7513 {
7514 in_addr_t s_addr;
7515 };
7516# 198 "../inet/netinet/in.h"
7517struct in6_addr
7518 {
7519 union
7520 {
7521 uint8_t __u6_addr8[16];
7522
7523 uint16_t __u6_addr16[8];
7524 uint32_t __u6_addr32[4];
7525
7526 } __in6_u;
7527
7528
7529
7530
7531
7532 };
7533
7534extern const struct in6_addr in6addr_any;
7535extern const struct in6_addr in6addr_loopback;
7536# 225 "../inet/netinet/in.h"
7537struct sockaddr_in
7538 {
7539 sa_family_t sin_family;
7540 in_port_t sin_port;
7541 struct in_addr sin_addr;
7542
7543
7544 unsigned char sin_zero[sizeof (struct sockaddr) -
7545 (sizeof (unsigned short int)) -
7546 sizeof (in_port_t) -
7547 sizeof (struct in_addr)];
7548 };
7549
7550
7551struct sockaddr_in6
7552 {
7553 sa_family_t sin6_family;
7554 in_port_t sin6_port;
7555 uint32_t sin6_flowinfo;
7556 struct in6_addr sin6_addr;
7557 uint32_t sin6_scope_id;
7558 };
7559
7560
7561
7562
7563struct ip_mreq
7564 {
7565
7566 struct in_addr imr_multiaddr;
7567
7568
7569 struct in_addr imr_interface;
7570 };
7571
7572struct ip_mreq_source
7573 {
7574
7575 struct in_addr imr_multiaddr;
7576
7577
7578 struct in_addr imr_interface;
7579
7580
7581 struct in_addr imr_sourceaddr;
7582 };
7583
7584
7585
7586
7587struct ipv6_mreq
7588 {
7589
7590 struct in6_addr ipv6mr_multiaddr;
7591
7592
7593 unsigned int ipv6mr_interface;
7594 };
7595
7596
7597
7598
7599struct group_req
7600 {
7601
7602 uint32_t gr_interface;
7603
7604
7605 struct sockaddr_storage gr_group;
7606 };
7607
7608struct group_source_req
7609 {
7610
7611 uint32_t gsr_interface;
7612
7613
7614 struct sockaddr_storage gsr_group;
7615
7616
7617 struct sockaddr_storage gsr_source;
7618 };
7619
7620
7621
7622struct ip_msfilter
7623 {
7624
7625 struct in_addr imsf_multiaddr;
7626
7627
7628 struct in_addr imsf_interface;
7629
7630
7631 uint32_t imsf_fmode;
7632
7633
7634 uint32_t imsf_numsrc;
7635
7636 struct in_addr imsf_slist[1];
7637 };
7638
7639
7640
7641
7642
7643struct group_filter
7644 {
7645
7646 uint32_t gf_interface;
7647
7648
7649 struct sockaddr_storage gf_group;
7650
7651
7652 uint32_t gf_fmode;
7653
7654
7655 uint32_t gf_numsrc;
7656
7657 struct sockaddr_storage gf_slist[1];
7658};
7659# 356 "../inet/netinet/in.h"
7660# 1 "../sysdeps/unix/sysv/linux/bits/in.h" 1
7661# 99 "../sysdeps/unix/sysv/linux/bits/in.h"
7662struct ip_opts
7663 {
7664 struct in_addr ip_dst;
7665 char ip_opts[40];
7666 };
7667
7668
7669struct ip_mreqn
7670 {
7671 struct in_addr imr_multiaddr;
7672 struct in_addr imr_address;
7673 int imr_ifindex;
7674 };
7675
7676
7677struct in_pktinfo
7678 {
7679 int ipi_ifindex;
7680 struct in_addr ipi_spec_dst;
7681 struct in_addr ipi_addr;
7682 };
7683# 357 "../inet/netinet/in.h" 2
7684# 365 "../inet/netinet/in.h"
7685extern uint32_t ntohl (uint32_t __netlong) __attribute__ ((__nothrow__ )) __attribute__ ((__const__));
7686extern uint16_t ntohs (uint16_t __netshort)
7687 __attribute__ ((__nothrow__ )) __attribute__ ((__const__));
7688extern uint32_t htonl (uint32_t __hostlong)
7689 __attribute__ ((__nothrow__ )) __attribute__ ((__const__));
7690extern uint16_t htons (uint16_t __hostshort)
7691 __attribute__ ((__nothrow__ )) __attribute__ ((__const__));
7692
7693# 1 "../include/endian.h" 1
7694# 374 "../inet/netinet/in.h" 2
7695
7696
7697# 1 "../bits/byteswap.h" 1
7698# 377 "../inet/netinet/in.h" 2
7699# 492 "../inet/netinet/in.h"
7700extern int bindresvport (int __sockfd, struct sockaddr_in *__sock_in) __attribute__ ((__nothrow__ ));
7701
7702
7703extern int bindresvport6 (int __sockfd, struct sockaddr_in6 *__sock_in)
7704 __attribute__ ((__nothrow__ ));
7705# 523 "../inet/netinet/in.h"
7706struct in6_pktinfo
7707 {
7708 struct in6_addr ipi6_addr;
7709 unsigned int ipi6_ifindex;
7710 };
7711
7712
7713struct ip6_mtuinfo
7714 {
7715 struct sockaddr_in6 ip6m_addr;
7716 uint32_t ip6m_mtu;
7717 };
7718
7719
7720
7721extern int inet6_option_space (int __nbytes)
7722 __attribute__ ((__nothrow__ )) __attribute__ ((__deprecated__));
7723extern int inet6_option_init (void *__bp, struct cmsghdr **__cmsgp,
7724 int __type) __attribute__ ((__nothrow__ )) __attribute__ ((__deprecated__));
7725extern int inet6_option_append (struct cmsghdr *__cmsg,
7726 __const uint8_t *__typep, int __multx,
7727 int __plusy) __attribute__ ((__nothrow__ )) __attribute__ ((__deprecated__));
7728extern uint8_t *inet6_option_alloc (struct cmsghdr *__cmsg, int __datalen,
7729 int __multx, int __plusy)
7730 __attribute__ ((__nothrow__ )) __attribute__ ((__deprecated__));
7731extern int inet6_option_next (__const struct cmsghdr *__cmsg,
7732 uint8_t **__tptrp)
7733 __attribute__ ((__nothrow__ )) __attribute__ ((__deprecated__));
7734extern int inet6_option_find (__const struct cmsghdr *__cmsg,
7735 uint8_t **__tptrp, int __type)
7736 __attribute__ ((__nothrow__ )) __attribute__ ((__deprecated__));
7737
7738
7739
7740extern int inet6_opt_init (void *__extbuf, socklen_t __extlen) __attribute__ ((__nothrow__ ));
7741extern int inet6_opt_append (void *__extbuf, socklen_t __extlen, int __offset,
7742 uint8_t __type, socklen_t __len, uint8_t __align,
7743 void **__databufp) __attribute__ ((__nothrow__ ));
7744extern int inet6_opt_finish (void *__extbuf, socklen_t __extlen, int __offset)
7745 __attribute__ ((__nothrow__ ));
7746extern int inet6_opt_set_val (void *__databuf, int __offset, void *__val,
7747 socklen_t __vallen) __attribute__ ((__nothrow__ ));
7748extern int inet6_opt_next (void *__extbuf, socklen_t __extlen, int __offset,
7749 uint8_t *__typep, socklen_t *__lenp,
7750 void **__databufp) __attribute__ ((__nothrow__ ));
7751extern int inet6_opt_find (void *__extbuf, socklen_t __extlen, int __offset,
7752 uint8_t __type, socklen_t *__lenp,
7753 void **__databufp) __attribute__ ((__nothrow__ ));
7754extern int inet6_opt_get_val (void *__databuf, int __offset, void *__val,
7755 socklen_t __vallen) __attribute__ ((__nothrow__ ));
7756
7757
7758
7759extern socklen_t inet6_rth_space (int __type, int __segments) __attribute__ ((__nothrow__ ));
7760extern void *inet6_rth_init (void *__bp, socklen_t __bp_len, int __type,
7761 int __segments) __attribute__ ((__nothrow__ ));
7762extern int inet6_rth_add (void *__bp, __const struct in6_addr *__addr) __attribute__ ((__nothrow__ ));
7763extern int inet6_rth_reverse (__const void *__in, void *__out) __attribute__ ((__nothrow__ ));
7764extern int inet6_rth_segments (__const void *__bp) __attribute__ ((__nothrow__ ));
7765extern struct in6_addr *inet6_rth_getaddr (__const void *__bp, int __index)
7766 __attribute__ ((__nothrow__ ));
7767
7768
7769
7770
7771
7772extern int getipv4sourcefilter (int __s, struct in_addr __interface_addr,
7773 struct in_addr __group, uint32_t *__fmode,
7774 uint32_t *__numsrc, struct in_addr *__slist)
7775 __attribute__ ((__nothrow__ ));
7776
7777
7778extern int setipv4sourcefilter (int __s, struct in_addr __interface_addr,
7779 struct in_addr __group, uint32_t __fmode,
7780 uint32_t __numsrc,
7781 __const struct in_addr *__slist)
7782 __attribute__ ((__nothrow__ ));
7783
7784
7785
7786extern int getsourcefilter (int __s, uint32_t __interface_addr,
7787 __const struct sockaddr *__group,
7788 socklen_t __grouplen, uint32_t *__fmode,
7789 uint32_t *__numsrc,
7790 struct sockaddr_storage *__slist) __attribute__ ((__nothrow__ ));
7791
7792
7793extern int setsourcefilter (int __s, uint32_t __interface_addr,
7794 __const struct sockaddr *__group,
7795 socklen_t __grouplen, uint32_t __fmode,
7796 uint32_t __numsrc,
7797 __const struct sockaddr_storage *__slist) __attribute__ ((__nothrow__ ));
7798
7799
7800
7801# 4 "../include/netinet/in.h" 2
7802
7803
7804
7805
7806# 58 "../resolv/resolv.h" 2
7807# 71 "../resolv/resolv.h"
7808typedef enum { res_goahead, res_nextns, res_modified, res_done, res_error }
7809 res_sendhookact;
7810
7811typedef res_sendhookact (*res_send_qhook) (struct sockaddr_in * const *__ns,
7812 const u_char **__query,
7813 int *__querylen,
7814 u_char *__ans,
7815 int __anssiz,
7816 int *__resplen);
7817
7818typedef res_sendhookact (*res_send_rhook) (const struct sockaddr_in *__ns,
7819 const u_char *__query,
7820 int __querylen,
7821 u_char *__ans,
7822 int __anssiz,
7823 int *__resplen);
7824# 104 "../resolv/resolv.h"
7825struct __res_state {
7826 int retrans;
7827 int retry;
7828 u_long options;
7829 int nscount;
7830 struct sockaddr_in
7831 nsaddr_list[3];
7832
7833 u_short id;
7834
7835 char *dnsrch[6 +1];
7836 char defdname[256];
7837 u_long pfcode;
7838 unsigned ndots:4;
7839 unsigned nsort:4;
7840 unsigned ipv6_unavail:1;
7841 unsigned unused:23;
7842 struct {
7843 struct in_addr addr;
7844 u_int32_t mask;
7845 } sort_list[10];
7846
7847 res_send_qhook qhook;
7848 res_send_rhook rhook;
7849 int res_h_errno;
7850 int _vcsock;
7851 u_int _flags;
7852
7853 union {
7854 char pad[52];
7855 struct {
7856 u_int16_t nscount;
7857 u_int16_t nsmap[3];
7858 int nssocks[3];
7859 u_int16_t nscount6;
7860 u_int16_t nsinit;
7861 struct sockaddr_in6 *nsaddrs[3];
7862
7863 unsigned long long int initstamp
7864 __attribute__((packed));
7865
7866
7867
7868 } _ext;
7869 } _u;
7870};
7871
7872typedef struct __res_state *res_state;
7873# 13 "../include/resolv.h" 2
7874# 41 "../nptl/descr.h" 2
7875# 1 "../ports/sysdeps/unix/sysv/linux/arm/kernel-features.h" 1
7876# 60 "../ports/sysdeps/unix/sysv/linux/arm/kernel-features.h"
7877# 1 "../sysdeps/unix/sysv/linux/kernel-features.h" 1
7878# 61 "../ports/sysdeps/unix/sysv/linux/arm/kernel-features.h" 2
7879# 42 "../nptl/descr.h" 2
7880# 67 "../nptl/descr.h"
7881struct pthread_unwind_buf
7882{
7883 struct
7884 {
7885 __jmp_buf jmp_buf;
7886 int mask_was_saved;
7887 } cancel_jmp_buf[1];
7888
7889 union
7890 {
7891
7892 void *pad[4];
7893
7894 struct
7895 {
7896
7897 struct pthread_unwind_buf *prev;
7898
7899
7900
7901
7902 struct _pthread_cleanup_buffer *cleanup;
7903
7904
7905 int canceltype;
7906 } data;
7907 } priv;
7908};
7909
7910
7911
7912
7913struct xid_command
7914{
7915 int syscall_no;
7916 long int id[3];
7917 volatile int cntr;
7918};
7919
7920
7921
7922struct robust_list_head
7923{
7924 void *list;
7925 long int futex_offset;
7926 void *list_op_pending;
7927};
7928
7929
7930
7931struct priority_protection_data
7932{
7933 int priomax;
7934 unsigned int priomap[];
7935};
7936
7937
7938
7939struct pthread
7940{
7941 union
7942 {
7943
7944
7945
7946
7947 struct
7948 {
7949 int multiple_threads;
7950 int gscope_flag;
7951
7952 int private_futex;
7953
7954 } header;
7955
7956
7957
7958
7959
7960
7961 void *__padding[24];
7962 };
7963
7964
7965 list_t list;
7966
7967
7968
7969 pid_t tid;
7970
7971
7972 pid_t pid;
7973# 199 "../nptl/descr.h"
7974 union
7975 {
7976 __pthread_slist_t robust_list;
7977 struct robust_list_head robust_head;
7978 };
7979# 237 "../nptl/descr.h"
7980 struct _pthread_cleanup_buffer *cleanup;
7981
7982
7983 struct pthread_unwind_buf *cleanup_jmp_buf;
7984
7985
7986
7987 int cancelhandling;
7988# 278 "../nptl/descr.h"
7989 int flags;
7990
7991
7992
7993 struct pthread_key_data
7994 {
7995
7996
7997
7998 uintptr_t seq;
7999
8000
8001 void *data;
8002 } specific_1stblock[32];
8003
8004
8005 struct pthread_key_data *specific[((1024 + 32 - 1) / 32)];
8006
8007
8008 _Bool specific_used;
8009
8010
8011 _Bool report_events;
8012
8013
8014 _Bool user_stack;
8015
8016
8017 _Bool stopped_start;
8018
8019
8020
8021 int parent_cancelhandling;
8022
8023
8024 int lock;
8025
8026
8027 int setxid_futex;
8028# 329 "../nptl/descr.h"
8029 struct pthread *joinid;
8030
8031
8032
8033
8034 void *result;
8035
8036
8037 struct sched_param schedparam;
8038 int schedpolicy;
8039
8040
8041
8042 void *(*start_routine) (void *);
8043 void *arg;
8044
8045
8046 td_eventbuf_t eventbuf;
8047
8048 struct pthread *nextevent;
8049
8050
8051
8052 struct _Unwind_Control_Block exc;
8053
8054
8055
8056
8057 void *stackblock;
8058 size_t stackblock_size;
8059
8060 size_t guardsize;
8061
8062 size_t reported_guardsize;
8063
8064
8065 struct priority_protection_data *tpp;
8066
8067
8068 struct __res_state res;
8069
8070
8071 char end_padding[];
8072
8073
8074
8075} __attribute ((aligned (16)));
8076# 56 "../ports/sysdeps/arm/nptl/tls.h" 2
8077
8078typedef struct
8079{
8080 dtv_t *dtv;
8081 void *private;
8082} tcbhead_t;
8083# 46 "../bits/libc-tsd.h" 2
8084# 211 "../include/../locale/localeinfo.h" 2
8085extern __thread __locale_t __libc_tsd_LOCALE __attribute__ ((tls_model ("initial-exec")));
8086# 237 "../include/../locale/localeinfo.h"
8087# 1 "../include/../locale/categories.def" 1
8088# 42 "../include/../locale/categories.def"
8089extern __thread struct __locale_data *const *
8090# 62 "../include/../locale/categories.def"
8091 _nl_current_LC_COLLATE
8092# 42 "../include/../locale/categories.def"
8093 __attribute__ ((tls_model ("initial-exec")));
8094# 68 "../include/../locale/categories.def"
8095extern __thread struct __locale_data *const *
8096# 137 "../include/../locale/categories.def"
8097 _nl_current_LC_CTYPE
8098# 68 "../include/../locale/categories.def"
8099 __attribute__ ((tls_model ("initial-exec")));
8100# 140 "../include/../locale/categories.def"
8101extern __thread struct __locale_data *const *
8102# 189 "../include/../locale/categories.def"
8103 _nl_current_LC_MONETARY
8104# 140 "../include/../locale/categories.def"
8105 __attribute__ ((tls_model ("initial-exec")));
8106# 192 "../include/../locale/categories.def"
8107extern __thread struct __locale_data *const *
8108# 203 "../include/../locale/categories.def"
8109 _nl_current_LC_NUMERIC
8110# 192 "../include/../locale/categories.def"
8111 __attribute__ ((tls_model ("initial-exec")));
8112# 206 "../include/../locale/categories.def"
8113extern __thread struct __locale_data *const *
8114# 251 "../include/../locale/categories.def"
8115 _nl_current_LC_TIME
8116# 206 "../include/../locale/categories.def"
8117 __attribute__ ((tls_model ("initial-exec")));
8118# 254 "../include/../locale/categories.def"
8119extern __thread struct __locale_data *const *
8120# 263 "../include/../locale/categories.def"
8121 _nl_current_LC_MESSAGES
8122# 254 "../include/../locale/categories.def"
8123 __attribute__ ((tls_model ("initial-exec")));
8124# 265 "../include/../locale/categories.def"
8125extern __thread struct __locale_data *const *
8126
8127
8128
8129
8130
8131
8132 _nl_current_LC_PAPER
8133# 265 "../include/../locale/categories.def"
8134 __attribute__ ((tls_model ("initial-exec")));
8135# 274 "../include/../locale/categories.def"
8136extern __thread struct __locale_data *const *
8137# 285 "../include/../locale/categories.def"
8138 _nl_current_LC_NAME
8139# 274 "../include/../locale/categories.def"
8140 __attribute__ ((tls_model ("initial-exec")));
8141# 287 "../include/../locale/categories.def"
8142extern __thread struct __locale_data *const *
8143# 304 "../include/../locale/categories.def"
8144 _nl_current_LC_ADDRESS
8145# 287 "../include/../locale/categories.def"
8146 __attribute__ ((tls_model ("initial-exec")));
8147# 306 "../include/../locale/categories.def"
8148extern __thread struct __locale_data *const *
8149# 315 "../include/../locale/categories.def"
8150 _nl_current_LC_TELEPHONE
8151# 306 "../include/../locale/categories.def"
8152 __attribute__ ((tls_model ("initial-exec")));
8153# 317 "../include/../locale/categories.def"
8154extern __thread struct __locale_data *const *
8155
8156
8157
8158
8159
8160 _nl_current_LC_MEASUREMENT
8161# 317 "../include/../locale/categories.def"
8162 __attribute__ ((tls_model ("initial-exec")));
8163
8164
8165
8166
8167
8168
8169
8170extern __thread struct __locale_data *const *
8171# 345 "../include/../locale/categories.def"
8172 _nl_current_LC_IDENTIFICATION
8173# 325 "../include/../locale/categories.def"
8174 __attribute__ ((tls_model ("initial-exec")));
8175# 238 "../include/../locale/localeinfo.h" 2
8176# 299 "../include/../locale/localeinfo.h"
8177extern const char _nl_default_locale_path[] ;
8178
8179
8180
8181
8182
8183
8184
8185extern struct __locale_data *_nl_find_locale (const char *locale_path,
8186 size_t locale_path_len,
8187 int category, const char **name)
8188 ;
8189
8190
8191extern void _nl_load_locale (struct loaded_l10nfile *file, int category)
8192 ;
8193
8194
8195extern void _nl_unload_locale (struct __locale_data *locale)
8196 ;
8197
8198
8199extern void _nl_remove_locale (int locale, struct __locale_data *data)
8200 ;
8201
8202
8203
8204
8205
8206
8207extern struct __locale_data *_nl_load_locale_from_archive (int category,
8208 const char **namep)
8209 ;
8210
8211
8212extern void _nl_archive_subfreeres (void) ;
8213
8214
8215extern void _nl_locale_subfreeres (void) ;
8216
8217
8218
8219
8220
8221
8222extern struct __locale_data *_nl_intern_locale_data (int category,
8223 const void *data,
8224 size_t datasize)
8225 ;
8226
8227
8228
8229extern struct era_entry *_nl_get_era_entry (const struct tm *tp,
8230 struct __locale_data *lc_time)
8231 ;
8232
8233
8234extern struct era_entry *_nl_select_era_entry (int cnt,
8235 struct __locale_data *lc_time)
8236 ;
8237
8238
8239extern const char *_nl_get_alt_digit (unsigned int number,
8240 struct __locale_data *lc_time)
8241 ;
8242
8243
8244extern const wchar_t *_nl_get_walt_digit (unsigned int number,
8245 struct __locale_data *lc_time)
8246 ;
8247
8248
8249extern int _nl_parse_alt_digit (const char **strp,
8250 struct __locale_data *lc_time)
8251 ;
8252
8253
8254extern void _nl_postload_ctype (void);
8255
8256
8257extern void _nl_cleanup_time (struct __locale_data *)
8258 ;
8259# 19 "../include/ctype.h" 2
8260
8261
8262
8263
8264
8265
8266extern __thread const uint16_t * __libc_tsd_CTYPE_B __attribute__ ((tls_model ("initial-exec")));
8267extern __thread const int32_t * __libc_tsd_CTYPE_TOUPPER __attribute__ ((tls_model ("initial-exec")));
8268extern __thread const int32_t * __libc_tsd_CTYPE_TOLOWER __attribute__ ((tls_model ("initial-exec")));
8269
8270
8271extern inline const uint16_t ** __attribute__ ((const))
8272__ctype_b_loc (void)
8273{
8274 return (&__libc_tsd_CTYPE_B);
8275}
8276
8277extern inline const int32_t ** __attribute__ ((const))
8278__ctype_toupper_loc (void)
8279{
8280 return (&__libc_tsd_CTYPE_TOUPPER);
8281}
8282
8283extern inline const int32_t ** __attribute__ ((const))
8284__ctype_tolower_loc (void)
8285{
8286 return (&__libc_tsd_CTYPE_TOLOWER);
8287}
8288
8289
8290
8291# 1 "../ctype/ctype.h" 1
8292# 30 "../ctype/ctype.h"
8293
8294# 41 "../ctype/ctype.h"
8295# 1 "../include/endian.h" 1
8296# 42 "../ctype/ctype.h" 2
8297
8298
8299
8300
8301
8302
8303enum
8304{
8305 _ISupper = ((0) < 8 ? ((1 << (0)) << 8) : ((1 << (0)) >> 8)),
8306 _ISlower = ((1) < 8 ? ((1 << (1)) << 8) : ((1 << (1)) >> 8)),
8307 _ISalpha = ((2) < 8 ? ((1 << (2)) << 8) : ((1 << (2)) >> 8)),
8308 _ISdigit = ((3) < 8 ? ((1 << (3)) << 8) : ((1 << (3)) >> 8)),
8309 _ISxdigit = ((4) < 8 ? ((1 << (4)) << 8) : ((1 << (4)) >> 8)),
8310 _ISspace = ((5) < 8 ? ((1 << (5)) << 8) : ((1 << (5)) >> 8)),
8311 _ISprint = ((6) < 8 ? ((1 << (6)) << 8) : ((1 << (6)) >> 8)),
8312 _ISgraph = ((7) < 8 ? ((1 << (7)) << 8) : ((1 << (7)) >> 8)),
8313 _ISblank = ((8) < 8 ? ((1 << (8)) << 8) : ((1 << (8)) >> 8)),
8314 _IScntrl = ((9) < 8 ? ((1 << (9)) << 8) : ((1 << (9)) >> 8)),
8315 _ISpunct = ((10) < 8 ? ((1 << (10)) << 8) : ((1 << (10)) >> 8)),
8316 _ISalnum = ((11) < 8 ? ((1 << (11)) << 8) : ((1 << (11)) >> 8))
8317};
8318# 81 "../ctype/ctype.h"
8319extern __const unsigned short int **__ctype_b_loc (void)
8320 __attribute__ ((__nothrow__ )) __attribute__ ((__const));
8321extern __const __int32_t **__ctype_tolower_loc (void)
8322 __attribute__ ((__nothrow__ )) __attribute__ ((__const));
8323extern __const __int32_t **__ctype_toupper_loc (void)
8324 __attribute__ ((__nothrow__ )) __attribute__ ((__const));
8325# 106 "../ctype/ctype.h"
8326
8327
8328
8329
8330
8331
8332extern int isalnum (int) __attribute__ ((__nothrow__ ));
8333extern int isalpha (int) __attribute__ ((__nothrow__ ));
8334extern int iscntrl (int) __attribute__ ((__nothrow__ ));
8335extern int isdigit (int) __attribute__ ((__nothrow__ ));
8336extern int islower (int) __attribute__ ((__nothrow__ ));
8337extern int isgraph (int) __attribute__ ((__nothrow__ ));
8338extern int isprint (int) __attribute__ ((__nothrow__ ));
8339extern int ispunct (int) __attribute__ ((__nothrow__ ));
8340extern int isspace (int) __attribute__ ((__nothrow__ ));
8341extern int isupper (int) __attribute__ ((__nothrow__ ));
8342extern int isxdigit (int) __attribute__ ((__nothrow__ ));
8343
8344
8345
8346extern int tolower (int __c) __attribute__ ((__nothrow__ ));
8347
8348
8349extern int toupper (int __c) __attribute__ ((__nothrow__ ));
8350
8351
8352
8353
8354
8355
8356
8357
8358extern int isblank (int) __attribute__ ((__nothrow__ ));
8359
8360
8361
8362
8363
8364
8365extern int isctype (int __c, int __mask) __attribute__ ((__nothrow__ ));
8366
8367
8368
8369
8370
8371
8372extern int isascii (int __c) __attribute__ ((__nothrow__ ));
8373
8374
8375
8376extern int toascii (int __c) __attribute__ ((__nothrow__ ));
8377
8378
8379
8380extern int _toupper (int) __attribute__ ((__nothrow__ ));
8381extern int _tolower (int) __attribute__ ((__nothrow__ ));
8382# 216 "../ctype/ctype.h"
8383extern __inline int
8384__attribute__ ((__nothrow__ )) tolower (int __c)
8385{
8386 return __c >= -128 && __c < 256 ? (*__ctype_tolower_loc ())[__c] : __c;
8387}
8388
8389extern __inline int
8390__attribute__ ((__nothrow__ )) toupper (int __c)
8391{
8392 return __c >= -128 && __c < 256 ? (*__ctype_toupper_loc ())[__c] : __c;
8393}
8394# 259 "../ctype/ctype.h"
8395# 1 "../include/xlocale.h" 1
8396# 260 "../ctype/ctype.h" 2
8397# 273 "../ctype/ctype.h"
8398extern int isalnum_l (int, __locale_t) __attribute__ ((__nothrow__ ));
8399extern int isalpha_l (int, __locale_t) __attribute__ ((__nothrow__ ));
8400extern int iscntrl_l (int, __locale_t) __attribute__ ((__nothrow__ ));
8401extern int isdigit_l (int, __locale_t) __attribute__ ((__nothrow__ ));
8402extern int islower_l (int, __locale_t) __attribute__ ((__nothrow__ ));
8403extern int isgraph_l (int, __locale_t) __attribute__ ((__nothrow__ ));
8404extern int isprint_l (int, __locale_t) __attribute__ ((__nothrow__ ));
8405extern int ispunct_l (int, __locale_t) __attribute__ ((__nothrow__ ));
8406extern int isspace_l (int, __locale_t) __attribute__ ((__nothrow__ ));
8407extern int isupper_l (int, __locale_t) __attribute__ ((__nothrow__ ));
8408extern int isxdigit_l (int, __locale_t) __attribute__ ((__nothrow__ ));
8409
8410extern int isblank_l (int, __locale_t) __attribute__ ((__nothrow__ ));
8411
8412
8413
8414extern int __tolower_l (int __c, __locale_t __l) __attribute__ ((__nothrow__ ));
8415extern int tolower_l (int __c, __locale_t __l) __attribute__ ((__nothrow__ ));
8416
8417
8418extern int __toupper_l (int __c, __locale_t __l) __attribute__ ((__nothrow__ ));
8419extern int toupper_l (int __c, __locale_t __l) __attribute__ ((__nothrow__ ));
8420# 349 "../ctype/ctype.h"
8421
8422# 51 "../include/ctype.h" 2
8423# 22 "fxprintf.c" 2
8424# 1 "/usr/lib/gcc/armv5te-iwmmxt-linux-gnueabi/4.7.3/include/stdarg.h" 1 3 4
8425# 40 "/usr/lib/gcc/armv5te-iwmmxt-linux-gnueabi/4.7.3/include/stdarg.h" 3 4
8426typedef __builtin_va_list __gnuc_va_list;
8427# 102 "/usr/lib/gcc/armv5te-iwmmxt-linux-gnueabi/4.7.3/include/stdarg.h" 3 4
8428typedef __gnuc_va_list va_list;
8429# 23 "fxprintf.c" 2
8430# 1 "../include/stdio.h" 1
8431
8432
8433
8434
8435# 1 "../libio/stdio.h" 1
8436# 30 "../libio/stdio.h"
8437
8438
8439
8440
8441# 1 "/usr/lib/gcc/armv5te-iwmmxt-linux-gnueabi/4.7.3/include/stddef.h" 1 3 4
8442# 35 "../libio/stdio.h" 2
8443# 45 "../libio/stdio.h"
8444struct _IO_FILE;
8445
8446
8447
8448typedef struct _IO_FILE FILE;
8449
8450
8451
8452
8453
8454# 65 "../libio/stdio.h"
8455typedef struct _IO_FILE __FILE;
8456# 75 "../libio/stdio.h"
8457# 1 "../include/libio.h" 1
8458# 1 "../libio/libio.h" 1
8459# 32 "../libio/libio.h"
8460# 1 "../sysdeps/gnu/_G_config.h" 1
8461# 15 "../sysdeps/gnu/_G_config.h"
8462# 1 "/usr/lib/gcc/armv5te-iwmmxt-linux-gnueabi/4.7.3/include/stddef.h" 1 3 4
8463# 16 "../sysdeps/gnu/_G_config.h" 2
8464
8465
8466
8467
8468# 1 "../include/wchar.h" 1
8469
8470# 1 "../wcsmbs/wchar.h" 1
8471# 52 "../wcsmbs/wchar.h"
8472# 1 "/usr/lib/gcc/armv5te-iwmmxt-linux-gnueabi/4.7.3/include/stddef.h" 1 3 4
8473# 354 "/usr/lib/gcc/armv5te-iwmmxt-linux-gnueabi/4.7.3/include/stddef.h" 3 4
8474typedef unsigned int wint_t;
8475# 53 "../wcsmbs/wchar.h" 2
8476# 83 "../wcsmbs/wchar.h"
8477typedef struct
8478{
8479 int __count;
8480 union
8481 {
8482
8483 unsigned int __wch;
8484
8485
8486
8487 char __wchb[4];
8488 } __value;
8489} __mbstate_t;
8490# 3 "../include/wchar.h" 2
8491# 21 "../sysdeps/gnu/_G_config.h" 2
8492
8493typedef struct
8494{
8495 __off_t __pos;
8496 __mbstate_t __state;
8497} _G_fpos_t;
8498typedef struct
8499{
8500 __off64_t __pos;
8501 __mbstate_t __state;
8502} _G_fpos64_t;
8503# 41 "../sysdeps/gnu/_G_config.h"
8504# 1 "../include/gconv.h" 1
8505# 1 "../iconv/gconv.h" 1
8506# 29 "../iconv/gconv.h"
8507# 1 "../include/wchar.h" 1
8508
8509# 1 "../wcsmbs/wchar.h" 1
8510# 52 "../wcsmbs/wchar.h"
8511# 1 "/usr/lib/gcc/armv5te-iwmmxt-linux-gnueabi/4.7.3/include/stddef.h" 1 3 4
8512# 53 "../wcsmbs/wchar.h" 2
8513# 3 "../include/wchar.h" 2
8514# 30 "../iconv/gconv.h" 2
8515
8516
8517# 1 "/usr/lib/gcc/armv5te-iwmmxt-linux-gnueabi/4.7.3/include/stddef.h" 1 3 4
8518# 33 "../iconv/gconv.h" 2
8519
8520
8521
8522
8523
8524enum
8525{
8526 __GCONV_OK = 0,
8527 __GCONV_NOCONV,
8528 __GCONV_NODB,
8529 __GCONV_NOMEM,
8530
8531 __GCONV_EMPTY_INPUT,
8532 __GCONV_FULL_OUTPUT,
8533 __GCONV_ILLEGAL_INPUT,
8534 __GCONV_INCOMPLETE_INPUT,
8535
8536 __GCONV_ILLEGAL_DESCRIPTOR,
8537 __GCONV_INTERNAL_ERROR
8538};
8539
8540
8541
8542enum
8543{
8544 __GCONV_IS_LAST = 0x0001,
8545 __GCONV_IGNORE_ERRORS = 0x0002,
8546 __GCONV_SWAP = 0x0004
8547};
8548
8549
8550
8551struct __gconv_step;
8552struct __gconv_step_data;
8553struct __gconv_loaded_object;
8554struct __gconv_trans_data;
8555
8556
8557
8558typedef int (*__gconv_fct) (struct __gconv_step *, struct __gconv_step_data *,
8559 __const unsigned char **, __const unsigned char *,
8560 unsigned char **, size_t *, int, int);
8561
8562
8563typedef wint_t (*__gconv_btowc_fct) (struct __gconv_step *, unsigned char);
8564
8565
8566typedef int (*__gconv_init_fct) (struct __gconv_step *);
8567typedef void (*__gconv_end_fct) (struct __gconv_step *);
8568
8569
8570
8571typedef int (*__gconv_trans_fct) (struct __gconv_step *,
8572 struct __gconv_step_data *, void *,
8573 __const unsigned char *,
8574 __const unsigned char **,
8575 __const unsigned char *, unsigned char **,
8576 size_t *);
8577
8578
8579typedef int (*__gconv_trans_context_fct) (void *, __const unsigned char *,
8580 __const unsigned char *,
8581 unsigned char *, unsigned char *);
8582
8583
8584typedef int (*__gconv_trans_query_fct) (__const char *, __const char ***,
8585 size_t *);
8586
8587
8588typedef int (*__gconv_trans_init_fct) (void **, const char *);
8589typedef void (*__gconv_trans_end_fct) (void *);
8590
8591struct __gconv_trans_data
8592{
8593
8594 __gconv_trans_fct __trans_fct;
8595 __gconv_trans_context_fct __trans_context_fct;
8596 __gconv_trans_end_fct __trans_end_fct;
8597 void *__data;
8598 struct __gconv_trans_data *__next;
8599};
8600
8601
8602
8603struct __gconv_step
8604{
8605 struct __gconv_loaded_object *__shlib_handle;
8606 __const char *__modname;
8607
8608 int __counter;
8609
8610 char *__from_name;
8611 char *__to_name;
8612
8613 __gconv_fct __fct;
8614 __gconv_btowc_fct __btowc_fct;
8615 __gconv_init_fct __init_fct;
8616 __gconv_end_fct __end_fct;
8617
8618
8619
8620 int __min_needed_from;
8621 int __max_needed_from;
8622 int __min_needed_to;
8623 int __max_needed_to;
8624
8625
8626 int __stateful;
8627
8628 void *__data;
8629};
8630
8631
8632
8633struct __gconv_step_data
8634{
8635 unsigned char *__outbuf;
8636 unsigned char *__outbufend;
8637
8638
8639
8640 int __flags;
8641
8642
8643
8644 int __invocation_counter;
8645
8646
8647
8648 int __internal_use;
8649
8650 __mbstate_t *__statep;
8651 __mbstate_t __state;
8652
8653
8654
8655 struct __gconv_trans_data *__trans;
8656};
8657
8658
8659
8660typedef struct __gconv_info
8661{
8662 size_t __nsteps;
8663 struct __gconv_step *__steps;
8664 __extension__ struct __gconv_step_data __data [];
8665} *__gconv_t;
8666# 1 "../include/gconv.h" 2
8667# 42 "../sysdeps/gnu/_G_config.h" 2
8668typedef union
8669{
8670 struct __gconv_info __cd;
8671 struct
8672 {
8673 struct __gconv_info __cd;
8674 struct __gconv_step_data __data;
8675 } __combined;
8676} _G_iconv_t;
8677
8678
8679typedef int _G_int16_t __attribute__ ((__mode__ (__HI__)));
8680typedef int _G_int32_t __attribute__ ((__mode__ (__SI__)));
8681typedef unsigned int _G_uint16_t __attribute__ ((__mode__ (__HI__)));
8682typedef unsigned int _G_uint32_t __attribute__ ((__mode__ (__SI__)));
8683# 33 "../libio/libio.h" 2
8684# 172 "../libio/libio.h"
8685struct _IO_jump_t; struct _IO_FILE;
8686
8687
8688
8689
8690# 1 "../nptl/sysdeps/pthread/bits/stdio-lock.h" 1
8691# 23 "../nptl/sysdeps/pthread/bits/stdio-lock.h"
8692# 1 "../nptl/sysdeps/pthread/bits/libc-lock.h" 1
8693# 23 "../nptl/sysdeps/pthread/bits/libc-lock.h"
8694# 1 "../include/pthread.h" 1
8695
8696
8697
8698extern void __pthread_initialize (void) __attribute__ ((weak));
8699# 24 "../nptl/sysdeps/pthread/bits/libc-lock.h" 2
8700
8701# 1 "/usr/lib/gcc/armv5te-iwmmxt-linux-gnueabi/4.7.3/include/stddef.h" 1 3 4
8702# 26 "../nptl/sysdeps/pthread/bits/libc-lock.h" 2
8703# 37 "../nptl/sysdeps/pthread/bits/libc-lock.h"
8704# 1 "../nptl/sysdeps/pthread/pthread-functions.h" 1
8705# 23 "../nptl/sysdeps/pthread/pthread-functions.h"
8706# 1 "../include/pthread.h" 1
8707
8708
8709
8710extern void __pthread_initialize (void) __attribute__ ((weak));
8711# 24 "../nptl/sysdeps/pthread/pthread-functions.h" 2
8712
8713# 1 "../nptl/sysdeps/unix/sysv/linux/internaltypes.h" 1
8714# 26 "../nptl/sysdeps/unix/sysv/linux/internaltypes.h"
8715struct pthread_attr
8716{
8717
8718 struct sched_param schedparam;
8719 int schedpolicy;
8720
8721 int flags;
8722
8723 size_t guardsize;
8724
8725 void *stackaddr;
8726 size_t stacksize;
8727
8728 cpu_set_t *cpuset;
8729 size_t cpusetsize;
8730};
8731# 53 "../nptl/sysdeps/unix/sysv/linux/internaltypes.h"
8732struct pthread_mutexattr
8733{
8734
8735
8736
8737
8738
8739
8740 int mutexkind;
8741};
8742
8743
8744
8745struct pthread_condattr
8746{
8747
8748
8749
8750
8751
8752
8753 int value;
8754};
8755# 87 "../nptl/sysdeps/unix/sysv/linux/internaltypes.h"
8756struct pthread_rwlockattr
8757{
8758 int lockkind;
8759 int pshared;
8760};
8761
8762
8763
8764struct pthread_barrier
8765{
8766 unsigned int curr_event;
8767 int lock;
8768 unsigned int left;
8769 unsigned int init_count;
8770 int private;
8771};
8772
8773
8774
8775struct pthread_barrierattr
8776{
8777 int pshared;
8778};
8779
8780
8781
8782struct pthread_key_struct
8783{
8784
8785
8786
8787
8788 uintptr_t seq;
8789
8790
8791 void (*destr) (void *);
8792};
8793# 143 "../nptl/sysdeps/unix/sysv/linux/internaltypes.h"
8794struct new_sem
8795{
8796 unsigned int value;
8797 int private;
8798 unsigned long int nwaiters;
8799};
8800
8801struct old_sem
8802{
8803 unsigned int value;
8804};
8805
8806
8807
8808typedef struct
8809{
8810 pthread_cond_t *cond;
8811} pthread_cond_2_0_t;
8812# 26 "../nptl/sysdeps/pthread/pthread-functions.h" 2
8813
8814
8815struct xid_command;
8816
8817
8818
8819struct pthread_functions
8820{
8821 int (*ptr_pthread_attr_destroy) (pthread_attr_t *);
8822 int (*ptr___pthread_attr_init_2_0) (pthread_attr_t *);
8823 int (*ptr___pthread_attr_init_2_1) (pthread_attr_t *);
8824 int (*ptr_pthread_attr_getdetachstate) (const pthread_attr_t *, int *);
8825 int (*ptr_pthread_attr_setdetachstate) (pthread_attr_t *, int);
8826 int (*ptr_pthread_attr_getinheritsched) (const pthread_attr_t *, int *);
8827 int (*ptr_pthread_attr_setinheritsched) (pthread_attr_t *, int);
8828 int (*ptr_pthread_attr_getschedparam) (const pthread_attr_t *,
8829 struct sched_param *);
8830 int (*ptr_pthread_attr_setschedparam) (pthread_attr_t *,
8831 const struct sched_param *);
8832 int (*ptr_pthread_attr_getschedpolicy) (const pthread_attr_t *, int *);
8833 int (*ptr_pthread_attr_setschedpolicy) (pthread_attr_t *, int);
8834 int (*ptr_pthread_attr_getscope) (const pthread_attr_t *, int *);
8835 int (*ptr_pthread_attr_setscope) (pthread_attr_t *, int);
8836 int (*ptr_pthread_condattr_destroy) (pthread_condattr_t *);
8837 int (*ptr_pthread_condattr_init) (pthread_condattr_t *);
8838 int (*ptr___pthread_cond_broadcast) (pthread_cond_t *);
8839 int (*ptr___pthread_cond_destroy) (pthread_cond_t *);
8840 int (*ptr___pthread_cond_init) (pthread_cond_t *,
8841 const pthread_condattr_t *);
8842 int (*ptr___pthread_cond_signal) (pthread_cond_t *);
8843 int (*ptr___pthread_cond_wait) (pthread_cond_t *, pthread_mutex_t *);
8844 int (*ptr___pthread_cond_timedwait) (pthread_cond_t *, pthread_mutex_t *,
8845 const struct timespec *);
8846 int (*ptr___pthread_cond_broadcast_2_0) (pthread_cond_2_0_t *);
8847 int (*ptr___pthread_cond_destroy_2_0) (pthread_cond_2_0_t *);
8848 int (*ptr___pthread_cond_init_2_0) (pthread_cond_2_0_t *,
8849 const pthread_condattr_t *);
8850 int (*ptr___pthread_cond_signal_2_0) (pthread_cond_2_0_t *);
8851 int (*ptr___pthread_cond_wait_2_0) (pthread_cond_2_0_t *, pthread_mutex_t *);
8852 int (*ptr___pthread_cond_timedwait_2_0) (pthread_cond_2_0_t *,
8853 pthread_mutex_t *,
8854 const struct timespec *);
8855 int (*ptr_pthread_equal) (pthread_t, pthread_t);
8856 void (*ptr___pthread_exit) (void *);
8857 int (*ptr_pthread_getschedparam) (pthread_t, int *, struct sched_param *);
8858 int (*ptr_pthread_setschedparam) (pthread_t, int,
8859 const struct sched_param *);
8860 int (*ptr_pthread_mutex_destroy) (pthread_mutex_t *);
8861 int (*ptr_pthread_mutex_init) (pthread_mutex_t *,
8862 const pthread_mutexattr_t *);
8863 int (*ptr_pthread_mutex_lock) (pthread_mutex_t *);
8864 int (*ptr_pthread_mutex_unlock) (pthread_mutex_t *);
8865 pthread_t (*ptr_pthread_self) (void);
8866 int (*ptr_pthread_setcancelstate) (int, int *);
8867 int (*ptr_pthread_setcanceltype) (int, int *);
8868 void (*ptr___pthread_cleanup_upto) (__jmp_buf, char *);
8869 int (*ptr___pthread_once) (pthread_once_t *, void (*) (void));
8870 int (*ptr___pthread_rwlock_rdlock) (pthread_rwlock_t *);
8871 int (*ptr___pthread_rwlock_wrlock) (pthread_rwlock_t *);
8872 int (*ptr___pthread_rwlock_unlock) (pthread_rwlock_t *);
8873 int (*ptr___pthread_key_create) (pthread_key_t *, void (*) (void *));
8874 void *(*ptr___pthread_getspecific) (pthread_key_t);
8875 int (*ptr___pthread_setspecific) (pthread_key_t, const void *);
8876 void (*ptr__pthread_cleanup_push_defer) (struct _pthread_cleanup_buffer *,
8877 void (*) (void *), void *);
8878 void (*ptr__pthread_cleanup_pop_restore) (struct _pthread_cleanup_buffer *,
8879 int);
8880
8881 unsigned int *ptr_nthreads;
8882 void (*ptr___pthread_unwind) (__pthread_unwind_buf_t *)
8883 __attribute ((noreturn)) ;
8884 void (*ptr__nptl_deallocate_tsd) (void);
8885 int (*ptr__nptl_setxid) (struct xid_command *);
8886 void (*ptr_freeres) (void);
8887 void (*ptr_set_robust) (struct pthread *);
8888};
8889
8890
8891extern struct pthread_functions __libc_pthread_functions ;
8892extern int __libc_pthread_functions_init ;
8893# 38 "../nptl/sysdeps/pthread/bits/libc-lock.h" 2
8894# 46 "../nptl/sysdeps/pthread/bits/libc-lock.h"
8895typedef int __libc_lock_t;
8896typedef struct { int lock; int cnt; void *owner; } __libc_lock_recursive_t;
8897
8898typedef struct { pthread_mutex_t mutex; } __rtld_lock_recursive_t;
8899
8900typedef pthread_rwlock_t __libc_rwlock_t;
8901# 62 "../nptl/sysdeps/pthread/bits/libc-lock.h"
8902typedef pthread_key_t __libc_key_t;
8903# 385 "../nptl/sysdeps/pthread/bits/libc-lock.h"
8904extern void _pthread_cleanup_push (struct _pthread_cleanup_buffer *buffer,
8905 void (*routine) (void *), void *arg);
8906extern void _pthread_cleanup_pop (struct _pthread_cleanup_buffer *buffer,
8907 int execute);
8908extern void _pthread_cleanup_push_defer (struct _pthread_cleanup_buffer *buffer,
8909 void (*routine) (void *), void *arg);
8910extern void _pthread_cleanup_pop_restore (struct _pthread_cleanup_buffer *buffer,
8911 int execute);
8912# 428 "../nptl/sysdeps/pthread/bits/libc-lock.h"
8913extern __inline void
8914__libc_cleanup_routine (struct __pthread_cleanup_frame *f)
8915{
8916 if (f->__do_it)
8917 f->__cancel_routine (f->__cancel_arg);
8918}
8919# 465 "../nptl/sysdeps/pthread/bits/libc-lock.h"
8920extern int __register_atfork (void (*__prepare) (void),
8921 void (*__parent) (void),
8922 void (*__child) (void),
8923 void *__dso_handle);
8924
8925
8926
8927
8928extern int __pthread_mutex_init (pthread_mutex_t *__mutex,
8929 __const pthread_mutexattr_t *__mutex_attr);
8930
8931extern int __pthread_mutex_destroy (pthread_mutex_t *__mutex);
8932
8933extern int __pthread_mutex_trylock (pthread_mutex_t *__mutex);
8934
8935extern int __pthread_mutex_lock (pthread_mutex_t *__mutex);
8936
8937extern int __pthread_mutex_unlock (pthread_mutex_t *__mutex);
8938
8939extern int __pthread_mutexattr_init (pthread_mutexattr_t *__attr);
8940
8941extern int __pthread_mutexattr_destroy (pthread_mutexattr_t *__attr);
8942
8943extern int __pthread_mutexattr_settype (pthread_mutexattr_t *__attr,
8944 int __kind);
8945
8946
8947extern int __pthread_rwlock_init (pthread_rwlock_t *__rwlock,
8948 __const pthread_rwlockattr_t *__attr);
8949
8950extern int __pthread_rwlock_destroy (pthread_rwlock_t *__rwlock);
8951
8952extern int __pthread_rwlock_rdlock (pthread_rwlock_t *__rwlock);
8953
8954extern int __pthread_rwlock_tryrdlock (pthread_rwlock_t *__rwlock);
8955
8956extern int __pthread_rwlock_wrlock (pthread_rwlock_t *__rwlock);
8957
8958extern int __pthread_rwlock_trywrlock (pthread_rwlock_t *__rwlock);
8959
8960extern int __pthread_rwlock_unlock (pthread_rwlock_t *__rwlock);
8961
8962
8963extern int __pthread_key_create (pthread_key_t *__key,
8964 void (*__destr_function) (void *));
8965
8966extern int __pthread_setspecific (pthread_key_t __key,
8967 __const void *__pointer);
8968
8969extern void *__pthread_getspecific (pthread_key_t __key);
8970
8971extern int __pthread_once (pthread_once_t *__once_control,
8972 void (*__init_routine) (void));
8973
8974extern int __pthread_atfork (void (*__prepare) (void),
8975 void (*__parent) (void),
8976 void (*__child) (void));
8977# 530 "../nptl/sysdeps/pthread/bits/libc-lock.h"
8978# 1 "../sysdeps/generic/bp-sym.h" 1
8979# 531 "../nptl/sysdeps/pthread/bits/libc-lock.h" 2
8980
8981
8982
8983
8984# 534 "../nptl/sysdeps/pthread/bits/libc-lock.h"
8985#pragma weak __pthread_mutex_init
8986# 534 "../nptl/sysdeps/pthread/bits/libc-lock.h"
8987
8988
8989# 535 "../nptl/sysdeps/pthread/bits/libc-lock.h"
8990#pragma weak __pthread_mutex_destroy
8991# 535 "../nptl/sysdeps/pthread/bits/libc-lock.h"
8992
8993
8994# 536 "../nptl/sysdeps/pthread/bits/libc-lock.h"
8995#pragma weak __pthread_mutex_lock
8996# 536 "../nptl/sysdeps/pthread/bits/libc-lock.h"
8997
8998
8999# 537 "../nptl/sysdeps/pthread/bits/libc-lock.h"
9000#pragma weak __pthread_mutex_trylock
9001# 537 "../nptl/sysdeps/pthread/bits/libc-lock.h"
9002
9003
9004# 538 "../nptl/sysdeps/pthread/bits/libc-lock.h"
9005#pragma weak __pthread_mutex_unlock
9006# 538 "../nptl/sysdeps/pthread/bits/libc-lock.h"
9007
9008
9009# 539 "../nptl/sysdeps/pthread/bits/libc-lock.h"
9010#pragma weak __pthread_mutexattr_init
9011# 539 "../nptl/sysdeps/pthread/bits/libc-lock.h"
9012
9013
9014# 540 "../nptl/sysdeps/pthread/bits/libc-lock.h"
9015#pragma weak __pthread_mutexattr_destroy
9016# 540 "../nptl/sysdeps/pthread/bits/libc-lock.h"
9017
9018
9019# 541 "../nptl/sysdeps/pthread/bits/libc-lock.h"
9020#pragma weak __pthread_mutexattr_settype
9021# 541 "../nptl/sysdeps/pthread/bits/libc-lock.h"
9022
9023
9024# 542 "../nptl/sysdeps/pthread/bits/libc-lock.h"
9025#pragma weak __pthread_rwlock_init
9026# 542 "../nptl/sysdeps/pthread/bits/libc-lock.h"
9027
9028
9029# 543 "../nptl/sysdeps/pthread/bits/libc-lock.h"
9030#pragma weak __pthread_rwlock_destroy
9031# 543 "../nptl/sysdeps/pthread/bits/libc-lock.h"
9032
9033
9034# 544 "../nptl/sysdeps/pthread/bits/libc-lock.h"
9035#pragma weak __pthread_rwlock_rdlock
9036# 544 "../nptl/sysdeps/pthread/bits/libc-lock.h"
9037
9038
9039# 545 "../nptl/sysdeps/pthread/bits/libc-lock.h"
9040#pragma weak __pthread_rwlock_tryrdlock
9041# 545 "../nptl/sysdeps/pthread/bits/libc-lock.h"
9042
9043
9044# 546 "../nptl/sysdeps/pthread/bits/libc-lock.h"
9045#pragma weak __pthread_rwlock_wrlock
9046# 546 "../nptl/sysdeps/pthread/bits/libc-lock.h"
9047
9048
9049# 547 "../nptl/sysdeps/pthread/bits/libc-lock.h"
9050#pragma weak __pthread_rwlock_trywrlock
9051# 547 "../nptl/sysdeps/pthread/bits/libc-lock.h"
9052
9053
9054# 548 "../nptl/sysdeps/pthread/bits/libc-lock.h"
9055#pragma weak __pthread_rwlock_unlock
9056# 548 "../nptl/sysdeps/pthread/bits/libc-lock.h"
9057
9058
9059# 549 "../nptl/sysdeps/pthread/bits/libc-lock.h"
9060#pragma weak __pthread_key_create
9061# 549 "../nptl/sysdeps/pthread/bits/libc-lock.h"
9062
9063
9064# 550 "../nptl/sysdeps/pthread/bits/libc-lock.h"
9065#pragma weak __pthread_setspecific
9066# 550 "../nptl/sysdeps/pthread/bits/libc-lock.h"
9067
9068
9069# 551 "../nptl/sysdeps/pthread/bits/libc-lock.h"
9070#pragma weak __pthread_getspecific
9071# 551 "../nptl/sysdeps/pthread/bits/libc-lock.h"
9072
9073
9074# 552 "../nptl/sysdeps/pthread/bits/libc-lock.h"
9075#pragma weak __pthread_once
9076# 552 "../nptl/sysdeps/pthread/bits/libc-lock.h"
9077
9078
9079# 553 "../nptl/sysdeps/pthread/bits/libc-lock.h"
9080#pragma weak __pthread_initialize
9081# 553 "../nptl/sysdeps/pthread/bits/libc-lock.h"
9082
9083
9084# 554 "../nptl/sysdeps/pthread/bits/libc-lock.h"
9085#pragma weak __pthread_atfork
9086# 554 "../nptl/sysdeps/pthread/bits/libc-lock.h"
9087
9088
9089# 555 "../nptl/sysdeps/pthread/bits/libc-lock.h"
9090#pragma weak _pthread_cleanup_push_defer
9091# 555 "../nptl/sysdeps/pthread/bits/libc-lock.h"
9092
9093
9094# 556 "../nptl/sysdeps/pthread/bits/libc-lock.h"
9095#pragma weak _pthread_cleanup_pop_restore
9096# 556 "../nptl/sysdeps/pthread/bits/libc-lock.h"
9097
9098
9099# 557 "../nptl/sysdeps/pthread/bits/libc-lock.h"
9100#pragma weak pthread_setcancelstate
9101# 557 "../nptl/sysdeps/pthread/bits/libc-lock.h"
9102
9103# 24 "../nptl/sysdeps/pthread/bits/stdio-lock.h" 2
9104
9105
9106
9107
9108
9109
9110typedef struct { int lock; int cnt; void *owner; } _IO_lock_t;
9111# 178 "../libio/libio.h" 2
9112# 188 "../libio/libio.h"
9113struct _IO_marker {
9114 struct _IO_marker *_next;
9115 struct _IO_FILE *_sbuf;
9116
9117
9118
9119 int _pos;
9120# 205 "../libio/libio.h"
9121};
9122
9123
9124enum __codecvt_result
9125{
9126 __codecvt_ok,
9127 __codecvt_partial,
9128 __codecvt_error,
9129 __codecvt_noconv
9130};
9131
9132
9133
9134
9135struct _IO_codecvt
9136{
9137 void (*__codecvt_destr) (struct _IO_codecvt *);
9138 enum __codecvt_result (*__codecvt_do_out) (struct _IO_codecvt *,
9139 __mbstate_t *,
9140 const wchar_t *,
9141 const wchar_t *,
9142 const wchar_t **, char *,
9143 char *, char **);
9144 enum __codecvt_result (*__codecvt_do_unshift) (struct _IO_codecvt *,
9145 __mbstate_t *, char *,
9146 char *, char **);
9147 enum __codecvt_result (*__codecvt_do_in) (struct _IO_codecvt *,
9148 __mbstate_t *,
9149 const char *, const char *,
9150 const char **, wchar_t *,
9151 wchar_t *, wchar_t **);
9152 int (*__codecvt_do_encoding) (struct _IO_codecvt *);
9153 int (*__codecvt_do_always_noconv) (struct _IO_codecvt *);
9154 int (*__codecvt_do_length) (struct _IO_codecvt *, __mbstate_t *,
9155 const char *, const char *, size_t);
9156 int (*__codecvt_do_max_length) (struct _IO_codecvt *);
9157
9158 _G_iconv_t __cd_in;
9159 _G_iconv_t __cd_out;
9160};
9161
9162
9163struct _IO_wide_data
9164{
9165 wchar_t *_IO_read_ptr;
9166 wchar_t *_IO_read_end;
9167 wchar_t *_IO_read_base;
9168 wchar_t *_IO_write_base;
9169 wchar_t *_IO_write_ptr;
9170 wchar_t *_IO_write_end;
9171 wchar_t *_IO_buf_base;
9172 wchar_t *_IO_buf_end;
9173
9174 wchar_t *_IO_save_base;
9175 wchar_t *_IO_backup_base;
9176
9177 wchar_t *_IO_save_end;
9178
9179 __mbstate_t _IO_state;
9180 __mbstate_t _IO_last_state;
9181 struct _IO_codecvt _codecvt;
9182
9183 wchar_t _shortbuf[1];
9184
9185 const struct _IO_jump_t *_wide_vtable;
9186};
9187
9188
9189struct _IO_FILE {
9190 int _flags;
9191
9192
9193
9194
9195 char* _IO_read_ptr;
9196 char* _IO_read_end;
9197 char* _IO_read_base;
9198 char* _IO_write_base;
9199 char* _IO_write_ptr;
9200 char* _IO_write_end;
9201 char* _IO_buf_base;
9202 char* _IO_buf_end;
9203
9204 char *_IO_save_base;
9205 char *_IO_backup_base;
9206 char *_IO_save_end;
9207
9208 struct _IO_marker *_markers;
9209
9210 struct _IO_FILE *_chain;
9211
9212 int _fileno;
9213
9214
9215
9216 int _flags2;
9217
9218 __off_t _old_offset;
9219
9220
9221
9222 unsigned short _cur_column;
9223 signed char _vtable_offset;
9224 char _shortbuf[1];
9225
9226
9227
9228 _IO_lock_t *_lock;
9229# 321 "../libio/libio.h"
9230 __off64_t _offset;
9231
9232
9233 struct _IO_codecvt *_codecvt;
9234 struct _IO_wide_data *_wide_data;
9235 struct _IO_FILE *_freeres_list;
9236 void *_freeres_buf;
9237 size_t _freeres_size;
9238
9239
9240
9241
9242
9243
9244
9245 int _mode;
9246
9247 char _unused2[15 * sizeof (int) - 4 * sizeof (void *) - sizeof (size_t)];
9248
9249};
9250
9251
9252typedef struct _IO_FILE _IO_FILE;
9253
9254
9255struct _IO_FILE_plus;
9256
9257extern struct _IO_FILE_plus _IO_2_1_stdin_;
9258extern struct _IO_FILE_plus _IO_2_1_stdout_;
9259extern struct _IO_FILE_plus _IO_2_1_stderr_;
9260
9261
9262
9263
9264
9265extern _IO_FILE *_IO_stdin ;
9266extern _IO_FILE *_IO_stdout ;
9267extern _IO_FILE *_IO_stderr ;
9268
9269
9270
9271
9272
9273
9274
9275typedef __ssize_t __io_read_fn (void *__cookie, char *__buf, size_t __nbytes);
9276
9277
9278
9279
9280
9281
9282
9283typedef __ssize_t __io_write_fn (void *__cookie, __const char *__buf,
9284 size_t __n);
9285
9286
9287
9288
9289
9290
9291
9292typedef int __io_seek_fn (void *__cookie, __off64_t *__pos, int __w);
9293
9294
9295typedef int __io_close_fn (void *__cookie);
9296
9297
9298
9299
9300typedef __io_read_fn cookie_read_function_t;
9301typedef __io_write_fn cookie_write_function_t;
9302typedef __io_seek_fn cookie_seek_function_t;
9303typedef __io_close_fn cookie_close_function_t;
9304
9305
9306typedef struct
9307{
9308 __io_read_fn *read;
9309 __io_write_fn *write;
9310 __io_seek_fn *seek;
9311 __io_close_fn *close;
9312} _IO_cookie_io_functions_t;
9313typedef _IO_cookie_io_functions_t cookie_io_functions_t;
9314
9315struct _IO_cookie_file;
9316
9317
9318extern void _IO_cookie_init (struct _IO_cookie_file *__cfile, int __read_write,
9319 void *__cookie, _IO_cookie_io_functions_t __fns);
9320
9321
9322
9323
9324
9325
9326
9327extern int __underflow (_IO_FILE *);
9328extern int __uflow (_IO_FILE *);
9329extern int __overflow (_IO_FILE *, int);
9330
9331extern wint_t __wunderflow (_IO_FILE *);
9332extern wint_t __wuflow (_IO_FILE *);
9333extern wint_t __woverflow (_IO_FILE *, wint_t);
9334# 462 "../libio/libio.h"
9335extern int _IO_getc (_IO_FILE *__fp);
9336extern int _IO_putc (int __c, _IO_FILE *__fp);
9337extern int _IO_feof (_IO_FILE *__fp) __attribute__ ((__nothrow__ ));
9338extern int _IO_ferror (_IO_FILE *__fp) __attribute__ ((__nothrow__ ));
9339
9340extern int _IO_peekc_locked (_IO_FILE *__fp);
9341
9342
9343
9344
9345
9346extern void _IO_flockfile (_IO_FILE *) __attribute__ ((__nothrow__ ));
9347extern void _IO_funlockfile (_IO_FILE *) __attribute__ ((__nothrow__ ));
9348extern int _IO_ftrylockfile (_IO_FILE *) __attribute__ ((__nothrow__ ));
9349# 492 "../libio/libio.h"
9350extern int _IO_vfscanf (_IO_FILE * __restrict, const char * __restrict,
9351 __gnuc_va_list, int *__restrict);
9352extern int _IO_vfprintf (_IO_FILE *__restrict, const char *__restrict,
9353 __gnuc_va_list);
9354extern __ssize_t _IO_padn (_IO_FILE *, int, __ssize_t);
9355extern size_t _IO_sgetn (_IO_FILE *, void *, size_t);
9356
9357extern __off64_t _IO_seekoff (_IO_FILE *, __off64_t, int, int);
9358extern __off64_t _IO_seekpos (_IO_FILE *, __off64_t, int);
9359
9360extern void _IO_free_backup_area (_IO_FILE *) __attribute__ ((__nothrow__ ));
9361
9362
9363extern wint_t _IO_getwc (_IO_FILE *__fp);
9364extern wint_t _IO_putwc (wchar_t __wc, _IO_FILE *__fp);
9365extern int _IO_fwide (_IO_FILE *__fp, int __mode) __attribute__ ((__nothrow__ ));
9366# 541 "../libio/libio.h"
9367extern int _IO_vfwscanf (_IO_FILE * __restrict, const wchar_t * __restrict,
9368 __gnuc_va_list, int *__restrict);
9369extern int _IO_vfwprintf (_IO_FILE *__restrict, const wchar_t *__restrict,
9370 __gnuc_va_list);
9371extern __ssize_t _IO_wpadn (_IO_FILE *, wint_t, __ssize_t);
9372extern void _IO_free_wbackup_area (_IO_FILE *) __attribute__ ((__nothrow__ ));
9373# 2 "../include/libio.h" 2
9374
9375
9376
9377
9378
9379
9380
9381
9382
9383
9384# 76 "../libio/stdio.h" 2
9385# 109 "../libio/stdio.h"
9386
9387
9388typedef _G_fpos_t fpos_t;
9389
9390
9391
9392
9393
9394typedef _G_fpos64_t fpos64_t;
9395# 165 "../libio/stdio.h"
9396# 1 "/var/tmp/portage/sys-libs/glibc-2.15-r3/work/build-default-armv5te-iwmmxt-linux-gnueabi-nptl/bits/stdio_lim.h" 1
9397# 166 "../libio/stdio.h" 2
9398
9399
9400
9401extern struct _IO_FILE *stdin;
9402extern struct _IO_FILE *stdout;
9403extern struct _IO_FILE *stderr;
9404
9405
9406
9407
9408
9409
9410
9411extern int remove (__const char *__filename) __attribute__ ((__nothrow__ ));
9412
9413extern int rename (__const char *__old, __const char *__new) __attribute__ ((__nothrow__ ));
9414
9415
9416
9417
9418extern int renameat (int __oldfd, __const char *__old, int __newfd,
9419 __const char *__new) __attribute__ ((__nothrow__ ));
9420
9421
9422
9423
9424
9425
9426
9427
9428extern FILE *tmpfile (void) ;
9429# 206 "../libio/stdio.h"
9430extern FILE *tmpfile64 (void) ;
9431
9432
9433
9434extern char *tmpnam (char *__s) __attribute__ ((__nothrow__ )) ;
9435
9436
9437
9438
9439
9440extern char *tmpnam_r (char *__s) __attribute__ ((__nothrow__ )) ;
9441# 228 "../libio/stdio.h"
9442extern char *tempnam (__const char *__dir, __const char *__pfx)
9443 __attribute__ ((__nothrow__ )) __attribute__ ((__malloc__)) ;
9444
9445
9446
9447
9448
9449
9450
9451
9452extern int fclose (FILE *__stream);
9453
9454
9455
9456
9457extern int fflush (FILE *__stream);
9458
9459# 253 "../libio/stdio.h"
9460extern int fflush_unlocked (FILE *__stream);
9461# 263 "../libio/stdio.h"
9462extern int fcloseall (void);
9463
9464
9465
9466
9467
9468
9469
9470
9471
9472extern FILE *fopen (__const char *__restrict __filename,
9473 __const char *__restrict __modes) ;
9474
9475
9476
9477
9478extern FILE *freopen (__const char *__restrict __filename,
9479 __const char *__restrict __modes,
9480 FILE *__restrict __stream) ;
9481# 296 "../libio/stdio.h"
9482
9483
9484extern FILE *fopen64 (__const char *__restrict __filename,
9485 __const char *__restrict __modes) ;
9486extern FILE *freopen64 (__const char *__restrict __filename,
9487 __const char *__restrict __modes,
9488 FILE *__restrict __stream) ;
9489
9490
9491
9492
9493extern FILE *fdopen (int __fd, __const char *__modes) __attribute__ ((__nothrow__ )) ;
9494
9495
9496
9497
9498
9499extern FILE *fopencookie (void *__restrict __magic_cookie,
9500 __const char *__restrict __modes,
9501 _IO_cookie_io_functions_t __io_funcs) __attribute__ ((__nothrow__ )) ;
9502
9503
9504
9505
9506extern FILE *fmemopen (void *__s, size_t __len, __const char *__modes)
9507 __attribute__ ((__nothrow__ )) ;
9508
9509
9510
9511
9512extern FILE *open_memstream (char **__bufloc, size_t *__sizeloc) __attribute__ ((__nothrow__ )) ;
9513
9514
9515
9516
9517
9518
9519extern void setbuf (FILE *__restrict __stream, char *__restrict __buf) __attribute__ ((__nothrow__ ));
9520
9521
9522
9523extern int setvbuf (FILE *__restrict __stream, char *__restrict __buf,
9524 int __modes, size_t __n) __attribute__ ((__nothrow__ ));
9525
9526
9527
9528
9529
9530extern void setbuffer (FILE *__restrict __stream, char *__restrict __buf,
9531 size_t __size) __attribute__ ((__nothrow__ ));
9532
9533
9534extern void setlinebuf (FILE *__stream) __attribute__ ((__nothrow__ ));
9535
9536
9537
9538
9539
9540
9541
9542
9543extern int fprintf (FILE *__restrict __stream,
9544 __const char *__restrict __format, ...);
9545
9546
9547
9548
9549extern int printf (__const char *__restrict __format, ...);
9550
9551extern int sprintf (char *__restrict __s,
9552 __const char *__restrict __format, ...) __attribute__ ((__nothrow__));
9553
9554
9555
9556
9557
9558extern int vfprintf (FILE *__restrict __s, __const char *__restrict __format,
9559 __gnuc_va_list __arg);
9560
9561
9562
9563
9564extern int vprintf (__const char *__restrict __format, __gnuc_va_list __arg);
9565
9566extern int vsprintf (char *__restrict __s, __const char *__restrict __format,
9567 __gnuc_va_list __arg) __attribute__ ((__nothrow__));
9568
9569
9570
9571
9572
9573extern int snprintf (char *__restrict __s, size_t __maxlen,
9574 __const char *__restrict __format, ...)
9575 __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 4)));
9576
9577extern int vsnprintf (char *__restrict __s, size_t __maxlen,
9578 __const char *__restrict __format, __gnuc_va_list __arg)
9579 __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 0)));
9580
9581
9582
9583
9584
9585
9586extern int vasprintf (char **__restrict __ptr, __const char *__restrict __f,
9587 __gnuc_va_list __arg)
9588 __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 0))) ;
9589extern int __asprintf (char **__restrict __ptr,
9590 __const char *__restrict __fmt, ...)
9591 __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 3))) ;
9592extern int asprintf (char **__restrict __ptr,
9593 __const char *__restrict __fmt, ...)
9594 __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 3))) ;
9595# 418 "../libio/stdio.h"
9596extern int vdprintf (int __fd, __const char *__restrict __fmt,
9597 __gnuc_va_list __arg)
9598 __attribute__ ((__format__ (__printf__, 2, 0)));
9599extern int dprintf (int __fd, __const char *__restrict __fmt, ...)
9600 __attribute__ ((__format__ (__printf__, 2, 3)));
9601
9602
9603
9604
9605
9606
9607
9608
9609extern int fscanf (FILE *__restrict __stream,
9610 __const char *__restrict __format, ...) ;
9611
9612
9613
9614
9615extern int scanf (__const char *__restrict __format, ...) ;
9616
9617extern int sscanf (__const char *__restrict __s,
9618 __const char *__restrict __format, ...) __attribute__ ((__nothrow__ ));
9619# 469 "../libio/stdio.h"
9620
9621
9622
9623
9624
9625
9626
9627
9628extern int vfscanf (FILE *__restrict __s, __const char *__restrict __format,
9629 __gnuc_va_list __arg)
9630 __attribute__ ((__format__ (__scanf__, 2, 0))) ;
9631
9632
9633
9634
9635
9636extern int vscanf (__const char *__restrict __format, __gnuc_va_list __arg)
9637 __attribute__ ((__format__ (__scanf__, 1, 0))) ;
9638
9639
9640extern int vsscanf (__const char *__restrict __s,
9641 __const char *__restrict __format, __gnuc_va_list __arg)
9642 __attribute__ ((__nothrow__ )) __attribute__ ((__format__ (__scanf__, 2, 0)));
9643# 528 "../libio/stdio.h"
9644
9645
9646
9647
9648
9649
9650
9651
9652
9653extern int fgetc (FILE *__stream);
9654extern int getc (FILE *__stream);
9655
9656
9657
9658
9659
9660extern int getchar (void);
9661
9662# 556 "../libio/stdio.h"
9663extern int getc_unlocked (FILE *__stream);
9664extern int getchar_unlocked (void);
9665# 567 "../libio/stdio.h"
9666extern int fgetc_unlocked (FILE *__stream);
9667
9668
9669
9670
9671
9672
9673
9674
9675
9676
9677
9678extern int fputc (int __c, FILE *__stream);
9679extern int putc (int __c, FILE *__stream);
9680
9681
9682
9683
9684
9685extern int putchar (int __c);
9686
9687# 600 "../libio/stdio.h"
9688extern int fputc_unlocked (int __c, FILE *__stream);
9689
9690
9691
9692
9693
9694
9695
9696extern int putc_unlocked (int __c, FILE *__stream);
9697extern int putchar_unlocked (int __c);
9698
9699
9700
9701
9702
9703
9704extern int getw (FILE *__stream);
9705
9706
9707extern int putw (int __w, FILE *__stream);
9708
9709
9710
9711
9712
9713
9714
9715
9716extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream)
9717 ;
9718
9719
9720
9721
9722
9723
9724extern char *gets (char *__s) ;
9725
9726# 646 "../libio/stdio.h"
9727extern char *fgets_unlocked (char *__restrict __s, int __n,
9728 FILE *__restrict __stream) ;
9729# 662 "../libio/stdio.h"
9730extern __ssize_t __getdelim (char **__restrict __lineptr,
9731 size_t *__restrict __n, int __delimiter,
9732 FILE *__restrict __stream) ;
9733extern __ssize_t getdelim (char **__restrict __lineptr,
9734 size_t *__restrict __n, int __delimiter,
9735 FILE *__restrict __stream) ;
9736
9737
9738
9739
9740
9741
9742
9743extern __ssize_t getline (char **__restrict __lineptr,
9744 size_t *__restrict __n,
9745 FILE *__restrict __stream) ;
9746
9747
9748
9749
9750
9751
9752
9753
9754extern int fputs (__const char *__restrict __s, FILE *__restrict __stream);
9755
9756
9757
9758
9759
9760extern int puts (__const char *__s);
9761
9762
9763
9764
9765
9766
9767extern int ungetc (int __c, FILE *__stream);
9768
9769
9770
9771
9772
9773
9774extern size_t fread (void *__restrict __ptr, size_t __size,
9775 size_t __n, FILE *__restrict __stream) ;
9776
9777
9778
9779
9780extern size_t fwrite (__const void *__restrict __ptr, size_t __size,
9781 size_t __n, FILE *__restrict __s) ;
9782
9783# 723 "../libio/stdio.h"
9784extern int fputs_unlocked (__const char *__restrict __s,
9785 FILE *__restrict __stream);
9786# 734 "../libio/stdio.h"
9787extern size_t fread_unlocked (void *__restrict __ptr, size_t __size,
9788 size_t __n, FILE *__restrict __stream) ;
9789extern size_t fwrite_unlocked (__const void *__restrict __ptr, size_t __size,
9790 size_t __n, FILE *__restrict __stream) ;
9791
9792
9793
9794
9795
9796
9797
9798
9799extern int fseek (FILE *__stream, long int __off, int __whence);
9800
9801
9802
9803
9804extern long int ftell (FILE *__stream) ;
9805
9806
9807
9808
9809extern void rewind (FILE *__stream);
9810
9811# 770 "../libio/stdio.h"
9812extern int fseeko (FILE *__stream, __off_t __off, int __whence);
9813
9814
9815
9816
9817extern __off_t ftello (FILE *__stream) ;
9818# 789 "../libio/stdio.h"
9819
9820
9821
9822
9823
9824
9825extern int fgetpos (FILE *__restrict __stream, fpos_t *__restrict __pos);
9826
9827
9828
9829
9830extern int fsetpos (FILE *__stream, __const fpos_t *__pos);
9831# 812 "../libio/stdio.h"
9832
9833
9834
9835extern int fseeko64 (FILE *__stream, __off64_t __off, int __whence);
9836extern __off64_t ftello64 (FILE *__stream) ;
9837extern int fgetpos64 (FILE *__restrict __stream, fpos64_t *__restrict __pos);
9838extern int fsetpos64 (FILE *__stream, __const fpos64_t *__pos);
9839
9840
9841
9842
9843extern void clearerr (FILE *__stream) __attribute__ ((__nothrow__ ));
9844
9845extern int feof (FILE *__stream) __attribute__ ((__nothrow__ )) ;
9846
9847extern int ferror (FILE *__stream) __attribute__ ((__nothrow__ )) ;
9848
9849
9850
9851
9852extern void clearerr_unlocked (FILE *__stream) __attribute__ ((__nothrow__ ));
9853extern int feof_unlocked (FILE *__stream) __attribute__ ((__nothrow__ )) ;
9854extern int ferror_unlocked (FILE *__stream) __attribute__ ((__nothrow__ )) ;
9855
9856
9857
9858
9859
9860
9861
9862
9863extern void perror (__const char *__s);
9864
9865
9866
9867
9868
9869
9870# 1 "../sysdeps/unix/sysv/linux/bits/sys_errlist.h" 1
9871# 27 "../sysdeps/unix/sysv/linux/bits/sys_errlist.h"
9872extern int sys_nerr;
9873extern __const char *__const sys_errlist[];
9874
9875
9876extern int _sys_nerr;
9877extern __const char *__const _sys_errlist[];
9878# 851 "../libio/stdio.h" 2
9879
9880
9881
9882
9883extern int fileno (FILE *__stream) __attribute__ ((__nothrow__ )) ;
9884
9885
9886
9887
9888extern int fileno_unlocked (FILE *__stream) __attribute__ ((__nothrow__ )) ;
9889# 870 "../libio/stdio.h"
9890extern FILE *popen (__const char *__command, __const char *__modes) ;
9891
9892
9893
9894
9895
9896extern int pclose (FILE *__stream);
9897
9898
9899
9900
9901
9902extern char *ctermid (char *__s) __attribute__ ((__nothrow__ ));
9903
9904
9905
9906
9907
9908extern char *cuserid (char *__s);
9909
9910
9911
9912
9913struct obstack;
9914
9915
9916extern int obstack_printf (struct obstack *__restrict __obstack,
9917 __const char *__restrict __format, ...)
9918 __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 3)));
9919extern int obstack_vprintf (struct obstack *__restrict __obstack,
9920 __const char *__restrict __format,
9921 __gnuc_va_list __args)
9922 __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 0)));
9923
9924
9925
9926
9927
9928
9929
9930extern void flockfile (FILE *__stream) __attribute__ ((__nothrow__ ));
9931
9932
9933
9934extern int ftrylockfile (FILE *__stream) __attribute__ ((__nothrow__ )) ;
9935
9936
9937extern void funlockfile (FILE *__stream) __attribute__ ((__nothrow__ ));
9938# 931 "../libio/stdio.h"
9939# 1 "../libio/bits/stdio.h" 1
9940# 36 "../libio/bits/stdio.h"
9941extern __inline int
9942vprintf (__const char *__restrict __fmt, __gnuc_va_list __arg)
9943{
9944 return vfprintf (stdout, __fmt, __arg);
9945}
9946
9947
9948
9949extern __inline int
9950getchar (void)
9951{
9952 return _IO_getc (stdin);
9953}
9954
9955
9956
9957
9958extern __inline int
9959fgetc_unlocked (FILE *__fp)
9960{
9961 return (__builtin_expect (((__fp)->_IO_read_ptr >= (__fp)->_IO_read_end), 0) ? __uflow (__fp) : *(unsigned char *) (__fp)->_IO_read_ptr++);
9962}
9963
9964
9965
9966
9967
9968extern __inline int
9969getc_unlocked (FILE *__fp)
9970{
9971 return (__builtin_expect (((__fp)->_IO_read_ptr >= (__fp)->_IO_read_end), 0) ? __uflow (__fp) : *(unsigned char *) (__fp)->_IO_read_ptr++);
9972}
9973
9974
9975extern __inline int
9976getchar_unlocked (void)
9977{
9978 return (__builtin_expect (((stdin)->_IO_read_ptr >= (stdin)->_IO_read_end), 0) ? __uflow (stdin) : *(unsigned char *) (stdin)->_IO_read_ptr++);
9979}
9980
9981
9982
9983
9984extern __inline int
9985putchar (int __c)
9986{
9987 return _IO_putc (__c, stdout);
9988}
9989
9990
9991
9992
9993extern __inline int
9994fputc_unlocked (int __c, FILE *__stream)
9995{
9996 return (__builtin_expect (((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end), 0) ? __overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (__c)));
9997}
9998
9999
10000
10001
10002
10003extern __inline int
10004putc_unlocked (int __c, FILE *__stream)
10005{
10006 return (__builtin_expect (((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end), 0) ? __overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (__c)));
10007}
10008
10009
10010extern __inline int
10011putchar_unlocked (int __c)
10012{
10013 return (__builtin_expect (((stdout)->_IO_write_ptr >= (stdout)->_IO_write_end), 0) ? __overflow (stdout, (unsigned char) (__c)) : (unsigned char) (*(stdout)->_IO_write_ptr++ = (__c)));
10014}
10015
10016
10017
10018
10019
10020extern __inline __ssize_t
10021getline (char **__lineptr, size_t *__n, FILE *__stream)
10022{
10023 return __getdelim (__lineptr, __n, '\n', __stream);
10024}
10025
10026
10027
10028
10029
10030extern __inline int
10031__attribute__ ((__nothrow__ )) feof_unlocked (FILE *__stream)
10032{
10033 return (((__stream)->_flags & 0x10) != 0);
10034}
10035
10036
10037extern __inline int
10038__attribute__ ((__nothrow__ )) ferror_unlocked (FILE *__stream)
10039{
10040 return (((__stream)->_flags & 0x20) != 0);
10041}
10042# 932 "../libio/stdio.h" 2
10043# 940 "../libio/stdio.h"
10044
10045# 6 "../include/stdio.h" 2
10046
10047
10048extern int __fcloseall (void);
10049extern int __snprintf (char *__restrict __s, size_t __maxlen,
10050 __const char *__restrict __format, ...)
10051 __attribute__ ((__format__ (__printf__, 3, 4)));
10052extern int __vsnprintf (char *__restrict __s, size_t __maxlen,
10053 __const char *__restrict __format, __gnuc_va_list __arg)
10054 __attribute__ ((__format__ (__printf__, 3, 0)));
10055extern int __vfscanf (FILE *__restrict __s,
10056 __const char *__restrict __format,
10057 __gnuc_va_list __arg)
10058 __attribute__ ((__format__ (__scanf__, 2, 0)));
10059
10060extern int __vscanf (__const char *__restrict __format,
10061 __gnuc_va_list __arg)
10062 __attribute__ ((__format__ (__scanf__, 1, 0)));
10063extern __ssize_t __getline (char **__lineptr, size_t *__n,
10064 FILE *__stream);
10065extern int __vsscanf (__const char *__restrict __s,
10066 __const char *__restrict __format,
10067 __gnuc_va_list __arg)
10068 __attribute__ ((__format__ (__scanf__, 2, 0)));
10069
10070
10071extern int __sprintf_chk (char *, int, size_t, const char *, ...) __attribute__ ((__nothrow__ ));
10072extern int __snprintf_chk (char *, size_t, int, size_t, const char *, ...)
10073 __attribute__ ((__nothrow__ ));
10074extern int __vsprintf_chk (char *, int, size_t, const char *,
10075 __gnuc_va_list) __attribute__ ((__nothrow__ ));
10076extern int __vsnprintf_chk (char *, size_t, int, size_t, const char *,
10077 __gnuc_va_list) __attribute__ ((__nothrow__ ));
10078extern int __printf_chk (int, const char *, ...);
10079extern int __fprintf_chk (FILE *, int, const char *, ...);
10080extern int __vprintf_chk (int, const char *, __gnuc_va_list);
10081extern int __vfprintf_chk (FILE *, int, const char *, __gnuc_va_list);
10082extern char *__fgets_unlocked_chk (char *buf, size_t size, int n, FILE *fp);
10083extern char *__fgets_chk (char *buf, size_t size, int n, FILE *fp);
10084extern int __asprintf_chk (char **, int, const char *, ...) __attribute__ ((__nothrow__ ));
10085extern int __vasprintf_chk (char **, int, const char *, __gnuc_va_list) __attribute__ ((__nothrow__ ));
10086extern int __dprintf_chk (int, int, const char *, ...);
10087extern int __vdprintf_chk (int, int, const char *, __gnuc_va_list);
10088extern int __obstack_printf_chk (struct obstack *, int, const char *, ...)
10089 __attribute__ ((__nothrow__ ));
10090extern int __obstack_vprintf_chk (struct obstack *, int, const char *,
10091 __gnuc_va_list) __attribute__ ((__nothrow__ ));
10092
10093
10094extern int __isoc99_fscanf (FILE *__restrict __stream,
10095 __const char *__restrict __format, ...) ;
10096extern int __isoc99_scanf (__const char *__restrict __format, ...) ;
10097extern int __isoc99_sscanf (__const char *__restrict __s,
10098 __const char *__restrict __format, ...) __attribute__ ((__nothrow__ ));
10099extern int __isoc99_vfscanf (FILE *__restrict __s,
10100 __const char *__restrict __format,
10101 __gnuc_va_list __arg) ;
10102extern int __isoc99_vscanf (__const char *__restrict __format,
10103 __gnuc_va_list __arg) ;
10104extern int __isoc99_vsscanf (__const char *__restrict __s,
10105 __const char *__restrict __format,
10106 __gnuc_va_list __arg) __attribute__ ((__nothrow__ ));
10107
10108
10109
10110
10111extern FILE *__new_tmpfile (void);
10112extern FILE *__old_tmpfile (void);
10113
10114
10115
10116
10117# 1 "/usr/lib/gcc/armv5te-iwmmxt-linux-gnueabi/4.7.3/include/stddef.h" 1 3 4
10118# 78 "../include/stdio.h" 2
10119
10120extern int __path_search (char *__tmpl, size_t __tmpl_len,
10121 __const char *__dir, __const char *__pfx,
10122 int __try_tempdir);
10123
10124extern int __gen_tempname (char *__tmpl, int __suffixlen, int __flags,
10125 int __kind);
10126
10127
10128
10129
10130
10131
10132extern void __libc_fatal (__const char *__message)
10133 __attribute__ ((__noreturn__));
10134extern void __libc_message (int do_abort, __const char *__fnt, ...);
10135extern void __fortify_fail (const char *msg)
10136 __attribute__ ((__noreturn__)) ;
10137
10138
10139
10140extern void __flockfile (FILE *__stream);
10141
10142
10143extern void __funlockfile (FILE *__stream);
10144
10145
10146
10147extern int __ftrylockfile (FILE *__stream);
10148
10149extern int __getc_unlocked (FILE *__fp);
10150extern wint_t __getwc_unlocked (FILE *__fp);
10151
10152extern int __fxprintf (FILE *__fp, const char *__fmt, ...)
10153 __attribute__ ((__format__ (__printf__, 2, 3)));
10154
10155extern __const char *__const _sys_errlist_internal[] ;
10156extern int _sys_nerr_internal ;
10157
10158extern int __asprintf_internal (char **__restrict __ptr,
10159 __const char *__restrict __fmt, ...)
10160 __attribute__ ((__format__ (__printf__, 2, 3)));
10161
10162
10163
10164
10165extern _IO_FILE *_IO_new_fopen (const char*, const char*);
10166
10167extern _IO_FILE *_IO_new_fdopen (int, const char*);
10168
10169extern int _IO_new_fclose (_IO_FILE*);
10170
10171extern int _IO_fputs (const char*, _IO_FILE*);
10172
10173
10174extern int _IO_new_fsetpos (_IO_FILE *, const _G_fpos_t *);
10175
10176extern int _IO_new_fgetpos (_IO_FILE *, _G_fpos_t *);
10177
10178
10179
10180
10181
10182
10183
10184
10185
10186
10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198
10199
10200
10201
10202
10203
10204
10205
10206
10207
10208# 24 "fxprintf.c" 2
10209# 1 "../include/wchar.h" 1
10210
10211# 1 "../wcsmbs/wchar.h" 1
10212# 52 "../wcsmbs/wchar.h"
10213# 1 "/usr/lib/gcc/armv5te-iwmmxt-linux-gnueabi/4.7.3/include/stddef.h" 1 3 4
10214# 53 "../wcsmbs/wchar.h" 2
10215# 104 "../wcsmbs/wchar.h"
10216
10217
10218typedef __mbstate_t mbstate_t;
10219
10220
10221
10222# 129 "../wcsmbs/wchar.h"
10223
10224
10225
10226
10227
10228struct tm;
10229
10230
10231
10232
10233
10234
10235
10236
10237
10238extern wchar_t *wcscpy (wchar_t *__restrict __dest,
10239 __const wchar_t *__restrict __src) __attribute__ ((__nothrow__ ));
10240
10241extern wchar_t *wcsncpy (wchar_t *__restrict __dest,
10242 __const wchar_t *__restrict __src, size_t __n)
10243 __attribute__ ((__nothrow__ ));
10244
10245
10246extern wchar_t *wcscat (wchar_t *__restrict __dest,
10247 __const wchar_t *__restrict __src) __attribute__ ((__nothrow__ ));
10248
10249extern wchar_t *wcsncat (wchar_t *__restrict __dest,
10250 __const wchar_t *__restrict __src, size_t __n)
10251 __attribute__ ((__nothrow__ ));
10252
10253
10254extern int wcscmp (__const wchar_t *__s1, __const wchar_t *__s2)
10255 __attribute__ ((__nothrow__ )) __attribute__ ((__pure__));
10256
10257extern int wcsncmp (__const wchar_t *__s1, __const wchar_t *__s2, size_t __n)
10258 __attribute__ ((__nothrow__ )) __attribute__ ((__pure__));
10259
10260
10261
10262
10263extern int wcscasecmp (__const wchar_t *__s1, __const wchar_t *__s2) __attribute__ ((__nothrow__ ));
10264
10265
10266extern int wcsncasecmp (__const wchar_t *__s1, __const wchar_t *__s2,
10267 size_t __n) __attribute__ ((__nothrow__ ));
10268
10269
10270
10271# 1 "../include/xlocale.h" 1
10272# 178 "../wcsmbs/wchar.h" 2
10273
10274extern int wcscasecmp_l (__const wchar_t *__s1, __const wchar_t *__s2,
10275 __locale_t __loc) __attribute__ ((__nothrow__ ));
10276
10277extern int wcsncasecmp_l (__const wchar_t *__s1, __const wchar_t *__s2,
10278 size_t __n, __locale_t __loc) __attribute__ ((__nothrow__ ));
10279
10280
10281
10282
10283
10284extern int wcscoll (__const wchar_t *__s1, __const wchar_t *__s2) __attribute__ ((__nothrow__ ));
10285
10286
10287
10288extern size_t wcsxfrm (wchar_t *__restrict __s1,
10289 __const wchar_t *__restrict __s2, size_t __n) __attribute__ ((__nothrow__ ));
10290
10291
10292
10293
10294
10295
10296
10297
10298extern int wcscoll_l (__const wchar_t *__s1, __const wchar_t *__s2,
10299 __locale_t __loc) __attribute__ ((__nothrow__ ));
10300
10301
10302
10303
10304extern size_t wcsxfrm_l (wchar_t *__s1, __const wchar_t *__s2,
10305 size_t __n, __locale_t __loc) __attribute__ ((__nothrow__ ));
10306
10307
10308extern wchar_t *wcsdup (__const wchar_t *__s) __attribute__ ((__nothrow__ )) __attribute__ ((__malloc__));
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
10319extern wchar_t *wcschr (__const wchar_t *__wcs, wchar_t __wc)
10320 __attribute__ ((__nothrow__ )) __attribute__ ((__pure__));
10321# 234 "../wcsmbs/wchar.h"
10322extern wchar_t *wcsrchr (__const wchar_t *__wcs, wchar_t __wc)
10323 __attribute__ ((__nothrow__ )) __attribute__ ((__pure__));
10324
10325
10326
10327
10328
10329
10330extern wchar_t *wcschrnul (__const wchar_t *__s, wchar_t __wc)
10331 __attribute__ ((__nothrow__ )) __attribute__ ((__pure__));
10332
10333
10334
10335
10336
10337extern size_t wcscspn (__const wchar_t *__wcs, __const wchar_t *__reject)
10338 __attribute__ ((__nothrow__ )) __attribute__ ((__pure__));
10339
10340
10341extern size_t wcsspn (__const wchar_t *__wcs, __const wchar_t *__accept)
10342 __attribute__ ((__nothrow__ )) __attribute__ ((__pure__));
10343# 263 "../wcsmbs/wchar.h"
10344extern wchar_t *wcspbrk (__const wchar_t *__wcs, __const wchar_t *__accept)
10345 __attribute__ ((__nothrow__ )) __attribute__ ((__pure__));
10346# 274 "../wcsmbs/wchar.h"
10347extern wchar_t *wcsstr (__const wchar_t *__haystack, __const wchar_t *__needle)
10348 __attribute__ ((__nothrow__ )) __attribute__ ((__pure__));
10349
10350
10351
10352extern wchar_t *wcstok (wchar_t *__restrict __s,
10353 __const wchar_t *__restrict __delim,
10354 wchar_t **__restrict __ptr) __attribute__ ((__nothrow__ ));
10355
10356
10357extern size_t wcslen (__const wchar_t *__s) __attribute__ ((__nothrow__ )) __attribute__ ((__pure__));
10358
10359# 296 "../wcsmbs/wchar.h"
10360extern wchar_t *wcswcs (__const wchar_t *__haystack, __const wchar_t *__needle)
10361 __attribute__ ((__nothrow__ )) __attribute__ ((__pure__));
10362
10363
10364
10365
10366
10367extern size_t wcsnlen (__const wchar_t *__s, size_t __maxlen)
10368 __attribute__ ((__nothrow__ )) __attribute__ ((__pure__));
10369
10370
10371
10372
10373# 317 "../wcsmbs/wchar.h"
10374extern wchar_t *wmemchr (__const wchar_t *__s, wchar_t __c, size_t __n)
10375 __attribute__ ((__nothrow__ )) __attribute__ ((__pure__));
10376
10377
10378
10379extern int wmemcmp (__const wchar_t *__s1, __const wchar_t *__s2, size_t __n)
10380 __attribute__ ((__nothrow__ )) __attribute__ ((__pure__));
10381
10382
10383extern wchar_t *wmemcpy (wchar_t *__restrict __s1,
10384 __const wchar_t *__restrict __s2, size_t __n) __attribute__ ((__nothrow__ ));
10385
10386
10387
10388extern wchar_t *wmemmove (wchar_t *__s1, __const wchar_t *__s2, size_t __n)
10389 __attribute__ ((__nothrow__ ));
10390
10391
10392extern wchar_t *wmemset (wchar_t *__s, wchar_t __c, size_t __n) __attribute__ ((__nothrow__ ));
10393
10394
10395
10396
10397
10398extern wchar_t *wmempcpy (wchar_t *__restrict __s1,
10399 __const wchar_t *__restrict __s2, size_t __n)
10400 __attribute__ ((__nothrow__ ));
10401
10402
10403
10404
10405
10406
10407extern wint_t btowc (int __c) __attribute__ ((__nothrow__ ));
10408
10409
10410
10411extern int wctob (wint_t __c) __attribute__ ((__nothrow__ ));
10412
10413
10414
10415extern int mbsinit (__const mbstate_t *__ps) __attribute__ ((__nothrow__ )) __attribute__ ((__pure__));
10416
10417
10418
10419extern size_t mbrtowc (wchar_t *__restrict __pwc,
10420 __const char *__restrict __s, size_t __n,
10421 mbstate_t *__p) __attribute__ ((__nothrow__ ));
10422
10423
10424extern size_t wcrtomb (char *__restrict __s, wchar_t __wc,
10425 mbstate_t *__restrict __ps) __attribute__ ((__nothrow__ ));
10426
10427
10428extern size_t __mbrlen (__const char *__restrict __s, size_t __n,
10429 mbstate_t *__restrict __ps) __attribute__ ((__nothrow__ ));
10430extern size_t mbrlen (__const char *__restrict __s, size_t __n,
10431 mbstate_t *__restrict __ps) __attribute__ ((__nothrow__ ));
10432
10433
10434
10435
10436
10437
10438
10439
10440extern wint_t __btowc_alias (int __c) __asm ("btowc");
10441extern __inline wint_t
10442__attribute__ ((__nothrow__ )) btowc (int __c)
10443{ return (__builtin_constant_p (__c) && __c >= '\0' && __c <= '\x7f'
10444 ? (wint_t) __c : __btowc_alias (__c)); }
10445
10446extern int __wctob_alias (wint_t __c) __asm ("wctob");
10447extern __inline int
10448__attribute__ ((__nothrow__ )) wctob (wint_t __wc)
10449{ return (__builtin_constant_p (__wc) && __wc >= L'\0' && __wc <= L'\x7f'
10450 ? (int) __wc : __wctob_alias (__wc)); }
10451
10452extern __inline size_t
10453__attribute__ ((__nothrow__ )) mbrlen (__const char *__restrict __s, size_t __n, mbstate_t *__restrict __ps)
10454
10455{ return (__ps != ((void *)0)
10456 ? mbrtowc (((void *)0), __s, __n, __ps) : __mbrlen (__s, __n, ((void *)0))); }
10457
10458
10459
10460
10461
10462extern size_t mbsrtowcs (wchar_t *__restrict __dst,
10463 __const char **__restrict __src, size_t __len,
10464 mbstate_t *__restrict __ps) __attribute__ ((__nothrow__ ));
10465
10466
10467
10468extern size_t wcsrtombs (char *__restrict __dst,
10469 __const wchar_t **__restrict __src, size_t __len,
10470 mbstate_t *__restrict __ps) __attribute__ ((__nothrow__ ));
10471
10472
10473
10474
10475
10476
10477extern size_t mbsnrtowcs (wchar_t *__restrict __dst,
10478 __const char **__restrict __src, size_t __nmc,
10479 size_t __len, mbstate_t *__restrict __ps) __attribute__ ((__nothrow__ ));
10480
10481
10482
10483extern size_t wcsnrtombs (char *__restrict __dst,
10484 __const wchar_t **__restrict __src,
10485 size_t __nwc, size_t __len,
10486 mbstate_t *__restrict __ps) __attribute__ ((__nothrow__ ));
10487
10488
10489
10490
10491
10492
10493extern int wcwidth (wchar_t __c) __attribute__ ((__nothrow__ ));
10494
10495
10496
10497extern int wcswidth (__const wchar_t *__s, size_t __n) __attribute__ ((__nothrow__ ));
10498
10499
10500
10501
10502
10503
10504extern double wcstod (__const wchar_t *__restrict __nptr,
10505 wchar_t **__restrict __endptr) __attribute__ ((__nothrow__ ));
10506
10507
10508
10509
10510
10511extern float wcstof (__const wchar_t *__restrict __nptr,
10512 wchar_t **__restrict __endptr) __attribute__ ((__nothrow__ ));
10513extern long double wcstold (__const wchar_t *__restrict __nptr,
10514 wchar_t **__restrict __endptr) __attribute__ ((__nothrow__ ));
10515
10516
10517
10518
10519
10520
10521
10522extern long int wcstol (__const wchar_t *__restrict __nptr,
10523 wchar_t **__restrict __endptr, int __base) __attribute__ ((__nothrow__ ));
10524
10525
10526
10527extern unsigned long int wcstoul (__const wchar_t *__restrict __nptr,
10528 wchar_t **__restrict __endptr, int __base)
10529 __attribute__ ((__nothrow__ ));
10530
10531
10532
10533
10534
10535
10536__extension__
10537extern long long int wcstoll (__const wchar_t *__restrict __nptr,
10538 wchar_t **__restrict __endptr, int __base)
10539 __attribute__ ((__nothrow__ ));
10540
10541
10542
10543__extension__
10544extern unsigned long long int wcstoull (__const wchar_t *__restrict __nptr,
10545 wchar_t **__restrict __endptr,
10546 int __base) __attribute__ ((__nothrow__ ));
10547
10548
10549
10550
10551
10552
10553__extension__
10554extern long long int wcstoq (__const wchar_t *__restrict __nptr,
10555 wchar_t **__restrict __endptr, int __base)
10556 __attribute__ ((__nothrow__ ));
10557
10558
10559
10560__extension__
10561extern unsigned long long int wcstouq (__const wchar_t *__restrict __nptr,
10562 wchar_t **__restrict __endptr,
10563 int __base) __attribute__ ((__nothrow__ ));
10564# 523 "../wcsmbs/wchar.h"
10565# 1 "../include/xlocale.h" 1
10566# 524 "../wcsmbs/wchar.h" 2
10567
10568
10569
10570extern long int wcstol_l (__const wchar_t *__restrict __nptr,
10571 wchar_t **__restrict __endptr, int __base,
10572 __locale_t __loc) __attribute__ ((__nothrow__ ));
10573
10574extern unsigned long int wcstoul_l (__const wchar_t *__restrict __nptr,
10575 wchar_t **__restrict __endptr,
10576 int __base, __locale_t __loc) __attribute__ ((__nothrow__ ));
10577
10578__extension__
10579extern long long int wcstoll_l (__const wchar_t *__restrict __nptr,
10580 wchar_t **__restrict __endptr,
10581 int __base, __locale_t __loc) __attribute__ ((__nothrow__ ));
10582
10583__extension__
10584extern unsigned long long int wcstoull_l (__const wchar_t *__restrict __nptr,
10585 wchar_t **__restrict __endptr,
10586 int __base, __locale_t __loc)
10587 __attribute__ ((__nothrow__ ));
10588
10589extern double wcstod_l (__const wchar_t *__restrict __nptr,
10590 wchar_t **__restrict __endptr, __locale_t __loc)
10591 __attribute__ ((__nothrow__ ));
10592
10593extern float wcstof_l (__const wchar_t *__restrict __nptr,
10594 wchar_t **__restrict __endptr, __locale_t __loc)
10595 __attribute__ ((__nothrow__ ));
10596
10597extern long double wcstold_l (__const wchar_t *__restrict __nptr,
10598 wchar_t **__restrict __endptr,
10599 __locale_t __loc) __attribute__ ((__nothrow__ ));
10600
10601
10602
10603
10604
10605
10606extern wchar_t *wcpcpy (wchar_t *__restrict __dest,
10607 __const wchar_t *__restrict __src) __attribute__ ((__nothrow__ ));
10608
10609
10610
10611extern wchar_t *wcpncpy (wchar_t *__restrict __dest,
10612 __const wchar_t *__restrict __src, size_t __n)
10613 __attribute__ ((__nothrow__ ));
10614
10615
10616
10617
10618
10619
10620extern __FILE *open_wmemstream (wchar_t **__bufloc, size_t *__sizeloc) __attribute__ ((__nothrow__ ));
10621
10622
10623
10624
10625
10626
10627extern int fwide (__FILE *__fp, int __mode) __attribute__ ((__nothrow__ ));
10628
10629
10630
10631
10632
10633
10634extern int fwprintf (__FILE *__restrict __stream,
10635 __const wchar_t *__restrict __format, ...)
10636 ;
10637
10638
10639
10640
10641extern int wprintf (__const wchar_t *__restrict __format, ...)
10642 ;
10643
10644extern int swprintf (wchar_t *__restrict __s, size_t __n,
10645 __const wchar_t *__restrict __format, ...)
10646 __attribute__ ((__nothrow__ )) ;
10647
10648
10649
10650
10651
10652extern int vfwprintf (__FILE *__restrict __s,
10653 __const wchar_t *__restrict __format,
10654 __gnuc_va_list __arg)
10655 ;
10656
10657
10658
10659
10660extern int vwprintf (__const wchar_t *__restrict __format,
10661 __gnuc_va_list __arg)
10662 ;
10663
10664
10665extern int vswprintf (wchar_t *__restrict __s, size_t __n,
10666 __const wchar_t *__restrict __format,
10667 __gnuc_va_list __arg)
10668 __attribute__ ((__nothrow__ )) ;
10669
10670
10671
10672
10673
10674
10675extern int fwscanf (__FILE *__restrict __stream,
10676 __const wchar_t *__restrict __format, ...)
10677 ;
10678
10679
10680
10681
10682extern int wscanf (__const wchar_t *__restrict __format, ...)
10683 ;
10684
10685extern int swscanf (__const wchar_t *__restrict __s,
10686 __const wchar_t *__restrict __format, ...)
10687 __attribute__ ((__nothrow__ )) ;
10688# 677 "../wcsmbs/wchar.h"
10689
10690
10691
10692
10693
10694
10695
10696
10697
10698extern int vfwscanf (__FILE *__restrict __s,
10699 __const wchar_t *__restrict __format,
10700 __gnuc_va_list __arg)
10701 ;
10702
10703
10704
10705
10706extern int vwscanf (__const wchar_t *__restrict __format,
10707 __gnuc_va_list __arg)
10708 ;
10709
10710extern int vswscanf (__const wchar_t *__restrict __s,
10711 __const wchar_t *__restrict __format,
10712 __gnuc_va_list __arg)
10713 __attribute__ ((__nothrow__ )) ;
10714# 733 "../wcsmbs/wchar.h"
10715
10716
10717
10718
10719
10720
10721
10722
10723
10724extern wint_t fgetwc (__FILE *__stream);
10725extern wint_t getwc (__FILE *__stream);
10726
10727
10728
10729
10730
10731extern wint_t getwchar (void);
10732
10733
10734
10735
10736
10737
10738extern wint_t fputwc (wchar_t __wc, __FILE *__stream);
10739extern wint_t putwc (wchar_t __wc, __FILE *__stream);
10740
10741
10742
10743
10744
10745extern wint_t putwchar (wchar_t __wc);
10746
10747
10748
10749
10750
10751
10752
10753extern wchar_t *fgetws (wchar_t *__restrict __ws, int __n,
10754 __FILE *__restrict __stream);
10755
10756
10757
10758
10759
10760extern int fputws (__const wchar_t *__restrict __ws,
10761 __FILE *__restrict __stream);
10762
10763
10764
10765
10766
10767
10768extern wint_t ungetwc (wint_t __wc, __FILE *__stream);
10769
10770# 798 "../wcsmbs/wchar.h"
10771extern wint_t getwc_unlocked (__FILE *__stream);
10772extern wint_t getwchar_unlocked (void);
10773
10774
10775
10776
10777
10778
10779
10780extern wint_t fgetwc_unlocked (__FILE *__stream);
10781
10782
10783
10784
10785
10786
10787
10788extern wint_t fputwc_unlocked (wchar_t __wc, __FILE *__stream);
10789# 824 "../wcsmbs/wchar.h"
10790extern wint_t putwc_unlocked (wchar_t __wc, __FILE *__stream);
10791extern wint_t putwchar_unlocked (wchar_t __wc);
10792# 834 "../wcsmbs/wchar.h"
10793extern wchar_t *fgetws_unlocked (wchar_t *__restrict __ws, int __n,
10794 __FILE *__restrict __stream);
10795
10796
10797
10798
10799
10800
10801
10802extern int fputws_unlocked (__const wchar_t *__restrict __ws,
10803 __FILE *__restrict __stream);
10804
10805
10806
10807
10808
10809
10810
10811extern size_t wcsftime (wchar_t *__restrict __s, size_t __maxsize,
10812 __const wchar_t *__restrict __format,
10813 __const struct tm *__restrict __tp) __attribute__ ((__nothrow__ ));
10814
10815
10816
10817# 1 "../include/xlocale.h" 1
10818# 859 "../wcsmbs/wchar.h" 2
10819
10820
10821
10822extern size_t wcsftime_l (wchar_t *__restrict __s, size_t __maxsize,
10823 __const wchar_t *__restrict __format,
10824 __const struct tm *__restrict __tp,
10825 __locale_t __loc) __attribute__ ((__nothrow__ ));
10826# 888 "../wcsmbs/wchar.h"
10827
10828# 3 "../include/wchar.h" 2
10829
10830
10831
10832extern __typeof (wcscasecmp_l) __wcscasecmp_l;
10833extern __typeof (wcsncasecmp_l) __wcsncasecmp_l;
10834extern __typeof (wcscoll_l) __wcscoll_l;
10835extern __typeof (wcsxfrm_l) __wcsxfrm_l;
10836extern __typeof (wcstol_l) __wcstol_l;
10837extern __typeof (wcstoul_l) __wcstoul_l;
10838extern __typeof (wcstoll_l) __wcstoll_l;
10839extern __typeof (wcstoull_l) __wcstoull_l;
10840extern __typeof (wcstod_l) __wcstod_l;
10841extern __typeof (wcstof_l) __wcstof_l;
10842extern __typeof (wcstold_l) __wcstold_l;
10843extern __typeof (wcsftime_l) __wcsftime_l;
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854extern double __wcstod_internal (__const wchar_t *__restrict __nptr,
10855 wchar_t **__restrict __endptr, int __group)
10856 __attribute__ ((__nothrow__ ));
10857extern float __wcstof_internal (__const wchar_t *__restrict __nptr,
10858 wchar_t **__restrict __endptr, int __group)
10859 __attribute__ ((__nothrow__ ));
10860extern long double __wcstold_internal (__const wchar_t *__restrict __nptr,
10861 wchar_t **__restrict __endptr,
10862 int __group) __attribute__ ((__nothrow__ ));
10863extern long int __wcstol_internal (__const wchar_t *__restrict __nptr,
10864 wchar_t **__restrict __endptr,
10865 int __base, int __group) __attribute__ ((__nothrow__ ));
10866extern unsigned long int __wcstoul_internal (__const wchar_t *__restrict __npt,
10867 wchar_t **__restrict __endptr,
10868 int __base, int __group) __attribute__ ((__nothrow__ ));
10869__extension__
10870extern long long int __wcstoll_internal (__const wchar_t *__restrict __nptr,
10871 wchar_t **__restrict __endptr,
10872 int __base, int __group) __attribute__ ((__nothrow__ ));
10873__extension__
10874extern unsigned long long int __wcstoull_internal (__const wchar_t *
10875 __restrict __nptr,
10876 wchar_t **
10877 __restrict __endptr,
10878 int __base,
10879 int __group) __attribute__ ((__nothrow__ ));
10880
10881
10882
10883
10884
10885
10886
10887
10888
10889
10890
10891
10892
10893
10894
10895
10896
10897
10898
10899
10900
10901
10902
10903
10904
10905
10906
10907
10908
10909
10910
10911
10912
10913
10914
10915
10916
10917
10918
10919
10920extern int __wcscasecmp (__const wchar_t *__s1, __const wchar_t *__s2)
10921 __attribute__ ((__pure__));
10922extern int __wcsncasecmp (__const wchar_t *__s1, __const wchar_t *__s2,
10923 size_t __n)
10924 __attribute__ ((__pure__));
10925extern size_t __wcslen (__const wchar_t *__s) __attribute__ ((__pure__));
10926extern size_t __wcsnlen (__const wchar_t *__s, size_t __maxlen)
10927 __attribute__ ((__pure__));
10928extern wchar_t *__wcscat (wchar_t *dest, const wchar_t *src);
10929extern wint_t __btowc (int __c);
10930extern int __mbsinit (__const __mbstate_t *__ps);
10931extern size_t __mbrtowc (wchar_t *__restrict __pwc,
10932 __const char *__restrict __s, size_t __n,
10933 __mbstate_t *__restrict __p);
10934
10935
10936extern size_t __wcrtomb (char *__restrict __s, wchar_t __wc,
10937 __mbstate_t *__restrict __ps);
10938extern size_t __mbsrtowcs (wchar_t *__restrict __dst,
10939 __const char **__restrict __src,
10940 size_t __len, __mbstate_t *__restrict __ps);
10941extern size_t __wcsrtombs (char *__restrict __dst,
10942 __const wchar_t **__restrict __src,
10943 size_t __len, __mbstate_t *__restrict __ps);
10944extern size_t __mbsnrtowcs (wchar_t *__restrict __dst,
10945 __const char **__restrict __src, size_t __nmc,
10946 size_t __len, __mbstate_t *__restrict __ps);
10947extern size_t __wcsnrtombs (char *__restrict __dst,
10948 __const wchar_t **__restrict __src,
10949 size_t __nwc, size_t __len,
10950 __mbstate_t *__restrict __ps);
10951extern wchar_t *__wcsncpy (wchar_t *__restrict __dest,
10952 __const wchar_t *__restrict __src, size_t __n);
10953extern wchar_t *__wcpcpy (wchar_t *__dest, __const wchar_t *__src);
10954extern wchar_t *__wcpncpy (wchar_t *__dest, __const wchar_t *__src,
10955 size_t __n);
10956extern wchar_t *__wmemcpy (wchar_t *__s1, __const wchar_t *s2,
10957 size_t __n);
10958extern wchar_t *__wmempcpy (wchar_t *__restrict __s1,
10959 __const wchar_t *__restrict __s2,
10960 size_t __n);
10961extern wchar_t *__wmemmove (wchar_t *__s1, __const wchar_t *__s2,
10962 size_t __n);
10963extern wchar_t *__wcschrnul (__const wchar_t *__s, wchar_t __wc)
10964 __attribute__ ((__pure__));
10965
10966extern int __vfwscanf (__FILE *__restrict __s,
10967 __const wchar_t *__restrict __format,
10968 __gnuc_va_list __arg)
10969 ;
10970extern int __vswprintf (wchar_t *__restrict __s, size_t __n,
10971 __const wchar_t *__restrict __format,
10972 __gnuc_va_list __arg)
10973 ;
10974extern int __fwprintf (__FILE *__restrict __s,
10975 __const wchar_t *__restrict __format, ...)
10976 ;
10977extern int __vfwprintf (__FILE *__restrict __s,
10978 __const wchar_t *__restrict __format,
10979 __gnuc_va_list __arg)
10980 ;
10981
10982extern int __vfwprintf_chk (FILE *__restrict __s, int __flag,
10983 const wchar_t *__restrict __format,
10984 __gnuc_va_list __arg)
10985 ;
10986extern int __vswprintf_chk (wchar_t *__restrict __s, size_t __n,
10987 int __flag, size_t __s_len,
10988 __const wchar_t *__restrict __format,
10989 __gnuc_va_list __arg)
10990 ;
10991
10992
10993
10994
10995extern int __isoc99_fwscanf (__FILE *__restrict __stream,
10996 __const wchar_t *__restrict __format, ...);
10997extern int __isoc99_wscanf (__const wchar_t *__restrict __format, ...);
10998extern int __isoc99_swscanf (__const wchar_t *__restrict __s,
10999 __const wchar_t *__restrict __format, ...)
11000 __attribute__ ((__nothrow__ ));
11001extern int __isoc99_vfwscanf (__FILE *__restrict __s,
11002 __const wchar_t *__restrict __format,
11003 __gnuc_va_list __arg);
11004extern int __isoc99_vwscanf (__const wchar_t *__restrict __format,
11005 __gnuc_va_list __arg);
11006extern int __isoc99_vswscanf (__const wchar_t *__restrict __s,
11007 __const wchar_t *__restrict __format,
11008 __gnuc_va_list __arg) __attribute__ ((__nothrow__ ));
11009
11010
11011
11012
11013extern size_t __mbsrtowcs_l (wchar_t *dst, const char **src, size_t len,
11014 mbstate_t *ps, __locale_t l) ;
11015# 25 "fxprintf.c" 2
11016# 1 "../include/string.h" 1
11017
11018
11019# 1 "../include/sys/types.h" 1
11020# 4 "../include/string.h" 2
11021
11022extern void *__memccpy (void *__dest, __const void *__src,
11023 int __c, size_t __n);
11024
11025extern size_t __strnlen (__const char *__string, size_t __maxlen)
11026 __attribute__ ((__pure__));
11027
11028extern char *__strsep (char **__stringp, __const char *__delim);
11029
11030extern int __strverscmp (__const char *__s1, __const char *__s2)
11031 __attribute__ ((__pure__));
11032
11033extern int __strncasecmp (__const char *__s1, __const char *__s2,
11034 size_t __n)
11035 __attribute__ ((__pure__));
11036
11037extern int __strcasecmp (__const char *__s1, __const char *__s2)
11038 __attribute__ ((__pure__));
11039
11040extern char *__strcasestr (__const char *__haystack, __const char *__needle)
11041 __attribute__ ((__pure__));
11042
11043extern char *__strdup (__const char *__string)
11044 __attribute__ ((__malloc__));
11045extern char *__strndup (__const char *__string, size_t __n)
11046 __attribute__ ((__malloc__));
11047
11048extern void *__rawmemchr (__const void *__s, int __c)
11049 __attribute__ ((__pure__));
11050
11051extern char *__strchrnul (__const char *__s, int __c)
11052 __attribute__ ((__pure__));
11053
11054extern void *__memrchr (__const void *__s, int __c, size_t __n)
11055 __attribute__ ((__pure__));
11056
11057extern void *__memchr (__const void *__s, int __c, size_t __n)
11058 __attribute__ ((__pure__));
11059
11060extern int __ffs (int __i) __attribute__ ((const));
11061
11062extern char *__strerror_r (int __errnum, char *__buf, size_t __buflen);
11063
11064
11065
11066# 1 "../string/string.h" 1
11067# 29 "../string/string.h"
11068
11069
11070
11071
11072
11073# 1 "/usr/lib/gcc/armv5te-iwmmxt-linux-gnueabi/4.7.3/include/stddef.h" 1 3 4
11074# 35 "../string/string.h" 2
11075
11076
11077
11078
11079
11080
11081
11082
11083
11084extern void *memcpy (void *__restrict __dest,
11085 __const void *__restrict __src, size_t __n)
11086 __attribute__ ((__nothrow__ )) ;
11087
11088
11089extern void *memmove (void *__dest, __const void *__src, size_t __n)
11090 __attribute__ ((__nothrow__ )) ;
11091
11092
11093
11094
11095
11096
11097extern void *memccpy (void *__restrict __dest, __const void *__restrict __src,
11098 int __c, size_t __n)
11099 __attribute__ ((__nothrow__ )) ;
11100
11101
11102
11103
11104
11105extern void *memset (void *__s, int __c, size_t __n) __attribute__ ((__nothrow__ )) ;
11106
11107
11108extern int memcmp (__const void *__s1, __const void *__s2, size_t __n)
11109 __attribute__ ((__nothrow__ )) __attribute__ ((__pure__)) ;
11110# 95 "../string/string.h"
11111extern void *memchr (__const void *__s, int __c, size_t __n)
11112 __attribute__ ((__nothrow__ )) __attribute__ ((__pure__)) ;
11113
11114
11115# 109 "../string/string.h"
11116extern void *rawmemchr (__const void *__s, int __c)
11117 __attribute__ ((__nothrow__ )) __attribute__ ((__pure__)) ;
11118# 120 "../string/string.h"
11119extern void *memrchr (__const void *__s, int __c, size_t __n)
11120 __attribute__ ((__nothrow__ )) __attribute__ ((__pure__)) ;
11121
11122
11123
11124
11125
11126
11127extern char *strcpy (char *__restrict __dest, __const char *__restrict __src)
11128 __attribute__ ((__nothrow__ )) ;
11129
11130extern char *strncpy (char *__restrict __dest,
11131 __const char *__restrict __src, size_t __n)
11132 __attribute__ ((__nothrow__ )) ;
11133
11134
11135extern char *strcat (char *__restrict __dest, __const char *__restrict __src)
11136 __attribute__ ((__nothrow__ )) ;
11137
11138extern char *strncat (char *__restrict __dest, __const char *__restrict __src,
11139 size_t __n) __attribute__ ((__nothrow__ )) ;
11140
11141
11142extern int strcmp (__const char *__s1, __const char *__s2)
11143 __attribute__ ((__nothrow__ )) __attribute__ ((__pure__)) ;
11144
11145extern int strncmp (__const char *__s1, __const char *__s2, size_t __n)
11146 __attribute__ ((__nothrow__ )) __attribute__ ((__pure__)) ;
11147
11148
11149extern int strcoll (__const char *__s1, __const char *__s2)
11150 __attribute__ ((__nothrow__ )) __attribute__ ((__pure__)) ;
11151
11152extern size_t strxfrm (char *__restrict __dest,
11153 __const char *__restrict __src, size_t __n)
11154 __attribute__ ((__nothrow__ )) ;
11155
11156
11157
11158
11159
11160
11161# 1 "../include/xlocale.h" 1
11162# 163 "../string/string.h" 2
11163
11164
11165extern int strcoll_l (__const char *__s1, __const char *__s2, __locale_t __l)
11166 __attribute__ ((__nothrow__ )) __attribute__ ((__pure__)) ;
11167
11168extern size_t strxfrm_l (char *__dest, __const char *__src, size_t __n,
11169 __locale_t __l) __attribute__ ((__nothrow__ )) ;
11170
11171
11172
11173
11174
11175extern char *strdup (__const char *__s)
11176 __attribute__ ((__nothrow__ )) __attribute__ ((__malloc__)) ;
11177
11178
11179
11180
11181
11182
11183extern char *strndup (__const char *__string, size_t __n)
11184 __attribute__ ((__nothrow__ )) __attribute__ ((__malloc__)) ;
11185# 210 "../string/string.h"
11186
11187# 235 "../string/string.h"
11188extern char *strchr (__const char *__s, int __c)
11189 __attribute__ ((__nothrow__ )) __attribute__ ((__pure__)) ;
11190# 262 "../string/string.h"
11191extern char *strrchr (__const char *__s, int __c)
11192 __attribute__ ((__nothrow__ )) __attribute__ ((__pure__)) ;
11193
11194
11195# 276 "../string/string.h"
11196extern char *strchrnul (__const char *__s, int __c)
11197 __attribute__ ((__nothrow__ )) __attribute__ ((__pure__)) ;
11198
11199
11200
11201
11202
11203
11204extern size_t strcspn (__const char *__s, __const char *__reject)
11205 __attribute__ ((__nothrow__ )) __attribute__ ((__pure__)) ;
11206
11207
11208extern size_t strspn (__const char *__s, __const char *__accept)
11209 __attribute__ ((__nothrow__ )) __attribute__ ((__pure__)) ;
11210# 314 "../string/string.h"
11211extern char *strpbrk (__const char *__s, __const char *__accept)
11212 __attribute__ ((__nothrow__ )) __attribute__ ((__pure__)) ;
11213# 342 "../string/string.h"
11214extern char *strstr (__const char *__haystack, __const char *__needle)
11215 __attribute__ ((__nothrow__ )) __attribute__ ((__pure__)) ;
11216
11217
11218
11219
11220extern char *strtok (char *__restrict __s, __const char *__restrict __delim)
11221 __attribute__ ((__nothrow__ )) ;
11222
11223
11224
11225
11226extern char *__strtok_r (char *__restrict __s,
11227 __const char *__restrict __delim,
11228 char **__restrict __save_ptr)
11229 __attribute__ ((__nothrow__ )) ;
11230
11231extern char *strtok_r (char *__restrict __s, __const char *__restrict __delim,
11232 char **__restrict __save_ptr)
11233 __attribute__ ((__nothrow__ )) ;
11234# 373 "../string/string.h"
11235extern char *strcasestr (__const char *__haystack, __const char *__needle)
11236 __attribute__ ((__nothrow__ )) __attribute__ ((__pure__)) ;
11237
11238
11239
11240
11241
11242
11243
11244extern void *memmem (__const void *__haystack, size_t __haystacklen,
11245 __const void *__needle, size_t __needlelen)
11246 __attribute__ ((__nothrow__ )) __attribute__ ((__pure__)) ;
11247
11248
11249
11250extern void *__mempcpy (void *__restrict __dest,
11251 __const void *__restrict __src, size_t __n)
11252 __attribute__ ((__nothrow__ )) ;
11253extern void *mempcpy (void *__restrict __dest,
11254 __const void *__restrict __src, size_t __n)
11255 __attribute__ ((__nothrow__ )) ;
11256
11257
11258
11259
11260
11261extern size_t strlen (__const char *__s)
11262 __attribute__ ((__nothrow__ )) __attribute__ ((__pure__)) ;
11263
11264
11265
11266
11267
11268extern size_t strnlen (__const char *__string, size_t __maxlen)
11269 __attribute__ ((__nothrow__ )) __attribute__ ((__pure__)) ;
11270
11271
11272
11273
11274
11275extern char *strerror (int __errnum) __attribute__ ((__nothrow__ ));
11276
11277# 438 "../string/string.h"
11278extern char *strerror_r (int __errnum, char *__buf, size_t __buflen)
11279 __attribute__ ((__nothrow__ )) ;
11280
11281
11282
11283
11284
11285extern char *strerror_l (int __errnum, __locale_t __l) __attribute__ ((__nothrow__ ));
11286
11287
11288
11289
11290
11291extern void __bzero (void *__s, size_t __n) __attribute__ ((__nothrow__ )) ;
11292
11293
11294
11295extern void bcopy (__const void *__src, void *__dest, size_t __n)
11296 __attribute__ ((__nothrow__ )) ;
11297
11298
11299extern void bzero (void *__s, size_t __n) __attribute__ ((__nothrow__ )) ;
11300
11301
11302extern int bcmp (__const void *__s1, __const void *__s2, size_t __n)
11303 __attribute__ ((__nothrow__ )) __attribute__ ((__pure__)) ;
11304# 489 "../string/string.h"
11305extern char *index (__const char *__s, int __c)
11306 __attribute__ ((__nothrow__ )) __attribute__ ((__pure__)) ;
11307# 517 "../string/string.h"
11308extern char *rindex (__const char *__s, int __c)
11309 __attribute__ ((__nothrow__ )) __attribute__ ((__pure__)) ;
11310
11311
11312
11313
11314extern int ffs (int __i) __attribute__ ((__nothrow__ )) __attribute__ ((__const__));
11315
11316
11317
11318
11319extern int ffsl (long int __l) __attribute__ ((__nothrow__ )) __attribute__ ((__const__));
11320
11321__extension__ extern int ffsll (long long int __ll)
11322 __attribute__ ((__nothrow__ )) __attribute__ ((__const__));
11323
11324
11325
11326
11327extern int strcasecmp (__const char *__s1, __const char *__s2)
11328 __attribute__ ((__nothrow__ )) __attribute__ ((__pure__)) ;
11329
11330
11331extern int strncasecmp (__const char *__s1, __const char *__s2, size_t __n)
11332 __attribute__ ((__nothrow__ )) __attribute__ ((__pure__)) ;
11333
11334
11335
11336
11337
11338extern int strcasecmp_l (__const char *__s1, __const char *__s2,
11339 __locale_t __loc)
11340 __attribute__ ((__nothrow__ )) __attribute__ ((__pure__)) ;
11341
11342extern int strncasecmp_l (__const char *__s1, __const char *__s2,
11343 size_t __n, __locale_t __loc)
11344 __attribute__ ((__nothrow__ )) __attribute__ ((__pure__)) ;
11345
11346
11347
11348
11349
11350extern char *strsep (char **__restrict __stringp,
11351 __const char *__restrict __delim)
11352 __attribute__ ((__nothrow__ )) ;
11353
11354
11355
11356
11357extern char *strsignal (int __sig) __attribute__ ((__nothrow__ ));
11358
11359
11360extern char *__stpcpy (char *__restrict __dest, __const char *__restrict __src)
11361 __attribute__ ((__nothrow__ )) ;
11362extern char *stpcpy (char *__restrict __dest, __const char *__restrict __src)
11363 __attribute__ ((__nothrow__ )) ;
11364
11365
11366
11367extern char *__stpncpy (char *__restrict __dest,
11368 __const char *__restrict __src, size_t __n)
11369 __attribute__ ((__nothrow__ )) ;
11370extern char *stpncpy (char *__restrict __dest,
11371 __const char *__restrict __src, size_t __n)
11372 __attribute__ ((__nothrow__ )) ;
11373
11374
11375
11376
11377extern int strverscmp (__const char *__s1, __const char *__s2)
11378 __attribute__ ((__nothrow__ )) __attribute__ ((__pure__)) ;
11379
11380
11381extern char *strfry (char *__string) __attribute__ ((__nothrow__ )) ;
11382
11383
11384extern void *memfrob (void *__s, size_t __n) __attribute__ ((__nothrow__ )) ;
11385# 606 "../string/string.h"
11386extern char *basename (__const char *__filename) __attribute__ ((__nothrow__ )) ;
11387# 634 "../string/string.h"
11388# 1 "../ports/sysdeps/arm/bits/string.h" 1
11389# 635 "../string/string.h" 2
11390
11391
11392# 1 "../include/bits/string2.h" 1
11393# 1 "../string/bits/string2.h" 1
11394# 80 "../string/bits/string2.h"
11395typedef struct { unsigned char __arr[2]; } __attribute__ ((__packed__)) __STRING2_COPY_ARR2;
11396typedef struct { unsigned char __arr[3]; } __attribute__ ((__packed__)) __STRING2_COPY_ARR3;
11397typedef struct { unsigned char __arr[4]; } __attribute__ ((__packed__)) __STRING2_COPY_ARR4;
11398typedef struct { unsigned char __arr[5]; } __attribute__ ((__packed__)) __STRING2_COPY_ARR5;
11399typedef struct { unsigned char __arr[6]; } __attribute__ ((__packed__)) __STRING2_COPY_ARR6;
11400typedef struct { unsigned char __arr[7]; } __attribute__ ((__packed__)) __STRING2_COPY_ARR7;
11401typedef struct { unsigned char __arr[8]; } __attribute__ ((__packed__)) __STRING2_COPY_ARR8;
11402# 394 "../string/bits/string2.h"
11403extern void *__rawmemchr (const void *__s, int __c);
11404# 969 "../string/bits/string2.h"
11405extern __inline size_t __strcspn_c1 (__const char *__s, int __reject);
11406extern __inline size_t
11407__strcspn_c1 (__const char *__s, int __reject)
11408{
11409 register size_t __result = 0;
11410 while (__s[__result] != '\0' && __s[__result] != __reject)
11411 ++__result;
11412 return __result;
11413}
11414
11415extern __inline size_t __strcspn_c2 (__const char *__s, int __reject1,
11416 int __reject2);
11417extern __inline size_t
11418__strcspn_c2 (__const char *__s, int __reject1, int __reject2)
11419{
11420 register size_t __result = 0;
11421 while (__s[__result] != '\0' && __s[__result] != __reject1
11422 && __s[__result] != __reject2)
11423 ++__result;
11424 return __result;
11425}
11426
11427extern __inline size_t __strcspn_c3 (__const char *__s, int __reject1,
11428 int __reject2, int __reject3);
11429extern __inline size_t
11430__strcspn_c3 (__const char *__s, int __reject1, int __reject2,
11431 int __reject3)
11432{
11433 register size_t __result = 0;
11434 while (__s[__result] != '\0' && __s[__result] != __reject1
11435 && __s[__result] != __reject2 && __s[__result] != __reject3)
11436 ++__result;
11437 return __result;
11438}
11439# 1045 "../string/bits/string2.h"
11440extern __inline size_t __strspn_c1 (__const char *__s, int __accept);
11441extern __inline size_t
11442__strspn_c1 (__const char *__s, int __accept)
11443{
11444 register size_t __result = 0;
11445
11446 while (__s[__result] == __accept)
11447 ++__result;
11448 return __result;
11449}
11450
11451extern __inline size_t __strspn_c2 (__const char *__s, int __accept1,
11452 int __accept2);
11453extern __inline size_t
11454__strspn_c2 (__const char *__s, int __accept1, int __accept2)
11455{
11456 register size_t __result = 0;
11457
11458 while (__s[__result] == __accept1 || __s[__result] == __accept2)
11459 ++__result;
11460 return __result;
11461}
11462
11463extern __inline size_t __strspn_c3 (__const char *__s, int __accept1,
11464 int __accept2, int __accept3);
11465extern __inline size_t
11466__strspn_c3 (__const char *__s, int __accept1, int __accept2, int __accept3)
11467{
11468 register size_t __result = 0;
11469
11470 while (__s[__result] == __accept1 || __s[__result] == __accept2
11471 || __s[__result] == __accept3)
11472 ++__result;
11473 return __result;
11474}
11475# 1121 "../string/bits/string2.h"
11476extern __inline char *__strpbrk_c2 (__const char *__s, int __accept1,
11477 int __accept2);
11478extern __inline char *
11479__strpbrk_c2 (__const char *__s, int __accept1, int __accept2)
11480{
11481
11482 while (*__s != '\0' && *__s != __accept1 && *__s != __accept2)
11483 ++__s;
11484 return *__s == '\0' ? ((void *)0) : (char *) (size_t) __s;
11485}
11486
11487extern __inline char *__strpbrk_c3 (__const char *__s, int __accept1,
11488 int __accept2, int __accept3);
11489extern __inline char *
11490__strpbrk_c3 (__const char *__s, int __accept1, int __accept2,
11491 int __accept3)
11492{
11493
11494 while (*__s != '\0' && *__s != __accept1 && *__s != __accept2
11495 && *__s != __accept3)
11496 ++__s;
11497 return *__s == '\0' ? ((void *)0) : (char *) (size_t) __s;
11498}
11499# 1172 "../string/bits/string2.h"
11500extern __inline char *__strtok_r_1c (char *__s, char __sep, char **__nextp);
11501extern __inline char *
11502__strtok_r_1c (char *__s, char __sep, char **__nextp)
11503{
11504 char *__result;
11505 if (__s == ((void *)0))
11506 __s = *__nextp;
11507 while (*__s == __sep)
11508 ++__s;
11509 __result = ((void *)0);
11510 if (*__s != '\0')
11511 {
11512 __result = __s++;
11513 while (*__s != '\0')
11514 if (*__s++ == __sep)
11515 {
11516 __s[-1] = '\0';
11517 break;
11518 }
11519 }
11520 *__nextp = __s;
11521 return __result;
11522}
11523# 1204 "../string/bits/string2.h"
11524extern char *__strsep_g (char **__stringp, __const char *__delim);
11525# 1222 "../string/bits/string2.h"
11526extern __inline char *__strsep_1c (char **__s, char __reject);
11527extern __inline char *
11528__strsep_1c (char **__s, char __reject)
11529{
11530 register char *__retval = *__s;
11531 if (__retval != ((void *)0) && (*__s = (__extension__ (__builtin_constant_p (__reject) && !__builtin_constant_p (__retval) && (__reject) == '\0' ? (char *) __rawmemchr (__retval, __reject) : __builtin_strchr (__retval, __reject)))) != ((void *)0))
11532 *(*__s)++ = '\0';
11533 return __retval;
11534}
11535
11536extern __inline char *__strsep_2c (char **__s, char __reject1, char __reject2);
11537extern __inline char *
11538__strsep_2c (char **__s, char __reject1, char __reject2)
11539{
11540 register char *__retval = *__s;
11541 if (__retval != ((void *)0))
11542 {
11543 register char *__cp = __retval;
11544 while (1)
11545 {
11546 if (*__cp == '\0')
11547 {
11548 __cp = ((void *)0);
11549 break;
11550 }
11551 if (*__cp == __reject1 || *__cp == __reject2)
11552 {
11553 *__cp++ = '\0';
11554 break;
11555 }
11556 ++__cp;
11557 }
11558 *__s = __cp;
11559 }
11560 return __retval;
11561}
11562
11563extern __inline char *__strsep_3c (char **__s, char __reject1, char __reject2,
11564 char __reject3);
11565extern __inline char *
11566__strsep_3c (char **__s, char __reject1, char __reject2, char __reject3)
11567{
11568 register char *__retval = *__s;
11569 if (__retval != ((void *)0))
11570 {
11571 register char *__cp = __retval;
11572 while (1)
11573 {
11574 if (*__cp == '\0')
11575 {
11576 __cp = ((void *)0);
11577 break;
11578 }
11579 if (*__cp == __reject1 || *__cp == __reject2 || *__cp == __reject3)
11580 {
11581 *__cp++ = '\0';
11582 break;
11583 }
11584 ++__cp;
11585 }
11586 *__s = __cp;
11587 }
11588 return __retval;
11589}
11590# 1303 "../string/bits/string2.h"
11591extern char *__strdup (__const char *__string) __attribute__ ((__nothrow__ )) __attribute__ ((__malloc__));
11592# 1322 "../string/bits/string2.h"
11593extern char *__strndup (__const char *__string, size_t __n)
11594 __attribute__ ((__nothrow__ )) __attribute__ ((__malloc__));
11595# 1 "../include/bits/string2.h" 2
11596# 638 "../string/string.h" 2
11597# 646 "../string/string.h"
11598
11599# 50 "../include/string.h" 2
11600
11601extern __typeof (strcoll_l) __strcoll_l;
11602extern __typeof (strxfrm_l) __strxfrm_l;
11603extern __typeof (strcasecmp_l) __strcasecmp_l;
11604extern __typeof (strncasecmp_l) __strncasecmp_l;
11605# 70 "../include/string.h"
11606
11607
11608
11609
11610
11611
11612
11613
11614
11615
11616
11617
11618
11619
11620
11621
11622extern char *__strsep_g (char **__stringp, __const char *__delim);
11623
11624
11625
11626
11627
11628
11629
11630
11631
11632
11633
11634
11635
11636
11637
11638
11639
11640
11641
11642
11643
11644
11645
11646# 120 "../include/string.h"
11647extern void *__memcpy_chk (void *__restrict __dest,
11648 const void *__restrict __src, size_t __len,
11649 size_t __destlen) __attribute__ ((__nothrow__ ));
11650extern void *__memmove_chk (void *__dest, const void *__src, size_t __len,
11651 size_t __destlen) __attribute__ ((__nothrow__ ));
11652extern void *__mempcpy_chk (void *__restrict __dest,
11653 const void *__restrict __src, size_t __len,
11654 size_t __destlen) __attribute__ ((__nothrow__ ));
11655extern void *__memset_chk (void *__dest, int __ch, size_t __len,
11656 size_t __destlen) __attribute__ ((__nothrow__ ));
11657extern char *__strcpy_chk (char *__restrict __dest,
11658 const char *__restrict __src,
11659 size_t __destlen) __attribute__ ((__nothrow__ ));
11660extern char *__stpcpy_chk (char *__restrict __dest,
11661 const char *__restrict __src,
11662 size_t __destlen) __attribute__ ((__nothrow__ ));
11663extern char *__strncpy_chk (char *__restrict __dest,
11664 const char *__restrict __src,
11665 size_t __len, size_t __destlen) __attribute__ ((__nothrow__ ));
11666extern char *__strcat_chk (char *__restrict __dest,
11667 const char *__restrict __src,
11668 size_t __destlen) __attribute__ ((__nothrow__ ));
11669extern char *__strncat_chk (char *__restrict __dest,
11670 const char *__restrict __src,
11671 size_t __len, size_t __destlen) __attribute__ ((__nothrow__ ));
11672# 26 "fxprintf.c" 2
11673# 1 "../libio/libioP.h" 1
11674# 39 "../libio/libioP.h"
11675# 1 "../sysdeps/generic/math_ldbl_opt.h" 1
11676# 40 "../libio/libioP.h" 2
11677
11678# 1 "../libio/iolibio.h" 1
11679# 1 "../include/libio.h" 1
11680# 2 "../libio/iolibio.h" 2
11681# 10 "../libio/iolibio.h"
11682extern int _IO_fclose (_IO_FILE*);
11683extern int _IO_new_fclose (_IO_FILE*);
11684extern int _IO_old_fclose (_IO_FILE*);
11685extern _IO_FILE *_IO_fdopen (int, const char*) __attribute__ ((__nothrow__ ));
11686extern _IO_FILE *_IO_old_fdopen (int, const char*) __attribute__ ((__nothrow__ ));
11687extern _IO_FILE *_IO_new_fdopen (int, const char*) __attribute__ ((__nothrow__ ));
11688extern int _IO_fflush (_IO_FILE*);
11689extern int _IO_fgetpos (_IO_FILE*, _G_fpos_t*);
11690extern int _IO_fgetpos64 (_IO_FILE*, _G_fpos64_t*);
11691extern char* _IO_fgets (char*, int, _IO_FILE*);
11692extern _IO_FILE *_IO_fopen (const char*, const char*);
11693extern _IO_FILE *_IO_old_fopen (const char*, const char*);
11694extern _IO_FILE *_IO_new_fopen (const char*, const char*);
11695extern _IO_FILE *_IO_fopen64 (const char*, const char*);
11696extern _IO_FILE *__fopen_internal (const char*, const char*, int);
11697extern _IO_FILE *__fopen_maybe_mmap (_IO_FILE *) __attribute__ ((__nothrow__ ));
11698extern int _IO_fprintf (_IO_FILE*, const char*, ...);
11699extern int _IO_fputs (const char*, _IO_FILE*);
11700
11701extern int _IO_fsetpos (_IO_FILE*, const _G_fpos_t *);
11702extern int _IO_fsetpos64 (_IO_FILE*, const _G_fpos64_t *);
11703extern long int _IO_ftell (_IO_FILE*);
11704extern size_t _IO_fread (void*, size_t, size_t, _IO_FILE*);
11705extern size_t _IO_fwrite (const void*, size_t, size_t, _IO_FILE*);
11706extern char* _IO_gets (char*);
11707extern void _IO_perror (const char*) __attribute__ ((__nothrow__ ));
11708extern int _IO_printf (const char*, ...);
11709extern int _IO_puts (const char*);
11710extern int _IO_scanf (const char*, ...);
11711extern void _IO_setbuffer (_IO_FILE *, char*, size_t) __attribute__ ((__nothrow__ ));
11712extern int _IO_setvbuf (_IO_FILE*, char*, int, size_t) __attribute__ ((__nothrow__ ));
11713extern int _IO_sscanf (const char*, const char*, ...) __attribute__ ((__nothrow__ ));
11714extern int _IO_sprintf (char *, const char*, ...) __attribute__ ((__nothrow__ ));
11715extern int _IO_ungetc (int, _IO_FILE*) __attribute__ ((__nothrow__ ));
11716extern int _IO_vsscanf (const char *, const char *, __gnuc_va_list) __attribute__ ((__nothrow__ ));
11717extern int _IO_vsprintf (char*, const char*, __gnuc_va_list) __attribute__ ((__nothrow__ ));
11718extern int _IO_vswprintf (wchar_t*, size_t, const wchar_t*, __gnuc_va_list)
11719 __attribute__ ((__nothrow__ ));
11720
11721struct obstack;
11722extern int _IO_obstack_vprintf (struct obstack *, const char *, __gnuc_va_list)
11723 __attribute__ ((__nothrow__ ));
11724extern int _IO_obstack_printf (struct obstack *, const char *, ...) __attribute__ ((__nothrow__ ));
11725# 73 "../libio/iolibio.h"
11726extern _IO_FILE* _IO_popen (const char*, const char*) __attribute__ ((__nothrow__ ));
11727extern _IO_FILE* _IO_new_popen (const char*, const char*) __attribute__ ((__nothrow__ ));
11728extern _IO_FILE* _IO_old_popen (const char*, const char*) __attribute__ ((__nothrow__ ));
11729extern int __new_pclose (_IO_FILE *) __attribute__ ((__nothrow__ ));
11730extern int __old_pclose (_IO_FILE *) __attribute__ ((__nothrow__ ));
11731
11732
11733
11734
11735_IO_FILE *__new_freopen (const char *, const char *, _IO_FILE *) __attribute__ ((__nothrow__ ));
11736_IO_FILE *__old_freopen (const char *, const char *, _IO_FILE *) __attribute__ ((__nothrow__ ));
11737
11738
11739extern void _IO_setbuffer_internal (_IO_FILE *, char*, size_t) __attribute__ ((__nothrow__ ));
11740extern size_t _IO_fread_internal (void*, size_t, size_t, _IO_FILE*)
11741 __attribute__ ((__nothrow__ ));
11742extern _IO_FILE *_IO_fdopen_internal (int, const char*) __attribute__ ((__nothrow__ ));
11743extern int _IO_vsprintf_internal (char*, const char*, __gnuc_va_list) __attribute__ ((__nothrow__ ));
11744extern int _IO_fflush_internal (_IO_FILE*);
11745extern size_t _IO_fwrite_internal (const void*, size_t,
11746 size_t, _IO_FILE*);
11747extern long int _IO_ftell_internal (_IO_FILE*);
11748extern int _IO_fputs_internal (const char*, _IO_FILE*);
11749extern int _IO_setvbuf_internal (_IO_FILE*, char*, int, size_t) __attribute__ ((__nothrow__ ));
11750# 42 "../libio/libioP.h" 2
11751# 94 "../libio/libioP.h"
11752# 1 "../include/shlib-compat.h" 1
11753# 26 "../include/shlib-compat.h"
11754# 1 "/var/tmp/portage/sys-libs/glibc-2.15-r3/work/build-default-armv5te-iwmmxt-linux-gnueabi-nptl/abi-versions.h" 1
11755# 27 "../include/shlib-compat.h" 2
11756# 95 "../libio/libioP.h" 2
11757# 154 "../libio/libioP.h"
11758typedef void (*_IO_finish_t) (_IO_FILE *, int);
11759
11760
11761
11762
11763
11764
11765typedef int (*_IO_overflow_t) (_IO_FILE *, int);
11766
11767
11768
11769
11770
11771
11772
11773typedef int (*_IO_underflow_t) (_IO_FILE *);
11774# 183 "../libio/libioP.h"
11775typedef int (*_IO_pbackfail_t) (_IO_FILE *, int);
11776
11777
11778
11779
11780
11781
11782typedef size_t (*_IO_xsputn_t) (_IO_FILE *FP, const void *DATA,
11783 size_t N);
11784
11785
11786
11787
11788
11789
11790typedef size_t (*_IO_xsgetn_t) (_IO_FILE *FP, void *DATA, size_t N);
11791# 207 "../libio/libioP.h"
11792typedef __off64_t (*_IO_seekoff_t) (_IO_FILE *FP, __off64_t OFF, int DIR,
11793 int MODE);
11794# 217 "../libio/libioP.h"
11795typedef __off64_t (*_IO_seekpos_t) (_IO_FILE *, __off64_t, int);
11796
11797
11798
11799
11800
11801typedef _IO_FILE* (*_IO_setbuf_t) (_IO_FILE *, char *, __ssize_t);
11802
11803
11804
11805
11806
11807
11808typedef int (*_IO_sync_t) (_IO_FILE *);
11809
11810
11811
11812
11813
11814
11815typedef int (*_IO_doallocate_t) (_IO_FILE *);
11816# 256 "../libio/libioP.h"
11817typedef __ssize_t (*_IO_read_t) (_IO_FILE *, void *, __ssize_t);
11818
11819
11820
11821
11822
11823
11824
11825typedef __ssize_t (*_IO_write_t) (_IO_FILE *, const void *, __ssize_t);
11826
11827
11828
11829
11830
11831
11832
11833typedef __off64_t (*_IO_seek_t) (_IO_FILE *, __off64_t, int);
11834
11835
11836
11837
11838
11839
11840
11841typedef int (*_IO_close_t) (_IO_FILE *);
11842
11843
11844
11845
11846
11847
11848
11849typedef int (*_IO_stat_t) (_IO_FILE *, void *);
11850
11851
11852
11853
11854
11855
11856typedef int (*_IO_showmanyc_t) (_IO_FILE *);
11857
11858
11859
11860
11861
11862typedef void (*_IO_imbue_t) (_IO_FILE *, void *);
11863
11864
11865
11866
11867
11868
11869
11870struct _IO_jump_t
11871{
11872 size_t __dummy;
11873
11874 size_t __dummy2;
11875
11876 _IO_finish_t __finish;
11877 _IO_overflow_t __overflow;
11878 _IO_underflow_t __underflow;
11879 _IO_underflow_t __uflow;
11880 _IO_pbackfail_t __pbackfail;
11881
11882 _IO_xsputn_t __xsputn;
11883 _IO_xsgetn_t __xsgetn;
11884 _IO_seekoff_t __seekoff;
11885 _IO_seekpos_t __seekpos;
11886 _IO_setbuf_t __setbuf;
11887 _IO_sync_t __sync;
11888 _IO_doallocate_t __doallocate;
11889 _IO_read_t __read;
11890 _IO_write_t __write;
11891 _IO_seek_t __seek;
11892 _IO_close_t __close;
11893 _IO_stat_t __stat;
11894 _IO_showmanyc_t __showmanyc;
11895 _IO_imbue_t __imbue;
11896
11897
11898
11899
11900};
11901
11902
11903
11904
11905
11906
11907struct _IO_FILE_plus
11908{
11909 _IO_FILE file;
11910 const struct _IO_jump_t *vtable;
11911};
11912# 364 "../libio/libioP.h"
11913struct _IO_cookie_file
11914{
11915 struct _IO_FILE_plus __fp;
11916 void *__cookie;
11917 _IO_cookie_io_functions_t __io_functions;
11918};
11919
11920_IO_FILE *_IO_fopencookie (void *cookie, const char *mode,
11921 _IO_cookie_io_functions_t io_functions);
11922
11923
11924
11925
11926typedef struct _IO_FILE *_IO_ITER;
11927
11928
11929
11930extern void _IO_switch_to_main_get_area (_IO_FILE *) __attribute__ ((__nothrow__ ));
11931extern void _IO_switch_to_backup_area (_IO_FILE *) __attribute__ ((__nothrow__ ));
11932extern int _IO_switch_to_get_mode (_IO_FILE *);
11933extern void _IO_init (_IO_FILE *, int) __attribute__ ((__nothrow__ ));
11934extern int _IO_sputbackc (_IO_FILE *, int) __attribute__ ((__nothrow__ ));
11935extern int _IO_sungetc (_IO_FILE *) __attribute__ ((__nothrow__ ));
11936extern void _IO_un_link (struct _IO_FILE_plus *) __attribute__ ((__nothrow__ ));
11937extern void _IO_link_in (struct _IO_FILE_plus *) __attribute__ ((__nothrow__ ));
11938extern void _IO_doallocbuf (_IO_FILE *) __attribute__ ((__nothrow__ ));
11939extern void _IO_unsave_markers (_IO_FILE *) __attribute__ ((__nothrow__ ));
11940extern void _IO_setb (_IO_FILE *, char *, char *, int) __attribute__ ((__nothrow__ ));
11941extern unsigned _IO_adjust_column (unsigned, const char *, int) __attribute__ ((__nothrow__ ));
11942
11943
11944extern void _IO_switch_to_main_wget_area (_IO_FILE *) __attribute__ ((__nothrow__ ));
11945extern void _IO_switch_to_wbackup_area (_IO_FILE *) __attribute__ ((__nothrow__ ));
11946extern int _IO_switch_to_wget_mode (_IO_FILE *);
11947extern void _IO_wsetb (_IO_FILE *, wchar_t *, wchar_t *, int) __attribute__ ((__nothrow__ ));
11948extern wint_t _IO_sputbackwc (_IO_FILE *, wint_t) __attribute__ ((__nothrow__ ));
11949extern wint_t _IO_sungetwc (_IO_FILE *) __attribute__ ((__nothrow__ ));
11950extern void _IO_wdoallocbuf (_IO_FILE *) __attribute__ ((__nothrow__ ));
11951extern void _IO_unsave_wmarkers (_IO_FILE *) __attribute__ ((__nothrow__ ));
11952extern unsigned _IO_adjust_wcolumn (unsigned, const wchar_t *, int) __attribute__ ((__nothrow__ ));
11953
11954
11955
11956extern void _IO_init_marker (struct _IO_marker *, _IO_FILE *);
11957extern void _IO_init_wmarker (struct _IO_marker *, _IO_FILE *);
11958extern void _IO_remove_marker (struct _IO_marker *) __attribute__ ((__nothrow__ ));
11959extern int _IO_marker_difference (struct _IO_marker *, struct _IO_marker *)
11960 __attribute__ ((__nothrow__ ));
11961extern int _IO_marker_delta (struct _IO_marker *) __attribute__ ((__nothrow__ ));
11962extern int _IO_wmarker_delta (struct _IO_marker *) __attribute__ ((__nothrow__ ));
11963extern int _IO_seekmark (_IO_FILE *, struct _IO_marker *, int) __attribute__ ((__nothrow__ ));
11964extern int _IO_seekwmark (_IO_FILE *, struct _IO_marker *, int) __attribute__ ((__nothrow__ ));
11965
11966
11967
11968extern _IO_ITER _IO_iter_begin (void) __attribute__ ((__nothrow__ ));
11969
11970extern _IO_ITER _IO_iter_end (void) __attribute__ ((__nothrow__ ));
11971
11972extern _IO_ITER _IO_iter_next (_IO_ITER) __attribute__ ((__nothrow__ ));
11973
11974extern _IO_FILE *_IO_iter_file (_IO_ITER) __attribute__ ((__nothrow__ ));
11975
11976extern void _IO_list_lock (void) __attribute__ ((__nothrow__ ));
11977
11978extern void _IO_list_unlock (void) __attribute__ ((__nothrow__ ));
11979
11980extern void _IO_list_resetlock (void) __attribute__ ((__nothrow__ ));
11981
11982
11983
11984
11985extern int _IO_default_underflow (_IO_FILE *) __attribute__ ((__nothrow__ ));
11986extern int _IO_default_uflow (_IO_FILE *);
11987extern wint_t _IO_wdefault_uflow (_IO_FILE *);
11988extern int _IO_default_doallocate (_IO_FILE *) __attribute__ ((__nothrow__ ));
11989extern int _IO_wdefault_doallocate (_IO_FILE *) __attribute__ ((__nothrow__ ));
11990extern void _IO_default_finish (_IO_FILE *, int) __attribute__ ((__nothrow__ ));
11991extern void _IO_wdefault_finish (_IO_FILE *, int) __attribute__ ((__nothrow__ ));
11992extern int _IO_default_pbackfail (_IO_FILE *, int) __attribute__ ((__nothrow__ ));
11993extern wint_t _IO_wdefault_pbackfail (_IO_FILE *, wint_t) __attribute__ ((__nothrow__ ));
11994extern _IO_FILE* _IO_default_setbuf (_IO_FILE *, char *, __ssize_t);
11995extern size_t _IO_default_xsputn (_IO_FILE *, const void *, size_t);
11996extern size_t _IO_wdefault_xsputn (_IO_FILE *, const void *, size_t);
11997extern size_t _IO_default_xsgetn (_IO_FILE *, void *, size_t);
11998extern size_t _IO_wdefault_xsgetn (_IO_FILE *, void *, size_t);
11999extern __off64_t _IO_default_seekoff (_IO_FILE *, __off64_t, int, int)
12000 __attribute__ ((__nothrow__ ));
12001extern __off64_t _IO_default_seekpos (_IO_FILE *, __off64_t, int);
12002extern __ssize_t _IO_default_write (_IO_FILE *, const void *, __ssize_t);
12003extern __ssize_t _IO_default_read (_IO_FILE *, void *, __ssize_t);
12004extern int _IO_default_stat (_IO_FILE *, void *) __attribute__ ((__nothrow__ ));
12005extern __off64_t _IO_default_seek (_IO_FILE *, __off64_t, int) __attribute__ ((__nothrow__ ));
12006extern int _IO_default_sync (_IO_FILE *) __attribute__ ((__nothrow__ ));
12007
12008extern int _IO_default_showmanyc (_IO_FILE *) __attribute__ ((__nothrow__ ));
12009extern void _IO_default_imbue (_IO_FILE *, void *) __attribute__ ((__nothrow__ ));
12010
12011extern const struct _IO_jump_t _IO_file_jumps;
12012
12013extern const struct _IO_jump_t _IO_file_jumps_mmap ;
12014extern const struct _IO_jump_t _IO_file_jumps_maybe_mmap ;
12015extern const struct _IO_jump_t _IO_wfile_jumps;
12016
12017extern const struct _IO_jump_t _IO_wfile_jumps_mmap ;
12018extern const struct _IO_jump_t _IO_wfile_jumps_maybe_mmap ;
12019extern const struct _IO_jump_t _IO_old_file_jumps ;
12020extern const struct _IO_jump_t _IO_streambuf_jumps;
12021extern const struct _IO_jump_t _IO_old_proc_jumps ;
12022extern const struct _IO_jump_t _IO_str_jumps ;
12023extern const struct _IO_jump_t _IO_wstr_jumps ;
12024extern const struct _IO_codecvt __libio_codecvt ;
12025extern int _IO_do_write (_IO_FILE *, const char *, size_t);
12026extern int _IO_new_do_write (_IO_FILE *, const char *, size_t);
12027extern int _IO_old_do_write (_IO_FILE *, const char *, size_t);
12028extern int _IO_wdo_write (_IO_FILE *, const wchar_t *, size_t);
12029extern int _IO_flush_all_lockp (int);
12030extern int _IO_flush_all (void);
12031extern int _IO_cleanup (void);
12032extern void _IO_flush_all_linebuffered (void);
12033extern int _IO_new_fgetpos (_IO_FILE *, _G_fpos_t *);
12034extern int _IO_old_fgetpos (_IO_FILE *, _G_fpos_t *);
12035extern int _IO_new_fsetpos (_IO_FILE *, const _G_fpos_t *);
12036extern int _IO_old_fsetpos (_IO_FILE *, const _G_fpos_t *);
12037extern int _IO_new_fgetpos64 (_IO_FILE *, _G_fpos64_t *);
12038extern int _IO_old_fgetpos64 (_IO_FILE *, _G_fpos64_t *);
12039extern int _IO_new_fsetpos64 (_IO_FILE *, const _G_fpos64_t *);
12040extern int _IO_old_fsetpos64 (_IO_FILE *, const _G_fpos64_t *);
12041extern void _IO_old_init (_IO_FILE *fp, int flags) __attribute__ ((__nothrow__ ));
12042# 536 "../libio/libioP.h"
12043extern int _IO_file_doallocate (_IO_FILE *) __attribute__ ((__nothrow__ ));
12044extern _IO_FILE* _IO_file_setbuf (_IO_FILE *, char *, __ssize_t);
12045extern __off64_t _IO_file_seekoff (_IO_FILE *, __off64_t, int, int);
12046extern __off64_t _IO_file_seekoff_mmap (_IO_FILE *, __off64_t, int, int)
12047 __attribute__ ((__nothrow__ ));
12048extern size_t _IO_file_xsputn (_IO_FILE *, const void *, size_t);
12049extern size_t _IO_file_xsgetn (_IO_FILE *, void *, size_t);
12050extern int _IO_file_stat (_IO_FILE *, void *) __attribute__ ((__nothrow__ ));
12051extern int _IO_file_close (_IO_FILE *) __attribute__ ((__nothrow__ ));
12052extern int _IO_file_close_mmap (_IO_FILE *) __attribute__ ((__nothrow__ ));
12053extern int _IO_file_underflow (_IO_FILE *);
12054extern int _IO_file_underflow_mmap (_IO_FILE *);
12055extern int _IO_file_underflow_maybe_mmap (_IO_FILE *);
12056extern int _IO_file_overflow (_IO_FILE *, int);
12057
12058extern void _IO_file_init (struct _IO_FILE_plus *) __attribute__ ((__nothrow__ ));
12059extern _IO_FILE* _IO_file_attach (_IO_FILE *, int);
12060extern _IO_FILE* _IO_file_open (_IO_FILE *, const char *, int, int, int, int);
12061
12062extern _IO_FILE* _IO_file_fopen (_IO_FILE *, const char *, const char *, int);
12063extern __ssize_t _IO_file_write (_IO_FILE *, const void *, __ssize_t);
12064extern __ssize_t _IO_file_read (_IO_FILE *, void *, __ssize_t);
12065extern int _IO_file_sync (_IO_FILE *);
12066extern int _IO_file_close_it (_IO_FILE *);
12067extern __off64_t _IO_file_seek (_IO_FILE *, __off64_t, int) __attribute__ ((__nothrow__ ));
12068extern void _IO_file_finish (_IO_FILE *, int);
12069
12070extern _IO_FILE* _IO_new_file_attach (_IO_FILE *, int);
12071extern int _IO_new_file_close_it (_IO_FILE *);
12072extern void _IO_new_file_finish (_IO_FILE *, int);
12073extern _IO_FILE* _IO_new_file_fopen (_IO_FILE *, const char *, const char *,
12074 int);
12075extern void _IO_no_init (_IO_FILE *, int, int, struct _IO_wide_data *,
12076 const struct _IO_jump_t *) __attribute__ ((__nothrow__ ));
12077extern void _IO_new_file_init (struct _IO_FILE_plus *) __attribute__ ((__nothrow__ ));
12078extern _IO_FILE* _IO_new_file_setbuf (_IO_FILE *, char *, __ssize_t);
12079extern _IO_FILE* _IO_file_setbuf_mmap (_IO_FILE *, char *, __ssize_t);
12080extern int _IO_new_file_sync (_IO_FILE *);
12081extern int _IO_new_file_underflow (_IO_FILE *);
12082extern int _IO_new_file_overflow (_IO_FILE *, int);
12083extern __off64_t _IO_new_file_seekoff (_IO_FILE *, __off64_t, int, int);
12084extern __ssize_t _IO_new_file_write (_IO_FILE *, const void *, __ssize_t);
12085extern size_t _IO_new_file_xsputn (_IO_FILE *, const void *, size_t);
12086
12087extern _IO_FILE* _IO_old_file_setbuf (_IO_FILE *, char *, __ssize_t);
12088extern __off64_t _IO_old_file_seekoff (_IO_FILE *, __off64_t, int, int);
12089extern size_t _IO_old_file_xsputn (_IO_FILE *, const void *, size_t);
12090extern int _IO_old_file_underflow (_IO_FILE *);
12091extern int _IO_old_file_overflow (_IO_FILE *, int);
12092extern void _IO_old_file_init (struct _IO_FILE_plus *) __attribute__ ((__nothrow__ ));
12093extern _IO_FILE* _IO_old_file_attach (_IO_FILE *, int);
12094extern _IO_FILE* _IO_old_file_fopen (_IO_FILE *, const char *, const char *);
12095extern __ssize_t _IO_old_file_write (_IO_FILE *, const void *, __ssize_t);
12096extern int _IO_old_file_sync (_IO_FILE *);
12097extern int _IO_old_file_close_it (_IO_FILE *);
12098extern void _IO_old_file_finish (_IO_FILE *, int);
12099
12100extern int _IO_wfile_doallocate (_IO_FILE *) __attribute__ ((__nothrow__ ));
12101extern size_t _IO_wfile_xsputn (_IO_FILE *, const void *, size_t);
12102extern _IO_FILE* _IO_wfile_setbuf (_IO_FILE *, wchar_t *, __ssize_t);
12103extern wint_t _IO_wfile_sync (_IO_FILE *);
12104extern wint_t _IO_wfile_underflow (_IO_FILE *);
12105extern wint_t _IO_wfile_overflow (_IO_FILE *, wint_t);
12106extern __off64_t _IO_wfile_seekoff (_IO_FILE *, __off64_t, int, int);
12107
12108
12109extern _IO_FILE* _IO_proc_open (_IO_FILE *, const char *, const char *)
12110 __attribute__ ((__nothrow__ ));
12111extern _IO_FILE* _IO_new_proc_open (_IO_FILE *, const char *, const char *)
12112 __attribute__ ((__nothrow__ ));
12113extern _IO_FILE* _IO_old_proc_open (_IO_FILE *, const char *, const char *);
12114extern int _IO_proc_close (_IO_FILE *) __attribute__ ((__nothrow__ ));
12115extern int _IO_new_proc_close (_IO_FILE *) __attribute__ ((__nothrow__ ));
12116extern int _IO_old_proc_close (_IO_FILE *);
12117
12118
12119extern int _IO_str_underflow (_IO_FILE *) __attribute__ ((__nothrow__ ));
12120extern int _IO_str_overflow (_IO_FILE *, int) __attribute__ ((__nothrow__ ));
12121extern int _IO_str_pbackfail (_IO_FILE *, int) __attribute__ ((__nothrow__ ));
12122extern __off64_t _IO_str_seekoff (_IO_FILE *, __off64_t, int, int) __attribute__ ((__nothrow__ ));
12123extern void _IO_str_finish (_IO_FILE *, int) __attribute__ ((__nothrow__ ));
12124
12125
12126struct _IO_strfile_;
12127extern void _IO_str_init_static (struct _IO_strfile_ *, char *, int, char *)
12128 __attribute__ ((__nothrow__ ));
12129extern void _IO_str_init_readonly (struct _IO_strfile_ *, const char *, int)
12130 __attribute__ ((__nothrow__ ));
12131extern __ssize_t _IO_str_count (_IO_FILE *) __attribute__ ((__nothrow__ ));
12132
12133
12134extern void _IO_wstr_init_static (_IO_FILE *, wchar_t *, size_t, wchar_t *)
12135 __attribute__ ((__nothrow__ ));
12136extern __ssize_t _IO_wstr_count (_IO_FILE *) __attribute__ ((__nothrow__ ));
12137extern wint_t _IO_wstr_overflow (_IO_FILE *, wint_t) __attribute__ ((__nothrow__ ));
12138extern wint_t _IO_wstr_underflow (_IO_FILE *) __attribute__ ((__nothrow__ ));
12139extern __off64_t _IO_wstr_seekoff (_IO_FILE *, __off64_t, int, int)
12140 __attribute__ ((__nothrow__ ));
12141extern wint_t _IO_wstr_pbackfail (_IO_FILE *, wint_t) __attribute__ ((__nothrow__ ));
12142extern void _IO_wstr_finish (_IO_FILE *, int) __attribute__ ((__nothrow__ ));
12143
12144extern int _IO_vasprintf (char **result_ptr, __const char *format,
12145 __gnuc_va_list args) __attribute__ ((__nothrow__ ));
12146extern int _IO_vdprintf (int d, __const char *format, __gnuc_va_list arg);
12147extern int _IO_vsnprintf (char *string, size_t maxlen,
12148 __const char *format, __gnuc_va_list args) __attribute__ ((__nothrow__ ));
12149
12150
12151extern size_t _IO_getline (_IO_FILE *,char *, size_t, int, int);
12152extern size_t _IO_getline_info (_IO_FILE *,char *, size_t,
12153 int, int, int *);
12154extern __ssize_t _IO_getdelim (char **, size_t *, int, _IO_FILE *);
12155extern size_t _IO_getwline (_IO_FILE *,wchar_t *, size_t, wint_t, int);
12156extern size_t _IO_getwline_info (_IO_FILE *,wchar_t *, size_t,
12157 wint_t, int, wint_t *);
12158
12159extern struct _IO_FILE_plus *_IO_list_all;
12160extern void (*_IO_cleanup_registration_needed) (void);
12161
12162
12163extern int _IO_flush_all_internal (void);
12164extern unsigned _IO_adjust_column_internal (unsigned, const char *, int);
12165
12166extern int _IO_default_uflow_internal (_IO_FILE *);
12167extern void _IO_default_finish_internal (_IO_FILE *, int) __attribute__ ((__nothrow__ ));
12168extern int _IO_default_pbackfail_internal (_IO_FILE *, int) __attribute__ ((__nothrow__ ));
12169extern size_t _IO_default_xsputn_internal (_IO_FILE *, const void *,
12170 size_t);
12171extern size_t _IO_default_xsgetn_internal (_IO_FILE *, void *, size_t);
12172extern int _IO_default_doallocate_internal (_IO_FILE *) __attribute__ ((__nothrow__ ));
12173extern void _IO_wdefault_finish_internal (_IO_FILE *, int) __attribute__ ((__nothrow__ ));
12174extern wint_t _IO_wdefault_pbackfail_internal (_IO_FILE *, wint_t) __attribute__ ((__nothrow__ ));
12175extern size_t _IO_wdefault_xsputn_internal (_IO_FILE *, const void *,
12176 size_t);
12177extern size_t _IO_wdefault_xsgetn_internal (_IO_FILE *, void *,
12178 size_t);
12179extern int _IO_wdefault_doallocate_internal (_IO_FILE *) __attribute__ ((__nothrow__ ));
12180extern wint_t _IO_wdefault_uflow_internal (_IO_FILE *);
12181
12182extern int _IO_file_doallocate_internal (_IO_FILE *) __attribute__ ((__nothrow__ ));
12183extern _IO_FILE* _IO_file_setbuf_internal (_IO_FILE *, char *, __ssize_t);
12184extern __off64_t _IO_file_seekoff_internal (_IO_FILE *, __off64_t,
12185 int, int);
12186extern size_t _IO_file_xsputn_internal (_IO_FILE *, const void *,
12187 size_t);
12188extern size_t _IO_file_xsgetn_internal (_IO_FILE *, void *, size_t);
12189extern int _IO_file_stat_internal (_IO_FILE *, void *) __attribute__ ((__nothrow__ ));
12190extern int _IO_file_close_internal (_IO_FILE *) __attribute__ ((__nothrow__ ));
12191extern int _IO_file_close_it_internal (_IO_FILE *);
12192extern int _IO_file_underflow_internal (_IO_FILE *);
12193extern int _IO_file_overflow_internal (_IO_FILE *, int);
12194extern void _IO_file_init_internal (struct _IO_FILE_plus *) __attribute__ ((__nothrow__ ));
12195extern _IO_FILE* _IO_file_attach_internal (_IO_FILE *, int);
12196extern _IO_FILE* _IO_file_fopen_internal (_IO_FILE *, const char *,
12197 const char *, int);
12198extern __ssize_t _IO_file_read_internal (_IO_FILE *, void *,
12199 __ssize_t);
12200extern int _IO_file_sync_internal (_IO_FILE *);
12201extern __off64_t _IO_file_seek_internal (_IO_FILE *, __off64_t, int)
12202 __attribute__ ((__nothrow__ ));
12203extern void _IO_file_finish_internal (_IO_FILE *, int);
12204
12205extern size_t _IO_wfile_xsputn_internal (_IO_FILE *, const void *,
12206 size_t);
12207extern __off64_t _IO_wfile_seekoff_internal (_IO_FILE *, __off64_t,
12208 int, int);
12209extern wint_t _IO_wfile_sync_internal (_IO_FILE *);
12210
12211extern int _IO_str_underflow_internal (_IO_FILE *) __attribute__ ((__nothrow__ ));
12212extern int _IO_str_overflow_internal (_IO_FILE *, int) __attribute__ ((__nothrow__ ));
12213extern int _IO_str_pbackfail_internal (_IO_FILE *, int) __attribute__ ((__nothrow__ ));
12214extern __off64_t _IO_str_seekoff_internal (_IO_FILE *, __off64_t,
12215 int, int) __attribute__ ((__nothrow__ ));
12216extern void _IO_str_init_static_internal (struct _IO_strfile_ *, char *,
12217 size_t, char *) __attribute__ ((__nothrow__ ));
12218
12219extern struct _IO_jump_t _IO_file_jumps_internal ;
12220extern struct _IO_jump_t _IO_wfile_jumps_internal ;
12221
12222extern struct _IO_FILE_plus *_IO_list_all_internal ;
12223
12224extern void _IO_link_in_internal (struct _IO_FILE_plus *) __attribute__ ((__nothrow__ ));
12225extern int _IO_sputbackc_internal (_IO_FILE *, int) __attribute__ ((__nothrow__ ));
12226extern void _IO_wdoallocbuf_internal (_IO_FILE *) __attribute__ ((__nothrow__ ));
12227
12228extern size_t _IO_sgetn_internal (_IO_FILE *, void *, size_t);
12229extern void _IO_flush_all_linebuffered_internal (void) __attribute__ ((__nothrow__ ));
12230extern int _IO_switch_to_wget_mode_internal (_IO_FILE *);
12231extern void _IO_unsave_markers_internal (_IO_FILE *) __attribute__ ((__nothrow__ ));
12232extern void _IO_switch_to_main_wget_area_internal (_IO_FILE *) __attribute__ ((__nothrow__ ));
12233extern int _IO_wdo_write_internal (_IO_FILE *, const wchar_t *, size_t);
12234extern int _IO_do_write_internal (_IO_FILE *, const char *, size_t);
12235extern __ssize_t _IO_padn_internal (_IO_FILE *, int, __ssize_t);
12236extern size_t _IO_getline_info_internal (_IO_FILE *,char *, size_t,
12237 int, int, int *);
12238extern size_t _IO_getline_internal (_IO_FILE *, char *, size_t, int,
12239 int);
12240extern void _IO_free_wbackup_area_internal (_IO_FILE *) __attribute__ ((__nothrow__ ));
12241extern void _IO_free_backup_area_internal (_IO_FILE *) __attribute__ ((__nothrow__ ));
12242extern void _IO_switch_to_wbackup_area_internal (_IO_FILE *) __attribute__ ((__nothrow__ ));
12243extern void _IO_setb_internal (_IO_FILE *, char *, char *, int) __attribute__ ((__nothrow__ ));
12244extern wint_t _IO_sputbackwc_internal (_IO_FILE *, wint_t) __attribute__ ((__nothrow__ ));
12245extern int _IO_switch_to_get_mode_internal (_IO_FILE *);
12246extern int _IO_vfscanf_internal (_IO_FILE * __restrict,
12247 const char * __restrict,
12248 __gnuc_va_list, int *__restrict);
12249extern int _IO_vfprintf_internal (_IO_FILE *__restrict, const char *__restrict,
12250 __gnuc_va_list);
12251extern void _IO_doallocbuf_internal (_IO_FILE *) __attribute__ ((__nothrow__ ));
12252extern void _IO_wsetb_internal (_IO_FILE *, wchar_t *, wchar_t *, int)
12253 __attribute__ ((__nothrow__ ));
12254extern __off64_t _IO_seekoff_unlocked (_IO_FILE *, __off64_t, int, int)
12255 ;
12256extern __off64_t _IO_seekpos_unlocked (_IO_FILE *, __off64_t, int)
12257 ;
12258extern int _IO_putc_internal (int __c, _IO_FILE *__fp);
12259extern void _IO_init_internal (_IO_FILE *, int) __attribute__ ((__nothrow__ ));
12260extern void _IO_un_link_internal (struct _IO_FILE_plus *) __attribute__ ((__nothrow__ ));
12261# 773 "../libio/libioP.h"
12262# 1 "../include/unistd.h" 1
12263
12264# 1 "../posix/unistd.h" 1
12265# 28 "../posix/unistd.h"
12266
12267# 203 "../posix/unistd.h"
12268# 1 "../nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h" 1
12269# 204 "../posix/unistd.h" 2
12270
12271
12272
12273# 1 "../bits/environments.h" 1
12274# 23 "../bits/environments.h"
12275# 1 "../sysdeps/wordsize-32/bits/wordsize.h" 1
12276# 24 "../bits/environments.h" 2
12277# 208 "../posix/unistd.h" 2
12278# 227 "../posix/unistd.h"
12279# 1 "/usr/lib/gcc/armv5te-iwmmxt-linux-gnueabi/4.7.3/include/stddef.h" 1 3 4
12280# 228 "../posix/unistd.h" 2
12281# 288 "../posix/unistd.h"
12282extern int access (__const char *__name, int __type) __attribute__ ((__nothrow__ )) ;
12283
12284
12285
12286
12287extern int euidaccess (__const char *__name, int __type)
12288 __attribute__ ((__nothrow__ )) ;
12289
12290
12291extern int eaccess (__const char *__name, int __type)
12292 __attribute__ ((__nothrow__ )) ;
12293
12294
12295
12296
12297
12298
12299extern int faccessat (int __fd, __const char *__file, int __type, int __flag)
12300 __attribute__ ((__nothrow__ )) ;
12301# 335 "../posix/unistd.h"
12302extern __off_t lseek (int __fd, __off_t __offset, int __whence) __attribute__ ((__nothrow__ ));
12303# 346 "../posix/unistd.h"
12304extern __off64_t lseek64 (int __fd, __off64_t __offset, int __whence)
12305 __attribute__ ((__nothrow__ ));
12306
12307
12308
12309
12310
12311
12312extern int close (int __fd);
12313
12314
12315
12316
12317
12318
12319extern ssize_t read (int __fd, void *__buf, size_t __nbytes) ;
12320
12321
12322
12323
12324
12325extern ssize_t write (int __fd, __const void *__buf, size_t __n) ;
12326# 377 "../posix/unistd.h"
12327extern ssize_t pread (int __fd, void *__buf, size_t __nbytes,
12328 __off_t __offset) ;
12329
12330
12331
12332
12333
12334
12335extern ssize_t pwrite (int __fd, __const void *__buf, size_t __n,
12336 __off_t __offset) ;
12337# 405 "../posix/unistd.h"
12338extern ssize_t pread64 (int __fd, void *__buf, size_t __nbytes,
12339 __off64_t __offset) ;
12340
12341
12342extern ssize_t pwrite64 (int __fd, __const void *__buf, size_t __n,
12343 __off64_t __offset) ;
12344
12345
12346
12347
12348
12349
12350
12351extern int pipe (int __pipedes[2]) __attribute__ ((__nothrow__ )) ;
12352
12353
12354
12355
12356extern int pipe2 (int __pipedes[2], int __flags) __attribute__ ((__nothrow__ )) ;
12357# 433 "../posix/unistd.h"
12358extern unsigned int alarm (unsigned int __seconds) __attribute__ ((__nothrow__ ));
12359# 445 "../posix/unistd.h"
12360extern unsigned int sleep (unsigned int __seconds);
12361
12362
12363
12364
12365
12366
12367
12368extern __useconds_t ualarm (__useconds_t __value, __useconds_t __interval)
12369 __attribute__ ((__nothrow__ ));
12370
12371
12372
12373
12374
12375
12376extern int usleep (__useconds_t __useconds);
12377# 470 "../posix/unistd.h"
12378extern int pause (void);
12379
12380
12381
12382extern int chown (__const char *__file, __uid_t __owner, __gid_t __group)
12383 __attribute__ ((__nothrow__ )) ;
12384
12385
12386
12387extern int fchown (int __fd, __uid_t __owner, __gid_t __group) __attribute__ ((__nothrow__ )) ;
12388
12389
12390
12391
12392extern int lchown (__const char *__file, __uid_t __owner, __gid_t __group)
12393 __attribute__ ((__nothrow__ )) ;
12394
12395
12396
12397
12398
12399
12400extern int fchownat (int __fd, __const char *__file, __uid_t __owner,
12401 __gid_t __group, int __flag)
12402 __attribute__ ((__nothrow__ )) ;
12403
12404
12405
12406extern int chdir (__const char *__path) __attribute__ ((__nothrow__ )) ;
12407
12408
12409
12410extern int fchdir (int __fd) __attribute__ ((__nothrow__ )) ;
12411# 512 "../posix/unistd.h"
12412extern char *getcwd (char *__buf, size_t __size) __attribute__ ((__nothrow__ )) ;
12413
12414
12415
12416
12417
12418extern char *get_current_dir_name (void) __attribute__ ((__nothrow__ ));
12419
12420
12421
12422
12423
12424
12425
12426extern char *getwd (char *__buf)
12427 __attribute__ ((__nothrow__ )) __attribute__ ((__deprecated__)) ;
12428
12429
12430
12431
12432extern int dup (int __fd) __attribute__ ((__nothrow__ )) ;
12433
12434
12435extern int dup2 (int __fd, int __fd2) __attribute__ ((__nothrow__ ));
12436
12437
12438
12439
12440extern int dup3 (int __fd, int __fd2, int __flags) __attribute__ ((__nothrow__ ));
12441
12442
12443
12444extern char **__environ;
12445
12446extern char **environ;
12447
12448
12449
12450
12451
12452extern int execve (__const char *__path, char *__const __argv[],
12453 char *__const __envp[]) __attribute__ ((__nothrow__ )) ;
12454
12455
12456
12457
12458extern int fexecve (int __fd, char *__const __argv[], char *__const __envp[])
12459 __attribute__ ((__nothrow__ )) ;
12460
12461
12462
12463
12464extern int execv (__const char *__path, char *__const __argv[])
12465 __attribute__ ((__nothrow__ )) ;
12466
12467
12468
12469extern int execle (__const char *__path, __const char *__arg, ...)
12470 __attribute__ ((__nothrow__ )) ;
12471
12472
12473
12474extern int execl (__const char *__path, __const char *__arg, ...)
12475 __attribute__ ((__nothrow__ )) ;
12476
12477
12478
12479extern int execvp (__const char *__file, char *__const __argv[])
12480 __attribute__ ((__nothrow__ )) ;
12481
12482
12483
12484
12485extern int execlp (__const char *__file, __const char *__arg, ...)
12486 __attribute__ ((__nothrow__ )) ;
12487
12488
12489
12490
12491extern int execvpe (__const char *__file, char *__const __argv[],
12492 char *__const __envp[])
12493 __attribute__ ((__nothrow__ )) ;
12494
12495
12496
12497
12498
12499extern int nice (int __inc) __attribute__ ((__nothrow__ )) ;
12500
12501
12502
12503
12504extern void _exit (int __status) __attribute__ ((__noreturn__));
12505
12506
12507
12508
12509
12510# 1 "../bits/confname.h" 1
12511# 26 "../bits/confname.h"
12512enum
12513 {
12514 _PC_LINK_MAX,
12515
12516 _PC_MAX_CANON,
12517
12518 _PC_MAX_INPUT,
12519
12520 _PC_NAME_MAX,
12521
12522 _PC_PATH_MAX,
12523
12524 _PC_PIPE_BUF,
12525
12526 _PC_CHOWN_RESTRICTED,
12527
12528 _PC_NO_TRUNC,
12529
12530 _PC_VDISABLE,
12531
12532 _PC_SYNC_IO,
12533
12534 _PC_ASYNC_IO,
12535
12536 _PC_PRIO_IO,
12537
12538 _PC_SOCK_MAXBUF,
12539
12540 _PC_FILESIZEBITS,
12541
12542 _PC_REC_INCR_XFER_SIZE,
12543
12544 _PC_REC_MAX_XFER_SIZE,
12545
12546 _PC_REC_MIN_XFER_SIZE,
12547
12548 _PC_REC_XFER_ALIGN,
12549
12550 _PC_ALLOC_SIZE_MIN,
12551
12552 _PC_SYMLINK_MAX,
12553
12554 _PC_2_SYMLINKS
12555
12556 };
12557
12558
12559enum
12560 {
12561 _SC_ARG_MAX,
12562
12563 _SC_CHILD_MAX,
12564
12565 _SC_CLK_TCK,
12566
12567 _SC_NGROUPS_MAX,
12568
12569 _SC_OPEN_MAX,
12570
12571 _SC_STREAM_MAX,
12572
12573 _SC_TZNAME_MAX,
12574
12575 _SC_JOB_CONTROL,
12576
12577 _SC_SAVED_IDS,
12578
12579 _SC_REALTIME_SIGNALS,
12580
12581 _SC_PRIORITY_SCHEDULING,
12582
12583 _SC_TIMERS,
12584
12585 _SC_ASYNCHRONOUS_IO,
12586
12587 _SC_PRIORITIZED_IO,
12588
12589 _SC_SYNCHRONIZED_IO,
12590
12591 _SC_FSYNC,
12592
12593 _SC_MAPPED_FILES,
12594
12595 _SC_MEMLOCK,
12596
12597 _SC_MEMLOCK_RANGE,
12598
12599 _SC_MEMORY_PROTECTION,
12600
12601 _SC_MESSAGE_PASSING,
12602
12603 _SC_SEMAPHORES,
12604
12605 _SC_SHARED_MEMORY_OBJECTS,
12606
12607 _SC_AIO_LISTIO_MAX,
12608
12609 _SC_AIO_MAX,
12610
12611 _SC_AIO_PRIO_DELTA_MAX,
12612
12613 _SC_DELAYTIMER_MAX,
12614
12615 _SC_MQ_OPEN_MAX,
12616
12617 _SC_MQ_PRIO_MAX,
12618
12619 _SC_VERSION,
12620
12621 _SC_PAGESIZE,
12622
12623
12624 _SC_RTSIG_MAX,
12625
12626 _SC_SEM_NSEMS_MAX,
12627
12628 _SC_SEM_VALUE_MAX,
12629
12630 _SC_SIGQUEUE_MAX,
12631
12632 _SC_TIMER_MAX,
12633
12634
12635
12636
12637 _SC_BC_BASE_MAX,
12638
12639 _SC_BC_DIM_MAX,
12640
12641 _SC_BC_SCALE_MAX,
12642
12643 _SC_BC_STRING_MAX,
12644
12645 _SC_COLL_WEIGHTS_MAX,
12646
12647 _SC_EQUIV_CLASS_MAX,
12648
12649 _SC_EXPR_NEST_MAX,
12650
12651 _SC_LINE_MAX,
12652
12653 _SC_RE_DUP_MAX,
12654
12655 _SC_CHARCLASS_NAME_MAX,
12656
12657
12658 _SC_2_VERSION,
12659
12660 _SC_2_C_BIND,
12661
12662 _SC_2_C_DEV,
12663
12664 _SC_2_FORT_DEV,
12665
12666 _SC_2_FORT_RUN,
12667
12668 _SC_2_SW_DEV,
12669
12670 _SC_2_LOCALEDEF,
12671
12672
12673 _SC_PII,
12674
12675 _SC_PII_XTI,
12676
12677 _SC_PII_SOCKET,
12678
12679 _SC_PII_INTERNET,
12680
12681 _SC_PII_OSI,
12682
12683 _SC_POLL,
12684
12685 _SC_SELECT,
12686
12687 _SC_UIO_MAXIOV,
12688
12689 _SC_IOV_MAX = _SC_UIO_MAXIOV,
12690
12691 _SC_PII_INTERNET_STREAM,
12692
12693 _SC_PII_INTERNET_DGRAM,
12694
12695 _SC_PII_OSI_COTS,
12696
12697 _SC_PII_OSI_CLTS,
12698
12699 _SC_PII_OSI_M,
12700
12701 _SC_T_IOV_MAX,
12702
12703
12704
12705 _SC_THREADS,
12706
12707 _SC_THREAD_SAFE_FUNCTIONS,
12708
12709 _SC_GETGR_R_SIZE_MAX,
12710
12711 _SC_GETPW_R_SIZE_MAX,
12712
12713 _SC_LOGIN_NAME_MAX,
12714
12715 _SC_TTY_NAME_MAX,
12716
12717 _SC_THREAD_DESTRUCTOR_ITERATIONS,
12718
12719 _SC_THREAD_KEYS_MAX,
12720
12721 _SC_THREAD_STACK_MIN,
12722
12723 _SC_THREAD_THREADS_MAX,
12724
12725 _SC_THREAD_ATTR_STACKADDR,
12726
12727 _SC_THREAD_ATTR_STACKSIZE,
12728
12729 _SC_THREAD_PRIORITY_SCHEDULING,
12730
12731 _SC_THREAD_PRIO_INHERIT,
12732
12733 _SC_THREAD_PRIO_PROTECT,
12734
12735 _SC_THREAD_PROCESS_SHARED,
12736
12737
12738 _SC_NPROCESSORS_CONF,
12739
12740 _SC_NPROCESSORS_ONLN,
12741
12742 _SC_PHYS_PAGES,
12743
12744 _SC_AVPHYS_PAGES,
12745
12746 _SC_ATEXIT_MAX,
12747
12748 _SC_PASS_MAX,
12749
12750
12751 _SC_XOPEN_VERSION,
12752
12753 _SC_XOPEN_XCU_VERSION,
12754
12755 _SC_XOPEN_UNIX,
12756
12757 _SC_XOPEN_CRYPT,
12758
12759 _SC_XOPEN_ENH_I18N,
12760
12761 _SC_XOPEN_SHM,
12762
12763
12764 _SC_2_CHAR_TERM,
12765
12766 _SC_2_C_VERSION,
12767
12768 _SC_2_UPE,
12769
12770
12771 _SC_XOPEN_XPG2,
12772
12773 _SC_XOPEN_XPG3,
12774
12775 _SC_XOPEN_XPG4,
12776
12777
12778 _SC_CHAR_BIT,
12779
12780 _SC_CHAR_MAX,
12781
12782 _SC_CHAR_MIN,
12783
12784 _SC_INT_MAX,
12785
12786 _SC_INT_MIN,
12787
12788 _SC_LONG_BIT,
12789
12790 _SC_WORD_BIT,
12791
12792 _SC_MB_LEN_MAX,
12793
12794 _SC_NZERO,
12795
12796 _SC_SSIZE_MAX,
12797
12798 _SC_SCHAR_MAX,
12799
12800 _SC_SCHAR_MIN,
12801
12802 _SC_SHRT_MAX,
12803
12804 _SC_SHRT_MIN,
12805
12806 _SC_UCHAR_MAX,
12807
12808 _SC_UINT_MAX,
12809
12810 _SC_ULONG_MAX,
12811
12812 _SC_USHRT_MAX,
12813
12814
12815 _SC_NL_ARGMAX,
12816
12817 _SC_NL_LANGMAX,
12818
12819 _SC_NL_MSGMAX,
12820
12821 _SC_NL_NMAX,
12822
12823 _SC_NL_SETMAX,
12824
12825 _SC_NL_TEXTMAX,
12826
12827
12828 _SC_XBS5_ILP32_OFF32,
12829
12830 _SC_XBS5_ILP32_OFFBIG,
12831
12832 _SC_XBS5_LP64_OFF64,
12833
12834 _SC_XBS5_LPBIG_OFFBIG,
12835
12836
12837 _SC_XOPEN_LEGACY,
12838
12839 _SC_XOPEN_REALTIME,
12840
12841 _SC_XOPEN_REALTIME_THREADS,
12842
12843
12844 _SC_ADVISORY_INFO,
12845
12846 _SC_BARRIERS,
12847
12848 _SC_BASE,
12849
12850 _SC_C_LANG_SUPPORT,
12851
12852 _SC_C_LANG_SUPPORT_R,
12853
12854 _SC_CLOCK_SELECTION,
12855
12856 _SC_CPUTIME,
12857
12858 _SC_THREAD_CPUTIME,
12859
12860 _SC_DEVICE_IO,
12861
12862 _SC_DEVICE_SPECIFIC,
12863
12864 _SC_DEVICE_SPECIFIC_R,
12865
12866 _SC_FD_MGMT,
12867
12868 _SC_FIFO,
12869
12870 _SC_PIPE,
12871
12872 _SC_FILE_ATTRIBUTES,
12873
12874 _SC_FILE_LOCKING,
12875
12876 _SC_FILE_SYSTEM,
12877
12878 _SC_MONOTONIC_CLOCK,
12879
12880 _SC_MULTI_PROCESS,
12881
12882 _SC_SINGLE_PROCESS,
12883
12884 _SC_NETWORKING,
12885
12886 _SC_READER_WRITER_LOCKS,
12887
12888 _SC_SPIN_LOCKS,
12889
12890 _SC_REGEXP,
12891
12892 _SC_REGEX_VERSION,
12893
12894 _SC_SHELL,
12895
12896 _SC_SIGNALS,
12897
12898 _SC_SPAWN,
12899
12900 _SC_SPORADIC_SERVER,
12901
12902 _SC_THREAD_SPORADIC_SERVER,
12903
12904 _SC_SYSTEM_DATABASE,
12905
12906 _SC_SYSTEM_DATABASE_R,
12907
12908 _SC_TIMEOUTS,
12909
12910 _SC_TYPED_MEMORY_OBJECTS,
12911
12912 _SC_USER_GROUPS,
12913
12914 _SC_USER_GROUPS_R,
12915
12916 _SC_2_PBS,
12917
12918 _SC_2_PBS_ACCOUNTING,
12919
12920 _SC_2_PBS_LOCATE,
12921
12922 _SC_2_PBS_MESSAGE,
12923
12924 _SC_2_PBS_TRACK,
12925
12926 _SC_SYMLOOP_MAX,
12927
12928 _SC_STREAMS,
12929
12930 _SC_2_PBS_CHECKPOINT,
12931
12932
12933 _SC_V6_ILP32_OFF32,
12934
12935 _SC_V6_ILP32_OFFBIG,
12936
12937 _SC_V6_LP64_OFF64,
12938
12939 _SC_V6_LPBIG_OFFBIG,
12940
12941
12942 _SC_HOST_NAME_MAX,
12943
12944 _SC_TRACE,
12945
12946 _SC_TRACE_EVENT_FILTER,
12947
12948 _SC_TRACE_INHERIT,
12949
12950 _SC_TRACE_LOG,
12951
12952
12953 _SC_LEVEL1_ICACHE_SIZE,
12954
12955 _SC_LEVEL1_ICACHE_ASSOC,
12956
12957 _SC_LEVEL1_ICACHE_LINESIZE,
12958
12959 _SC_LEVEL1_DCACHE_SIZE,
12960
12961 _SC_LEVEL1_DCACHE_ASSOC,
12962
12963 _SC_LEVEL1_DCACHE_LINESIZE,
12964
12965 _SC_LEVEL2_CACHE_SIZE,
12966
12967 _SC_LEVEL2_CACHE_ASSOC,
12968
12969 _SC_LEVEL2_CACHE_LINESIZE,
12970
12971 _SC_LEVEL3_CACHE_SIZE,
12972
12973 _SC_LEVEL3_CACHE_ASSOC,
12974
12975 _SC_LEVEL3_CACHE_LINESIZE,
12976
12977 _SC_LEVEL4_CACHE_SIZE,
12978
12979 _SC_LEVEL4_CACHE_ASSOC,
12980
12981 _SC_LEVEL4_CACHE_LINESIZE,
12982
12983
12984
12985 _SC_IPV6 = _SC_LEVEL1_ICACHE_SIZE + 50,
12986
12987 _SC_RAW_SOCKETS,
12988
12989
12990 _SC_V7_ILP32_OFF32,
12991
12992 _SC_V7_ILP32_OFFBIG,
12993
12994 _SC_V7_LP64_OFF64,
12995
12996 _SC_V7_LPBIG_OFFBIG,
12997
12998
12999 _SC_SS_REPL_MAX,
13000
13001
13002 _SC_TRACE_EVENT_NAME_MAX,
13003
13004 _SC_TRACE_NAME_MAX,
13005
13006 _SC_TRACE_SYS_MAX,
13007
13008 _SC_TRACE_USER_EVENT_MAX,
13009
13010
13011 _SC_XOPEN_STREAMS,
13012
13013
13014 _SC_THREAD_ROBUST_PRIO_INHERIT,
13015
13016 _SC_THREAD_ROBUST_PRIO_PROTECT
13017
13018 };
13019
13020
13021enum
13022 {
13023 _CS_PATH,
13024
13025
13026 _CS_V6_WIDTH_RESTRICTED_ENVS,
13027
13028
13029
13030 _CS_GNU_LIBC_VERSION,
13031
13032 _CS_GNU_LIBPTHREAD_VERSION,
13033
13034
13035 _CS_V5_WIDTH_RESTRICTED_ENVS,
13036
13037
13038
13039 _CS_V7_WIDTH_RESTRICTED_ENVS,
13040
13041
13042
13043 _CS_LFS_CFLAGS = 1000,
13044
13045 _CS_LFS_LDFLAGS,
13046
13047 _CS_LFS_LIBS,
13048
13049 _CS_LFS_LINTFLAGS,
13050
13051 _CS_LFS64_CFLAGS,
13052
13053 _CS_LFS64_LDFLAGS,
13054
13055 _CS_LFS64_LIBS,
13056
13057 _CS_LFS64_LINTFLAGS,
13058
13059
13060 _CS_XBS5_ILP32_OFF32_CFLAGS = 1100,
13061
13062 _CS_XBS5_ILP32_OFF32_LDFLAGS,
13063
13064 _CS_XBS5_ILP32_OFF32_LIBS,
13065
13066 _CS_XBS5_ILP32_OFF32_LINTFLAGS,
13067
13068 _CS_XBS5_ILP32_OFFBIG_CFLAGS,
13069
13070 _CS_XBS5_ILP32_OFFBIG_LDFLAGS,
13071
13072 _CS_XBS5_ILP32_OFFBIG_LIBS,
13073
13074 _CS_XBS5_ILP32_OFFBIG_LINTFLAGS,
13075
13076 _CS_XBS5_LP64_OFF64_CFLAGS,
13077
13078 _CS_XBS5_LP64_OFF64_LDFLAGS,
13079
13080 _CS_XBS5_LP64_OFF64_LIBS,
13081
13082 _CS_XBS5_LP64_OFF64_LINTFLAGS,
13083
13084 _CS_XBS5_LPBIG_OFFBIG_CFLAGS,
13085
13086 _CS_XBS5_LPBIG_OFFBIG_LDFLAGS,
13087
13088 _CS_XBS5_LPBIG_OFFBIG_LIBS,
13089
13090 _CS_XBS5_LPBIG_OFFBIG_LINTFLAGS,
13091
13092
13093 _CS_POSIX_V6_ILP32_OFF32_CFLAGS,
13094
13095 _CS_POSIX_V6_ILP32_OFF32_LDFLAGS,
13096
13097 _CS_POSIX_V6_ILP32_OFF32_LIBS,
13098
13099 _CS_POSIX_V6_ILP32_OFF32_LINTFLAGS,
13100
13101 _CS_POSIX_V6_ILP32_OFFBIG_CFLAGS,
13102
13103 _CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS,
13104
13105 _CS_POSIX_V6_ILP32_OFFBIG_LIBS,
13106
13107 _CS_POSIX_V6_ILP32_OFFBIG_LINTFLAGS,
13108
13109 _CS_POSIX_V6_LP64_OFF64_CFLAGS,
13110
13111 _CS_POSIX_V6_LP64_OFF64_LDFLAGS,
13112
13113 _CS_POSIX_V6_LP64_OFF64_LIBS,
13114
13115 _CS_POSIX_V6_LP64_OFF64_LINTFLAGS,
13116
13117 _CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS,
13118
13119 _CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS,
13120
13121 _CS_POSIX_V6_LPBIG_OFFBIG_LIBS,
13122
13123 _CS_POSIX_V6_LPBIG_OFFBIG_LINTFLAGS,
13124
13125
13126 _CS_POSIX_V7_ILP32_OFF32_CFLAGS,
13127
13128 _CS_POSIX_V7_ILP32_OFF32_LDFLAGS,
13129
13130 _CS_POSIX_V7_ILP32_OFF32_LIBS,
13131
13132 _CS_POSIX_V7_ILP32_OFF32_LINTFLAGS,
13133
13134 _CS_POSIX_V7_ILP32_OFFBIG_CFLAGS,
13135
13136 _CS_POSIX_V7_ILP32_OFFBIG_LDFLAGS,
13137
13138 _CS_POSIX_V7_ILP32_OFFBIG_LIBS,
13139
13140 _CS_POSIX_V7_ILP32_OFFBIG_LINTFLAGS,
13141
13142 _CS_POSIX_V7_LP64_OFF64_CFLAGS,
13143
13144 _CS_POSIX_V7_LP64_OFF64_LDFLAGS,
13145
13146 _CS_POSIX_V7_LP64_OFF64_LIBS,
13147
13148 _CS_POSIX_V7_LP64_OFF64_LINTFLAGS,
13149
13150 _CS_POSIX_V7_LPBIG_OFFBIG_CFLAGS,
13151
13152 _CS_POSIX_V7_LPBIG_OFFBIG_LDFLAGS,
13153
13154 _CS_POSIX_V7_LPBIG_OFFBIG_LIBS,
13155
13156 _CS_POSIX_V7_LPBIG_OFFBIG_LINTFLAGS,
13157
13158
13159 _CS_V6_ENV,
13160
13161 _CS_V7_ENV
13162
13163 };
13164# 611 "../posix/unistd.h" 2
13165
13166
13167extern long int pathconf (__const char *__path, int __name)
13168 __attribute__ ((__nothrow__ )) ;
13169
13170
13171extern long int fpathconf (int __fd, int __name) __attribute__ ((__nothrow__ ));
13172
13173
13174extern long int sysconf (int __name) __attribute__ ((__nothrow__ ));
13175
13176
13177
13178extern size_t confstr (int __name, char *__buf, size_t __len) __attribute__ ((__nothrow__ ));
13179
13180
13181
13182
13183extern __pid_t getpid (void) __attribute__ ((__nothrow__ ));
13184
13185
13186extern __pid_t getppid (void) __attribute__ ((__nothrow__ ));
13187
13188
13189
13190
13191extern __pid_t getpgrp (void) __attribute__ ((__nothrow__ ));
13192# 647 "../posix/unistd.h"
13193extern __pid_t __getpgid (__pid_t __pid) __attribute__ ((__nothrow__ ));
13194
13195extern __pid_t getpgid (__pid_t __pid) __attribute__ ((__nothrow__ ));
13196
13197
13198
13199
13200
13201
13202extern int setpgid (__pid_t __pid, __pid_t __pgid) __attribute__ ((__nothrow__ ));
13203# 673 "../posix/unistd.h"
13204extern int setpgrp (void) __attribute__ ((__nothrow__ ));
13205# 690 "../posix/unistd.h"
13206extern __pid_t setsid (void) __attribute__ ((__nothrow__ ));
13207
13208
13209
13210extern __pid_t getsid (__pid_t __pid) __attribute__ ((__nothrow__ ));
13211
13212
13213
13214extern __uid_t getuid (void) __attribute__ ((__nothrow__ ));
13215
13216
13217extern __uid_t geteuid (void) __attribute__ ((__nothrow__ ));
13218
13219
13220extern __gid_t getgid (void) __attribute__ ((__nothrow__ ));
13221
13222
13223extern __gid_t getegid (void) __attribute__ ((__nothrow__ ));
13224
13225
13226
13227
13228extern int getgroups (int __size, __gid_t __list[]) __attribute__ ((__nothrow__ )) ;
13229
13230
13231
13232extern int group_member (__gid_t __gid) __attribute__ ((__nothrow__ ));
13233
13234
13235
13236
13237
13238
13239extern int setuid (__uid_t __uid) __attribute__ ((__nothrow__ ));
13240
13241
13242
13243
13244extern int setreuid (__uid_t __ruid, __uid_t __euid) __attribute__ ((__nothrow__ ));
13245
13246
13247
13248
13249extern int seteuid (__uid_t __uid) __attribute__ ((__nothrow__ ));
13250
13251
13252
13253
13254
13255
13256extern int setgid (__gid_t __gid) __attribute__ ((__nothrow__ ));
13257
13258
13259
13260
13261extern int setregid (__gid_t __rgid, __gid_t __egid) __attribute__ ((__nothrow__ ));
13262
13263
13264
13265
13266extern int setegid (__gid_t __gid) __attribute__ ((__nothrow__ ));
13267
13268
13269
13270
13271
13272extern int getresuid (__uid_t *__ruid, __uid_t *__euid, __uid_t *__suid)
13273 __attribute__ ((__nothrow__ ));
13274
13275
13276
13277extern int getresgid (__gid_t *__rgid, __gid_t *__egid, __gid_t *__sgid)
13278 __attribute__ ((__nothrow__ ));
13279
13280
13281
13282extern int setresuid (__uid_t __ruid, __uid_t __euid, __uid_t __suid)
13283 __attribute__ ((__nothrow__ ));
13284
13285
13286
13287extern int setresgid (__gid_t __rgid, __gid_t __egid, __gid_t __sgid)
13288 __attribute__ ((__nothrow__ ));
13289
13290
13291
13292
13293
13294
13295extern __pid_t fork (void) __attribute__ ((__nothrow__));
13296
13297
13298
13299
13300
13301
13302
13303extern __pid_t vfork (void) __attribute__ ((__nothrow__ ));
13304
13305
13306
13307
13308
13309extern char *ttyname (int __fd) __attribute__ ((__nothrow__ ));
13310
13311
13312
13313extern int ttyname_r (int __fd, char *__buf, size_t __buflen)
13314 __attribute__ ((__nothrow__ )) ;
13315
13316
13317
13318extern int isatty (int __fd) __attribute__ ((__nothrow__ ));
13319
13320
13321
13322
13323
13324extern int ttyslot (void) __attribute__ ((__nothrow__ ));
13325
13326
13327
13328
13329extern int link (__const char *__from, __const char *__to)
13330 __attribute__ ((__nothrow__ )) ;
13331
13332
13333
13334
13335extern int linkat (int __fromfd, __const char *__from, int __tofd,
13336 __const char *__to, int __flags)
13337 __attribute__ ((__nothrow__ )) ;
13338
13339
13340
13341
13342extern int symlink (__const char *__from, __const char *__to)
13343 __attribute__ ((__nothrow__ )) ;
13344
13345
13346
13347
13348extern ssize_t readlink (__const char *__restrict __path,
13349 char *__restrict __buf, size_t __len)
13350 __attribute__ ((__nothrow__ )) ;
13351
13352
13353
13354
13355extern int symlinkat (__const char *__from, int __tofd,
13356 __const char *__to) __attribute__ ((__nothrow__ )) ;
13357
13358
13359extern ssize_t readlinkat (int __fd, __const char *__restrict __path,
13360 char *__restrict __buf, size_t __len)
13361 __attribute__ ((__nothrow__ )) ;
13362
13363
13364
13365extern int unlink (__const char *__name) __attribute__ ((__nothrow__ )) ;
13366
13367
13368
13369extern int unlinkat (int __fd, __const char *__name, int __flag)
13370 __attribute__ ((__nothrow__ )) ;
13371
13372
13373
13374extern int rmdir (__const char *__path) __attribute__ ((__nothrow__ )) ;
13375
13376
13377
13378extern __pid_t tcgetpgrp (int __fd) __attribute__ ((__nothrow__ ));
13379
13380
13381extern int tcsetpgrp (int __fd, __pid_t __pgrp_id) __attribute__ ((__nothrow__ ));
13382
13383
13384
13385
13386
13387
13388extern char *getlogin (void);
13389
13390
13391
13392
13393
13394
13395
13396extern int getlogin_r (char *__name, size_t __name_len) ;
13397
13398
13399
13400
13401extern int setlogin (__const char *__name) __attribute__ ((__nothrow__ )) ;
13402# 894 "../posix/unistd.h"
13403# 1 "../include/getopt.h" 1
13404
13405
13406
13407# 1 "../posix/getopt.h" 1
13408# 59 "../posix/getopt.h"
13409extern char *optarg;
13410# 73 "../posix/getopt.h"
13411extern int optind;
13412
13413
13414
13415
13416extern int opterr;
13417
13418
13419
13420extern int optopt;
13421# 152 "../posix/getopt.h"
13422extern int getopt (int ___argc, char *const *___argv, const char *__shortopts)
13423 __attribute__ ((__nothrow__ ));
13424# 5 "../include/getopt.h" 2
13425# 895 "../posix/unistd.h" 2
13426
13427
13428
13429
13430
13431
13432
13433extern int gethostname (char *__name, size_t __len) __attribute__ ((__nothrow__ )) ;
13434
13435
13436
13437
13438
13439
13440extern int sethostname (__const char *__name, size_t __len)
13441 __attribute__ ((__nothrow__ )) ;
13442
13443
13444
13445extern int sethostid (long int __id) __attribute__ ((__nothrow__ )) ;
13446
13447
13448
13449
13450
13451extern int getdomainname (char *__name, size_t __len)
13452 __attribute__ ((__nothrow__ )) ;
13453extern int setdomainname (__const char *__name, size_t __len)
13454 __attribute__ ((__nothrow__ )) ;
13455
13456
13457
13458
13459
13460extern int vhangup (void) __attribute__ ((__nothrow__ ));
13461
13462
13463extern int revoke (__const char *__file) __attribute__ ((__nothrow__ )) ;
13464
13465
13466
13467
13468
13469
13470
13471extern int profil (unsigned short int *__sample_buffer, size_t __size,
13472 size_t __offset, unsigned int __scale)
13473 __attribute__ ((__nothrow__ )) ;
13474
13475
13476
13477
13478
13479extern int acct (__const char *__name) __attribute__ ((__nothrow__ ));
13480
13481
13482
13483extern char *getusershell (void) __attribute__ ((__nothrow__ ));
13484extern void endusershell (void) __attribute__ ((__nothrow__ ));
13485extern void setusershell (void) __attribute__ ((__nothrow__ ));
13486
13487
13488
13489
13490
13491extern int daemon (int __nochdir, int __noclose) __attribute__ ((__nothrow__ )) ;
13492
13493
13494
13495
13496
13497
13498extern int chroot (__const char *__path) __attribute__ ((__nothrow__ )) ;
13499
13500
13501
13502extern char *getpass (__const char *__prompt) ;
13503# 980 "../posix/unistd.h"
13504extern int fsync (int __fd);
13505
13506
13507
13508
13509
13510
13511extern int syncfs (int __fd) __attribute__ ((__nothrow__ ));
13512
13513
13514
13515
13516
13517
13518extern long int gethostid (void);
13519
13520
13521extern void sync (void) __attribute__ ((__nothrow__ ));
13522
13523
13524
13525
13526
13527extern int getpagesize (void) __attribute__ ((__nothrow__ )) __attribute__ ((__const__));
13528
13529
13530
13531
13532extern int getdtablesize (void) __attribute__ ((__nothrow__ ));
13533# 1018 "../posix/unistd.h"
13534extern int truncate (__const char *__file, __off_t __length)
13535 __attribute__ ((__nothrow__ )) ;
13536# 1030 "../posix/unistd.h"
13537extern int truncate64 (__const char *__file, __off64_t __length)
13538 __attribute__ ((__nothrow__ )) ;
13539# 1040 "../posix/unistd.h"
13540extern int ftruncate (int __fd, __off_t __length) __attribute__ ((__nothrow__ )) ;
13541# 1050 "../posix/unistd.h"
13542extern int ftruncate64 (int __fd, __off64_t __length) __attribute__ ((__nothrow__ )) ;
13543# 1061 "../posix/unistd.h"
13544extern int brk (void *__addr) __attribute__ ((__nothrow__ )) ;
13545
13546
13547
13548
13549
13550extern void *sbrk (intptr_t __delta) __attribute__ ((__nothrow__ ));
13551# 1082 "../posix/unistd.h"
13552extern long int syscall (long int __sysno, ...) __attribute__ ((__nothrow__ ));
13553# 1105 "../posix/unistd.h"
13554extern int lockf (int __fd, int __cmd, __off_t __len) ;
13555# 1115 "../posix/unistd.h"
13556extern int lockf64 (int __fd, int __cmd, __off64_t __len) ;
13557# 1136 "../posix/unistd.h"
13558extern int fdatasync (int __fildes);
13559
13560
13561
13562
13563
13564
13565
13566extern char *crypt (__const char *__key, __const char *__salt)
13567 __attribute__ ((__nothrow__ )) ;
13568
13569
13570
13571extern void encrypt (char *__block, int __edflag) __attribute__ ((__nothrow__ )) ;
13572
13573
13574
13575
13576
13577
13578extern void swab (__const void *__restrict __from, void *__restrict __to,
13579 ssize_t __n) __attribute__ ((__nothrow__ )) ;
13580
13581
13582
13583
13584
13585
13586
13587extern char *ctermid (char *__s) __attribute__ ((__nothrow__ ));
13588# 1174 "../posix/unistd.h"
13589
13590# 3 "../include/unistd.h" 2
13591
13592
13593
13594
13595
13596
13597
13598
13599
13600
13601
13602
13603
13604
13605
13606
13607
13608
13609
13610
13611extern int __access (__const char *__name, int __type);
13612extern int __euidaccess (__const char *__name, int __type);
13613extern __off64_t __lseek64 (int __fd, __off64_t __offset, int __whence);
13614extern __off_t __lseek (int __fd, __off_t __offset, int __whence);
13615
13616extern __off_t __libc_lseek (int __fd, __off_t __offset, int __whence);
13617extern __off64_t __libc_lseek64 (int __fd, __off64_t __offset, int __whence);
13618extern ssize_t __pread (int __fd, void *__buf, size_t __nbytes,
13619 __off_t __offset);
13620extern ssize_t __libc_pread (int __fd, void *__buf, size_t __nbytes,
13621 __off_t __offset);
13622extern ssize_t __pread64 (int __fd, void *__buf, size_t __nbytes,
13623 __off64_t __offset);
13624extern ssize_t __libc_pread64 (int __fd, void *__buf, size_t __nbytes,
13625 __off64_t __offset);
13626extern ssize_t __pwrite (int __fd, __const void *__buf, size_t __n,
13627 __off_t __offset);
13628extern ssize_t __libc_pwrite (int __fd, __const void *__buf, size_t __n,
13629 __off_t __offset);
13630extern ssize_t __pwrite64 (int __fd, __const void *__buf, size_t __n,
13631 __off64_t __offset);
13632
13633extern ssize_t __libc_pwrite64 (int __fd, __const void *__buf, size_t __n,
13634 __off64_t __offset);
13635extern ssize_t __libc_read (int __fd, void *__buf, size_t __n);
13636
13637extern ssize_t __libc_write (int __fd, __const void *__buf, size_t __n);
13638
13639extern int __pipe (int __pipedes[2]);
13640
13641extern int __pipe2 (int __pipedes[2], int __flags);
13642extern unsigned int __sleep (unsigned int __seconds);
13643extern int __chown (__const char *__file,
13644 __uid_t __owner, __gid_t __group);
13645
13646extern int __fchown (int __fd,
13647 __uid_t __owner, __gid_t __group);
13648extern int __lchown (__const char *__file, __uid_t __owner,
13649 __gid_t __group);
13650extern int __chdir (__const char *__path);
13651extern int __fchdir (int __fd);
13652extern char *__getcwd (char *__buf, size_t __size);
13653extern int __rmdir (const char *__path);
13654extern int __execvpe (const char *file, char *const argv[],
13655 char *const envp[]);
13656
13657
13658
13659
13660
13661
13662
13663char *__canonicalize_directory_name_internal (__const char *__thisdir,
13664 char *__buf,
13665 size_t __size) ;
13666
13667extern int __dup (int __fd);
13668extern int __dup2 (int __fd, int __fd2);
13669
13670
13671extern int __execve (__const char *__path, char *__const __argv[],
13672 char *__const __envp[]);
13673extern long int __pathconf (__const char *__path, int __name);
13674extern long int __fpathconf (int __fd, int __name);
13675extern long int __sysconf (int __name);
13676
13677extern __pid_t __getpid (void);
13678
13679extern __pid_t __getppid (void);
13680extern __pid_t __setsid (void);
13681extern __uid_t __getuid (void);
13682extern __uid_t __geteuid (void);
13683extern __gid_t __getgid (void);
13684extern __gid_t __getegid (void);
13685extern int __getgroups (int __size, __gid_t __list[]);
13686
13687extern int __group_member (__gid_t __gid);
13688extern int __setuid (__uid_t __uid);
13689extern int __setreuid (__uid_t __ruid, __uid_t __euid);
13690extern int __setgid (__gid_t __gid);
13691extern int __setpgid (__pid_t __pid, __pid_t __pgid);
13692
13693extern int __setregid (__gid_t __rgid, __gid_t __egid);
13694extern int __getresuid (__uid_t *__ruid, __uid_t *__euid, __uid_t *__suid);
13695extern int __getresgid (__gid_t *__rgid, __gid_t *__egid, __gid_t *__sgid);
13696extern int __setresuid (__uid_t __ruid, __uid_t __euid, __uid_t __suid);
13697extern int __setresgid (__gid_t __rgid, __gid_t __egid, __gid_t __sgid);
13698
13699
13700
13701
13702extern __pid_t __vfork (void);
13703
13704extern int __ttyname_r (int __fd, char *__buf, size_t __buflen);
13705extern int __isatty (int __fd);
13706extern int __link (__const char *__from, __const char *__to);
13707extern int __symlink (__const char *__from, __const char *__to);
13708extern ssize_t __readlink (__const char *__path, char *__buf, size_t __len);
13709extern int __unlink (__const char *__name);
13710extern int __gethostname (char *__name, size_t __len);
13711extern int __profil (unsigned short int *__sample_buffer, size_t __size,
13712 size_t __offset, unsigned int __scale);
13713extern int __getdtablesize (void);
13714extern int __brk (void *__addr);
13715extern int __close (int __fd);
13716
13717extern int __libc_close (int __fd);
13718extern ssize_t __read (int __fd, void *__buf, size_t __nbytes);
13719
13720extern ssize_t __write (int __fd, __const void *__buf, size_t __n);
13721
13722extern __pid_t __fork (void);
13723
13724extern int __getpagesize (void) __attribute__ ((__const__));
13725
13726extern int __ftruncate (int __fd, __off_t __length);
13727extern int __ftruncate64 (int __fd, __off64_t __length);
13728extern int __truncate (const char *path, __off_t __length);
13729extern void *__sbrk (intptr_t __delta);
13730
13731
13732
13733
13734
13735
13736
13737
13738extern int __libc_enable_secure __attribute__ ((section (".data.rel.ro")));
13739extern int __libc_enable_secure_decided;
13740
13741
13742
13743
13744
13745
13746
13747extern void __libc_check_standard_fds (void);
13748
13749
13750
13751extern void __exit_thread (int val) __attribute__ ((noreturn));
13752
13753
13754extern __pid_t __libc_fork (void);
13755
13756
13757
13758extern int __libc_pause (void);
13759
13760extern int __pause_nocancel (void) ;
13761
13762extern int __have_sock_cloexec;
13763extern int __have_pipe2;
13764extern int __have_dup3;
13765
13766extern int __getlogin_r_loginuid (char *name, size_t namesize)
13767 ;
13768
13769
13770# 774 "../libio/libioP.h" 2
13771# 1 "../include/fcntl.h" 1
13772
13773# 1 "../io/fcntl.h" 1
13774# 30 "../io/fcntl.h"
13775
13776
13777
13778
13779# 1 "../ports/sysdeps/unix/sysv/linux/arm/bits/fcntl.h" 1
13780# 25 "../ports/sysdeps/unix/sysv/linux/arm/bits/fcntl.h"
13781# 1 "../include/sys/types.h" 1
13782# 26 "../ports/sysdeps/unix/sysv/linux/arm/bits/fcntl.h" 2
13783
13784# 1 "../sysdeps/unix/sysv/linux/bits/uio.h" 1
13785# 28 "../ports/sysdeps/unix/sysv/linux/arm/bits/fcntl.h" 2
13786# 153 "../ports/sysdeps/unix/sysv/linux/arm/bits/fcntl.h"
13787struct flock
13788 {
13789 short int l_type;
13790 short int l_whence;
13791
13792 __off_t l_start;
13793 __off_t l_len;
13794
13795
13796
13797
13798 __pid_t l_pid;
13799 };
13800
13801
13802struct flock64
13803 {
13804 short int l_type;
13805 short int l_whence;
13806 __off64_t l_start;
13807 __off64_t l_len;
13808 __pid_t l_pid;
13809 };
13810
13811
13812
13813
13814enum __pid_type
13815 {
13816 F_OWNER_TID = 0,
13817 F_OWNER_PID,
13818 F_OWNER_PGRP,
13819 F_OWNER_GID = F_OWNER_PGRP
13820 };
13821
13822
13823struct f_owner_ex
13824 {
13825 enum __pid_type type;
13826 __pid_t pid;
13827 };
13828# 239 "../ports/sysdeps/unix/sysv/linux/arm/bits/fcntl.h"
13829struct file_handle
13830{
13831 unsigned int handle_bytes;
13832 int handle_type;
13833
13834 unsigned char f_handle[0];
13835};
13836
13837
13838
13839
13840
13841
13842
13843
13844
13845
13846extern ssize_t readahead (int __fd, __off64_t __offset, size_t __count)
13847 __attribute__ ((__nothrow__ ));
13848
13849
13850
13851extern int sync_file_range (int __fd, __off64_t __offset, __off64_t __count,
13852 unsigned int __flags);
13853
13854
13855
13856
13857
13858
13859extern ssize_t vmsplice (int __fdout, const struct iovec *__iov,
13860 size_t __count, unsigned int __flags);
13861
13862
13863
13864
13865
13866extern ssize_t splice (int __fdin, __off64_t *__offin, int __fdout,
13867 __off64_t *__offout, size_t __len,
13868 unsigned int __flags);
13869
13870
13871
13872
13873
13874extern ssize_t tee (int __fdin, int __fdout, size_t __len,
13875 unsigned int __flags);
13876
13877
13878
13879
13880
13881
13882extern int fallocate (int __fd, int __mode, __off_t __offset, __off_t __len);
13883# 303 "../ports/sysdeps/unix/sysv/linux/arm/bits/fcntl.h"
13884extern int fallocate64 (int __fd, int __mode, __off64_t __offset,
13885 __off64_t __len);
13886
13887
13888
13889
13890extern int name_to_handle_at (int __dfd, const char *__name,
13891 struct file_handle *__handle, int *__mnt_id,
13892 int __flags) __attribute__ ((__nothrow__ ));
13893
13894
13895
13896
13897
13898extern int open_by_handle_at (int __mountdirfd, struct file_handle *__handle,
13899 int __flags);
13900
13901
13902
13903
13904# 35 "../io/fcntl.h" 2
13905
13906
13907
13908
13909
13910
13911# 1 "../sysdeps/unix/sysv/linux/bits/stat.h" 1
13912# 42 "../io/fcntl.h" 2
13913# 125 "../io/fcntl.h"
13914extern int fcntl (int __fd, int __cmd, ...);
13915# 134 "../io/fcntl.h"
13916extern int open (__const char *__file, int __oflag, ...) ;
13917# 144 "../io/fcntl.h"
13918extern int open64 (__const char *__file, int __oflag, ...) ;
13919# 158 "../io/fcntl.h"
13920extern int openat (int __fd, __const char *__file, int __oflag, ...)
13921 ;
13922# 169 "../io/fcntl.h"
13923extern int openat64 (int __fd, __const char *__file, int __oflag, ...)
13924 ;
13925# 180 "../io/fcntl.h"
13926extern int creat (__const char *__file, __mode_t __mode) ;
13927# 190 "../io/fcntl.h"
13928extern int creat64 (__const char *__file, __mode_t __mode) ;
13929# 226 "../io/fcntl.h"
13930extern int posix_fadvise (int __fd, __off_t __offset, __off_t __len,
13931 int __advise) __attribute__ ((__nothrow__ ));
13932# 238 "../io/fcntl.h"
13933extern int posix_fadvise64 (int __fd, __off64_t __offset, __off64_t __len,
13934 int __advise) __attribute__ ((__nothrow__ ));
13935# 248 "../io/fcntl.h"
13936extern int posix_fallocate (int __fd, __off_t __offset, __off_t __len);
13937# 259 "../io/fcntl.h"
13938extern int posix_fallocate64 (int __fd, __off64_t __offset, __off64_t __len);
13939# 270 "../io/fcntl.h"
13940
13941# 3 "../include/fcntl.h" 2
13942
13943
13944extern int __open64 (__const char *__file, int __oflag, ...);
13945
13946extern int __libc_open64 (const char *file, int oflag, ...);
13947extern int __libc_open (const char *file, int oflag, ...);
13948
13949extern int __libc_creat (const char *file, mode_t mode);
13950extern int __libc_fcntl (int fd, int cmd, ...);
13951
13952extern int __fcntl_nocancel (int fd, int cmd, ...) ;
13953
13954
13955extern int __open (__const char *__file, int __oflag, ...);
13956
13957extern int __fcntl (int __fd, int __cmd, ...);
13958
13959extern int __openat (int __fd, __const char *__file, int __oflag, ...)
13960 ;
13961
13962extern int __openat64 (int __fd, __const char *__file, int __oflag, ...)
13963 ;
13964
13965
13966extern int __open_2 (__const char *__path, int __oflag);
13967extern int __open64_2 (__const char *__path, int __oflag);
13968extern int __openat_2 (int __fd, __const char *__path, int __oflag);
13969extern int __openat64_2 (int __fd, __const char *__path, int __oflag);
13970
13971
13972
13973extern void __atfct_seterrno (int errval, int fd, const char *buf)
13974 ;
13975extern void __atfct_seterrno_2 (int errval, int fd1, const char *buf1,
13976 int fd2, const char *buf2)
13977 ;
13978
13979
13980
13981extern int __have_atfcts ;
13982
13983
13984extern int __have_o_cloexec ;
13985# 775 "../libio/libioP.h" 2
13986# 1 "../include/sys/mman.h" 1
13987
13988# 1 "../misc/sys/mman.h" 1
13989# 26 "../misc/sys/mman.h"
13990# 1 "/usr/lib/gcc/armv5te-iwmmxt-linux-gnueabi/4.7.3/include/stddef.h" 1 3 4
13991# 27 "../misc/sys/mman.h" 2
13992# 42 "../misc/sys/mman.h"
13993# 1 "../ports/sysdeps/unix/sysv/linux/arm/bits/mman.h" 1
13994# 43 "../misc/sys/mman.h" 2
13995
13996
13997
13998
13999
14000# 58 "../misc/sys/mman.h"
14001extern void *mmap (void *__addr, size_t __len, int __prot,
14002 int __flags, int __fd, __off_t __offset) __attribute__ ((__nothrow__ ));
14003# 71 "../misc/sys/mman.h"
14004extern void *mmap64 (void *__addr, size_t __len, int __prot,
14005 int __flags, int __fd, __off64_t __offset) __attribute__ ((__nothrow__ ));
14006
14007
14008
14009
14010extern int munmap (void *__addr, size_t __len) __attribute__ ((__nothrow__ ));
14011
14012
14013
14014
14015extern int mprotect (void *__addr, size_t __len, int __prot) __attribute__ ((__nothrow__ ));
14016
14017
14018
14019
14020
14021
14022
14023extern int msync (void *__addr, size_t __len, int __flags);
14024
14025
14026
14027
14028extern int madvise (void *__addr, size_t __len, int __advice) __attribute__ ((__nothrow__ ));
14029
14030
14031
14032extern int posix_madvise (void *__addr, size_t __len, int __advice) __attribute__ ((__nothrow__ ));
14033
14034
14035
14036
14037extern int mlock (__const void *__addr, size_t __len) __attribute__ ((__nothrow__ ));
14038
14039
14040extern int munlock (__const void *__addr, size_t __len) __attribute__ ((__nothrow__ ));
14041
14042
14043
14044
14045extern int mlockall (int __flags) __attribute__ ((__nothrow__ ));
14046
14047
14048
14049extern int munlockall (void) __attribute__ ((__nothrow__ ));
14050
14051
14052
14053
14054
14055
14056
14057extern int mincore (void *__start, size_t __len, unsigned char *__vec)
14058 __attribute__ ((__nothrow__ ));
14059# 134 "../misc/sys/mman.h"
14060extern void *mremap (void *__addr, size_t __old_len, size_t __new_len,
14061 int __flags, ...) __attribute__ ((__nothrow__ ));
14062
14063
14064
14065extern int remap_file_pages (void *__start, size_t __size, int __prot,
14066 size_t __pgoff, int __flags) __attribute__ ((__nothrow__ ));
14067
14068
14069
14070
14071extern int shm_open (__const char *__name, int __oflag, mode_t __mode);
14072
14073
14074extern int shm_unlink (__const char *__name);
14075
14076
14077# 3 "../include/sys/mman.h" 2
14078
14079
14080extern void *__mmap (void *__addr, size_t __len, int __prot,
14081 int __flags, int __fd, __off_t __offset);
14082extern void *__mmap64 (void *__addr, size_t __len, int __prot,
14083 int __flags, int __fd, __off64_t __offset);
14084extern int __munmap (void *__addr, size_t __len);
14085extern int __mprotect (void *__addr, size_t __len, int __prot);
14086
14087
14088extern void *__mremap (void *__addr, size_t __old_len,
14089 size_t __new_len, int __flags, ...);
14090
14091;
14092# 776 "../libio/libioP.h" 2
14093# 842 "../libio/libioP.h"
14094extern int _IO_vscanf (const char *, __gnuc_va_list) __attribute__ ((__nothrow__ ));
14095# 936 "../libio/libioP.h"
14096extern struct _IO_fake_stdiobuf _IO_stdin_buf, _IO_stdout_buf, _IO_stderr_buf;
14097# 963 "../libio/libioP.h"
14098static inline void
14099__attribute__ ((__always_inline__))
14100_IO_acquire_lock_fct (_IO_FILE **p)
14101{
14102 _IO_FILE *fp = *p;
14103 if ((fp->_flags & 0x8000) == 0)
14104 if (((fp)->_flags & 0x8000) == 0) do { if (--(*(fp)->_lock).cnt == 0) { (*(fp)->_lock).owner = ((void *)0); (void) ({ int *__futex = (&((*(fp)->_lock).lock)); int __oldval = ({ __typeof (*(__futex)) __atg5_oldval; __typeof (__futex) __atg5_memp = (__futex); __typeof (*(__futex)) __atg5_value = (0); do __atg5_oldval = *__atg5_memp; while (__builtin_expect (({ __typeof (__atg5_oldval) __atg3_old = (__atg5_oldval); ({ __typeof (*__atg5_memp) __atg1_result; if (sizeof (*__atg5_memp) == 1) __atg1_result = ({ __arm_link_error (); __atg3_old; }); else if (sizeof (*__atg5_memp) == 2) __atg1_result = ({ __arm_link_error (); __atg3_old; }); else if (sizeof (*__atg5_memp) == 4) __atg1_result = ({ register __typeof (__atg3_old) a_oldval asm ("r0"); register __typeof (__atg3_old) a_newval asm ("r1") = (__atg5_value); register __typeof (__atg5_memp) a_ptr asm ("r2") = (__atg5_memp); register __typeof (__atg3_old) a_tmp asm ("r3"); register __typeof (__atg3_old) a_oldval2 asm ("r4") = (__atg3_old); __asm__ __volatile__ ("0:\tldr\t%[tmp],[%[ptr]]\n\t" "cmp\t%[tmp], %[old2]\n\t" "bne\t1f\n\t" "mov\t%[old], %[old2]\n\t" "mov\t%[tmp], #0xffff0fff\n\t" "mov\tlr, pc\n\t" "add\tpc, %[tmp], #(0xffff0fc0 - 0xffff0fff)\n\t" "bcc\t0b\n\t" "mov\t%[tmp], %[old2]\n\t" "1:" : [old] "=&r" (a_oldval), [tmp] "=&r" (a_tmp) : [new] "r" (a_newval), [ptr] "r" (a_ptr), [old2] "r" (a_oldval2) : "ip", "lr", "cc", "memory"); a_tmp; }); else if (sizeof (*__atg5_memp) == 8) __atg1_result = ({ __arm_link_error (); __atg3_old; }); else abort (); __atg1_result; }) != __atg3_old; }), 0)); __atg5_oldval; }); if (__builtin_expect (__oldval > 1, 0)) ({ do { } while (0); long int __ret; __ret = ({ register int _a1 asm ("r0"), _nr asm ("r7"); int _a4tmp = (int) (0); int _a3tmp = (int) ((1)); int _a2tmp = (int) (((1) | ((struct pthread *)__builtin_thread_pointer () - 1)->header.private_futex)); int _a1tmp = (int) ((__futex)); _a1 = _a1tmp; register int _a2 asm ("a2") = _a2tmp; register int _a3 asm ("a3") = _a3tmp; register int _a4 asm ("a4") = _a4tmp; _nr = ((0 +240)); asm volatile ("swi 0x0 @ syscall " "SYS_ify(futex)" : "=r" (_a1) : "r" (_nr) , "r" (_a1), "r" (_a2), "r" (_a3), "r" (_a4) : "memory"); _a1; }); __ret; }); }); } } while (0);
14105}
14106
14107static inline void
14108__attribute__ ((__always_inline__))
14109_IO_acquire_lock_clear_flags2_fct (_IO_FILE **p)
14110{
14111 _IO_FILE *fp = *p;
14112 fp->_flags2 &= ~(4 | 16);
14113 if ((fp->_flags & 0x8000) == 0)
14114 if (((fp)->_flags & 0x8000) == 0) do { if (--(*(fp)->_lock).cnt == 0) { (*(fp)->_lock).owner = ((void *)0); (void) ({ int *__futex = (&((*(fp)->_lock).lock)); int __oldval = ({ __typeof (*(__futex)) __atg5_oldval; __typeof (__futex) __atg5_memp = (__futex); __typeof (*(__futex)) __atg5_value = (0); do __atg5_oldval = *__atg5_memp; while (__builtin_expect (({ __typeof (__atg5_oldval) __atg3_old = (__atg5_oldval); ({ __typeof (*__atg5_memp) __atg1_result; if (sizeof (*__atg5_memp) == 1) __atg1_result = ({ __arm_link_error (); __atg3_old; }); else if (sizeof (*__atg5_memp) == 2) __atg1_result = ({ __arm_link_error (); __atg3_old; }); else if (sizeof (*__atg5_memp) == 4) __atg1_result = ({ register __typeof (__atg3_old) a_oldval asm ("r0"); register __typeof (__atg3_old) a_newval asm ("r1") = (__atg5_value); register __typeof (__atg5_memp) a_ptr asm ("r2") = (__atg5_memp); register __typeof (__atg3_old) a_tmp asm ("r3"); register __typeof (__atg3_old) a_oldval2 asm ("r4") = (__atg3_old); __asm__ __volatile__ ("0:\tldr\t%[tmp],[%[ptr]]\n\t" "cmp\t%[tmp], %[old2]\n\t" "bne\t1f\n\t" "mov\t%[old], %[old2]\n\t" "mov\t%[tmp], #0xffff0fff\n\t" "mov\tlr, pc\n\t" "add\tpc, %[tmp], #(0xffff0fc0 - 0xffff0fff)\n\t" "bcc\t0b\n\t" "mov\t%[tmp], %[old2]\n\t" "1:" : [old] "=&r" (a_oldval), [tmp] "=&r" (a_tmp) : [new] "r" (a_newval), [ptr] "r" (a_ptr), [old2] "r" (a_oldval2) : "ip", "lr", "cc", "memory"); a_tmp; }); else if (sizeof (*__atg5_memp) == 8) __atg1_result = ({ __arm_link_error (); __atg3_old; }); else abort (); __atg1_result; }) != __atg3_old; }), 0)); __atg5_oldval; }); if (__builtin_expect (__oldval > 1, 0)) ({ do { } while (0); long int __ret; __ret = ({ register int _a1 asm ("r0"), _nr asm ("r7"); int _a4tmp = (int) (0); int _a3tmp = (int) ((1)); int _a2tmp = (int) (((1) | ((struct pthread *)__builtin_thread_pointer () - 1)->header.private_futex)); int _a1tmp = (int) ((__futex)); _a1 = _a1tmp; register int _a2 asm ("a2") = _a2tmp; register int _a3 asm ("a3") = _a3tmp; register int _a4 asm ("a4") = _a4tmp; _nr = ((0 +240)); asm volatile ("swi 0x0 @ syscall " "SYS_ify(futex)" : "=r" (_a1) : "r" (_nr) , "r" (_a1), "r" (_a2), "r" (_a3), "r" (_a4) : "memory"); _a1; }); __ret; }); }); } } while (0);
14115}
14116# 27 "fxprintf.c" 2
14117
14118
14119int
14120__fxprintf (FILE *fp, const char *fmt, ...)
14121{
14122 if (fp == ((void *)0))
14123 fp = stderr;
14124
14125 va_list ap;
14126 __builtin_va_start(ap,fmt);
14127
14128 int res;
14129 if (({ int __result = (0); if (__result < 0 && ! (0)) { if ((fp)->_mode == 0) (fp)->_mode = -1; __result = (fp)->_mode; } else if (__builtin_constant_p (0) && (0) == 0) __result = (0) ? -1 : (fp)->_mode; else __result = _IO_fwide (fp, __result); __result; }) > 0)
14130 {
14131 size_t len = strlen (fmt) + 1;
14132 wchar_t wfmt[len];
14133 for (size_t i = 0; i < len; ++i)
14134 {
14135 (((((fmt[i]) & ~0x7f) == 0)) ? (void) (0) : __assert_fail ("(((fmt[i]) & ~0x7f) == 0)", "fxprintf.c", 45, __PRETTY_FUNCTION__));
14136 wfmt[i] = fmt[i];
14137 }
14138 res = __vfwprintf (fp, wfmt, ap);
14139 }
14140 else
14141 res = _IO_vfprintf (fp, fmt, ap);
14142
14143 __builtin_va_end(ap);
14144
14145 return res;
14146}