]> git.wh0rd.org Git - ICEs.git/blob - hppa-O1/vfprintf.i.0
initial import
[ICEs.git] / hppa-O1 / vfprintf.i.0
1 # 1 "vfprintf.c"
2 # 1 "/var/tmp/portage/glibc-2.5/work/glibc-2.5/stdio-common//"
3 # 1 "<built-in>"
4 # 1 "<command line>"
5 # 1 "./../include/libc-symbols.h" 1
6 # 55 "./../include/libc-symbols.h"
7 # 1 "/var/tmp/portage/glibc-2.5/work/build-default-hppa2.0-unknown-linux-gnu-nptl/config.h" 1
8 # 56 "./../include/libc-symbols.h" 2
9 # 824 "./../include/libc-symbols.h"
10 # 1 "../sysdeps/wordsize-32/symbol-hacks.h" 1
11 # 26 "../sysdeps/wordsize-32/symbol-hacks.h"
12 asm ("__divdi3 = __divdi3_internal");
13 asm ("__udivdi3 = __udivdi3_internal");
14 asm ("__moddi3 = __moddi3_internal");
15 asm ("__umoddi3 = __umoddi3_internal");
16 # 825 "./../include/libc-symbols.h" 2
17 # 1 "<command line>" 2
18 # 1 "vfprintf.c"
19 # 20 "vfprintf.c"
20 # 1 "../include/ctype.h" 1
21
22
23 extern int __isctype (int __c, int __mask);
24 # 14 "../include/ctype.h"
25 # 1 "../include/../locale/localeinfo.h" 1
26 # 23 "../include/../locale/localeinfo.h"
27 # 1 "/usr/lib/gcc/hppa2.0-unknown-linux-gnu/4.1.1/include/stddef.h" 1 3 4
28 # 152 "/usr/lib/gcc/hppa2.0-unknown-linux-gnu/4.1.1/include/stddef.h" 3 4
29 typedef int ptrdiff_t;
30 # 214 "/usr/lib/gcc/hppa2.0-unknown-linux-gnu/4.1.1/include/stddef.h" 3 4
31 typedef unsigned int size_t;
32 # 326 "/usr/lib/gcc/hppa2.0-unknown-linux-gnu/4.1.1/include/stddef.h" 3 4
33 typedef long int wchar_t;
34 # 24 "../include/../locale/localeinfo.h" 2
35 # 1 "../include/langinfo.h" 1
36
37
38 # 1 "../locale/langinfo.h" 1
39 # 24 "../locale/langinfo.h"
40 # 1 "../include/nl_types.h" 1
41 # 1 "../catgets/nl_types.h" 1
42 # 22 "../catgets/nl_types.h"
43 # 1 "../include/features.h" 1
44 # 323 "../include/features.h"
45 # 1 "../include/sys/cdefs.h" 1
46
47
48 # 1 "../misc/sys/cdefs.h" 1
49 # 313 "../misc/sys/cdefs.h"
50 # 1 "../sysdeps/wordsize-32/bits/wordsize.h" 1
51 # 314 "../misc/sys/cdefs.h" 2
52 # 4 "../include/sys/cdefs.h" 2
53
54 extern void __chk_fail (void) __attribute__ ((__noreturn__));
55 extern __typeof (__chk_fail) __chk_fail __asm__ ("" "__GI___chk_fail") __attribute__ ((visibility ("hidden")));
56
57 # 324 "../include/features.h" 2
58 # 346 "../include/features.h"
59 # 1 "../include/gnu/stubs.h" 1
60 # 347 "../include/features.h" 2
61 # 23 "../catgets/nl_types.h" 2
62 # 31 "../catgets/nl_types.h"
63
64
65
66 typedef void *nl_catd;
67
68
69 typedef int nl_item;
70
71
72
73
74
75 extern nl_catd catopen (__const char *__cat_name, int __flag) __attribute__ ((__nonnull__ (1)));
76
77
78
79 extern char *catgets (nl_catd __catalog, int __set, int __number,
80         __const char *__string) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
81
82
83 extern int catclose (nl_catd __catalog) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
84
85
86 # 1 "../include/nl_types.h" 2
87 # 25 "../locale/langinfo.h" 2
88
89 # 1 "../include/bits/locale.h" 1
90 # 1 "../locale/bits/locale.h" 1
91 # 27 "../locale/bits/locale.h"
92 enum
93 {
94   __LC_CTYPE = 0,
95   __LC_NUMERIC = 1,
96   __LC_TIME = 2,
97   __LC_COLLATE = 3,
98   __LC_MONETARY = 4,
99   __LC_MESSAGES = 5,
100   __LC_ALL = 6,
101   __LC_PAPER = 7,
102   __LC_NAME = 8,
103   __LC_ADDRESS = 9,
104   __LC_TELEPHONE = 10,
105   __LC_MEASUREMENT = 11,
106   __LC_IDENTIFICATION = 12
107 };
108 # 1 "../include/bits/locale.h" 2
109 # 27 "../locale/langinfo.h" 2
110
111
112
113 # 42 "../locale/langinfo.h"
114 enum
115 {
116
117
118
119   ABDAY_1 = (((__LC_TIME) << 16) | (0)),
120
121   ABDAY_2,
122
123   ABDAY_3,
124
125   ABDAY_4,
126
127   ABDAY_5,
128
129   ABDAY_6,
130
131   ABDAY_7,
132
133
134
135   DAY_1,
136
137   DAY_2,
138
139   DAY_3,
140
141   DAY_4,
142
143   DAY_5,
144
145   DAY_6,
146
147   DAY_7,
148
149
150
151   ABMON_1,
152
153   ABMON_2,
154
155   ABMON_3,
156
157   ABMON_4,
158
159   ABMON_5,
160
161   ABMON_6,
162
163   ABMON_7,
164
165   ABMON_8,
166
167   ABMON_9,
168
169   ABMON_10,
170
171   ABMON_11,
172
173   ABMON_12,
174
175
176
177   MON_1,
178
179   MON_2,
180
181   MON_3,
182
183   MON_4,
184
185   MON_5,
186
187   MON_6,
188
189   MON_7,
190
191   MON_8,
192
193   MON_9,
194
195   MON_10,
196
197   MON_11,
198
199   MON_12,
200
201
202   AM_STR,
203
204   PM_STR,
205
206
207   D_T_FMT,
208
209   D_FMT,
210
211   T_FMT,
212
213   T_FMT_AMPM,
214
215
216   ERA,
217
218   __ERA_YEAR,
219
220
221
222   ERA_D_FMT,
223
224   ALT_DIGITS,
225
226   ERA_D_T_FMT,
227
228   ERA_T_FMT,
229
230
231   _NL_TIME_ERA_NUM_ENTRIES,
232   _NL_TIME_ERA_ENTRIES,
233
234   _NL_WABDAY_1,
235   _NL_WABDAY_2,
236   _NL_WABDAY_3,
237   _NL_WABDAY_4,
238   _NL_WABDAY_5,
239   _NL_WABDAY_6,
240   _NL_WABDAY_7,
241
242
243   _NL_WDAY_1,
244   _NL_WDAY_2,
245   _NL_WDAY_3,
246   _NL_WDAY_4,
247   _NL_WDAY_5,
248   _NL_WDAY_6,
249   _NL_WDAY_7,
250
251
252   _NL_WABMON_1,
253   _NL_WABMON_2,
254   _NL_WABMON_3,
255   _NL_WABMON_4,
256   _NL_WABMON_5,
257   _NL_WABMON_6,
258   _NL_WABMON_7,
259   _NL_WABMON_8,
260   _NL_WABMON_9,
261   _NL_WABMON_10,
262   _NL_WABMON_11,
263   _NL_WABMON_12,
264
265
266   _NL_WMON_1,
267   _NL_WMON_2,
268   _NL_WMON_3,
269   _NL_WMON_4,
270   _NL_WMON_5,
271   _NL_WMON_6,
272   _NL_WMON_7,
273   _NL_WMON_8,
274   _NL_WMON_9,
275   _NL_WMON_10,
276   _NL_WMON_11,
277   _NL_WMON_12,
278
279   _NL_WAM_STR,
280   _NL_WPM_STR,
281
282   _NL_WD_T_FMT,
283   _NL_WD_FMT,
284   _NL_WT_FMT,
285   _NL_WT_FMT_AMPM,
286
287   _NL_WERA_YEAR,
288   _NL_WERA_D_FMT,
289   _NL_WALT_DIGITS,
290   _NL_WERA_D_T_FMT,
291   _NL_WERA_T_FMT,
292
293   _NL_TIME_WEEK_NDAYS,
294   _NL_TIME_WEEK_1STDAY,
295   _NL_TIME_WEEK_1STWEEK,
296   _NL_TIME_FIRST_WEEKDAY,
297   _NL_TIME_FIRST_WORKDAY,
298   _NL_TIME_CAL_DIRECTION,
299   _NL_TIME_TIMEZONE,
300
301   _DATE_FMT,
302
303   _NL_W_DATE_FMT,
304
305   _NL_TIME_CODESET,
306
307   _NL_NUM_LC_TIME,
308
309
310
311
312   _NL_COLLATE_NRULES = (((__LC_COLLATE) << 16) | (0)),
313   _NL_COLLATE_RULESETS,
314   _NL_COLLATE_TABLEMB,
315   _NL_COLLATE_WEIGHTMB,
316   _NL_COLLATE_EXTRAMB,
317   _NL_COLLATE_INDIRECTMB,
318   _NL_COLLATE_GAP1,
319   _NL_COLLATE_GAP2,
320   _NL_COLLATE_GAP3,
321   _NL_COLLATE_TABLEWC,
322   _NL_COLLATE_WEIGHTWC,
323   _NL_COLLATE_EXTRAWC,
324   _NL_COLLATE_INDIRECTWC,
325   _NL_COLLATE_SYMB_HASH_SIZEMB,
326   _NL_COLLATE_SYMB_TABLEMB,
327   _NL_COLLATE_SYMB_EXTRAMB,
328   _NL_COLLATE_COLLSEQMB,
329   _NL_COLLATE_COLLSEQWC,
330   _NL_COLLATE_CODESET,
331   _NL_NUM_LC_COLLATE,
332
333
334
335
336   _NL_CTYPE_CLASS = (((__LC_CTYPE) << 16) | (0)),
337   _NL_CTYPE_TOUPPER,
338   _NL_CTYPE_GAP1,
339   _NL_CTYPE_TOLOWER,
340   _NL_CTYPE_GAP2,
341   _NL_CTYPE_CLASS32,
342   _NL_CTYPE_GAP3,
343   _NL_CTYPE_GAP4,
344   _NL_CTYPE_GAP5,
345   _NL_CTYPE_GAP6,
346   _NL_CTYPE_CLASS_NAMES,
347   _NL_CTYPE_MAP_NAMES,
348   _NL_CTYPE_WIDTH,
349   _NL_CTYPE_MB_CUR_MAX,
350   _NL_CTYPE_CODESET_NAME,
351   CODESET = _NL_CTYPE_CODESET_NAME,
352
353   _NL_CTYPE_TOUPPER32,
354   _NL_CTYPE_TOLOWER32,
355   _NL_CTYPE_CLASS_OFFSET,
356   _NL_CTYPE_MAP_OFFSET,
357   _NL_CTYPE_INDIGITS_MB_LEN,
358   _NL_CTYPE_INDIGITS0_MB,
359   _NL_CTYPE_INDIGITS1_MB,
360   _NL_CTYPE_INDIGITS2_MB,
361   _NL_CTYPE_INDIGITS3_MB,
362   _NL_CTYPE_INDIGITS4_MB,
363   _NL_CTYPE_INDIGITS5_MB,
364   _NL_CTYPE_INDIGITS6_MB,
365   _NL_CTYPE_INDIGITS7_MB,
366   _NL_CTYPE_INDIGITS8_MB,
367   _NL_CTYPE_INDIGITS9_MB,
368   _NL_CTYPE_INDIGITS_WC_LEN,
369   _NL_CTYPE_INDIGITS0_WC,
370   _NL_CTYPE_INDIGITS1_WC,
371   _NL_CTYPE_INDIGITS2_WC,
372   _NL_CTYPE_INDIGITS3_WC,
373   _NL_CTYPE_INDIGITS4_WC,
374   _NL_CTYPE_INDIGITS5_WC,
375   _NL_CTYPE_INDIGITS6_WC,
376   _NL_CTYPE_INDIGITS7_WC,
377   _NL_CTYPE_INDIGITS8_WC,
378   _NL_CTYPE_INDIGITS9_WC,
379   _NL_CTYPE_OUTDIGIT0_MB,
380   _NL_CTYPE_OUTDIGIT1_MB,
381   _NL_CTYPE_OUTDIGIT2_MB,
382   _NL_CTYPE_OUTDIGIT3_MB,
383   _NL_CTYPE_OUTDIGIT4_MB,
384   _NL_CTYPE_OUTDIGIT5_MB,
385   _NL_CTYPE_OUTDIGIT6_MB,
386   _NL_CTYPE_OUTDIGIT7_MB,
387   _NL_CTYPE_OUTDIGIT8_MB,
388   _NL_CTYPE_OUTDIGIT9_MB,
389   _NL_CTYPE_OUTDIGIT0_WC,
390   _NL_CTYPE_OUTDIGIT1_WC,
391   _NL_CTYPE_OUTDIGIT2_WC,
392   _NL_CTYPE_OUTDIGIT3_WC,
393   _NL_CTYPE_OUTDIGIT4_WC,
394   _NL_CTYPE_OUTDIGIT5_WC,
395   _NL_CTYPE_OUTDIGIT6_WC,
396   _NL_CTYPE_OUTDIGIT7_WC,
397   _NL_CTYPE_OUTDIGIT8_WC,
398   _NL_CTYPE_OUTDIGIT9_WC,
399   _NL_CTYPE_TRANSLIT_TAB_SIZE,
400   _NL_CTYPE_TRANSLIT_FROM_IDX,
401   _NL_CTYPE_TRANSLIT_FROM_TBL,
402   _NL_CTYPE_TRANSLIT_TO_IDX,
403   _NL_CTYPE_TRANSLIT_TO_TBL,
404   _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN,
405   _NL_CTYPE_TRANSLIT_DEFAULT_MISSING,
406   _NL_CTYPE_TRANSLIT_IGNORE_LEN,
407   _NL_CTYPE_TRANSLIT_IGNORE,
408   _NL_CTYPE_MAP_TO_NONASCII,
409   _NL_CTYPE_EXTRA_MAP_1,
410   _NL_CTYPE_EXTRA_MAP_2,
411   _NL_CTYPE_EXTRA_MAP_3,
412   _NL_CTYPE_EXTRA_MAP_4,
413   _NL_CTYPE_EXTRA_MAP_5,
414   _NL_CTYPE_EXTRA_MAP_6,
415   _NL_CTYPE_EXTRA_MAP_7,
416   _NL_CTYPE_EXTRA_MAP_8,
417   _NL_CTYPE_EXTRA_MAP_9,
418   _NL_CTYPE_EXTRA_MAP_10,
419   _NL_CTYPE_EXTRA_MAP_11,
420   _NL_CTYPE_EXTRA_MAP_12,
421   _NL_CTYPE_EXTRA_MAP_13,
422   _NL_CTYPE_EXTRA_MAP_14,
423   _NL_NUM_LC_CTYPE,
424
425
426
427
428   __INT_CURR_SYMBOL = (((__LC_MONETARY) << 16) | (0)),
429
430
431
432   __CURRENCY_SYMBOL,
433
434
435
436   __MON_DECIMAL_POINT,
437
438
439
440   __MON_THOUSANDS_SEP,
441
442
443
444   __MON_GROUPING,
445
446
447
448   __POSITIVE_SIGN,
449
450
451
452   __NEGATIVE_SIGN,
453
454
455
456   __INT_FRAC_DIGITS,
457
458
459
460   __FRAC_DIGITS,
461
462
463
464   __P_CS_PRECEDES,
465
466
467
468   __P_SEP_BY_SPACE,
469
470
471
472   __N_CS_PRECEDES,
473
474
475
476   __N_SEP_BY_SPACE,
477
478
479
480   __P_SIGN_POSN,
481
482
483
484   __N_SIGN_POSN,
485
486
487
488   _NL_MONETARY_CRNCYSTR,
489
490   __INT_P_CS_PRECEDES,
491
492
493
494   __INT_P_SEP_BY_SPACE,
495
496
497
498   __INT_N_CS_PRECEDES,
499
500
501
502   __INT_N_SEP_BY_SPACE,
503
504
505
506   __INT_P_SIGN_POSN,
507
508
509
510   __INT_N_SIGN_POSN,
511
512
513
514   _NL_MONETARY_DUO_INT_CURR_SYMBOL,
515   _NL_MONETARY_DUO_CURRENCY_SYMBOL,
516   _NL_MONETARY_DUO_INT_FRAC_DIGITS,
517   _NL_MONETARY_DUO_FRAC_DIGITS,
518   _NL_MONETARY_DUO_P_CS_PRECEDES,
519   _NL_MONETARY_DUO_P_SEP_BY_SPACE,
520   _NL_MONETARY_DUO_N_CS_PRECEDES,
521   _NL_MONETARY_DUO_N_SEP_BY_SPACE,
522   _NL_MONETARY_DUO_INT_P_CS_PRECEDES,
523   _NL_MONETARY_DUO_INT_P_SEP_BY_SPACE,
524   _NL_MONETARY_DUO_INT_N_CS_PRECEDES,
525   _NL_MONETARY_DUO_INT_N_SEP_BY_SPACE,
526   _NL_MONETARY_DUO_P_SIGN_POSN,
527   _NL_MONETARY_DUO_N_SIGN_POSN,
528   _NL_MONETARY_DUO_INT_P_SIGN_POSN,
529   _NL_MONETARY_DUO_INT_N_SIGN_POSN,
530   _NL_MONETARY_UNO_VALID_FROM,
531   _NL_MONETARY_UNO_VALID_TO,
532   _NL_MONETARY_DUO_VALID_FROM,
533   _NL_MONETARY_DUO_VALID_TO,
534   _NL_MONETARY_CONVERSION_RATE,
535   _NL_MONETARY_DECIMAL_POINT_WC,
536   _NL_MONETARY_THOUSANDS_SEP_WC,
537   _NL_MONETARY_CODESET,
538   _NL_NUM_LC_MONETARY,
539
540
541
542   __DECIMAL_POINT = (((__LC_NUMERIC) << 16) | (0)),
543
544
545
546   RADIXCHAR = __DECIMAL_POINT,
547
548   __THOUSANDS_SEP,
549
550
551
552   THOUSEP = __THOUSANDS_SEP,
553
554   __GROUPING,
555
556
557
558   _NL_NUMERIC_DECIMAL_POINT_WC,
559   _NL_NUMERIC_THOUSANDS_SEP_WC,
560   _NL_NUMERIC_CODESET,
561   _NL_NUM_LC_NUMERIC,
562
563   __YESEXPR = (((__LC_MESSAGES) << 16) | (0)),
564
565   __NOEXPR,
566
567   __YESSTR,
568
569
570
571   __NOSTR,
572
573
574
575   _NL_MESSAGES_CODESET,
576   _NL_NUM_LC_MESSAGES,
577
578   _NL_PAPER_HEIGHT = (((__LC_PAPER) << 16) | (0)),
579   _NL_PAPER_WIDTH,
580   _NL_PAPER_CODESET,
581   _NL_NUM_LC_PAPER,
582
583   _NL_NAME_NAME_FMT = (((__LC_NAME) << 16) | (0)),
584   _NL_NAME_NAME_GEN,
585   _NL_NAME_NAME_MR,
586   _NL_NAME_NAME_MRS,
587   _NL_NAME_NAME_MISS,
588   _NL_NAME_NAME_MS,
589   _NL_NAME_CODESET,
590   _NL_NUM_LC_NAME,
591
592   _NL_ADDRESS_POSTAL_FMT = (((__LC_ADDRESS) << 16) | (0)),
593   _NL_ADDRESS_COUNTRY_NAME,
594   _NL_ADDRESS_COUNTRY_POST,
595   _NL_ADDRESS_COUNTRY_AB2,
596   _NL_ADDRESS_COUNTRY_AB3,
597   _NL_ADDRESS_COUNTRY_CAR,
598   _NL_ADDRESS_COUNTRY_NUM,
599   _NL_ADDRESS_COUNTRY_ISBN,
600   _NL_ADDRESS_LANG_NAME,
601   _NL_ADDRESS_LANG_AB,
602   _NL_ADDRESS_LANG_TERM,
603   _NL_ADDRESS_LANG_LIB,
604   _NL_ADDRESS_CODESET,
605   _NL_NUM_LC_ADDRESS,
606
607   _NL_TELEPHONE_TEL_INT_FMT = (((__LC_TELEPHONE) << 16) | (0)),
608   _NL_TELEPHONE_TEL_DOM_FMT,
609   _NL_TELEPHONE_INT_SELECT,
610   _NL_TELEPHONE_INT_PREFIX,
611   _NL_TELEPHONE_CODESET,
612   _NL_NUM_LC_TELEPHONE,
613
614   _NL_MEASUREMENT_MEASUREMENT = (((__LC_MEASUREMENT) << 16) | (0)),
615   _NL_MEASUREMENT_CODESET,
616   _NL_NUM_LC_MEASUREMENT,
617
618   _NL_IDENTIFICATION_TITLE = (((__LC_IDENTIFICATION) << 16) | (0)),
619   _NL_IDENTIFICATION_SOURCE,
620   _NL_IDENTIFICATION_ADDRESS,
621   _NL_IDENTIFICATION_CONTACT,
622   _NL_IDENTIFICATION_EMAIL,
623   _NL_IDENTIFICATION_TEL,
624   _NL_IDENTIFICATION_FAX,
625   _NL_IDENTIFICATION_LANGUAGE,
626   _NL_IDENTIFICATION_TERRITORY,
627   _NL_IDENTIFICATION_AUDIENCE,
628   _NL_IDENTIFICATION_APPLICATION,
629   _NL_IDENTIFICATION_ABBREVIATION,
630   _NL_IDENTIFICATION_REVISION,
631   _NL_IDENTIFICATION_DATE,
632   _NL_IDENTIFICATION_CATEGORY,
633   _NL_IDENTIFICATION_CODESET,
634   _NL_NUM_LC_IDENTIFICATION,
635
636
637   _NL_NUM
638 };
639 # 582 "../locale/langinfo.h"
640 extern char *nl_langinfo (nl_item __item) __attribute__ ((__nothrow__));
641
642
643
644
645
646
647
648 # 1 "../include/xlocale.h" 1
649 # 1 "../locale/xlocale.h" 1
650 # 28 "../locale/xlocale.h"
651 typedef struct __locale_struct
652 {
653
654   struct locale_data *__locales[13];
655
656
657   const unsigned short int *__ctype_b;
658   const int *__ctype_tolower;
659   const int *__ctype_toupper;
660
661
662   const char *__names[13];
663 } *__locale_t;
664 # 1 "../include/xlocale.h" 2
665 # 591 "../locale/langinfo.h" 2
666
667
668 extern char *nl_langinfo_l (nl_item __item, __locale_t l);
669
670
671
672 # 4 "../include/langinfo.h" 2
673
674 extern __typeof (nl_langinfo) nl_langinfo __asm__ ("" "__GI_nl_langinfo") __attribute__ ((visibility ("hidden")));
675
676 extern __typeof (nl_langinfo_l) __nl_langinfo_l;
677 # 25 "../include/../locale/localeinfo.h" 2
678 # 1 "../include/limits.h" 1
679 # 125 "../include/limits.h"
680 # 1 "/usr/lib/gcc/hppa2.0-unknown-linux-gnu/4.1.1/include/limits.h" 1 3 4
681 # 126 "../include/limits.h" 2
682 # 145 "../include/limits.h"
683 # 1 "../include/bits/posix1_lim.h" 1
684 # 1 "../posix/bits/posix1_lim.h" 1
685 # 153 "../posix/bits/posix1_lim.h"
686 # 1 "../nptl/sysdeps/unix/sysv/linux/bits/local_lim.h" 1
687 # 36 "../nptl/sysdeps/unix/sysv/linux/bits/local_lim.h"
688 # 1 "/usr/include/linux/limits.h" 1 3 4
689 # 37 "../nptl/sysdeps/unix/sysv/linux/bits/local_lim.h" 2
690 # 154 "../posix/bits/posix1_lim.h" 2
691 # 1 "../include/bits/posix1_lim.h" 2
692 # 146 "../include/limits.h" 2
693
694
695
696 # 1 "../include/bits/posix2_lim.h" 1
697 # 1 "../posix/bits/posix2_lim.h" 1
698 # 1 "../include/bits/posix2_lim.h" 2
699 # 150 "../include/limits.h" 2
700
701
702
703 # 1 "../include/bits/xopen_lim.h" 1
704 # 34 "../include/bits/xopen_lim.h"
705 # 1 "/var/tmp/portage/glibc-2.5/work/build-default-hppa2.0-unknown-linux-gnu-nptl/bits/stdio_lim.h" 1
706 # 35 "../include/bits/xopen_lim.h" 2
707 # 154 "../include/limits.h" 2
708 # 26 "../include/../locale/localeinfo.h" 2
709 # 1 "../include/locale.h" 1
710
711 # 1 "../locale/locale.h" 1
712 # 29 "../locale/locale.h"
713 # 1 "/usr/lib/gcc/hppa2.0-unknown-linux-gnu/4.1.1/include/stddef.h" 1 3 4
714 # 30 "../locale/locale.h" 2
715 # 1 "../include/bits/locale.h" 1
716 # 1 "../locale/bits/locale.h" 1
717 # 1 "../include/bits/locale.h" 2
718 # 31 "../locale/locale.h" 2
719
720
721 # 52 "../locale/locale.h"
722 struct lconv
723 {
724
725
726   char *decimal_point;
727   char *thousands_sep;
728
729
730
731
732
733   char *grouping;
734
735
736
737
738
739   char *int_curr_symbol;
740   char *currency_symbol;
741   char *mon_decimal_point;
742   char *mon_thousands_sep;
743   char *mon_grouping;
744   char *positive_sign;
745   char *negative_sign;
746   char int_frac_digits;
747   char frac_digits;
748
749   char p_cs_precedes;
750
751   char p_sep_by_space;
752
753   char n_cs_precedes;
754
755   char n_sep_by_space;
756
757
758
759
760
761
762   char p_sign_posn;
763   char n_sign_posn;
764
765
766   char int_p_cs_precedes;
767
768   char int_p_sep_by_space;
769
770   char int_n_cs_precedes;
771
772   char int_n_sep_by_space;
773
774
775
776
777
778
779   char int_p_sign_posn;
780   char int_n_sign_posn;
781 # 119 "../locale/locale.h"
782 };
783
784
785
786
787
788 extern char *setlocale (int __category, __const char *__locale) __attribute__ ((__nothrow__));
789
790
791 extern struct lconv *localeconv (void) __attribute__ ((__nothrow__));
792
793
794 # 146 "../locale/locale.h"
795 # 1 "../include/xlocale.h" 1
796 # 147 "../locale/locale.h" 2
797
798 typedef __locale_t locale_t;
799
800
801
802
803
804 extern __locale_t newlocale (int __category_mask, __const char *__locale,
805         __locale_t __base) __attribute__ ((__nothrow__));
806 # 189 "../locale/locale.h"
807 extern __locale_t duplocale (__locale_t __dataset) __attribute__ ((__nothrow__));
808
809
810
811 extern void freelocale (__locale_t __dataset) __attribute__ ((__nothrow__));
812
813
814
815
816
817
818 extern __locale_t uselocale (__locale_t __dataset) __attribute__ ((__nothrow__));
819
820
821
822
823
824
825
826
827 # 3 "../include/locale.h" 2
828
829 extern __typeof (uselocale) __uselocale;
830
831 extern __typeof (setlocale) setlocale __asm__ ("" "__GI_setlocale") __attribute__ ((visibility ("hidden")));
832
833
834
835
836 extern struct loaded_l10nfile *_nl_locale_file_list[] __attribute__ ((visibility ("hidden")));
837
838
839 extern const struct __locale_struct _nl_C_locobj __attribute__ ((visibility ("hidden")));
840
841
842
843 extern struct lconv *__localeconv (void);
844
845
846 extern const char *__current_locale_name (int category) __attribute__ ((visibility ("hidden")));
847 # 27 "../include/../locale/localeinfo.h" 2
848 # 1 "../include/time.h" 1
849
850
851
852
853 # 1 "../time/time.h" 1
854 # 31 "../time/time.h"
855
856
857
858
859
860
861
862
863 # 1 "/usr/lib/gcc/hppa2.0-unknown-linux-gnu/4.1.1/include/stddef.h" 1 3 4
864 # 40 "../time/time.h" 2
865
866
867
868 # 1 "../bits/time.h" 1
869 # 44 "../time/time.h" 2
870 # 57 "../time/time.h"
871 # 1 "../bits/types.h" 1
872 # 28 "../bits/types.h"
873 # 1 "../sysdeps/wordsize-32/bits/wordsize.h" 1
874 # 29 "../bits/types.h" 2
875
876
877 # 1 "/usr/lib/gcc/hppa2.0-unknown-linux-gnu/4.1.1/include/stddef.h" 1 3 4
878 # 32 "../bits/types.h" 2
879
880
881 typedef unsigned char __u_char;
882 typedef unsigned short int __u_short;
883 typedef unsigned int __u_int;
884 typedef unsigned long int __u_long;
885
886
887 typedef signed char __int8_t;
888 typedef unsigned char __uint8_t;
889 typedef signed short int __int16_t;
890 typedef unsigned short int __uint16_t;
891 typedef signed int __int32_t;
892 typedef unsigned int __uint32_t;
893
894
895
896
897 __extension__ typedef signed long long int __int64_t;
898 __extension__ typedef unsigned long long int __uint64_t;
899
900
901
902
903
904
905
906 __extension__ typedef long long int __quad_t;
907 __extension__ typedef unsigned long long int __u_quad_t;
908 # 134 "../bits/types.h"
909 # 1 "../bits/typesizes.h" 1
910 # 135 "../bits/types.h" 2
911
912
913 __extension__ typedef __u_quad_t __dev_t;
914 __extension__ typedef unsigned int __uid_t;
915 __extension__ typedef unsigned int __gid_t;
916 __extension__ typedef unsigned long int __ino_t;
917 __extension__ typedef __u_quad_t __ino64_t;
918 __extension__ typedef unsigned int __mode_t;
919 __extension__ typedef unsigned int __nlink_t;
920 __extension__ typedef long int __off_t;
921 __extension__ typedef __quad_t __off64_t;
922 __extension__ typedef int __pid_t;
923 __extension__ typedef struct { int __val[2]; } __fsid_t;
924 __extension__ typedef long int __clock_t;
925 __extension__ typedef unsigned long int __rlim_t;
926 __extension__ typedef __u_quad_t __rlim64_t;
927 __extension__ typedef unsigned int __id_t;
928 __extension__ typedef long int __time_t;
929 __extension__ typedef unsigned int __useconds_t;
930 __extension__ typedef long int __suseconds_t;
931
932 __extension__ typedef int __daddr_t;
933 __extension__ typedef long int __swblk_t;
934 __extension__ typedef int __key_t;
935
936
937 __extension__ typedef int __clockid_t;
938
939
940 __extension__ typedef void * __timer_t;
941
942
943 __extension__ typedef long int __blksize_t;
944
945
946
947
948 __extension__ typedef long int __blkcnt_t;
949 __extension__ typedef __quad_t __blkcnt64_t;
950
951
952 __extension__ typedef unsigned long int __fsblkcnt_t;
953 __extension__ typedef __u_quad_t __fsblkcnt64_t;
954
955
956 __extension__ typedef unsigned long int __fsfilcnt_t;
957 __extension__ typedef __u_quad_t __fsfilcnt64_t;
958
959 __extension__ typedef int __ssize_t;
960
961
962
963 typedef __off64_t __loff_t;
964 typedef __quad_t *__qaddr_t;
965 typedef char *__caddr_t;
966
967
968 __extension__ typedef int __intptr_t;
969
970
971 __extension__ typedef unsigned int __socklen_t;
972 # 58 "../time/time.h" 2
973
974
975
976 typedef __clock_t clock_t;
977
978
979
980 # 75 "../time/time.h"
981
982
983 typedef __time_t time_t;
984
985
986
987 # 93 "../time/time.h"
988 typedef __clockid_t clockid_t;
989 # 105 "../time/time.h"
990 typedef __timer_t timer_t;
991 # 121 "../time/time.h"
992 struct timespec
993   {
994     __time_t tv_sec;
995     long int tv_nsec;
996   };
997
998
999
1000
1001
1002
1003
1004
1005 struct tm
1006 {
1007   int tm_sec;
1008   int tm_min;
1009   int tm_hour;
1010   int tm_mday;
1011   int tm_mon;
1012   int tm_year;
1013   int tm_wday;
1014   int tm_yday;
1015   int tm_isdst;
1016
1017
1018   long int tm_gmtoff;
1019   __const char *tm_zone;
1020
1021
1022
1023
1024 };
1025
1026
1027
1028
1029
1030
1031
1032
1033 struct itimerspec
1034   {
1035     struct timespec it_interval;
1036     struct timespec it_value;
1037   };
1038
1039
1040 struct sigevent;
1041
1042
1043
1044
1045
1046 typedef __pid_t pid_t;
1047
1048
1049
1050
1051
1052
1053
1054
1055 extern clock_t clock (void) __attribute__ ((__nothrow__));
1056
1057
1058 extern time_t time (time_t *__timer) __attribute__ ((__nothrow__));
1059
1060
1061 extern double difftime (time_t __time1, time_t __time0)
1062      __attribute__ ((__nothrow__)) __attribute__ ((__const__));
1063
1064
1065 extern time_t mktime (struct tm *__tp) __attribute__ ((__nothrow__));
1066
1067
1068
1069
1070
1071 extern size_t strftime (char *__restrict __s, size_t __maxsize,
1072    __const char *__restrict __format,
1073    __const struct tm *__restrict __tp) __attribute__ ((__nothrow__));
1074
1075
1076
1077
1078
1079 extern char *strptime (__const char *__restrict __s,
1080          __const char *__restrict __fmt, struct tm *__tp)
1081      __attribute__ ((__nothrow__));
1082
1083
1084
1085
1086
1087 # 1 "../include/xlocale.h" 1
1088 # 217 "../time/time.h" 2
1089
1090 extern size_t strftime_l (char *__restrict __s, size_t __maxsize,
1091      __const char *__restrict __format,
1092      __const struct tm *__restrict __tp,
1093      __locale_t __loc) __attribute__ ((__nothrow__));
1094
1095 extern char *strptime_l (__const char *__restrict __s,
1096     __const char *__restrict __fmt, struct tm *__tp,
1097     __locale_t __loc) __attribute__ ((__nothrow__));
1098
1099
1100
1101
1102
1103
1104 extern struct tm *gmtime (__const time_t *__timer) __attribute__ ((__nothrow__));
1105
1106
1107
1108 extern struct tm *localtime (__const time_t *__timer) __attribute__ ((__nothrow__));
1109
1110
1111
1112
1113
1114 extern struct tm *gmtime_r (__const time_t *__restrict __timer,
1115        struct tm *__restrict __tp) __attribute__ ((__nothrow__));
1116
1117
1118
1119 extern struct tm *localtime_r (__const time_t *__restrict __timer,
1120           struct tm *__restrict __tp) __attribute__ ((__nothrow__));
1121
1122
1123
1124
1125
1126 extern char *asctime (__const struct tm *__tp) __attribute__ ((__nothrow__));
1127
1128
1129 extern char *ctime (__const time_t *__timer) __attribute__ ((__nothrow__));
1130
1131
1132
1133
1134
1135
1136
1137 extern char *asctime_r (__const struct tm *__restrict __tp,
1138    char *__restrict __buf) __attribute__ ((__nothrow__));
1139
1140
1141 extern char *ctime_r (__const time_t *__restrict __timer,
1142         char *__restrict __buf) __attribute__ ((__nothrow__));
1143
1144
1145
1146
1147 extern char *__tzname[2];
1148 extern int __daylight;
1149 extern long int __timezone;
1150
1151
1152
1153
1154 extern char *tzname[2];
1155
1156
1157
1158 extern void tzset (void) __attribute__ ((__nothrow__));
1159
1160
1161
1162 extern int daylight;
1163 extern long int timezone;
1164
1165
1166
1167
1168
1169 extern int stime (__const time_t *__when) __attribute__ ((__nothrow__));
1170 # 312 "../time/time.h"
1171 extern time_t timegm (struct tm *__tp) __attribute__ ((__nothrow__));
1172
1173
1174 extern time_t timelocal (struct tm *__tp) __attribute__ ((__nothrow__));
1175
1176
1177 extern int dysize (int __year) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
1178 # 327 "../time/time.h"
1179 extern int nanosleep (__const struct timespec *__requested_time,
1180         struct timespec *__remaining);
1181
1182
1183
1184 extern int clock_getres (clockid_t __clock_id, struct timespec *__res) __attribute__ ((__nothrow__));
1185
1186
1187 extern int clock_gettime (clockid_t __clock_id, struct timespec *__tp) __attribute__ ((__nothrow__));
1188
1189
1190 extern int clock_settime (clockid_t __clock_id, __const struct timespec *__tp)
1191      __attribute__ ((__nothrow__));
1192
1193
1194
1195
1196
1197
1198 extern int clock_nanosleep (clockid_t __clock_id, int __flags,
1199        __const struct timespec *__req,
1200        struct timespec *__rem);
1201
1202
1203 extern int clock_getcpuclockid (pid_t __pid, clockid_t *__clock_id) __attribute__ ((__nothrow__));
1204
1205
1206
1207
1208 extern int timer_create (clockid_t __clock_id,
1209     struct sigevent *__restrict __evp,
1210     timer_t *__restrict __timerid) __attribute__ ((__nothrow__));
1211
1212
1213 extern int timer_delete (timer_t __timerid) __attribute__ ((__nothrow__));
1214
1215
1216 extern int timer_settime (timer_t __timerid, int __flags,
1217      __const struct itimerspec *__restrict __value,
1218      struct itimerspec *__restrict __ovalue) __attribute__ ((__nothrow__));
1219
1220
1221 extern int timer_gettime (timer_t __timerid, struct itimerspec *__value)
1222      __attribute__ ((__nothrow__));
1223
1224
1225 extern int timer_getoverrun (timer_t __timerid) __attribute__ ((__nothrow__));
1226 # 389 "../time/time.h"
1227 extern int getdate_err;
1228 # 398 "../time/time.h"
1229 extern struct tm *getdate (__const char *__string);
1230 # 412 "../time/time.h"
1231 extern int getdate_r (__const char *__restrict __string,
1232         struct tm *__restrict __resbufp);
1233
1234
1235
1236 # 6 "../include/time.h" 2
1237 # 1 "../include/xlocale.h" 1
1238 # 7 "../include/time.h" 2
1239
1240
1241
1242 extern __typeof (strftime_l) __strftime_l;
1243 extern __typeof (__strftime_l) __strftime_l __asm__ ("" "__GI___strftime_l") __attribute__ ((visibility ("hidden")));
1244 extern __typeof (strptime_l) __strptime_l;
1245
1246 extern __typeof (time) time __asm__ ("" "__GI_time") __attribute__ ((visibility ("hidden")));
1247 extern __typeof (asctime) asctime __asm__ ("" "__GI_asctime") __attribute__ ((visibility ("hidden")));
1248 extern __typeof (mktime) mktime __asm__ ("" "__GI_mktime") __attribute__ ((visibility ("hidden")));
1249 extern __typeof (timelocal) timelocal __asm__ ("" "__GI_timelocal") __attribute__ ((visibility ("hidden")));
1250 extern __typeof (localtime) localtime __asm__ ("" "__GI_localtime") __attribute__ ((visibility ("hidden")));
1251 extern __typeof (strftime) strftime __asm__ ("" "__GI_strftime") __attribute__ ((visibility ("hidden")));
1252 extern __typeof (strptime) strptime __asm__ ("" "__GI_strptime") __attribute__ ((visibility ("hidden")));
1253
1254
1255
1256
1257 struct tm;
1258
1259
1260 extern const unsigned short int __mon_yday[2][13] __attribute__ ((visibility ("hidden")));
1261
1262
1263 extern struct tm _tmbuf __attribute__ ((visibility ("hidden")));
1264
1265
1266 extern char *__tzstring (const char *string);
1267
1268
1269 extern size_t __tzname_cur_max __attribute__ ((visibility ("hidden")));
1270
1271
1272 extern int __use_tzfile __attribute__ ((visibility ("hidden")));
1273
1274 extern void __tzfile_read (const char *file, size_t extra,
1275       char **extrap);
1276 extern void __tzfile_compute (time_t timer, int use_localtime,
1277          long int *leap_correct, int *leap_hit,
1278          struct tm *tp);
1279 extern void __tzfile_default (const char *std, const char *dst,
1280          long int stdoff, long int dstoff);
1281
1282
1283
1284
1285 extern time_t __mktime_internal (struct tm *__tp,
1286      struct tm *(*__func) (const time_t *,
1287              struct tm *),
1288      time_t *__offset);
1289 extern struct tm *__localtime_r (__const time_t *__timer,
1290      struct tm *__tp) __attribute__ ((visibility ("hidden")));
1291
1292 extern struct tm *__gmtime_r (__const time_t *__restrict __timer,
1293          struct tm *__restrict __tp);
1294 extern __typeof (__gmtime_r) __gmtime_r __asm__ ("" "__GI___gmtime_r") __attribute__ ((visibility ("hidden")));
1295
1296
1297
1298
1299
1300 extern int __offtime (__const time_t *__timer,
1301         long int __offset,
1302         struct tm *__tp);
1303
1304 extern char *__asctime_r (__const struct tm *__tp, char *__buf);
1305 extern void __tzset (void);
1306
1307
1308 extern struct tm *__tz_convert (const time_t *timer, int use_localtime, struct tm *tp);
1309
1310
1311
1312 extern long int __tzname_max (void);
1313
1314 extern int __nanosleep (__const struct timespec *__requested_time,
1315    struct timespec *__remaining);
1316 extern __typeof (__nanosleep) __nanosleep __asm__ ("" "__GI___nanosleep") __attribute__ ((visibility ("hidden")));
1317 extern int __nanosleep_nocancel (__const struct timespec *__requested_time,
1318      struct timespec *__remaining)
1319   __attribute__ ((visibility ("hidden")));
1320 extern int __getdate_r (__const char *__string, struct tm *__resbufp);
1321
1322
1323
1324 extern int __getclktck (void);
1325
1326
1327
1328
1329
1330
1331 enum ptime_locale_status { not, loc, raw };
1332
1333 extern char * __strptime_internal (const char *rp, const char *fmt,
1334        struct tm *tm,
1335        enum ptime_locale_status *decided,
1336        int era_cnt, __locale_t locparam)
1337      ;
1338
1339
1340 extern double __difftime (time_t time1, time_t time0);
1341 # 117 "../include/time.h"
1342
1343 # 28 "../include/../locale/localeinfo.h" 2
1344 # 1 "../sysdeps/generic/stdint.h" 1
1345 # 27 "../sysdeps/generic/stdint.h"
1346 # 1 "../bits/wchar.h" 1
1347 # 28 "../sysdeps/generic/stdint.h" 2
1348 # 1 "../sysdeps/wordsize-32/bits/wordsize.h" 1
1349 # 29 "../sysdeps/generic/stdint.h" 2
1350 # 37 "../sysdeps/generic/stdint.h"
1351 typedef signed char int8_t;
1352 typedef short int int16_t;
1353 typedef int int32_t;
1354
1355
1356
1357 __extension__
1358 typedef long long int int64_t;
1359
1360
1361
1362
1363 typedef unsigned char uint8_t;
1364 typedef unsigned short int uint16_t;
1365
1366 typedef unsigned int uint32_t;
1367
1368
1369
1370
1371
1372 __extension__
1373 typedef unsigned long long int uint64_t;
1374
1375
1376
1377
1378
1379
1380 typedef signed char int_least8_t;
1381 typedef short int int_least16_t;
1382 typedef int int_least32_t;
1383
1384
1385
1386 __extension__
1387 typedef long long int int_least64_t;
1388
1389
1390
1391 typedef unsigned char uint_least8_t;
1392 typedef unsigned short int uint_least16_t;
1393 typedef unsigned int uint_least32_t;
1394
1395
1396
1397 __extension__
1398 typedef unsigned long long int uint_least64_t;
1399
1400
1401
1402
1403
1404
1405 typedef signed char int_fast8_t;
1406
1407
1408
1409
1410
1411 typedef int int_fast16_t;
1412 typedef int int_fast32_t;
1413 __extension__
1414 typedef long long int int_fast64_t;
1415
1416
1417
1418 typedef unsigned char uint_fast8_t;
1419
1420
1421
1422
1423
1424 typedef unsigned int uint_fast16_t;
1425 typedef unsigned int uint_fast32_t;
1426 __extension__
1427 typedef unsigned long long int uint_fast64_t;
1428 # 126 "../sysdeps/generic/stdint.h"
1429 typedef int intptr_t;
1430
1431
1432 typedef unsigned int uintptr_t;
1433 # 138 "../sysdeps/generic/stdint.h"
1434 __extension__
1435 typedef long long int intmax_t;
1436 __extension__
1437 typedef unsigned long long int uintmax_t;
1438 # 29 "../include/../locale/localeinfo.h" 2
1439 # 1 "../include/sys/types.h" 1
1440 # 1 "../posix/sys/types.h" 1
1441 # 29 "../posix/sys/types.h"
1442
1443
1444
1445
1446
1447
1448 typedef __u_char u_char;
1449 typedef __u_short u_short;
1450 typedef __u_int u_int;
1451 typedef __u_long u_long;
1452 typedef __quad_t quad_t;
1453 typedef __u_quad_t u_quad_t;
1454 typedef __fsid_t fsid_t;
1455
1456
1457
1458
1459 typedef __loff_t loff_t;
1460
1461
1462
1463 typedef __ino_t ino_t;
1464
1465
1466
1467
1468
1469
1470 typedef __ino64_t ino64_t;
1471
1472
1473
1474
1475 typedef __dev_t dev_t;
1476
1477
1478
1479
1480 typedef __gid_t gid_t;
1481
1482
1483
1484
1485 typedef __mode_t mode_t;
1486
1487
1488
1489
1490 typedef __nlink_t nlink_t;
1491
1492
1493
1494
1495 typedef __uid_t uid_t;
1496
1497
1498
1499
1500
1501 typedef __off_t off_t;
1502
1503
1504
1505
1506
1507
1508 typedef __off64_t off64_t;
1509 # 105 "../posix/sys/types.h"
1510 typedef __id_t id_t;
1511
1512
1513
1514
1515 typedef __ssize_t ssize_t;
1516
1517
1518
1519
1520
1521 typedef __daddr_t daddr_t;
1522 typedef __caddr_t caddr_t;
1523
1524
1525
1526
1527
1528 typedef __key_t key_t;
1529 # 137 "../posix/sys/types.h"
1530 typedef __useconds_t useconds_t;
1531
1532
1533
1534 typedef __suseconds_t suseconds_t;
1535
1536
1537
1538
1539
1540 # 1 "/usr/lib/gcc/hppa2.0-unknown-linux-gnu/4.1.1/include/stddef.h" 1 3 4
1541 # 148 "../posix/sys/types.h" 2
1542
1543
1544
1545 typedef unsigned long int ulong;
1546 typedef unsigned short int ushort;
1547 typedef unsigned int uint;
1548 # 201 "../posix/sys/types.h"
1549 typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__)));
1550 typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__)));
1551 typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__)));
1552 typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__)));
1553
1554 typedef int register_t __attribute__ ((__mode__ (__word__)));
1555 # 217 "../posix/sys/types.h"
1556 # 1 "../include/endian.h" 1
1557 # 1 "../string/endian.h" 1
1558 # 37 "../string/endian.h"
1559 # 1 "../ports/sysdeps/hppa/bits/endian.h" 1
1560 # 38 "../string/endian.h" 2
1561 # 2 "../include/endian.h" 2
1562 # 218 "../posix/sys/types.h" 2
1563
1564
1565 # 1 "../include/sys/select.h" 1
1566
1567 # 1 "../misc/sys/select.h" 1
1568 # 31 "../misc/sys/select.h"
1569 # 1 "../bits/select.h" 1
1570 # 32 "../misc/sys/select.h" 2
1571
1572
1573 # 1 "../sysdeps/unix/sysv/linux/bits/sigset.h" 1
1574 # 23 "../sysdeps/unix/sysv/linux/bits/sigset.h"
1575 typedef int __sig_atomic_t;
1576
1577
1578
1579
1580 typedef struct
1581   {
1582     unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))];
1583   } __sigset_t;
1584 # 35 "../misc/sys/select.h" 2
1585
1586
1587
1588 typedef __sigset_t sigset_t;
1589
1590
1591
1592
1593
1594
1595
1596 # 1 "../bits/time.h" 1
1597 # 69 "../bits/time.h"
1598 struct timeval
1599   {
1600     __time_t tv_sec;
1601     __suseconds_t tv_usec;
1602   };
1603 # 47 "../misc/sys/select.h" 2
1604 # 55 "../misc/sys/select.h"
1605 typedef long int __fd_mask;
1606 # 67 "../misc/sys/select.h"
1607 typedef struct
1608   {
1609
1610
1611
1612     __fd_mask fds_bits[1024 / (8 * sizeof (__fd_mask))];
1613
1614
1615
1616
1617
1618   } fd_set;
1619
1620
1621
1622
1623
1624
1625 typedef __fd_mask fd_mask;
1626 # 99 "../misc/sys/select.h"
1627
1628 # 109 "../misc/sys/select.h"
1629 extern int select (int __nfds, fd_set *__restrict __readfds,
1630      fd_set *__restrict __writefds,
1631      fd_set *__restrict __exceptfds,
1632      struct timeval *__restrict __timeout);
1633 # 121 "../misc/sys/select.h"
1634 extern int pselect (int __nfds, fd_set *__restrict __readfds,
1635       fd_set *__restrict __writefds,
1636       fd_set *__restrict __exceptfds,
1637       const struct timespec *__restrict __timeout,
1638       const __sigset_t *__restrict __sigmask);
1639
1640
1641
1642 # 3 "../include/sys/select.h" 2
1643
1644
1645 extern int __pselect (int __nfds, fd_set *__readfds,
1646         fd_set *__writefds, fd_set *__exceptfds,
1647         const struct timespec *__timeout,
1648         const __sigset_t *__sigmask);
1649
1650 extern int __select (int __nfds, fd_set *__restrict __readfds,
1651        fd_set *__restrict __writefds,
1652        fd_set *__restrict __exceptfds,
1653        struct timeval *__restrict __timeout);
1654 extern __typeof (__select) __select __asm__ ("" "__GI___select") __attribute__ ((visibility ("hidden")));
1655 # 221 "../posix/sys/types.h" 2
1656
1657
1658 # 1 "../sysdeps/unix/sysv/linux/sys/sysmacros.h" 1
1659 # 29 "../sysdeps/unix/sysv/linux/sys/sysmacros.h"
1660 __extension__
1661 extern __inline unsigned int gnu_dev_major (unsigned long long int __dev)
1662      __attribute__ ((__nothrow__));
1663 __extension__
1664 extern __inline unsigned int gnu_dev_minor (unsigned long long int __dev)
1665      __attribute__ ((__nothrow__));
1666 __extension__
1667 extern __inline unsigned long long int gnu_dev_makedev (unsigned int __major,
1668        unsigned int __minor)
1669      __attribute__ ((__nothrow__));
1670
1671
1672 __extension__ extern __inline unsigned int
1673 __attribute__ ((__nothrow__)) gnu_dev_major (unsigned long long int __dev)
1674 {
1675   return ((__dev >> 8) & 0xfff) | ((unsigned int) (__dev >> 32) & ~0xfff);
1676 }
1677
1678 __extension__ extern __inline unsigned int
1679 __attribute__ ((__nothrow__)) gnu_dev_minor (unsigned long long int __dev)
1680 {
1681   return (__dev & 0xff) | ((unsigned int) (__dev >> 12) & ~0xff);
1682 }
1683
1684 __extension__ extern __inline unsigned long long int
1685 __attribute__ ((__nothrow__)) gnu_dev_makedev (unsigned int __major, unsigned int __minor)
1686 {
1687   return ((__minor & 0xff) | ((__major & 0xfff) << 8)
1688    | (((unsigned long long int) (__minor & ~0xff)) << 12)
1689    | (((unsigned long long int) (__major & ~0xfff)) << 32));
1690 }
1691 # 224 "../posix/sys/types.h" 2
1692
1693
1694
1695
1696 typedef __blksize_t blksize_t;
1697
1698
1699
1700
1701
1702
1703 typedef __blkcnt_t blkcnt_t;
1704
1705
1706
1707 typedef __fsblkcnt_t fsblkcnt_t;
1708
1709
1710
1711 typedef __fsfilcnt_t fsfilcnt_t;
1712 # 262 "../posix/sys/types.h"
1713 typedef __blkcnt64_t blkcnt64_t;
1714 typedef __fsblkcnt64_t fsblkcnt64_t;
1715 typedef __fsfilcnt64_t fsfilcnt64_t;
1716
1717
1718
1719
1720
1721 # 1 "../ports/sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h" 1
1722 # 48 "../ports/sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h"
1723 typedef unsigned long int pthread_t;
1724 # 60 "../ports/sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h"
1725 typedef union
1726 {
1727   char __size[36];
1728   long int __align;
1729 } pthread_attr_t;
1730
1731
1732 typedef struct __pthread_internal_slist
1733 {
1734   struct __pthread_internal_slist *__next;
1735 } __pthread_slist_t;
1736
1737
1738
1739
1740 typedef union
1741 {
1742   struct __pthread_mutex_s
1743   {
1744     int __lock;
1745     unsigned int __count;
1746     int __owner;
1747
1748
1749     int __kind;
1750     unsigned int __nusers;
1751     __extension__ union
1752     {
1753       int __spins;
1754       __pthread_slist_t __list;
1755     };
1756   } __data;
1757   char __size[48];
1758   long int __align;
1759 } pthread_mutex_t;
1760
1761 typedef union
1762 {
1763   char __size[4];
1764   long int __align;
1765 } pthread_mutexattr_t;
1766
1767
1768
1769
1770 typedef union
1771 {
1772   struct
1773   {
1774     int __lock;
1775     unsigned int __futex;
1776     __extension__ unsigned long long int __total_seq;
1777     __extension__ unsigned long long int __wakeup_seq;
1778     __extension__ unsigned long long int __woken_seq;
1779     void *__mutex;
1780     unsigned int __nwaiters;
1781     unsigned int __broadcast_seq;
1782   } __data;
1783   char __size[64];
1784   __extension__ long long int __align;
1785 } pthread_cond_t;
1786
1787 typedef union
1788 {
1789   char __size[4];
1790   long int __align;
1791 } pthread_condattr_t;
1792
1793
1794
1795 typedef unsigned int pthread_key_t;
1796
1797
1798
1799 typedef int pthread_once_t;
1800
1801
1802
1803
1804
1805 typedef union
1806 {
1807   struct
1808   {
1809     int __lock;
1810     unsigned int __nr_readers;
1811     unsigned int __readers_wakeup;
1812     unsigned int __writer_wakeup;
1813     unsigned int __nr_readers_queued;
1814     unsigned int __nr_writers_queued;
1815
1816
1817     unsigned int __flags;
1818     int __writer;
1819   } __data;
1820   char __size[64];
1821   long int __align;
1822 } pthread_rwlock_t;
1823
1824 typedef union
1825 {
1826   char __size[8];
1827   long int __align;
1828 } pthread_rwlockattr_t;
1829
1830
1831
1832
1833
1834 typedef volatile int pthread_spinlock_t;
1835
1836
1837
1838
1839 typedef union
1840 {
1841   char __size[48];
1842   long int __align;
1843 } pthread_barrier_t;
1844
1845 typedef union
1846 {
1847   char __size[4];
1848   int __align;
1849 } pthread_barrierattr_t;
1850 # 271 "../posix/sys/types.h" 2
1851
1852
1853
1854 # 1 "../include/sys/types.h" 2
1855 # 30 "../include/../locale/localeinfo.h" 2
1856
1857 # 1 "../intl/loadinfo.h" 1
1858 # 60 "../intl/loadinfo.h"
1859 struct loaded_l10nfile
1860 {
1861   const char *filename;
1862   int decided;
1863
1864   const void *data;
1865
1866   struct loaded_l10nfile *next;
1867   struct loaded_l10nfile *successor[1];
1868 };
1869
1870
1871
1872
1873
1874
1875 extern const char *_nl_normalize_codeset (const char *codeset, size_t name_len);
1876
1877
1878 extern struct loaded_l10nfile *
1879 _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);
1880 # 89 "../intl/loadinfo.h"
1881 extern const char *_nl_expand_alias (const char *name);
1882
1883
1884
1885 extern int _nl_explode_name (char *name, const char **language, const char **modifier, const char **territory, const char **codeset, const char **normalized_codeset);
1886 # 32 "../include/../locale/localeinfo.h" 2
1887 # 48 "../include/../locale/localeinfo.h"
1888 struct locale_data
1889 {
1890   const char *name;
1891   const char *filedata;
1892   off_t filesize;
1893   enum
1894   {
1895     ld_malloced,
1896     ld_mapped,
1897     ld_archive
1898   } alloc;
1899
1900
1901
1902
1903   struct
1904   {
1905     void (*cleanup) (struct locale_data *) ;
1906     union
1907     {
1908       void *data;
1909       struct lc_time_data *time;
1910       const struct gconv_fcts *ctype;
1911     };
1912   } private;
1913
1914   unsigned int usage_count;
1915
1916   int use_translit;
1917
1918
1919   unsigned int nstrings;
1920   union locale_data_value
1921   {
1922     const uint32_t *wstr;
1923     const char *string;
1924     unsigned int word;
1925   }
1926   values [];
1927 };
1928
1929
1930 enum coll_sort_rule
1931 {
1932   illegal_0__,
1933   sort_forward,
1934   sort_backward,
1935   illegal_3__,
1936   sort_position,
1937   sort_forward_position,
1938   sort_backward_position,
1939   sort_mask
1940 };
1941
1942
1943 enum value_type
1944 {
1945   none,
1946   string,
1947   stringarray,
1948   byte,
1949   bytearray,
1950   word,
1951   stringlist,
1952   wordarray,
1953   wstring,
1954   wstringarray,
1955   wstringlist
1956 };
1957 # 128 "../include/../locale/localeinfo.h"
1958 struct era_entry
1959 {
1960   uint32_t direction;
1961   int32_t offset;
1962   int32_t start_date[3];
1963   int32_t stop_date[3];
1964   const char *era_name;
1965   const char *era_format;
1966   const wchar_t *era_wname;
1967   const wchar_t *era_wformat;
1968   int absolute_direction;
1969
1970
1971
1972 };
1973
1974
1975
1976 struct lc_time_data
1977 {
1978   struct era_entry *eras;
1979   size_t num_eras;
1980   int era_initialized;
1981
1982   const char **alt_digits;
1983   const wchar_t **walt_digits;
1984   int alt_digits_initialized;
1985   int walt_digits_initialized;
1986 };
1987
1988
1989
1990
1991 enum
1992 {
1993   __TOW_toupper = 0,
1994   __TOW_tolower = 1
1995 };
1996 # 178 "../include/../locale/localeinfo.h"
1997 extern const union catnamestr_t
1998 {
1999   struct
2000   {
2001
2002
2003 # 1 "../include/../locale/categories.def" 1
2004 # 42 "../include/../locale/categories.def"
2005 char str62[sizeof ("LC_COLLATE")];
2006 # 68 "../include/../locale/categories.def"
2007 char str137[sizeof ("LC_CTYPE")];
2008 # 140 "../include/../locale/categories.def"
2009 char str189[sizeof ("LC_MONETARY")];
2010 # 192 "../include/../locale/categories.def"
2011 char str203[sizeof ("LC_NUMERIC")];
2012 # 206 "../include/../locale/categories.def"
2013 char str251[sizeof ("LC_TIME")];
2014 # 254 "../include/../locale/categories.def"
2015 char str263[sizeof ("LC_MESSAGES")];
2016 # 265 "../include/../locale/categories.def"
2017 char str272[sizeof ("LC_PAPER")];
2018 # 274 "../include/../locale/categories.def"
2019 char str285[sizeof ("LC_NAME")];
2020 # 287 "../include/../locale/categories.def"
2021 char str304[sizeof ("LC_ADDRESS")];
2022 # 306 "../include/../locale/categories.def"
2023 char str315[sizeof ("LC_TELEPHONE")];
2024 # 317 "../include/../locale/categories.def"
2025 char str323[sizeof ("LC_MEASUREMENT")];
2026
2027
2028
2029
2030
2031
2032
2033 char str345[sizeof ("LC_IDENTIFICATION")];
2034 # 185 "../include/../locale/localeinfo.h" 2
2035
2036   };
2037   char str[0];
2038 } _nl_category_names __attribute__ ((visibility ("hidden")));
2039 const uint8_t _nl_category_name_idxs[13] __attribute__ ((visibility ("hidden")));
2040 extern const uint8_t _nl_category_name_sizes[13] __attribute__ ((visibility ("hidden")));
2041
2042
2043 extern const char _nl_C_name[] __attribute__ ((visibility ("hidden")));
2044 extern const char _nl_POSIX_name[] __attribute__ ((visibility ("hidden")));
2045
2046
2047 extern const char _nl_C_codeset[] __attribute__ ((visibility ("hidden")));
2048
2049
2050
2051
2052 extern struct __locale_struct _nl_global_locale __attribute__ ((visibility ("hidden")));
2053
2054
2055
2056
2057 # 1 "../bits/libc-tsd.h" 1
2058 # 45 "../bits/libc-tsd.h"
2059 # 1 "../include/tls.h" 1
2060
2061
2062
2063
2064
2065 # 1 "../ports/sysdeps/hppa/nptl/tls.h" 1
2066 # 23 "../ports/sysdeps/hppa/nptl/tls.h"
2067 # 1 "../sysdeps/unix/sysv/linux/dl-sysdep.h" 1
2068 # 20 "../sysdeps/unix/sysv/linux/dl-sysdep.h"
2069 # 1 "../sysdeps/generic/dl-sysdep.h" 1
2070 # 21 "../sysdeps/unix/sysv/linux/dl-sysdep.h" 2
2071 # 24 "../ports/sysdeps/hppa/nptl/tls.h" 2
2072
2073
2074 # 1 "/usr/lib/gcc/hppa2.0-unknown-linux-gnu/4.1.1/include/stdbool.h" 1 3 4
2075 # 27 "../ports/sysdeps/hppa/nptl/tls.h" 2
2076 # 1 "/usr/lib/gcc/hppa2.0-unknown-linux-gnu/4.1.1/include/stddef.h" 1 3 4
2077 # 28 "../ports/sysdeps/hppa/nptl/tls.h" 2
2078
2079
2080
2081 typedef union dtv
2082 {
2083   size_t counter;
2084   struct
2085   {
2086     void *val;
2087     _Bool is_static;
2088   } pointer;
2089 } dtv_t;
2090 # 57 "../ports/sysdeps/hppa/nptl/tls.h"
2091 # 1 "../ports/sysdeps/unix/sysv/linux/hppa/sysdep.h" 1
2092 # 22 "../ports/sysdeps/unix/sysv/linux/hppa/sysdep.h"
2093 # 1 "/usr/include/asm/unistd.h" 1 3 4
2094 # 23 "../ports/sysdeps/unix/sysv/linux/hppa/sysdep.h" 2
2095 # 1 "../sysdeps/generic/sysdep.h" 1
2096 # 24 "../ports/sysdeps/unix/sysv/linux/hppa/sysdep.h" 2
2097 # 1 "../sysdeps/unix/sysv/linux/sys/syscall.h" 1
2098 # 25 "../ports/sysdeps/unix/sysv/linux/hppa/sysdep.h" 2
2099 # 58 "../ports/sysdeps/hppa/nptl/tls.h" 2
2100
2101
2102
2103
2104
2105 # 1 "../nptl/descr.h" 1
2106 # 23 "../nptl/descr.h"
2107 # 1 "../include/limits.h" 1
2108 # 145 "../include/limits.h"
2109 # 1 "../include/bits/posix1_lim.h" 1
2110 # 146 "../include/limits.h" 2
2111
2112
2113
2114 # 1 "../include/bits/posix2_lim.h" 1
2115 # 150 "../include/limits.h" 2
2116 # 24 "../nptl/descr.h" 2
2117 # 1 "../include/sched.h" 1
2118
2119 # 1 "../posix/sched.h" 1
2120 # 32 "../posix/sched.h"
2121 # 1 "../sysdeps/unix/sysv/linux/bits/sched.h" 1
2122 # 65 "../sysdeps/unix/sysv/linux/bits/sched.h"
2123 struct sched_param
2124   {
2125     int __sched_priority;
2126   };
2127
2128
2129
2130
2131
2132 extern int clone (int (*__fn) (void *__arg), void *__child_stack,
2133     int __flags, void *__arg, ...) __attribute__ ((__nothrow__));
2134
2135
2136 extern int unshare (int __flags) __attribute__ ((__nothrow__));
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147 struct __sched_param
2148   {
2149     int __sched_priority;
2150   };
2151 # 104 "../sysdeps/unix/sysv/linux/bits/sched.h"
2152 typedef unsigned long int __cpu_mask;
2153
2154
2155
2156
2157
2158
2159 typedef struct
2160 {
2161   __cpu_mask __bits[1024 / (8 * sizeof (__cpu_mask))];
2162 } cpu_set_t;
2163 # 33 "../posix/sched.h" 2
2164
2165
2166
2167
2168
2169
2170
2171 extern int sched_setparam (__pid_t __pid, __const struct sched_param *__param)
2172      __attribute__ ((__nothrow__));
2173
2174
2175 extern int sched_getparam (__pid_t __pid, struct sched_param *__param) __attribute__ ((__nothrow__));
2176
2177
2178 extern int sched_setscheduler (__pid_t __pid, int __policy,
2179           __const struct sched_param *__param) __attribute__ ((__nothrow__));
2180
2181
2182 extern int sched_getscheduler (__pid_t __pid) __attribute__ ((__nothrow__));
2183
2184
2185 extern int sched_yield (void) __attribute__ ((__nothrow__));
2186
2187
2188 extern int sched_get_priority_max (int __algorithm) __attribute__ ((__nothrow__));
2189
2190
2191 extern int sched_get_priority_min (int __algorithm) __attribute__ ((__nothrow__));
2192
2193
2194 extern int sched_rr_get_interval (__pid_t __pid, struct timespec *__t) __attribute__ ((__nothrow__));
2195 # 76 "../posix/sched.h"
2196 extern int sched_setaffinity (__pid_t __pid, size_t __cpusetsize,
2197          __const cpu_set_t *__cpuset) __attribute__ ((__nothrow__));
2198
2199
2200 extern int sched_getaffinity (__pid_t __pid, size_t __cpusetsize,
2201          cpu_set_t *__cpuset) __attribute__ ((__nothrow__));
2202
2203
2204
2205 # 3 "../include/sched.h" 2
2206
2207
2208 extern int __sched_setparam (__pid_t __pid,
2209         __const struct sched_param *__param);
2210 extern int __sched_getparam (__pid_t __pid, struct sched_param *__param);
2211 extern int __sched_setscheduler (__pid_t __pid, int __policy,
2212      __const struct sched_param *__param);
2213 extern __typeof (__sched_setscheduler) __sched_setscheduler __asm__ ("" "__GI___sched_setscheduler") __attribute__ ((visibility ("hidden")));
2214 extern int __sched_getscheduler (__pid_t __pid);
2215 extern int __sched_yield (void);
2216 extern __typeof (__sched_yield) __sched_yield __asm__ ("" "__GI___sched_yield") __attribute__ ((visibility ("hidden")));
2217 extern int __sched_get_priority_max (int __algorithm);
2218 extern int __sched_get_priority_min (int __algorithm);
2219 extern int __sched_rr_get_interval (__pid_t __pid, struct timespec *__t);
2220
2221
2222 extern int __clone (int (*__fn) (void *__arg), void *__child_stack,
2223       int __flags, void *__arg, ...);
2224 extern int __clone2 (int (*__fn) (void *__arg), void *__child_stack_base,
2225        size_t __child_stack_size, int __flags, void *__arg, ...);
2226 # 25 "../nptl/descr.h" 2
2227 # 1 "../include/setjmp.h" 1
2228
2229 # 1 "../setjmp/setjmp.h" 1
2230 # 28 "../setjmp/setjmp.h"
2231
2232
2233 # 1 "../ports/sysdeps/hppa/bits/setjmp.h" 1
2234 # 33 "../ports/sysdeps/hppa/bits/setjmp.h"
2235 typedef double __jmp_buf[21];
2236 # 31 "../setjmp/setjmp.h" 2
2237 # 1 "../sysdeps/unix/sysv/linux/bits/sigset.h" 1
2238 # 32 "../setjmp/setjmp.h" 2
2239
2240
2241
2242
2243 typedef struct __jmp_buf_tag
2244   {
2245
2246
2247
2248
2249     __jmp_buf __jmpbuf;
2250     int __mask_was_saved;
2251     __sigset_t __saved_mask;
2252   } jmp_buf[1];
2253
2254
2255
2256
2257 extern int setjmp (jmp_buf __env) __attribute__ ((__nothrow__));
2258
2259
2260
2261
2262
2263
2264
2265 extern int __sigsetjmp (struct __jmp_buf_tag __env[1], int __savemask) __attribute__ ((__nothrow__));
2266
2267
2268
2269
2270 extern int _setjmp (struct __jmp_buf_tag __env[1]) __attribute__ ((__nothrow__));
2271 # 76 "../setjmp/setjmp.h"
2272
2273
2274
2275
2276 extern void longjmp (struct __jmp_buf_tag __env[1], int __val)
2277      __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__));
2278
2279
2280
2281
2282
2283
2284
2285 extern void _longjmp (struct __jmp_buf_tag __env[1], int __val)
2286      __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__));
2287
2288
2289
2290
2291
2292
2293
2294 typedef struct __jmp_buf_tag sigjmp_buf[1];
2295 # 108 "../setjmp/setjmp.h"
2296 extern void siglongjmp (sigjmp_buf __env, int __val)
2297      __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__));
2298
2299
2300
2301 # 3 "../include/setjmp.h" 2
2302
2303
2304
2305
2306 extern void __longjmp (__jmp_buf __env, int __val)
2307      __attribute__ ((__noreturn__));
2308
2309
2310
2311
2312
2313 extern int __sigjmp_save (jmp_buf __env, int __savemask);
2314
2315 extern void _longjmp_unwind (jmp_buf env, int val);
2316
2317 extern void __libc_siglongjmp (sigjmp_buf env, int val)
2318           __attribute__ ((noreturn));
2319 extern void __libc_longjmp (sigjmp_buf env, int val)
2320      __attribute__ ((noreturn));
2321 extern __typeof (__libc_longjmp) __libc_longjmp __asm__ ("" "__GI___libc_longjmp") __attribute__ ((visibility ("hidden")));
2322
2323 extern __typeof (_setjmp) _setjmp __asm__ ("" "__GI__setjmp") __attribute__ ((visibility ("hidden")));
2324 extern __typeof (__sigsetjmp) __sigsetjmp __asm__ ("" "__GI___sigsetjmp") __attribute__ ((visibility ("hidden")));
2325 # 26 "../nptl/descr.h" 2
2326
2327 # 1 "../include/sys/types.h" 1
2328 # 28 "../nptl/descr.h" 2
2329 # 1 "../sysdeps/generic/hp-timing.h" 1
2330 # 71 "../sysdeps/generic/hp-timing.h"
2331 typedef int hp_timing_t;
2332 # 29 "../nptl/descr.h" 2
2333 # 1 "../nptl/sysdeps/pthread/list.h" 1
2334 # 29 "../nptl/sysdeps/pthread/list.h"
2335 typedef struct list_head
2336 {
2337   struct list_head *next;
2338   struct list_head *prev;
2339 } list_t;
2340 # 46 "../nptl/sysdeps/pthread/list.h"
2341 static inline void
2342 list_add (list_t *newp, list_t *head)
2343 {
2344   head->next->prev = newp;
2345   newp->next = head->next;
2346   newp->prev = head;
2347   head->next = newp;
2348 }
2349
2350
2351
2352 static inline void
2353 list_add_tail (list_t *newp, list_t *head)
2354 {
2355   head->prev->next = newp;
2356   newp->next = head;
2357   newp->prev = head->prev;
2358   head->prev = newp;
2359 }
2360
2361
2362
2363 static inline void
2364 list_del (list_t *elem)
2365 {
2366   elem->next->prev = elem->prev;
2367   elem->prev->next = elem->next;
2368 }
2369
2370
2371
2372 static inline void
2373 list_splice (list_t *add, list_t *head)
2374 {
2375
2376   if (add != add->next)
2377     {
2378       add->next->prev = head;
2379       add->prev->next = head->next;
2380       head->next->prev = add->prev;
2381       head->next = add->next;
2382     }
2383 }
2384 # 30 "../nptl/descr.h" 2
2385 # 1 "../ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h" 1
2386 # 23 "../ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h"
2387 # 1 "../sysdeps/unix/sysv/linux/sys/param.h" 1
2388 # 22 "../sysdeps/unix/sysv/linux/sys/param.h"
2389 # 1 "../include/limits.h" 1
2390 # 145 "../include/limits.h"
2391 # 1 "../include/bits/posix1_lim.h" 1
2392 # 146 "../include/limits.h" 2
2393
2394
2395
2396 # 1 "../include/bits/posix2_lim.h" 1
2397 # 150 "../include/limits.h" 2
2398 # 23 "../sysdeps/unix/sysv/linux/sys/param.h" 2
2399
2400 # 1 "/usr/include/linux/param.h" 1 3 4
2401
2402
2403
2404 # 1 "/usr/include/asm/param.h" 1 3 4
2405 # 5 "/usr/include/linux/param.h" 2 3 4
2406 # 25 "../sysdeps/unix/sysv/linux/sys/param.h" 2
2407 # 42 "../sysdeps/unix/sysv/linux/sys/param.h"
2408 # 1 "../include/sys/types.h" 1
2409 # 43 "../sysdeps/unix/sysv/linux/sys/param.h" 2
2410 # 24 "../ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h" 2
2411
2412 # 1 "../ports/sysdeps/unix/sysv/linux/hppa/sysdep.h" 1
2413 # 23 "../ports/sysdeps/unix/sysv/linux/hppa/sysdep.h"
2414 # 1 "../sysdeps/generic/sysdep.h" 1
2415 # 24 "../ports/sysdeps/unix/sysv/linux/hppa/sysdep.h" 2
2416 # 26 "../ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h" 2
2417 # 1 "../include/atomic.h" 1
2418 # 49 "../include/atomic.h"
2419 # 1 "../include/stdlib.h" 1
2420
2421
2422
2423
2424
2425
2426 # 1 "/usr/lib/gcc/hppa2.0-unknown-linux-gnu/4.1.1/include/stddef.h" 1 3 4
2427 # 8 "../include/stdlib.h" 2
2428 # 1 "../stdlib/stdlib.h" 1
2429 # 33 "../stdlib/stdlib.h"
2430 # 1 "/usr/lib/gcc/hppa2.0-unknown-linux-gnu/4.1.1/include/stddef.h" 1 3 4
2431 # 34 "../stdlib/stdlib.h" 2
2432
2433
2434
2435
2436
2437
2438
2439
2440 # 1 "../sysdeps/unix/sysv/linux/bits/waitflags.h" 1
2441 # 43 "../stdlib/stdlib.h" 2
2442 # 1 "../bits/waitstatus.h" 1
2443 # 65 "../bits/waitstatus.h"
2444 # 1 "../include/endian.h" 1
2445 # 66 "../bits/waitstatus.h" 2
2446
2447 union wait
2448   {
2449     int w_status;
2450     struct
2451       {
2452
2453
2454
2455
2456
2457
2458
2459  unsigned int:16;
2460  unsigned int __w_retcode:8;
2461  unsigned int __w_coredump:1;
2462  unsigned int __w_termsig:7;
2463
2464       } __wait_terminated;
2465     struct
2466       {
2467
2468
2469
2470
2471
2472
2473  unsigned int:16;
2474  unsigned int __w_stopsig:8;
2475  unsigned int __w_stopval:8;
2476
2477       } __wait_stopped;
2478   };
2479 # 44 "../stdlib/stdlib.h" 2
2480 # 68 "../stdlib/stdlib.h"
2481 typedef union
2482   {
2483     union wait *__uptr;
2484     int *__iptr;
2485   } __WAIT_STATUS __attribute__ ((__transparent_union__));
2486 # 96 "../stdlib/stdlib.h"
2487
2488
2489 typedef struct
2490   {
2491     int quot;
2492     int rem;
2493   } div_t;
2494
2495
2496
2497 typedef struct
2498   {
2499     long int quot;
2500     long int rem;
2501   } ldiv_t;
2502
2503
2504
2505
2506
2507
2508
2509 __extension__ typedef struct
2510   {
2511     long long int quot;
2512     long long int rem;
2513   } lldiv_t;
2514
2515
2516 # 140 "../stdlib/stdlib.h"
2517 extern size_t __ctype_get_mb_cur_max (void) __attribute__ ((__nothrow__)) ;
2518
2519
2520
2521
2522 extern double atof (__const char *__nptr)
2523      __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ;
2524
2525 extern int atoi (__const char *__nptr)
2526      __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ;
2527
2528 extern long int atol (__const char *__nptr)
2529      __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ;
2530
2531
2532
2533
2534
2535 __extension__ extern long long int atoll (__const char *__nptr)
2536      __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ;
2537
2538
2539
2540
2541
2542 extern double strtod (__const char *__restrict __nptr,
2543         char **__restrict __endptr)
2544      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
2545
2546
2547
2548
2549
2550 extern float strtof (__const char *__restrict __nptr,
2551        char **__restrict __endptr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
2552
2553 extern long double strtold (__const char *__restrict __nptr,
2554        char **__restrict __endptr)
2555      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
2556
2557
2558
2559
2560
2561 extern long int strtol (__const char *__restrict __nptr,
2562    char **__restrict __endptr, int __base)
2563      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
2564
2565 extern unsigned long int strtoul (__const char *__restrict __nptr,
2566       char **__restrict __endptr, int __base)
2567      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
2568
2569
2570
2571
2572 __extension__
2573 extern long long int strtoq (__const char *__restrict __nptr,
2574         char **__restrict __endptr, int __base)
2575      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
2576
2577 __extension__
2578 extern unsigned long long int strtouq (__const char *__restrict __nptr,
2579            char **__restrict __endptr, int __base)
2580      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
2581
2582
2583
2584
2585
2586 __extension__
2587 extern long long int strtoll (__const char *__restrict __nptr,
2588          char **__restrict __endptr, int __base)
2589      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
2590
2591 __extension__
2592 extern unsigned long long int strtoull (__const char *__restrict __nptr,
2593      char **__restrict __endptr, int __base)
2594      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
2595
2596 # 236 "../stdlib/stdlib.h"
2597 # 1 "../include/xlocale.h" 1
2598 # 237 "../stdlib/stdlib.h" 2
2599
2600
2601
2602 extern long int strtol_l (__const char *__restrict __nptr,
2603      char **__restrict __endptr, int __base,
2604      __locale_t __loc) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 4))) ;
2605
2606 extern unsigned long int strtoul_l (__const char *__restrict __nptr,
2607         char **__restrict __endptr,
2608         int __base, __locale_t __loc)
2609      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 4))) ;
2610
2611 __extension__
2612 extern long long int strtoll_l (__const char *__restrict __nptr,
2613     char **__restrict __endptr, int __base,
2614     __locale_t __loc)
2615      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 4))) ;
2616
2617 __extension__
2618 extern unsigned long long int strtoull_l (__const char *__restrict __nptr,
2619        char **__restrict __endptr,
2620        int __base, __locale_t __loc)
2621      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 4))) ;
2622
2623 extern double strtod_l (__const char *__restrict __nptr,
2624    char **__restrict __endptr, __locale_t __loc)
2625      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 3))) ;
2626
2627 extern float strtof_l (__const char *__restrict __nptr,
2628          char **__restrict __endptr, __locale_t __loc)
2629      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 3))) ;
2630
2631 extern long double strtold_l (__const char *__restrict __nptr,
2632          char **__restrict __endptr,
2633          __locale_t __loc)
2634      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 3))) ;
2635
2636
2637
2638
2639
2640
2641 extern double __strtod_internal (__const char *__restrict __nptr,
2642      char **__restrict __endptr, int __group)
2643      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
2644 extern float __strtof_internal (__const char *__restrict __nptr,
2645     char **__restrict __endptr, int __group)
2646      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
2647 extern long double __strtold_internal (__const char *__restrict __nptr,
2648            char **__restrict __endptr,
2649            int __group)
2650      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
2651
2652 extern long int __strtol_internal (__const char *__restrict __nptr,
2653        char **__restrict __endptr,
2654        int __base, int __group)
2655      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
2656
2657
2658
2659 extern unsigned long int __strtoul_internal (__const char *__restrict __nptr,
2660           char **__restrict __endptr,
2661           int __base, int __group)
2662      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
2663
2664
2665
2666
2667 __extension__
2668 extern long long int __strtoll_internal (__const char *__restrict __nptr,
2669       char **__restrict __endptr,
2670       int __base, int __group)
2671      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
2672
2673
2674
2675 __extension__
2676 extern unsigned long long int __strtoull_internal (__const char *
2677          __restrict __nptr,
2678          char **__restrict __endptr,
2679          int __base, int __group)
2680      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
2681
2682
2683
2684
2685
2686
2687
2688
2689 extern __inline double
2690 __attribute__ ((__nothrow__)) strtod (__const char *__restrict __nptr, char **__restrict __endptr)
2691 {
2692   return __strtod_internal (__nptr, __endptr, 0);
2693 }
2694 extern __inline long int
2695 __attribute__ ((__nothrow__)) strtol (__const char *__restrict __nptr, char **__restrict __endptr, int __base)
2696
2697 {
2698   return __strtol_internal (__nptr, __endptr, __base, 0);
2699 }
2700 extern __inline unsigned long int
2701 __attribute__ ((__nothrow__)) strtoul (__const char *__restrict __nptr, char **__restrict __endptr, int __base)
2702
2703 {
2704   return __strtoul_internal (__nptr, __endptr, __base, 0);
2705 }
2706
2707
2708
2709
2710 extern __inline float
2711 __attribute__ ((__nothrow__)) strtof (__const char *__restrict __nptr, char **__restrict __endptr)
2712 {
2713   return __strtof_internal (__nptr, __endptr, 0);
2714 }
2715
2716 extern __inline long double
2717 __attribute__ ((__nothrow__)) strtold (__const char *__restrict __nptr, char **__restrict __endptr)
2718 {
2719   return __strtold_internal (__nptr, __endptr, 0);
2720 }
2721
2722
2723
2724
2725
2726 __extension__ extern __inline long long int
2727 __attribute__ ((__nothrow__)) strtoq (__const char *__restrict __nptr, char **__restrict __endptr, int __base)
2728
2729 {
2730   return __strtoll_internal (__nptr, __endptr, __base, 0);
2731 }
2732 __extension__ extern __inline unsigned long long int
2733 __attribute__ ((__nothrow__)) strtouq (__const char *__restrict __nptr, char **__restrict __endptr, int __base)
2734
2735 {
2736   return __strtoull_internal (__nptr, __endptr, __base, 0);
2737 }
2738
2739
2740
2741
2742 __extension__ extern __inline long long int
2743 __attribute__ ((__nothrow__)) strtoll (__const char *__restrict __nptr, char **__restrict __endptr, int __base)
2744
2745 {
2746   return __strtoll_internal (__nptr, __endptr, __base, 0);
2747 }
2748 __extension__ extern __inline unsigned long long int
2749 __attribute__ ((__nothrow__)) strtoull (__const char * __restrict __nptr, char **__restrict __endptr, int __base)
2750
2751 {
2752   return __strtoull_internal (__nptr, __endptr, __base, 0);
2753 }
2754
2755
2756
2757
2758 extern __inline double
2759 __attribute__ ((__nothrow__)) atof (__const char *__nptr)
2760 {
2761   return strtod (__nptr, (char **) ((void *)0));
2762 }
2763 extern __inline int
2764 __attribute__ ((__nothrow__)) atoi (__const char *__nptr)
2765 {
2766   return (int) strtol (__nptr, (char **) ((void *)0), 10);
2767 }
2768 extern __inline long int
2769 __attribute__ ((__nothrow__)) atol (__const char *__nptr)
2770 {
2771   return strtol (__nptr, (char **) ((void *)0), 10);
2772 }
2773
2774
2775
2776
2777 __extension__ extern __inline long long int
2778 __attribute__ ((__nothrow__)) atoll (__const char *__nptr)
2779 {
2780   return strtoll (__nptr, (char **) ((void *)0), 10);
2781 }
2782
2783 # 429 "../stdlib/stdlib.h"
2784 extern char *l64a (long int __n) __attribute__ ((__nothrow__)) ;
2785
2786
2787 extern long int a64l (__const char *__s)
2788      __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ;
2789
2790
2791
2792
2793 # 1 "../include/sys/types.h" 1
2794 # 439 "../stdlib/stdlib.h" 2
2795
2796
2797
2798
2799
2800
2801 extern long int random (void) __attribute__ ((__nothrow__));
2802
2803
2804 extern void srandom (unsigned int __seed) __attribute__ ((__nothrow__));
2805
2806
2807
2808
2809
2810 extern char *initstate (unsigned int __seed, char *__statebuf,
2811    size_t __statelen) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
2812
2813
2814
2815 extern char *setstate (char *__statebuf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2816
2817
2818
2819
2820
2821
2822
2823 struct random_data
2824   {
2825     int32_t *fptr;
2826     int32_t *rptr;
2827     int32_t *state;
2828     int rand_type;
2829     int rand_deg;
2830     int rand_sep;
2831     int32_t *end_ptr;
2832   };
2833
2834 extern int random_r (struct random_data *__restrict __buf,
2835        int32_t *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
2836
2837 extern int srandom_r (unsigned int __seed, struct random_data *__buf)
2838      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
2839
2840 extern int initstate_r (unsigned int __seed, char *__restrict __statebuf,
2841    size_t __statelen,
2842    struct random_data *__restrict __buf)
2843      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 4)));
2844
2845 extern int setstate_r (char *__restrict __statebuf,
2846          struct random_data *__restrict __buf)
2847      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
2848
2849
2850
2851
2852
2853
2854 extern int rand (void) __attribute__ ((__nothrow__));
2855
2856 extern void srand (unsigned int __seed) __attribute__ ((__nothrow__));
2857
2858
2859
2860
2861 extern int rand_r (unsigned int *__seed) __attribute__ ((__nothrow__));
2862
2863
2864
2865
2866
2867
2868
2869 extern double drand48 (void) __attribute__ ((__nothrow__));
2870 extern double erand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2871
2872
2873 extern long int lrand48 (void) __attribute__ ((__nothrow__));
2874 extern long int nrand48 (unsigned short int __xsubi[3])
2875      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2876
2877
2878 extern long int mrand48 (void) __attribute__ ((__nothrow__));
2879 extern long int jrand48 (unsigned short int __xsubi[3])
2880      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2881
2882
2883 extern void srand48 (long int __seedval) __attribute__ ((__nothrow__));
2884 extern unsigned short int *seed48 (unsigned short int __seed16v[3])
2885      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2886 extern void lcong48 (unsigned short int __param[7]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2887
2888
2889
2890
2891
2892 struct drand48_data
2893   {
2894     unsigned short int __x[3];
2895     unsigned short int __old_x[3];
2896     unsigned short int __c;
2897     unsigned short int __init;
2898     unsigned long long int __a;
2899   };
2900
2901
2902 extern int drand48_r (struct drand48_data *__restrict __buffer,
2903         double *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
2904 extern int erand48_r (unsigned short int __xsubi[3],
2905         struct drand48_data *__restrict __buffer,
2906         double *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
2907
2908
2909 extern int lrand48_r (struct drand48_data *__restrict __buffer,
2910         long int *__restrict __result)
2911      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
2912 extern int nrand48_r (unsigned short int __xsubi[3],
2913         struct drand48_data *__restrict __buffer,
2914         long int *__restrict __result)
2915      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
2916
2917
2918 extern int mrand48_r (struct drand48_data *__restrict __buffer,
2919         long int *__restrict __result)
2920      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
2921 extern int jrand48_r (unsigned short int __xsubi[3],
2922         struct drand48_data *__restrict __buffer,
2923         long int *__restrict __result)
2924      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
2925
2926
2927 extern int srand48_r (long int __seedval, struct drand48_data *__buffer)
2928      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
2929
2930 extern int seed48_r (unsigned short int __seed16v[3],
2931        struct drand48_data *__buffer) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
2932
2933 extern int lcong48_r (unsigned short int __param[7],
2934         struct drand48_data *__buffer)
2935      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945 extern void *malloc (size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) ;
2946
2947 extern void *calloc (size_t __nmemb, size_t __size)
2948      __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) ;
2949
2950
2951
2952
2953
2954
2955
2956 extern void *realloc (void *__ptr, size_t __size)
2957      __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__warn_unused_result__));
2958
2959 extern void free (void *__ptr) __attribute__ ((__nothrow__));
2960
2961
2962
2963
2964 extern void cfree (void *__ptr) __attribute__ ((__nothrow__));
2965
2966
2967
2968 # 1 "../include/alloca.h" 1
2969
2970
2971 # 1 "../stdlib/alloca.h" 1
2972 # 25 "../stdlib/alloca.h"
2973 # 1 "/usr/lib/gcc/hppa2.0-unknown-linux-gnu/4.1.1/include/stddef.h" 1 3 4
2974 # 26 "../stdlib/alloca.h" 2
2975
2976
2977
2978
2979
2980
2981
2982 extern void *alloca (size_t __size) __attribute__ ((__nothrow__));
2983
2984
2985
2986
2987
2988
2989 # 4 "../include/alloca.h" 2
2990 # 1 "../ports/sysdeps/hppa/stackinfo.h" 1
2991 # 5 "../include/alloca.h" 2
2992
2993
2994
2995
2996 extern void *__alloca (size_t __size);
2997
2998
2999
3000
3001
3002 extern int __libc_use_alloca (size_t size) __attribute__ ((const));
3003 extern int __libc_alloca_cutoff (size_t size) __attribute__ ((const));
3004
3005
3006
3007 # 1 "../nptl/sysdeps/pthread/allocalim.h" 1
3008 # 20 "../nptl/sysdeps/pthread/allocalim.h"
3009 # 1 "../include/alloca.h" 1
3010 # 21 "../nptl/sysdeps/pthread/allocalim.h" 2
3011 # 1 "../include/limits.h" 1
3012 # 145 "../include/limits.h"
3013 # 1 "../include/bits/posix1_lim.h" 1
3014 # 146 "../include/limits.h" 2
3015
3016
3017
3018 # 1 "../include/bits/posix2_lim.h" 1
3019 # 150 "../include/limits.h" 2
3020 # 22 "../nptl/sysdeps/pthread/allocalim.h" 2
3021
3022
3023 extern int
3024 __inline __attribute__ ((__always_inline__))
3025 __libc_use_alloca (size_t size)
3026 {
3027   return (__builtin_expect (size <= 16384 / 4, 1)
3028    || __libc_alloca_cutoff (size));
3029 }
3030 # 21 "../include/alloca.h" 2
3031 # 613 "../stdlib/stdlib.h" 2
3032
3033
3034
3035
3036 extern void *valloc (size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) ;
3037
3038
3039
3040
3041 extern int posix_memalign (void **__memptr, size_t __alignment, size_t __size)
3042      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
3043
3044
3045
3046
3047 extern void abort (void) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__));
3048
3049
3050
3051 extern int atexit (void (*__func) (void)) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
3052
3053
3054
3055
3056
3057 extern int on_exit (void (*__func) (int __status, void *__arg), void *__arg)
3058      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
3059
3060
3061
3062
3063
3064
3065 extern void exit (int __status) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__));
3066
3067
3068
3069
3070
3071
3072 extern void _Exit (int __status) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__));
3073
3074
3075
3076
3077
3078
3079 extern char *getenv (__const char *__name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
3080
3081
3082
3083
3084 extern char *__secure_getenv (__const char *__name)
3085      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
3086
3087
3088
3089
3090
3091 extern int putenv (char *__string) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
3092
3093
3094
3095
3096
3097 extern int setenv (__const char *__name, __const char *__value, int __replace)
3098      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
3099
3100
3101 extern int unsetenv (__const char *__name) __attribute__ ((__nothrow__));
3102
3103
3104
3105
3106
3107
3108 extern int clearenv (void) __attribute__ ((__nothrow__));
3109 # 698 "../stdlib/stdlib.h"
3110 extern char *mktemp (char *__template) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
3111 # 709 "../stdlib/stdlib.h"
3112 extern int mkstemp (char *__template) __attribute__ ((__nonnull__ (1))) ;
3113 # 719 "../stdlib/stdlib.h"
3114 extern int mkstemp64 (char *__template) __attribute__ ((__nonnull__ (1))) ;
3115 # 729 "../stdlib/stdlib.h"
3116 extern char *mkdtemp (char *__template) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
3117
3118
3119
3120
3121
3122
3123
3124
3125 extern int system (__const char *__command) ;
3126
3127
3128
3129
3130
3131
3132 extern char *canonicalize_file_name (__const char *__name)
3133      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
3134 # 756 "../stdlib/stdlib.h"
3135 extern char *realpath (__const char *__restrict __name,
3136          char *__restrict __resolved) __attribute__ ((__nothrow__)) ;
3137
3138
3139
3140
3141
3142
3143 typedef int (*__compar_fn_t) (__const void *, __const void *);
3144
3145
3146 typedef __compar_fn_t comparison_fn_t;
3147
3148
3149
3150
3151
3152
3153 extern void *bsearch (__const void *__key, __const void *__base,
3154         size_t __nmemb, size_t __size, __compar_fn_t __compar)
3155      __attribute__ ((__nonnull__ (1, 2, 5))) ;
3156
3157
3158
3159 extern void qsort (void *__base, size_t __nmemb, size_t __size,
3160      __compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 4)));
3161
3162
3163
3164 extern int abs (int __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ;
3165 extern long int labs (long int __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ;
3166
3167
3168
3169 __extension__ extern long long int llabs (long long int __x)
3170      __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ;
3171
3172
3173
3174
3175
3176
3177
3178 extern div_t div (int __numer, int __denom)
3179      __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ;
3180 extern ldiv_t ldiv (long int __numer, long int __denom)
3181      __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ;
3182
3183
3184
3185
3186 __extension__ extern lldiv_t lldiv (long long int __numer,
3187         long long int __denom)
3188      __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ;
3189
3190 # 821 "../stdlib/stdlib.h"
3191 extern char *ecvt (double __value, int __ndigit, int *__restrict __decpt,
3192      int *__restrict __sign) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))) ;
3193
3194
3195
3196
3197 extern char *fcvt (double __value, int __ndigit, int *__restrict __decpt,
3198      int *__restrict __sign) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))) ;
3199
3200
3201
3202
3203 extern char *gcvt (double __value, int __ndigit, char *__buf)
3204      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3))) ;
3205
3206
3207
3208
3209 extern char *qecvt (long double __value, int __ndigit,
3210       int *__restrict __decpt, int *__restrict __sign)
3211      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))) ;
3212 extern char *qfcvt (long double __value, int __ndigit,
3213       int *__restrict __decpt, int *__restrict __sign)
3214      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))) ;
3215 extern char *qgcvt (long double __value, int __ndigit, char *__buf)
3216      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3))) ;
3217
3218
3219
3220
3221 extern int ecvt_r (double __value, int __ndigit, int *__restrict __decpt,
3222      int *__restrict __sign, char *__restrict __buf,
3223      size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5)));
3224 extern int fcvt_r (double __value, int __ndigit, int *__restrict __decpt,
3225      int *__restrict __sign, char *__restrict __buf,
3226      size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5)));
3227
3228 extern int qecvt_r (long double __value, int __ndigit,
3229       int *__restrict __decpt, int *__restrict __sign,
3230       char *__restrict __buf, size_t __len)
3231      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5)));
3232 extern int qfcvt_r (long double __value, int __ndigit,
3233       int *__restrict __decpt, int *__restrict __sign,
3234       char *__restrict __buf, size_t __len)
3235      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5)));
3236
3237
3238
3239
3240
3241
3242
3243 extern int mblen (__const char *__s, size_t __n) __attribute__ ((__nothrow__)) ;
3244
3245
3246 extern int mbtowc (wchar_t *__restrict __pwc,
3247      __const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__)) ;
3248
3249
3250 extern int wctomb (char *__s, wchar_t __wchar) __attribute__ ((__nothrow__)) ;
3251
3252
3253
3254 extern size_t mbstowcs (wchar_t *__restrict __pwcs,
3255    __const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__));
3256
3257 extern size_t wcstombs (char *__restrict __s,
3258    __const wchar_t *__restrict __pwcs, size_t __n)
3259      __attribute__ ((__nothrow__));
3260
3261
3262
3263
3264
3265
3266
3267
3268 extern int rpmatch (__const char *__response) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
3269 # 909 "../stdlib/stdlib.h"
3270 extern int getsubopt (char **__restrict __optionp,
3271         char *__const *__restrict __tokens,
3272         char **__restrict __valuep)
3273      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2, 3))) ;
3274
3275
3276
3277
3278
3279 extern void setkey (__const char *__key) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
3280
3281
3282
3283
3284
3285
3286
3287 extern int posix_openpt (int __oflag) ;
3288
3289
3290
3291
3292
3293
3294
3295 extern int grantpt (int __fd) __attribute__ ((__nothrow__));
3296
3297
3298
3299 extern int unlockpt (int __fd) __attribute__ ((__nothrow__));
3300
3301
3302
3303
3304 extern char *ptsname (int __fd) __attribute__ ((__nothrow__)) ;
3305
3306
3307
3308
3309
3310
3311 extern int ptsname_r (int __fd, char *__buf, size_t __buflen)
3312      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
3313
3314
3315 extern int getpt (void);
3316
3317
3318
3319
3320
3321
3322 extern int getloadavg (double __loadavg[], int __nelem)
3323      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
3324 # 977 "../stdlib/stdlib.h"
3325
3326 # 9 "../include/stdlib.h" 2
3327
3328
3329
3330
3331
3332
3333 extern __typeof (strtol_l) __strtol_l;
3334 extern __typeof (strtoul_l) __strtoul_l;
3335 extern __typeof (strtoll_l) __strtoll_l;
3336 extern __typeof (strtoull_l) __strtoull_l;
3337 extern __typeof (strtod_l) __strtod_l;
3338 extern __typeof (strtof_l) __strtof_l;
3339 extern __typeof (strtold_l) __strtold_l;
3340
3341 extern __typeof (exit) exit __asm__ ("" "__GI_exit") __attribute__ ((visibility ("hidden")));
3342 extern __typeof (abort) abort __asm__ ("" "__GI_abort") __attribute__ ((visibility ("hidden")));
3343 extern __typeof (getenv) getenv __asm__ ("" "__GI_getenv") __attribute__ ((visibility ("hidden")));
3344 extern __typeof (bsearch) bsearch __asm__ ("" "__GI_bsearch") __attribute__ ((visibility ("hidden")));
3345 extern __typeof (qsort) qsort __asm__ ("" "__GI_qsort") __attribute__ ((visibility ("hidden")));
3346 extern __typeof (lrand48_r) lrand48_r __asm__ ("" "__GI_lrand48_r") __attribute__ ((visibility ("hidden")));
3347 extern __typeof (wctomb) wctomb __asm__ ("" "__GI_wctomb") __attribute__ ((visibility ("hidden")));
3348 extern __typeof (__secure_getenv) __secure_getenv __asm__ ("" "__GI___secure_getenv") __attribute__ ((visibility ("hidden")));
3349 extern __typeof (__strtof_internal) __strtof_internal __asm__ ("" "__GI___strtof_internal") __attribute__ ((visibility ("hidden")));
3350 extern __typeof (__strtod_internal) __strtod_internal __asm__ ("" "__GI___strtod_internal") __attribute__ ((visibility ("hidden")));
3351 extern __typeof (__strtold_internal) __strtold_internal __asm__ ("" "__GI___strtold_internal") __attribute__ ((visibility ("hidden")));
3352 extern __typeof (__strtol_internal) __strtol_internal __asm__ ("" "__GI___strtol_internal") __attribute__ ((visibility ("hidden")));
3353 extern __typeof (__strtoll_internal) __strtoll_internal __asm__ ("" "__GI___strtoll_internal") __attribute__ ((visibility ("hidden")));
3354 extern __typeof (__strtoul_internal) __strtoul_internal __asm__ ("" "__GI___strtoul_internal") __attribute__ ((visibility ("hidden")));
3355 extern __typeof (__strtoull_internal) __strtoull_internal __asm__ ("" "__GI___strtoull_internal") __attribute__ ((visibility ("hidden")));
3356
3357 extern long int __random (void);
3358 extern void __srandom (unsigned int __seed);
3359 extern char *__initstate (unsigned int __seed, char *__statebuf,
3360      size_t __statelen);
3361 extern char *__setstate (char *__statebuf);
3362 extern int __random_r (struct random_data *__buf, int32_t *__result);
3363 extern int __srandom_r (unsigned int __seed, struct random_data *__buf);
3364 extern int __initstate_r (unsigned int __seed, char *__statebuf,
3365      size_t __statelen, struct random_data *__buf);
3366 extern int __setstate_r (char *__statebuf, struct random_data *__buf);
3367 extern int __rand_r (unsigned int *__seed);
3368 extern int __erand48_r (unsigned short int __xsubi[3],
3369    struct drand48_data *__buffer, double *__result);
3370 extern int __nrand48_r (unsigned short int __xsubi[3],
3371    struct drand48_data *__buffer,
3372    long int *__result);
3373 extern int __jrand48_r (unsigned short int __xsubi[3],
3374    struct drand48_data *__buffer,
3375    long int *__result);
3376 extern int __srand48_r (long int __seedval,
3377    struct drand48_data *__buffer);
3378 extern int __seed48_r (unsigned short int __seed16v[3],
3379          struct drand48_data *__buffer);
3380 extern int __lcong48_r (unsigned short int __param[7],
3381    struct drand48_data *__buffer);
3382
3383
3384 extern int __drand48_iterate (unsigned short int __xsubi[3],
3385          struct drand48_data *__buffer);
3386
3387
3388 extern struct drand48_data __libc_drand48_data __attribute__ ((visibility ("hidden")));
3389
3390 extern int __setenv (__const char *__name, __const char *__value,
3391        int __replace);
3392 extern int __unsetenv (__const char *__name);
3393 extern int __clearenv (void);
3394 extern char *__canonicalize_file_name (__const char *__name);
3395 extern char *__realpath (__const char *__name, char *__resolved);
3396 extern int __ptsname_r (int __fd, char *__buf, size_t __buflen);
3397 extern int __getpt (void);
3398 extern int __posix_openpt (int __oflag);
3399
3400 extern int __add_to_environ (const char *name, const char *value,
3401         const char *combines, int replace);
3402
3403 extern void _quicksort (void *const pbase, size_t total_elems,
3404    size_t size, __compar_fn_t cmp);
3405
3406 extern int __on_exit (void (*__func) (int __status, void *__arg), void *__arg);
3407
3408 extern int __cxa_atexit (void (*func) (void *), void *arg, void *d);
3409 extern int __cxa_atexit_internal (void (*func) (void *), void *arg, void *d)
3410      __attribute__ ((visibility ("hidden")));
3411
3412 extern void __cxa_finalize (void *d);
3413
3414 extern int __posix_memalign (void **memptr, size_t alignment, size_t size);
3415
3416 extern void *__libc_memalign (size_t alignment, size_t size)
3417      __attribute__ ((__malloc__));
3418
3419 extern int __libc_system (const char *line);
3420
3421 extern double ____strtod_l_internal (__const char *__restrict __nptr,
3422          char **__restrict __endptr, int __group,
3423          __locale_t __loc);
3424 extern float ____strtof_l_internal (__const char *__restrict __nptr,
3425         char **__restrict __endptr, int __group,
3426         __locale_t __loc);
3427 extern long double ____strtold_l_internal (__const char *__restrict __nptr,
3428         char **__restrict __endptr,
3429         int __group, __locale_t __loc);
3430 extern long int ____strtol_l_internal (__const char *__restrict __nptr,
3431            char **__restrict __endptr,
3432            int __base, int __group,
3433            __locale_t __loc);
3434 extern unsigned long int ____strtoul_l_internal (__const char *
3435        __restrict __nptr,
3436        char **__restrict __endptr,
3437        int __base, int __group,
3438        __locale_t __loc);
3439 __extension__
3440 extern long long int ____strtoll_l_internal (__const char *__restrict __nptr,
3441           char **__restrict __endptr,
3442           int __base, int __group,
3443           __locale_t __loc);
3444 __extension__
3445 extern unsigned long long int ____strtoull_l_internal (__const char *
3446              __restrict __nptr,
3447              char **
3448              __restrict __endptr,
3449              int __base, int __group,
3450              __locale_t __loc);
3451
3452 extern __typeof (____strtof_l_internal) ____strtof_l_internal __asm__ ("" "__GI_____strtof_l_internal") __attribute__ ((visibility ("hidden")));
3453 extern __typeof (____strtod_l_internal) ____strtod_l_internal __asm__ ("" "__GI_____strtod_l_internal") __attribute__ ((visibility ("hidden")));
3454 extern __typeof (____strtold_l_internal) ____strtold_l_internal __asm__ ("" "__GI_____strtold_l_internal") __attribute__ ((visibility ("hidden")));
3455 extern __typeof (____strtol_l_internal) ____strtol_l_internal __asm__ ("" "__GI_____strtol_l_internal") __attribute__ ((visibility ("hidden")));
3456 extern __typeof (____strtoll_l_internal) ____strtoll_l_internal __asm__ ("" "__GI_____strtoll_l_internal") __attribute__ ((visibility ("hidden")));
3457 extern __typeof (____strtoul_l_internal) ____strtoul_l_internal __asm__ ("" "__GI_____strtoul_l_internal") __attribute__ ((visibility ("hidden")));
3458 extern __typeof (____strtoull_l_internal) ____strtoull_l_internal __asm__ ("" "__GI_____strtoull_l_internal") __attribute__ ((visibility ("hidden")));
3459
3460 extern __inline double
3461 __attribute__ ((__nothrow__)) __strtod_l (__const char *__restrict __nptr, char **__restrict __endptr, __locale_t __loc)
3462
3463 {
3464   return ____strtod_l_internal (__nptr, __endptr, 0, __loc);
3465 }
3466 extern __inline long int
3467 __attribute__ ((__nothrow__)) __strtol_l (__const char *__restrict __nptr, char **__restrict __endptr, int __base, __locale_t __loc)
3468
3469 {
3470   return ____strtol_l_internal (__nptr, __endptr, __base, 0, __loc);
3471 }
3472 extern __inline unsigned long int
3473 __attribute__ ((__nothrow__)) __strtoul_l (__const char *__restrict __nptr, char **__restrict __endptr, int __base, __locale_t __loc)
3474
3475 {
3476   return ____strtoul_l_internal (__nptr, __endptr, __base, 0, __loc);
3477 }
3478 extern __inline float
3479 __attribute__ ((__nothrow__)) __strtof_l (__const char *__restrict __nptr, char **__restrict __endptr, __locale_t __loc)
3480
3481 {
3482   return ____strtof_l_internal (__nptr, __endptr, 0, __loc);
3483 }
3484 extern __inline long double
3485 __attribute__ ((__nothrow__)) __strtold_l (__const char *__restrict __nptr, char **__restrict __endptr, __locale_t __loc)
3486
3487 {
3488   return ____strtold_l_internal (__nptr, __endptr, 0, __loc);
3489 }
3490 __extension__ extern __inline long long int
3491 __attribute__ ((__nothrow__)) __strtoll_l (__const char *__restrict __nptr, char **__restrict __endptr, int __base, __locale_t __loc)
3492
3493 {
3494   return ____strtoll_l_internal (__nptr, __endptr, __base, 0, __loc);
3495 }
3496 __extension__ extern __inline unsigned long long int
3497 __attribute__ ((__nothrow__)) __strtoull_l (__const char * __restrict __nptr, char **__restrict __endptr, int __base, __locale_t __loc)
3498
3499 {
3500   return ____strtoull_l_internal (__nptr, __endptr, __base, 0, __loc);
3501 }
3502
3503 extern char *__ecvt (double __value, int __ndigit, int *__restrict __decpt,
3504        int *__restrict __sign);
3505 extern char *__fcvt (double __value, int __ndigit, int *__restrict __decpt,
3506        int *__restrict __sign);
3507 extern char *__gcvt (double __value, int __ndigit, char *__buf);
3508 extern int __ecvt_r (double __value, int __ndigit, int *__restrict __decpt,
3509        int *__restrict __sign, char *__restrict __buf,
3510        size_t __len);
3511 extern int __fcvt_r (double __value, int __ndigit, int *__restrict __decpt,
3512        int *__restrict __sign, char *__restrict __buf,
3513        size_t __len);
3514 extern char *__qecvt (long double __value, int __ndigit,
3515         int *__restrict __decpt, int *__restrict __sign);
3516 extern char *__qfcvt (long double __value, int __ndigit,
3517         int *__restrict __decpt, int *__restrict __sign);
3518 extern char *__qgcvt (long double __value, int __ndigit, char *__buf);
3519 extern int __qecvt_r (long double __value, int __ndigit,
3520         int *__restrict __decpt, int *__restrict __sign,
3521         char *__restrict __buf, size_t __len);
3522 extern int __qfcvt_r (long double __value, int __ndigit,
3523         int *__restrict __decpt, int *__restrict __sign,
3524         char *__restrict __buf, size_t __len);
3525 # 217 "../include/stdlib.h"
3526 extern void *__default_morecore (ptrdiff_t) __attribute__ ((__nothrow__));
3527 extern __typeof (__default_morecore) __default_morecore __asm__ ("" "__GI___default_morecore") __attribute__ ((visibility ("hidden")));
3528
3529
3530 # 50 "../include/atomic.h" 2
3531
3532 # 1 "../ports/sysdeps/unix/sysv/linux/hppa/bits/atomic.h" 1
3533 # 21 "../ports/sysdeps/unix/sysv/linux/hppa/bits/atomic.h"
3534 # 1 "../ports/sysdeps/unix/sysv/linux/hppa/sysdep.h" 1
3535 # 23 "../ports/sysdeps/unix/sysv/linux/hppa/sysdep.h"
3536 # 1 "../sysdeps/generic/sysdep.h" 1
3537 # 24 "../ports/sysdeps/unix/sysv/linux/hppa/sysdep.h" 2
3538 # 22 "../ports/sysdeps/unix/sysv/linux/hppa/bits/atomic.h" 2
3539 # 1 "../ports/sysdeps/hppa/abort-instr.h" 1
3540 # 23 "../ports/sysdeps/unix/sysv/linux/hppa/bits/atomic.h" 2
3541 # 1 "../ports/sysdeps/unix/sysv/linux/hppa/kernel-features.h" 1
3542 # 39 "../ports/sysdeps/unix/sysv/linux/hppa/kernel-features.h"
3543 # 1 "../sysdeps/unix/sysv/linux/kernel-features.h" 1
3544 # 39 "../ports/sysdeps/unix/sysv/linux/hppa/kernel-features.h" 2
3545 # 24 "../ports/sysdeps/unix/sysv/linux/hppa/bits/atomic.h" 2
3546 # 34 "../ports/sysdeps/unix/sysv/linux/hppa/bits/atomic.h"
3547 typedef int8_t atomic8_t;
3548 typedef uint8_t uatomic8_t;
3549 typedef int_fast8_t atomic_fast8_t;
3550 typedef uint_fast8_t uatomic_fast8_t;
3551
3552 typedef int32_t atomic32_t;
3553 typedef uint32_t uatomic32_t;
3554 typedef int_fast32_t atomic_fast32_t;
3555 typedef uint_fast32_t uatomic_fast32_t;
3556
3557 typedef intptr_t atomicptr_t;
3558 typedef uintptr_t uatomicptr_t;
3559 typedef intmax_t atomic_max_t;
3560 typedef uintmax_t uatomic_max_t;
3561 # 52 "../include/atomic.h" 2
3562 # 27 "../ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h" 2
3563 # 48 "../ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h"
3564 typedef int lll_lock_t;
3565 # 110 "../ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h"
3566 static inline int __attribute__((always_inline))
3567 __lll_mutex_trylock(lll_lock_t *futex)
3568 {
3569   return ({ volatile int lws_errno = 14; volatile int lws_ret = 0xdeadbeef; asm volatile( "0:                                   \n\t" "copy     %3, %%r26                       \n\t" "copy     %4, %%r25                       \n\t" "copy     %5, %%r24                       \n\t" "ble      " "0xb0" "(%%sr2, %%r0)         \n\t" "ldi      " "0" ", %%r20          \n\t" "cmpib,=,n " "11" ",%%r21,0b      \n\t" "nop                                      \n\t" "stw      %%r28, %0                       \n\t" "sub      %%r0, %%r21, %%r21              \n\t" "stw      %%r21, %1                       \n\t" : "=m" (lws_ret), "=m" (lws_errno), "=m" (*futex) : "r" (futex), "r" (0), "r" (1) : "r1", "r26", "r25", "r24", "r23", "r22", "r21", "r20", "r28", "r31", "memory" ); if(lws_errno == 14 || lws_errno == 251) asm ("iitlbp %r0,(%sr0, %r0)"); lws_ret; }) != 0;
3570 }
3571
3572
3573 static inline int __attribute__((always_inline))
3574 __lll_robust_mutex_trylock(int *futex, int id)
3575 {
3576   return ({ volatile int lws_errno = 14; volatile int lws_ret = 0xdeadbeef; asm volatile( "0:                                   \n\t" "copy     %3, %%r26                       \n\t" "copy     %4, %%r25                       \n\t" "copy     %5, %%r24                       \n\t" "ble      " "0xb0" "(%%sr2, %%r0)         \n\t" "ldi      " "0" ", %%r20          \n\t" "cmpib,=,n " "11" ",%%r21,0b      \n\t" "nop                                      \n\t" "stw      %%r28, %0                       \n\t" "sub      %%r0, %%r21, %%r21              \n\t" "stw      %%r21, %1                       \n\t" : "=m" (lws_ret), "=m" (lws_errno), "=m" (*futex) : "r" (futex), "r" (0), "r" (id) : "r1", "r26", "r25", "r24", "r23", "r22", "r21", "r20", "r28", "r31", "memory" ); if(lws_errno == 14 || lws_errno == 251) asm ("iitlbp %r0,(%sr0, %r0)"); lws_ret; }) != 0;
3577 }
3578
3579
3580
3581
3582 static inline int __attribute__((always_inline))
3583 __lll_mutex_cond_trylock(lll_lock_t *futex)
3584 {
3585   return ({ volatile int lws_errno = 14; volatile int lws_ret = 0xdeadbeef; asm volatile( "0:                                   \n\t" "copy     %3, %%r26                       \n\t" "copy     %4, %%r25                       \n\t" "copy     %5, %%r24                       \n\t" "ble      " "0xb0" "(%%sr2, %%r0)         \n\t" "ldi      " "0" ", %%r20          \n\t" "cmpib,=,n " "11" ",%%r21,0b      \n\t" "nop                                      \n\t" "stw      %%r28, %0                       \n\t" "sub      %%r0, %%r21, %%r21              \n\t" "stw      %%r21, %1                       \n\t" : "=m" (lws_ret), "=m" (lws_errno), "=m" (*futex) : "r" (futex), "r" (0), "r" (2) : "r1", "r26", "r25", "r24", "r23", "r22", "r21", "r20", "r28", "r31", "memory" ); if(lws_errno == 14 || lws_errno == 251) asm ("iitlbp %r0,(%sr0, %r0)"); lws_ret; }) != 0;
3586 }
3587
3588
3589
3590 extern void __lll_lock_wait (lll_lock_t *futex) __attribute__ ((visibility ("hidden")));
3591
3592 static inline void __attribute__((always_inline))
3593 __lll_mutex_lock(lll_lock_t *futex)
3594 {
3595   if (({ int ret; ret = ({ volatile int lws_errno = 14; volatile int lws_ret = 0xdeadbeef; asm volatile( "0:                                    \n\t" "copy     %3, %%r26                       \n\t" "copy     %4, %%r25                       \n\t" "copy     %5, %%r24                       \n\t" "ble      " "0xb0" "(%%sr2, %%r0)         \n\t" "ldi      " "0" ", %%r20          \n\t" "cmpib,=,n " "11" ",%%r21,0b      \n\t" "nop                                      \n\t" "stw      %%r28, %0                       \n\t" "sub      %%r0, %%r21, %%r21              \n\t" "stw      %%r21, %1                       \n\t" : "=m" (lws_ret), "=m" (lws_errno), "=m" (*futex) : "r" (futex), "r" (0), "r" (1) : "r1", "r26", "r25", "r24", "r23", "r22", "r21", "r20", "r28", "r31", "memory" ); if(lws_errno == 14 || lws_errno == 251) asm ("iitlbp %r0,(%sr0, %r0)"); lws_ret; }); (ret != 0); }) != 0)
3596     __lll_lock_wait (futex);
3597 }
3598
3599
3600 extern int __lll_robust_lock_wait (int *futex) __attribute__ ((visibility ("hidden")));
3601
3602 static inline int __attribute__ ((always_inline))
3603 __lll_robust_mutex_lock (int *futex, int id)
3604 {
3605   int result = 0;
3606   if (({ int ret; ret = ({ volatile int lws_errno = 14; volatile int lws_ret = 0xdeadbeef; asm volatile( "0:                                    \n\t" "copy     %3, %%r26                       \n\t" "copy     %4, %%r25                       \n\t" "copy     %5, %%r24                       \n\t" "ble      " "0xb0" "(%%sr2, %%r0)         \n\t" "ldi      " "0" ", %%r20          \n\t" "cmpib,=,n " "11" ",%%r21,0b      \n\t" "nop                                      \n\t" "stw      %%r28, %0                       \n\t" "sub      %%r0, %%r21, %%r21              \n\t" "stw      %%r21, %1                       \n\t" : "=m" (lws_ret), "=m" (lws_errno), "=m" (*futex) : "r" (futex), "r" (0), "r" (id) : "r1", "r26", "r25", "r24", "r23", "r22", "r21", "r20", "r28", "r31", "memory" ); if(lws_errno == 14 || lws_errno == 251) asm ("iitlbp %r0,(%sr0, %r0)"); lws_ret; }); (ret != 0); }) != 0)
3607     result = __lll_robust_lock_wait (futex);
3608   return result;
3609 }
3610
3611
3612
3613 static inline void __attribute__ ((always_inline))
3614 __lll_mutex_cond_lock (lll_lock_t *futex)
3615 {
3616   if (({ int ret; ret = ({ volatile int lws_errno = 14; volatile int lws_ret = 0xdeadbeef; asm volatile( "0:                                    \n\t" "copy     %3, %%r26                       \n\t" "copy     %4, %%r25                       \n\t" "copy     %5, %%r24                       \n\t" "ble      " "0xb0" "(%%sr2, %%r0)         \n\t" "ldi      " "0" ", %%r20          \n\t" "cmpib,=,n " "11" ",%%r21,0b      \n\t" "nop                                      \n\t" "stw      %%r28, %0                       \n\t" "sub      %%r0, %%r21, %%r21              \n\t" "stw      %%r21, %1                       \n\t" : "=m" (lws_ret), "=m" (lws_errno), "=m" (*futex) : "r" (futex), "r" (0), "r" (2) : "r1", "r26", "r25", "r24", "r23", "r22", "r21", "r20", "r28", "r31", "memory" ); if(lws_errno == 14 || lws_errno == 251) asm ("iitlbp %r0,(%sr0, %r0)"); lws_ret; }); (ret != 0); }) != 0)
3617     __lll_lock_wait (futex);
3618 }
3619
3620
3621
3622
3623
3624
3625
3626 extern int __lll_timedlock_wait (lll_lock_t *futex, const struct timespec *)
3627  __attribute__ ((visibility ("hidden")));
3628 extern int __lll_robust_timedlock_wait (int *futex, const struct timespec *)
3629  __attribute__ ((visibility ("hidden")));
3630
3631 static inline int __attribute__ ((always_inline))
3632 __lll_mutex_timedlock (lll_lock_t *futex, const struct timespec *abstime)
3633 {
3634   int result = 0;
3635   if (({ int ret; ret = ({ volatile int lws_errno = 14; volatile int lws_ret = 0xdeadbeef; asm volatile( "0:                                    \n\t" "copy     %3, %%r26                       \n\t" "copy     %4, %%r25                       \n\t" "copy     %5, %%r24                       \n\t" "ble      " "0xb0" "(%%sr2, %%r0)         \n\t" "ldi      " "0" ", %%r20          \n\t" "cmpib,=,n " "11" ",%%r21,0b      \n\t" "nop                                      \n\t" "stw      %%r28, %0                       \n\t" "sub      %%r0, %%r21, %%r21              \n\t" "stw      %%r21, %1                       \n\t" : "=m" (lws_ret), "=m" (lws_errno), "=m" (*futex) : "r" (futex), "r" (0), "r" (1) : "r1", "r26", "r25", "r24", "r23", "r22", "r21", "r20", "r28", "r31", "memory" ); if(lws_errno == 14 || lws_errno == 251) asm ("iitlbp %r0,(%sr0, %r0)"); lws_ret; }); (ret != 0); }) != 0)
3636     result = __lll_timedlock_wait (futex, abstime);
3637   return result;
3638 }
3639
3640
3641
3642 static inline int __attribute__ ((always_inline))
3643 __lll_robust_mutex_timedlock (int *futex, const struct timespec *abstime,
3644          int id)
3645 {
3646   int result = 0;
3647   if (({ int ret; ret = ({ volatile int lws_errno = 14; volatile int lws_ret = 0xdeadbeef; asm volatile( "0:                                    \n\t" "copy     %3, %%r26                       \n\t" "copy     %4, %%r25                       \n\t" "copy     %5, %%r24                       \n\t" "ble      " "0xb0" "(%%sr2, %%r0)         \n\t" "ldi      " "0" ", %%r20          \n\t" "cmpib,=,n " "11" ",%%r21,0b      \n\t" "nop                                      \n\t" "stw      %%r28, %0                       \n\t" "sub      %%r0, %%r21, %%r21              \n\t" "stw      %%r21, %1                       \n\t" : "=m" (lws_ret), "=m" (lws_errno), "=m" (*futex) : "r" (futex), "r" (0), "r" (id) : "r1", "r26", "r25", "r24", "r23", "r22", "r21", "r20", "r28", "r31", "memory" ); if(lws_errno == 14 || lws_errno == 251) asm ("iitlbp %r0,(%sr0, %r0)"); lws_ret; }); (ret != 0); }) != 0)
3648     result = __lll_robust_timedlock_wait (futex, abstime);
3649   return result;
3650 }
3651
3652
3653
3654
3655 static inline void __attribute__ ((always_inline))
3656 __lll_mutex_unlock (lll_lock_t *futex)
3657 {
3658   int val = ({ __typeof (*(futex)) __atg5_oldval; __typeof (futex) __atg5_memp = (futex); __typeof (*(futex)) __atg5_value = (0); do __atg5_oldval = *__atg5_memp; while (__builtin_expect (({ int ret; ret = ({ volatile int lws_errno = 14; volatile int lws_ret = 0xdeadbeef; asm volatile( "0:                                      \n\t" "copy     %3, %%r26                       \n\t" "copy     %4, %%r25                       \n\t" "copy     %5, %%r24                       \n\t" "ble      " "0xb0" "(%%sr2, %%r0)         \n\t" "ldi      " "0" ", %%r20          \n\t" "cmpib,=,n " "11" ",%%r21,0b      \n\t" "nop                                      \n\t" "stw      %%r28, %0                       \n\t" "sub      %%r0, %%r21, %%r21              \n\t" "stw      %%r21, %1                       \n\t" : "=m" (lws_ret), "=m" (lws_errno), "=m" (*__atg5_memp) : "r" (__atg5_memp), "r" (__atg5_oldval), "r" (__atg5_value) : "r1", "r26", "r25", "r24", "r23", "r22", "r21", "r20", "r28", "r31", "memory" ); if(lws_errno == 14 || lws_errno == 251) asm ("iitlbp %r0,(%sr0, %r0)"); lws_ret; }); (ret != __atg5_oldval); }), 0)); __atg5_oldval; });
3659   if (__builtin_expect (val > 1, 0))
3660     ({ ; long int __ret; __ret = ({ long __sys_res; { register unsigned long __res asm("r28"); register unsigned long __r23 __asm__("r23") = (unsigned long)(0); register unsigned long __r24 __asm__("r24") = (unsigned long)((1)); register unsigned long __r25 __asm__("r25") = (unsigned long)(1); register unsigned long __r26 __asm__("r26") = (unsigned long)((futex)); asm volatile( "       copy %%r19, %" "%r4" "\n" "        ble  0x100(%%sr2, %%r0)\n" "    ldi %1, %%r20\n" "       copy %" "%r4" ", %%r19\n" : "=r" (__res) : "i" (((0 + 210))) , "r" (__r26), "r" (__r25), "r" (__r24), "r" (__r23) : "memory", "%r1", "%r2", "%r4", "%r20", "%r29", "%r31" , "%r21", "%r22" ); __sys_res = (long)__res; } __sys_res; }); __ret; });
3661 }
3662
3663
3664
3665 static inline void __attribute__ ((always_inline))
3666 __lll_robust_mutex_unlock (int *futex, int mask)
3667 {
3668   int val = ({ __typeof (*(futex)) __atg5_oldval; __typeof (futex) __atg5_memp = (futex); __typeof (*(futex)) __atg5_value = (0); do __atg5_oldval = *__atg5_memp; while (__builtin_expect (({ int ret; ret = ({ volatile int lws_errno = 14; volatile int lws_ret = 0xdeadbeef; asm volatile( "0:                                      \n\t" "copy     %3, %%r26                       \n\t" "copy     %4, %%r25                       \n\t" "copy     %5, %%r24                       \n\t" "ble      " "0xb0" "(%%sr2, %%r0)         \n\t" "ldi      " "0" ", %%r20          \n\t" "cmpib,=,n " "11" ",%%r21,0b      \n\t" "nop                                      \n\t" "stw      %%r28, %0                       \n\t" "sub      %%r0, %%r21, %%r21              \n\t" "stw      %%r21, %1                       \n\t" : "=m" (lws_ret), "=m" (lws_errno), "=m" (*__atg5_memp) : "r" (__atg5_memp), "r" (__atg5_oldval), "r" (__atg5_value) : "r1", "r26", "r25", "r24", "r23", "r22", "r21", "r20", "r28", "r31", "memory" ); if(lws_errno == 14 || lws_errno == 251) asm ("iitlbp %r0,(%sr0, %r0)"); lws_ret; }); (ret != __atg5_oldval); }), 0)); __atg5_oldval; });
3669   if (__builtin_expect (val & mask, 0))
3670     ({ ; long int __ret; __ret = ({ long __sys_res; { register unsigned long __res asm("r28"); register unsigned long __r23 __asm__("r23") = (unsigned long)(0); register unsigned long __r24 __asm__("r24") = (unsigned long)((1)); register unsigned long __r25 __asm__("r25") = (unsigned long)(1); register unsigned long __r26 __asm__("r26") = (unsigned long)((futex)); asm volatile( "       copy %%r19, %" "%r4" "\n" "        ble  0x100(%%sr2, %%r0)\n" "    ldi %1, %%r20\n" "       copy %" "%r4" ", %%r19\n" : "=r" (__res) : "i" (((0 + 210))) , "r" (__r26), "r" (__r25), "r" (__r24), "r" (__r23) : "memory", "%r1", "%r2", "%r4", "%r20", "%r29", "%r31" , "%r21", "%r22" ); __sys_res = (long)__res; } __sys_res; }); __ret; });
3671 }
3672
3673
3674
3675
3676 static inline void __attribute__ ((always_inline))
3677 __lll_mutex_unlock_force (lll_lock_t *futex)
3678 {
3679   (void) ({ __typeof (*(futex)) __atg5_oldval; __typeof (futex) __atg5_memp = (futex); __typeof (*(futex)) __atg5_value = (0); do __atg5_oldval = *__atg5_memp; while (__builtin_expect (({ int ret; ret = ({ volatile int lws_errno = 14; volatile int lws_ret = 0xdeadbeef; asm volatile( "0:                                 \n\t" "copy     %3, %%r26                       \n\t" "copy     %4, %%r25                       \n\t" "copy     %5, %%r24                       \n\t" "ble      " "0xb0" "(%%sr2, %%r0)         \n\t" "ldi      " "0" ", %%r20          \n\t" "cmpib,=,n " "11" ",%%r21,0b      \n\t" "nop                                      \n\t" "stw      %%r28, %0                       \n\t" "sub      %%r0, %%r21, %%r21              \n\t" "stw      %%r21, %1                       \n\t" : "=m" (lws_ret), "=m" (lws_errno), "=m" (*__atg5_memp) : "r" (__atg5_memp), "r" (__atg5_oldval), "r" (__atg5_value) : "r1", "r26", "r25", "r24", "r23", "r22", "r21", "r20", "r28", "r31", "memory" ); if(lws_errno == 14 || lws_errno == 251) asm ("iitlbp %r0,(%sr0, %r0)"); lws_ret; }); (ret != __atg5_oldval); }), 0)); __atg5_oldval; });
3680   ({ ; long int __ret; __ret = ({ long __sys_res; { register unsigned long __res asm("r28"); register unsigned long __r23 __asm__("r23") = (unsigned long)(0); register unsigned long __r24 __asm__("r24") = (unsigned long)((1)); register unsigned long __r25 __asm__("r25") = (unsigned long)(1); register unsigned long __r26 __asm__("r26") = (unsigned long)((futex)); asm volatile( "       copy %%r19, %" "%r4" "\n" "  ble  0x100(%%sr2, %%r0)\n" "    ldi %1, %%r20\n" "       copy %" "%r4" ", %%r19\n" : "=r" (__res) : "i" (((0 + 210))) , "r" (__r26), "r" (__r25), "r" (__r24), "r" (__r23) : "memory", "%r1", "%r2", "%r4", "%r20", "%r29", "%r31" , "%r21", "%r22" ); __sys_res = (long)__res; } __sys_res; }); __ret; });
3681 }
3682 # 242 "../ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h"
3683 extern int lll_unlock_wake_cb (lll_lock_t *__futex) __attribute__ ((visibility ("hidden")));
3684 # 265 "../ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h"
3685 extern int __lll_timedwait_tid (int *, const struct timespec *)
3686      __attribute__ ((visibility ("hidden")));
3687 # 279 "../ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h"
3688 extern void __lll_cond_wait (pthread_cond_t *cond)
3689      __attribute__ ((visibility ("hidden")));
3690 extern int __lll_cond_timedwait (pthread_cond_t *cond,
3691      const struct timespec *abstime)
3692      __attribute__ ((visibility ("hidden")));
3693 extern void __lll_cond_wake (pthread_cond_t *cond)
3694      __attribute__ ((visibility ("hidden")));
3695 extern void __lll_cond_broadcast (pthread_cond_t *cond)
3696      __attribute__ ((visibility ("hidden")));
3697 # 31 "../nptl/descr.h" 2
3698 # 1 "../ports/sysdeps/hppa/nptl/pthreaddef.h" 1
3699 # 34 "../ports/sysdeps/hppa/nptl/pthreaddef.h"
3700 register char * stack_pointer __asm__ ("%r30");
3701 # 32 "../nptl/descr.h" 2
3702 # 1 "../sysdeps/unix/sysv/linux/dl-sysdep.h" 1
3703 # 20 "../sysdeps/unix/sysv/linux/dl-sysdep.h"
3704 # 1 "../sysdeps/generic/dl-sysdep.h" 1
3705 # 21 "../sysdeps/unix/sysv/linux/dl-sysdep.h" 2
3706 # 33 "../nptl/descr.h" 2
3707 # 1 "../nptl/../nptl_db/thread_db.h" 1
3708 # 26 "../nptl/../nptl_db/thread_db.h"
3709 # 1 "../include/pthread.h" 1
3710 # 1 "../nptl/sysdeps/pthread/pthread.h" 1
3711 # 27 "../nptl/sysdeps/pthread/pthread.h"
3712 # 1 "../include/signal.h" 1
3713
3714
3715 # 1 "../signal/signal.h" 1
3716 # 31 "../signal/signal.h"
3717
3718
3719 # 1 "../sysdeps/unix/sysv/linux/bits/sigset.h" 1
3720 # 34 "../signal/signal.h" 2
3721 # 400 "../signal/signal.h"
3722
3723 # 4 "../include/signal.h" 2
3724 # 28 "../nptl/sysdeps/pthread/pthread.h" 2
3725
3726
3727 # 1 "../sysdeps/wordsize-32/bits/wordsize.h" 1
3728 # 31 "../nptl/sysdeps/pthread/pthread.h" 2
3729
3730
3731
3732 enum
3733 {
3734   PTHREAD_CREATE_JOINABLE,
3735
3736   PTHREAD_CREATE_DETACHED
3737
3738 };
3739
3740
3741
3742 enum
3743 {
3744   PTHREAD_MUTEX_TIMED_NP,
3745   PTHREAD_MUTEX_RECURSIVE_NP,
3746   PTHREAD_MUTEX_ERRORCHECK_NP,
3747   PTHREAD_MUTEX_ADAPTIVE_NP
3748
3749   ,
3750   PTHREAD_MUTEX_NORMAL = PTHREAD_MUTEX_TIMED_NP,
3751   PTHREAD_MUTEX_RECURSIVE = PTHREAD_MUTEX_RECURSIVE_NP,
3752   PTHREAD_MUTEX_ERRORCHECK = PTHREAD_MUTEX_ERRORCHECK_NP,
3753   PTHREAD_MUTEX_DEFAULT = PTHREAD_MUTEX_NORMAL
3754
3755
3756
3757   , PTHREAD_MUTEX_FAST_NP = PTHREAD_MUTEX_TIMED_NP
3758
3759 };
3760
3761
3762
3763
3764 enum
3765 {
3766   PTHREAD_MUTEX_STALLED_NP,
3767   PTHREAD_MUTEX_ROBUST_NP
3768 };
3769
3770
3771
3772
3773
3774 enum
3775 {
3776   PTHREAD_PRIO_NONE,
3777   PTHREAD_PRIO_INHERIT,
3778   PTHREAD_PRIO_PROTECT
3779 };
3780 # 113 "../nptl/sysdeps/pthread/pthread.h"
3781 enum
3782 {
3783   PTHREAD_RWLOCK_PREFER_READER_NP,
3784   PTHREAD_RWLOCK_PREFER_WRITER_NP,
3785   PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP,
3786   PTHREAD_RWLOCK_DEFAULT_NP = PTHREAD_RWLOCK_PREFER_READER_NP
3787 };
3788 # 143 "../nptl/sysdeps/pthread/pthread.h"
3789 enum
3790 {
3791   PTHREAD_INHERIT_SCHED,
3792
3793   PTHREAD_EXPLICIT_SCHED
3794
3795 };
3796
3797
3798
3799 enum
3800 {
3801   PTHREAD_SCOPE_SYSTEM,
3802
3803   PTHREAD_SCOPE_PROCESS
3804
3805 };
3806
3807
3808
3809 enum
3810 {
3811   PTHREAD_PROCESS_PRIVATE,
3812
3813   PTHREAD_PROCESS_SHARED
3814
3815 };
3816 # 178 "../nptl/sysdeps/pthread/pthread.h"
3817 struct _pthread_cleanup_buffer
3818 {
3819   void (*__routine) (void *);
3820   void *__arg;
3821   int __canceltype;
3822   struct _pthread_cleanup_buffer *__prev;
3823 };
3824
3825
3826 enum
3827 {
3828   PTHREAD_CANCEL_ENABLE,
3829
3830   PTHREAD_CANCEL_DISABLE
3831
3832 };
3833 enum
3834 {
3835   PTHREAD_CANCEL_DEFERRED,
3836
3837   PTHREAD_CANCEL_ASYNCHRONOUS
3838
3839 };
3840 # 216 "../nptl/sysdeps/pthread/pthread.h"
3841
3842
3843
3844
3845
3846 extern int pthread_create (pthread_t *__restrict __newthread,
3847       __const pthread_attr_t *__restrict __attr,
3848       void *(*__start_routine) (void *),
3849       void *__restrict __arg) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 3)));
3850
3851
3852
3853
3854
3855 extern void pthread_exit (void *__retval) __attribute__ ((__noreturn__));
3856
3857
3858
3859
3860
3861
3862
3863 extern int pthread_join (pthread_t __th, void **__thread_return);
3864
3865
3866
3867
3868 extern int pthread_tryjoin_np (pthread_t __th, void **__thread_return) __attribute__ ((__nothrow__));
3869
3870
3871
3872
3873
3874
3875
3876 extern int pthread_timedjoin_np (pthread_t __th, void **__thread_return,
3877      __const struct timespec *__abstime);
3878
3879
3880
3881
3882
3883
3884 extern int pthread_detach (pthread_t __th) __attribute__ ((__nothrow__));
3885
3886
3887
3888 extern pthread_t pthread_self (void) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
3889
3890
3891 extern int pthread_equal (pthread_t __thread1, pthread_t __thread2) __attribute__ ((__nothrow__));
3892
3893
3894
3895
3896
3897
3898
3899 extern int pthread_attr_init (pthread_attr_t *__attr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
3900
3901
3902 extern int pthread_attr_destroy (pthread_attr_t *__attr)
3903      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
3904
3905
3906 extern int pthread_attr_getdetachstate (__const pthread_attr_t *__attr,
3907      int *__detachstate)
3908      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
3909
3910
3911 extern int pthread_attr_setdetachstate (pthread_attr_t *__attr,
3912      int __detachstate)
3913      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
3914
3915
3916
3917 extern int pthread_attr_getguardsize (__const pthread_attr_t *__attr,
3918           size_t *__guardsize)
3919      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
3920
3921
3922 extern int pthread_attr_setguardsize (pthread_attr_t *__attr,
3923           size_t __guardsize)
3924      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
3925
3926
3927
3928 extern int pthread_attr_getschedparam (__const pthread_attr_t *__restrict
3929            __attr,
3930            struct sched_param *__restrict __param)
3931      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
3932
3933
3934 extern int pthread_attr_setschedparam (pthread_attr_t *__restrict __attr,
3935            __const struct sched_param *__restrict
3936            __param) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
3937
3938
3939 extern int pthread_attr_getschedpolicy (__const pthread_attr_t *__restrict
3940      __attr, int *__restrict __policy)
3941      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
3942
3943
3944 extern int pthread_attr_setschedpolicy (pthread_attr_t *__attr, int __policy)
3945      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
3946
3947
3948 extern int pthread_attr_getinheritsched (__const pthread_attr_t *__restrict
3949       __attr, int *__restrict __inherit)
3950      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
3951
3952
3953 extern int pthread_attr_setinheritsched (pthread_attr_t *__attr,
3954       int __inherit)
3955      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
3956
3957
3958
3959 extern int pthread_attr_getscope (__const pthread_attr_t *__restrict __attr,
3960       int *__restrict __scope)
3961      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
3962
3963
3964 extern int pthread_attr_setscope (pthread_attr_t *__attr, int __scope)
3965      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
3966
3967
3968 extern int pthread_attr_getstackaddr (__const pthread_attr_t *__restrict
3969           __attr, void **__restrict __stackaddr)
3970      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__deprecated__));
3971
3972
3973
3974
3975
3976 extern int pthread_attr_setstackaddr (pthread_attr_t *__attr,
3977           void *__stackaddr)
3978      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__deprecated__));
3979
3980
3981 extern int pthread_attr_getstacksize (__const pthread_attr_t *__restrict
3982           __attr, size_t *__restrict __stacksize)
3983      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
3984
3985
3986
3987
3988 extern int pthread_attr_setstacksize (pthread_attr_t *__attr,
3989           size_t __stacksize)
3990      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
3991
3992
3993
3994 extern int pthread_attr_getstack (__const pthread_attr_t *__restrict __attr,
3995       void **__restrict __stackaddr,
3996       size_t *__restrict __stacksize)
3997      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2, 3)));
3998
3999
4000
4001
4002 extern int pthread_attr_setstack (pthread_attr_t *__attr, void *__stackaddr,
4003       size_t __stacksize) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4004
4005
4006
4007
4008
4009 extern int pthread_attr_setaffinity_np (pthread_attr_t *__attr,
4010      size_t __cpusetsize,
4011      __const cpu_set_t *__cpuset)
4012      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 3)));
4013
4014
4015
4016 extern int pthread_attr_getaffinity_np (__const pthread_attr_t *__attr,
4017      size_t __cpusetsize,
4018      cpu_set_t *__cpuset)
4019      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 3)));
4020
4021
4022
4023
4024
4025 extern int pthread_getattr_np (pthread_t __th, pthread_attr_t *__attr)
4026      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
4027
4028
4029
4030
4031
4032
4033
4034 extern int pthread_setschedparam (pthread_t __target_thread, int __policy,
4035       __const struct sched_param *__param)
4036      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3)));
4037
4038
4039 extern int pthread_getschedparam (pthread_t __target_thread,
4040       int *__restrict __policy,
4041       struct sched_param *__restrict __param)
4042      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3)));
4043
4044
4045 extern int pthread_setschedprio (pthread_t __target_thread, int __prio)
4046      __attribute__ ((__nothrow__));
4047
4048
4049
4050
4051 extern int pthread_getconcurrency (void) __attribute__ ((__nothrow__));
4052
4053
4054 extern int pthread_setconcurrency (int __level) __attribute__ ((__nothrow__));
4055
4056
4057
4058
4059
4060
4061
4062 extern int pthread_yield (void) __attribute__ ((__nothrow__));
4063
4064
4065
4066
4067 extern int pthread_setaffinity_np (pthread_t __th, size_t __cpusetsize,
4068        __const cpu_set_t *__cpuset)
4069      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3)));
4070
4071
4072 extern int pthread_getaffinity_np (pthread_t __th, size_t __cpusetsize,
4073        cpu_set_t *__cpuset)
4074      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3)));
4075 # 462 "../nptl/sysdeps/pthread/pthread.h"
4076 extern int pthread_once (pthread_once_t *__once_control,
4077     void (*__init_routine) (void)) __attribute__ ((__nonnull__ (1, 2)));
4078 # 474 "../nptl/sysdeps/pthread/pthread.h"
4079 extern int pthread_setcancelstate (int __state, int *__oldstate);
4080
4081
4082
4083 extern int pthread_setcanceltype (int __type, int *__oldtype);
4084
4085
4086 extern int pthread_cancel (pthread_t __th);
4087
4088
4089
4090
4091 extern void pthread_testcancel (void);
4092
4093
4094
4095
4096 typedef struct
4097 {
4098   struct
4099   {
4100     __jmp_buf __cancel_jmp_buf;
4101     int __mask_was_saved;
4102   } __cancel_jmp_buf[1];
4103   void *__pad[4];
4104 } __pthread_unwind_buf_t __attribute__ ((__aligned__));
4105 # 508 "../nptl/sysdeps/pthread/pthread.h"
4106 struct __pthread_cleanup_frame
4107 {
4108   void (*__cancel_routine) (void *);
4109   void *__cancel_arg;
4110   int __do_it;
4111   int __cancel_type;
4112 };
4113 # 648 "../nptl/sysdeps/pthread/pthread.h"
4114 extern void __pthread_register_cancel (__pthread_unwind_buf_t *__buf)
4115      ;
4116 # 659 "../nptl/sysdeps/pthread/pthread.h"
4117 extern void __pthread_unregister_cancel (__pthread_unwind_buf_t *__buf)
4118   ;
4119 # 682 "../nptl/sysdeps/pthread/pthread.h"
4120 extern void __pthread_register_cancel_defer (__pthread_unwind_buf_t *__buf)
4121      ;
4122 # 694 "../nptl/sysdeps/pthread/pthread.h"
4123 extern void __pthread_unregister_cancel_restore (__pthread_unwind_buf_t *__buf)
4124   ;
4125
4126
4127
4128 extern void __pthread_unwind_next (__pthread_unwind_buf_t *__buf)
4129      __attribute__ ((__noreturn__))
4130
4131
4132
4133      ;
4134
4135
4136
4137 struct __jmp_buf_tag;
4138 extern int __sigsetjmp (struct __jmp_buf_tag *__env, int __savemask) __attribute__ ((__nothrow__));
4139
4140
4141
4142
4143
4144 extern int pthread_mutex_init (pthread_mutex_t *__mutex,
4145           __const pthread_mutexattr_t *__mutexattr)
4146      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4147
4148
4149 extern int pthread_mutex_destroy (pthread_mutex_t *__mutex)
4150      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4151
4152
4153 extern int pthread_mutex_trylock (pthread_mutex_t *__mutex)
4154      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4155
4156
4157 extern int pthread_mutex_lock (pthread_mutex_t *__mutex)
4158      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4159
4160
4161
4162 extern int pthread_mutex_timedlock (pthread_mutex_t *__restrict __mutex,
4163                                     __const struct timespec *__restrict
4164                                     __abstime) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
4165
4166
4167
4168 extern int pthread_mutex_unlock (pthread_mutex_t *__mutex)
4169      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4170
4171
4172
4173
4174 extern int pthread_mutex_getprioceiling (__const pthread_mutex_t *
4175       __restrict __mutex,
4176       int *__restrict __prioceiling)
4177      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
4178
4179
4180
4181 extern int pthread_mutex_setprioceiling (pthread_mutex_t *__restrict __mutex,
4182       int __prioceiling,
4183       int *__restrict __old_ceiling)
4184      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 3)));
4185
4186
4187
4188
4189
4190 extern int pthread_mutex_consistent_np (pthread_mutex_t *__mutex)
4191      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4192
4193
4194
4195
4196
4197
4198
4199 extern int pthread_mutexattr_init (pthread_mutexattr_t *__attr)
4200      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4201
4202
4203 extern int pthread_mutexattr_destroy (pthread_mutexattr_t *__attr)
4204      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4205
4206
4207 extern int pthread_mutexattr_getpshared (__const pthread_mutexattr_t *
4208       __restrict __attr,
4209       int *__restrict __pshared)
4210      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
4211
4212
4213 extern int pthread_mutexattr_setpshared (pthread_mutexattr_t *__attr,
4214       int __pshared)
4215      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4216
4217
4218
4219 extern int pthread_mutexattr_gettype (__const pthread_mutexattr_t *__restrict
4220           __attr, int *__restrict __kind)
4221      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
4222
4223
4224
4225
4226 extern int pthread_mutexattr_settype (pthread_mutexattr_t *__attr, int __kind)
4227      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4228
4229
4230 extern int pthread_mutexattr_getprotocol (__const pthread_mutexattr_t *
4231        __restrict __attr,
4232        int *__restrict __protocol)
4233      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
4234
4235
4236
4237 extern int pthread_mutexattr_setprotocol (pthread_mutexattr_t *__attr,
4238        int __protocol)
4239      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4240
4241
4242 extern int pthread_mutexattr_getprioceiling (__const pthread_mutexattr_t *
4243           __restrict __attr,
4244           int *__restrict __prioceiling)
4245      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
4246
4247
4248 extern int pthread_mutexattr_setprioceiling (pthread_mutexattr_t *__attr,
4249           int __prioceiling)
4250      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4251
4252
4253
4254
4255 extern int pthread_mutexattr_getrobust_np (__const pthread_mutexattr_t *__attr,
4256         int *__robustness)
4257      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
4258
4259
4260 extern int pthread_mutexattr_setrobust_np (pthread_mutexattr_t *__attr,
4261         int __robustness)
4262      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4263 # 842 "../nptl/sysdeps/pthread/pthread.h"
4264 extern int pthread_rwlock_init (pthread_rwlock_t *__restrict __rwlock,
4265     __const pthread_rwlockattr_t *__restrict
4266     __attr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4267
4268
4269 extern int pthread_rwlock_destroy (pthread_rwlock_t *__rwlock)
4270      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4271
4272
4273 extern int pthread_rwlock_rdlock (pthread_rwlock_t *__rwlock)
4274      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4275
4276
4277 extern int pthread_rwlock_tryrdlock (pthread_rwlock_t *__rwlock)
4278   __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4279
4280
4281
4282 extern int pthread_rwlock_timedrdlock (pthread_rwlock_t *__restrict __rwlock,
4283            __const struct timespec *__restrict
4284            __abstime) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
4285
4286
4287
4288 extern int pthread_rwlock_wrlock (pthread_rwlock_t *__rwlock)
4289      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4290
4291
4292 extern int pthread_rwlock_trywrlock (pthread_rwlock_t *__rwlock)
4293      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4294
4295
4296
4297 extern int pthread_rwlock_timedwrlock (pthread_rwlock_t *__restrict __rwlock,
4298            __const struct timespec *__restrict
4299            __abstime) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
4300
4301
4302
4303 extern int pthread_rwlock_unlock (pthread_rwlock_t *__rwlock)
4304      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4305
4306
4307
4308
4309
4310 extern int pthread_rwlockattr_init (pthread_rwlockattr_t *__attr)
4311      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4312
4313
4314 extern int pthread_rwlockattr_destroy (pthread_rwlockattr_t *__attr)
4315      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4316
4317
4318 extern int pthread_rwlockattr_getpshared (__const pthread_rwlockattr_t *
4319        __restrict __attr,
4320        int *__restrict __pshared)
4321      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
4322
4323
4324 extern int pthread_rwlockattr_setpshared (pthread_rwlockattr_t *__attr,
4325        int __pshared)
4326      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4327
4328
4329 extern int pthread_rwlockattr_getkind_np (__const pthread_rwlockattr_t *
4330        __restrict __attr,
4331        int *__restrict __pref)
4332      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
4333
4334
4335 extern int pthread_rwlockattr_setkind_np (pthread_rwlockattr_t *__attr,
4336        int __pref) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4337
4338
4339
4340
4341
4342
4343
4344 extern int pthread_cond_init (pthread_cond_t *__restrict __cond,
4345          __const pthread_condattr_t *__restrict
4346          __cond_attr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4347
4348
4349 extern int pthread_cond_destroy (pthread_cond_t *__cond)
4350      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4351
4352
4353 extern int pthread_cond_signal (pthread_cond_t *__cond)
4354      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4355
4356
4357 extern int pthread_cond_broadcast (pthread_cond_t *__cond)
4358      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4359
4360
4361
4362
4363
4364
4365 extern int pthread_cond_wait (pthread_cond_t *__restrict __cond,
4366          pthread_mutex_t *__restrict __mutex)
4367      __attribute__ ((__nonnull__ (1, 2)));
4368 # 954 "../nptl/sysdeps/pthread/pthread.h"
4369 extern int pthread_cond_timedwait (pthread_cond_t *__restrict __cond,
4370        pthread_mutex_t *__restrict __mutex,
4371        __const struct timespec *__restrict
4372        __abstime) __attribute__ ((__nonnull__ (1, 2, 3)));
4373
4374
4375
4376
4377 extern int pthread_condattr_init (pthread_condattr_t *__attr)
4378      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4379
4380
4381 extern int pthread_condattr_destroy (pthread_condattr_t *__attr)
4382      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4383
4384
4385 extern int pthread_condattr_getpshared (__const pthread_condattr_t *
4386                                         __restrict __attr,
4387                                         int *__restrict __pshared)
4388      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
4389
4390
4391 extern int pthread_condattr_setpshared (pthread_condattr_t *__attr,
4392                                         int __pshared) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4393
4394
4395
4396 extern int pthread_condattr_getclock (__const pthread_condattr_t *
4397           __restrict __attr,
4398           __clockid_t *__restrict __clock_id)
4399      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
4400
4401
4402 extern int pthread_condattr_setclock (pthread_condattr_t *__attr,
4403           __clockid_t __clock_id)
4404      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4405 # 998 "../nptl/sysdeps/pthread/pthread.h"
4406 extern int pthread_spin_init (pthread_spinlock_t *__lock, int __pshared)
4407      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4408
4409
4410 extern int pthread_spin_destroy (pthread_spinlock_t *__lock)
4411      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4412
4413
4414 extern int pthread_spin_lock (pthread_spinlock_t *__lock)
4415      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4416
4417
4418 extern int pthread_spin_trylock (pthread_spinlock_t *__lock)
4419      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4420
4421
4422 extern int pthread_spin_unlock (pthread_spinlock_t *__lock)
4423      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4424
4425
4426
4427
4428
4429
4430 extern int pthread_barrier_init (pthread_barrier_t *__restrict __barrier,
4431      __const pthread_barrierattr_t *__restrict
4432      __attr, unsigned int __count)
4433      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4434
4435
4436 extern int pthread_barrier_destroy (pthread_barrier_t *__barrier)
4437      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4438
4439
4440 extern int pthread_barrier_wait (pthread_barrier_t *__barrier)
4441      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4442
4443
4444
4445 extern int pthread_barrierattr_init (pthread_barrierattr_t *__attr)
4446      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4447
4448
4449 extern int pthread_barrierattr_destroy (pthread_barrierattr_t *__attr)
4450      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4451
4452
4453 extern int pthread_barrierattr_getpshared (__const pthread_barrierattr_t *
4454         __restrict __attr,
4455         int *__restrict __pshared)
4456      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
4457
4458
4459 extern int pthread_barrierattr_setpshared (pthread_barrierattr_t *__attr,
4460                                            int __pshared)
4461      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4462 # 1065 "../nptl/sysdeps/pthread/pthread.h"
4463 extern int pthread_key_create (pthread_key_t *__key,
4464           void (*__destr_function) (void *))
4465      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4466
4467
4468 extern int pthread_key_delete (pthread_key_t __key) __attribute__ ((__nothrow__));
4469
4470
4471 extern void *pthread_getspecific (pthread_key_t __key) __attribute__ ((__nothrow__));
4472
4473
4474 extern int pthread_setspecific (pthread_key_t __key,
4475     __const void *__pointer) __attribute__ ((__nothrow__)) ;
4476
4477
4478
4479
4480 extern int pthread_getcpuclockid (pthread_t __thread_id,
4481       __clockid_t *__clock_id)
4482      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
4483 # 1099 "../nptl/sysdeps/pthread/pthread.h"
4484 extern int pthread_atfork (void (*__prepare) (void),
4485       void (*__parent) (void),
4486       void (*__child) (void)) __attribute__ ((__nothrow__));
4487
4488
4489
4490
4491 extern __inline int
4492 __attribute__ ((__nothrow__)) pthread_equal (pthread_t __thread1, pthread_t __thread2)
4493 {
4494   return __thread1 == __thread2;
4495 }
4496
4497
4498
4499 # 2 "../include/pthread.h" 2
4500
4501
4502 extern void __pthread_initialize (void) __attribute__ ((weak));
4503 # 27 "../nptl/../nptl_db/thread_db.h" 2
4504
4505 # 1 "../include/sys/types.h" 1
4506 # 29 "../nptl/../nptl_db/thread_db.h" 2
4507 # 1 "../ports/sysdeps/unix/sysv/linux/hppa/sys/procfs.h" 1
4508 # 32 "../ports/sysdeps/unix/sysv/linux/hppa/sys/procfs.h"
4509 # 1 "../include/signal.h" 1
4510
4511
4512
4513
4514 # 1 "../signal/signal.h" 1
4515 # 31 "../signal/signal.h"
4516
4517
4518 # 1 "../sysdeps/unix/sysv/linux/bits/sigset.h" 1
4519 # 103 "../sysdeps/unix/sysv/linux/bits/sigset.h"
4520 extern int __sigismember (__const __sigset_t *, int);
4521 extern int __sigaddset (__sigset_t *, int);
4522 extern int __sigdelset (__sigset_t *, int);
4523 # 117 "../sysdeps/unix/sysv/linux/bits/sigset.h"
4524 extern __inline int __sigismember (__const __sigset_t *__set, int __sig) { unsigned long int __mask = (((unsigned long int) 1) << (((__sig) - 1) % (8 * sizeof (unsigned long int)))); unsigned long int __word = (((__sig) - 1) / (8 * sizeof (unsigned long int))); return (__set->__val[__word] & __mask) ? 1 : 0; }
4525 extern __inline int __sigaddset ( __sigset_t *__set, int __sig) { unsigned long int __mask = (((unsigned long int) 1) << (((__sig) - 1) % (8 * sizeof (unsigned long int)))); unsigned long int __word = (((__sig) - 1) / (8 * sizeof (unsigned long int))); return ((__set->__val[__word] |= __mask), 0); }
4526 extern __inline int __sigdelset ( __sigset_t *__set, int __sig) { unsigned long int __mask = (((unsigned long int) 1) << (((__sig) - 1) % (8 * sizeof (unsigned long int)))); unsigned long int __word = (((__sig) - 1) / (8 * sizeof (unsigned long int))); return ((__set->__val[__word] &= ~__mask), 0); }
4527 # 34 "../signal/signal.h" 2
4528
4529
4530
4531
4532
4533
4534
4535 typedef __sig_atomic_t sig_atomic_t;
4536
4537 # 58 "../signal/signal.h"
4538 # 1 "../ports/sysdeps/unix/sysv/linux/hppa/bits/signum.h" 1
4539 # 59 "../signal/signal.h" 2
4540 # 75 "../signal/signal.h"
4541 typedef void (*__sighandler_t) (int);
4542
4543
4544
4545
4546 extern __sighandler_t __sysv_signal (int __sig, __sighandler_t __handler)
4547      __attribute__ ((__nothrow__));
4548
4549 extern __sighandler_t sysv_signal (int __sig, __sighandler_t __handler)
4550      __attribute__ ((__nothrow__));
4551
4552
4553
4554
4555
4556
4557
4558 extern __sighandler_t signal (int __sig, __sighandler_t __handler)
4559      __attribute__ ((__nothrow__));
4560 # 104 "../signal/signal.h"
4561
4562
4563
4564
4565
4566 extern __sighandler_t bsd_signal (int __sig, __sighandler_t __handler)
4567      __attribute__ ((__nothrow__));
4568
4569
4570
4571
4572
4573
4574 extern int kill (__pid_t __pid, int __sig) __attribute__ ((__nothrow__));
4575
4576
4577
4578
4579
4580
4581 extern int killpg (__pid_t __pgrp, int __sig) __attribute__ ((__nothrow__));
4582
4583
4584
4585
4586 extern int raise (int __sig) __attribute__ ((__nothrow__));
4587
4588
4589
4590
4591 extern __sighandler_t ssignal (int __sig, __sighandler_t __handler)
4592      __attribute__ ((__nothrow__));
4593 extern int gsignal (int __sig) __attribute__ ((__nothrow__));
4594
4595
4596
4597
4598 extern void psignal (int __sig, __const char *__s);
4599 # 153 "../signal/signal.h"
4600 extern int __sigpause (int __sig_or_mask, int __is_sig);
4601 # 162 "../signal/signal.h"
4602 extern int sigpause (int __sig) __asm__ ("__xpg_sigpause");
4603 # 181 "../signal/signal.h"
4604 extern int sigblock (int __mask) __attribute__ ((__nothrow__)) __attribute__ ((__deprecated__));
4605
4606
4607 extern int sigsetmask (int __mask) __attribute__ ((__nothrow__)) __attribute__ ((__deprecated__));
4608
4609
4610 extern int siggetmask (void) __attribute__ ((__nothrow__)) __attribute__ ((__deprecated__));
4611 # 196 "../signal/signal.h"
4612 typedef __sighandler_t sighandler_t;
4613
4614
4615
4616
4617 typedef __sighandler_t sig_t;
4618 # 212 "../signal/signal.h"
4619 # 1 "../sysdeps/unix/sysv/linux/bits/siginfo.h" 1
4620 # 25 "../sysdeps/unix/sysv/linux/bits/siginfo.h"
4621 # 1 "../sysdeps/wordsize-32/bits/wordsize.h" 1
4622 # 26 "../sysdeps/unix/sysv/linux/bits/siginfo.h" 2
4623
4624
4625
4626
4627
4628
4629
4630 typedef union sigval
4631   {
4632     int sival_int;
4633     void *sival_ptr;
4634   } sigval_t;
4635 # 51 "../sysdeps/unix/sysv/linux/bits/siginfo.h"
4636 typedef struct siginfo
4637   {
4638     int si_signo;
4639     int si_errno;
4640
4641     int si_code;
4642
4643     union
4644       {
4645  int _pad[((128 / sizeof (int)) - 3)];
4646
4647
4648  struct
4649    {
4650      __pid_t si_pid;
4651      __uid_t si_uid;
4652    } _kill;
4653
4654
4655  struct
4656    {
4657      int si_tid;
4658      int si_overrun;
4659      sigval_t si_sigval;
4660    } _timer;
4661
4662
4663  struct
4664    {
4665      __pid_t si_pid;
4666      __uid_t si_uid;
4667      sigval_t si_sigval;
4668    } _rt;
4669
4670
4671  struct
4672    {
4673      __pid_t si_pid;
4674      __uid_t si_uid;
4675      int si_status;
4676      __clock_t si_utime;
4677      __clock_t si_stime;
4678    } _sigchld;
4679
4680
4681  struct
4682    {
4683      void *si_addr;
4684    } _sigfault;
4685
4686
4687  struct
4688    {
4689      long int si_band;
4690      int si_fd;
4691    } _sigpoll;
4692       } _sifields;
4693   } siginfo_t;
4694 # 129 "../sysdeps/unix/sysv/linux/bits/siginfo.h"
4695 enum
4696 {
4697   SI_ASYNCNL = -60,
4698
4699   SI_TKILL = -6,
4700
4701   SI_SIGIO,
4702
4703   SI_ASYNCIO,
4704
4705   SI_MESGQ,
4706
4707   SI_TIMER,
4708
4709   SI_QUEUE,
4710
4711   SI_USER,
4712
4713   SI_KERNEL = 0x80
4714
4715 };
4716
4717
4718
4719 enum
4720 {
4721   ILL_ILLOPC = 1,
4722
4723   ILL_ILLOPN,
4724
4725   ILL_ILLADR,
4726
4727   ILL_ILLTRP,
4728
4729   ILL_PRVOPC,
4730
4731   ILL_PRVREG,
4732
4733   ILL_COPROC,
4734
4735   ILL_BADSTK
4736
4737 };
4738
4739
4740 enum
4741 {
4742   FPE_INTDIV = 1,
4743
4744   FPE_INTOVF,
4745
4746   FPE_FLTDIV,
4747
4748   FPE_FLTOVF,
4749
4750   FPE_FLTUND,
4751
4752   FPE_FLTRES,
4753
4754   FPE_FLTINV,
4755
4756   FPE_FLTSUB
4757
4758 };
4759
4760
4761 enum
4762 {
4763   SEGV_MAPERR = 1,
4764
4765   SEGV_ACCERR
4766
4767 };
4768
4769
4770 enum
4771 {
4772   BUS_ADRALN = 1,
4773
4774   BUS_ADRERR,
4775
4776   BUS_OBJERR
4777
4778 };
4779
4780
4781 enum
4782 {
4783   TRAP_BRKPT = 1,
4784
4785   TRAP_TRACE
4786
4787 };
4788
4789
4790 enum
4791 {
4792   CLD_EXITED = 1,
4793
4794   CLD_KILLED,
4795
4796   CLD_DUMPED,
4797
4798   CLD_TRAPPED,
4799
4800   CLD_STOPPED,
4801
4802   CLD_CONTINUED
4803
4804 };
4805
4806
4807 enum
4808 {
4809   POLL_IN = 1,
4810
4811   POLL_OUT,
4812
4813   POLL_MSG,
4814
4815   POLL_ERR,
4816
4817   POLL_PRI,
4818
4819   POLL_HUP
4820
4821 };
4822 # 273 "../sysdeps/unix/sysv/linux/bits/siginfo.h"
4823 typedef struct sigevent
4824   {
4825     sigval_t sigev_value;
4826     int sigev_signo;
4827     int sigev_notify;
4828
4829     union
4830       {
4831  int _pad[((64 / sizeof (int)) - 3)];
4832
4833
4834
4835  __pid_t _tid;
4836
4837  struct
4838    {
4839      void (*_function) (sigval_t);
4840      void *_attribute;
4841    } _sigev_thread;
4842       } _sigev_un;
4843   } sigevent_t;
4844
4845
4846
4847
4848
4849
4850 enum
4851 {
4852   SIGEV_SIGNAL = 0,
4853
4854   SIGEV_NONE,
4855
4856   SIGEV_THREAD,
4857
4858
4859   SIGEV_THREAD_ID = 4
4860
4861 };
4862 # 213 "../signal/signal.h" 2
4863
4864
4865
4866 extern int sigemptyset (sigset_t *__set) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4867
4868
4869 extern int sigfillset (sigset_t *__set) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4870
4871
4872 extern int sigaddset (sigset_t *__set, int __signo) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4873
4874
4875 extern int sigdelset (sigset_t *__set, int __signo) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4876
4877
4878 extern int sigismember (__const sigset_t *__set, int __signo)
4879      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4880
4881
4882
4883 extern int sigisemptyset (__const sigset_t *__set) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4884
4885
4886 extern int sigandset (sigset_t *__set, __const sigset_t *__left,
4887         __const sigset_t *__right) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2, 3)));
4888
4889
4890 extern int sigorset (sigset_t *__set, __const sigset_t *__left,
4891        __const sigset_t *__right) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2, 3)));
4892
4893
4894
4895
4896 # 1 "../ports/sysdeps/unix/sysv/linux/hppa/bits/sigaction.h" 1
4897 # 25 "../ports/sysdeps/unix/sysv/linux/hppa/bits/sigaction.h"
4898 struct sigaction
4899   {
4900
4901
4902     union
4903       {
4904
4905  __sighandler_t sa_handler;
4906
4907  void (*sa_sigaction) (int, siginfo_t *, void *);
4908       }
4909     __sigaction_handler;
4910
4911
4912
4913
4914
4915
4916
4917     unsigned long int sa_flags;
4918
4919
4920     __sigset_t sa_mask;
4921   };
4922 # 247 "../signal/signal.h" 2
4923
4924
4925 extern int sigprocmask (int __how, __const sigset_t *__restrict __set,
4926    sigset_t *__restrict __oset) __attribute__ ((__nothrow__));
4927
4928
4929
4930
4931
4932
4933 extern int sigsuspend (__const sigset_t *__set) __attribute__ ((__nonnull__ (1)));
4934
4935
4936 extern int sigaction (int __sig, __const struct sigaction *__restrict __act,
4937         struct sigaction *__restrict __oact) __attribute__ ((__nothrow__));
4938
4939
4940 extern int sigpending (sigset_t *__set) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4941
4942
4943
4944
4945
4946
4947 extern int sigwait (__const sigset_t *__restrict __set, int *__restrict __sig)
4948      __attribute__ ((__nonnull__ (1, 2)));
4949
4950
4951
4952
4953
4954
4955 extern int sigwaitinfo (__const sigset_t *__restrict __set,
4956    siginfo_t *__restrict __info) __attribute__ ((__nonnull__ (1)));
4957
4958
4959
4960
4961
4962
4963 extern int sigtimedwait (__const sigset_t *__restrict __set,
4964     siginfo_t *__restrict __info,
4965     __const struct timespec *__restrict __timeout)
4966      __attribute__ ((__nonnull__ (1)));
4967
4968
4969
4970 extern int sigqueue (__pid_t __pid, int __sig, __const union sigval __val)
4971      __attribute__ ((__nothrow__));
4972 # 304 "../signal/signal.h"
4973 extern __const char *__const _sys_siglist[65];
4974 extern __const char *__const sys_siglist[65];
4975
4976
4977 struct sigvec
4978   {
4979     __sighandler_t sv_handler;
4980     int sv_mask;
4981
4982     int sv_flags;
4983
4984   };
4985 # 328 "../signal/signal.h"
4986 extern int sigvec (int __sig, __const struct sigvec *__vec,
4987      struct sigvec *__ovec) __attribute__ ((__nothrow__));
4988
4989
4990
4991 # 1 "../sysdeps/unix/sysv/linux/bits/sigcontext.h" 1
4992 # 28 "../sysdeps/unix/sysv/linux/bits/sigcontext.h"
4993 # 1 "/usr/include/asm/sigcontext.h" 1 3 4
4994 # 9 "/usr/include/asm/sigcontext.h" 3 4
4995 struct sigcontext {
4996  unsigned long sc_flags;
4997
4998  unsigned long sc_gr[32];
4999  unsigned long long sc_fr[32];
5000  unsigned long sc_iasq[2];
5001  unsigned long sc_iaoq[2];
5002  unsigned long sc_sar;
5003 };
5004 # 29 "../sysdeps/unix/sysv/linux/bits/sigcontext.h" 2
5005 # 334 "../signal/signal.h" 2
5006
5007
5008 extern int sigreturn (struct sigcontext *__scp) __attribute__ ((__nothrow__));
5009 # 346 "../signal/signal.h"
5010 extern int siginterrupt (int __sig, int __interrupt) __attribute__ ((__nothrow__));
5011
5012 # 1 "../sysdeps/unix/sysv/linux/bits/sigstack.h" 1
5013 # 26 "../sysdeps/unix/sysv/linux/bits/sigstack.h"
5014 struct sigstack
5015   {
5016     void *ss_sp;
5017     int ss_onstack;
5018   };
5019
5020
5021
5022 enum
5023 {
5024   SS_ONSTACK = 1,
5025
5026   SS_DISABLE
5027
5028 };
5029 # 50 "../sysdeps/unix/sysv/linux/bits/sigstack.h"
5030 typedef struct sigaltstack
5031   {
5032     void *ss_sp;
5033     int ss_flags;
5034     size_t ss_size;
5035   } stack_t;
5036 # 349 "../signal/signal.h" 2
5037
5038
5039 # 1 "../ports/sysdeps/unix/sysv/linux/hppa/sys/ucontext.h" 1
5040 # 29 "../ports/sysdeps/unix/sysv/linux/hppa/sys/ucontext.h"
5041 # 1 "../sysdeps/unix/sysv/linux/bits/sigcontext.h" 1
5042 # 30 "../ports/sysdeps/unix/sysv/linux/hppa/sys/ucontext.h" 2
5043
5044
5045
5046 typedef unsigned long int greg_t;
5047
5048
5049
5050
5051
5052
5053 typedef struct gregset
5054   {
5055     greg_t g_regs[32];
5056     greg_t sr_regs[8];
5057     greg_t cr_regs[24];
5058     greg_t g_pad[16];
5059   } gregset_t;
5060
5061
5062 typedef struct fpregset
5063   {
5064     double fp_dregs[32];
5065   } fpregset_t;
5066
5067
5068 typedef struct sigcontext mcontext_t;
5069
5070
5071 typedef struct ucontext
5072   {
5073     unsigned long int uc_flags;
5074     struct ucontext *uc_link;
5075     stack_t uc_stack;
5076     mcontext_t uc_mcontext;
5077     __sigset_t uc_sigmask;
5078   } ucontext_t;
5079 # 352 "../signal/signal.h" 2
5080
5081
5082
5083
5084
5085 extern int sigstack (struct sigstack *__ss, struct sigstack *__oss)
5086      __attribute__ ((__nothrow__)) __attribute__ ((__deprecated__));
5087
5088
5089
5090 extern int sigaltstack (__const struct sigaltstack *__restrict __ss,
5091    struct sigaltstack *__restrict __oss) __attribute__ ((__nothrow__));
5092
5093
5094
5095
5096
5097
5098
5099 extern int sighold (int __sig) __attribute__ ((__nothrow__));
5100
5101
5102 extern int sigrelse (int __sig) __attribute__ ((__nothrow__));
5103
5104
5105 extern int sigignore (int __sig) __attribute__ ((__nothrow__));
5106
5107
5108 extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __attribute__ ((__nothrow__));
5109
5110
5111
5112
5113
5114
5115 # 1 "../nptl/sysdeps/pthread/bits/sigthread.h" 1
5116 # 31 "../nptl/sysdeps/pthread/bits/sigthread.h"
5117 extern int pthread_sigmask (int __how,
5118        __const __sigset_t *__restrict __newmask,
5119        __sigset_t *__restrict __oldmask)__attribute__ ((__nothrow__));
5120
5121
5122 extern int pthread_kill (pthread_t __threadid, int __signo) __attribute__ ((__nothrow__));
5123 # 388 "../signal/signal.h" 2
5124
5125
5126
5127
5128
5129
5130 extern int __libc_current_sigrtmin (void) __attribute__ ((__nothrow__));
5131
5132 extern int __libc_current_sigrtmax (void) __attribute__ ((__nothrow__));
5133
5134
5135
5136
5137 # 6 "../include/signal.h" 2
5138
5139 extern __typeof (sigemptyset) sigemptyset __asm__ ("" "__GI_sigemptyset") __attribute__ ((visibility ("hidden")));
5140 extern __typeof (sigfillset) sigfillset __asm__ ("" "__GI_sigfillset") __attribute__ ((visibility ("hidden")));
5141 extern __typeof (sigaddset) sigaddset __asm__ ("" "__GI_sigaddset") __attribute__ ((visibility ("hidden")));
5142 extern __typeof (sigdelset) sigdelset __asm__ ("" "__GI_sigdelset") __attribute__ ((visibility ("hidden")));
5143 extern __typeof (sigismember) sigismember __asm__ ("" "__GI_sigismember") __attribute__ ((visibility ("hidden")));
5144 extern __typeof (__sigpause) __sigpause __asm__ ("" "__GI___sigpause") __attribute__ ((visibility ("hidden")));
5145 extern __typeof (raise) raise __asm__ ("" "__GI_raise") __attribute__ ((visibility ("hidden")));
5146 extern __typeof (__libc_current_sigrtmin) __libc_current_sigrtmin __asm__ ("" "__GI___libc_current_sigrtmin") __attribute__ ((visibility ("hidden")));
5147 extern __typeof (__libc_current_sigrtmax) __libc_current_sigrtmax __asm__ ("" "__GI___libc_current_sigrtmax") __attribute__ ((visibility ("hidden")));
5148
5149
5150 extern __sighandler_t __bsd_signal (int __sig, __sighandler_t __handler);
5151 extern int __kill (__pid_t __pid, int __sig);
5152 extern int __sigaction (int __sig, __const struct sigaction *__restrict __act,
5153    struct sigaction *__restrict __oact);
5154 extern __typeof (__sigaction) __sigaction __asm__ ("" "__GI___sigaction") __attribute__ ((visibility ("hidden")));
5155 extern int __sigblock (int __mask);
5156 extern int __sigsetmask (int __mask);
5157 extern int __sigprocmask (int __how,
5158      __const sigset_t *__set, sigset_t *__oset);
5159 extern int __sigsuspend (__const sigset_t *__set);
5160 extern __typeof (__sigsuspend) __sigsuspend __asm__ ("" "__GI___sigsuspend") __attribute__ ((visibility ("hidden")));
5161
5162 extern int __sigsuspend_nocancel (__const sigset_t *__set) __attribute__ ((visibility ("hidden")));
5163
5164 extern int __sigwait (__const sigset_t *__set, int *__sig);
5165 extern __typeof (__sigwait) __sigwait __asm__ ("" "__GI___sigwait") __attribute__ ((visibility ("hidden")));
5166 extern int __sigwaitinfo (__const sigset_t *__set, siginfo_t *__info);
5167 extern __typeof (__sigwaitinfo) __sigwaitinfo __asm__ ("" "__GI___sigwaitinfo") __attribute__ ((visibility ("hidden")));
5168 extern int __sigtimedwait (__const sigset_t *__set, siginfo_t *__info,
5169       __const struct timespec *__timeout);
5170 extern __typeof (__sigtimedwait) __sigtimedwait __asm__ ("" "__GI___sigtimedwait") __attribute__ ((visibility ("hidden")));
5171 extern int __sigqueue (__pid_t __pid, int __sig,
5172          __const union sigval __val);
5173 extern int __sigvec (int __sig, __const struct sigvec *__vec,
5174        struct sigvec *__ovec);
5175 extern int __sigreturn (struct sigcontext *__scp);
5176 extern int __sigaltstack (__const struct sigaltstack *__ss,
5177      struct sigaltstack *__oss);
5178 extern int __libc_sigaction (int sig, const struct sigaction *act,
5179         struct sigaction *oact);
5180 extern __typeof (__libc_sigaction) __libc_sigaction __asm__ ("" "__GI___libc_sigaction") __attribute__ ((visibility ("hidden")));
5181
5182 extern int __sigpause (int sig_or_mask, int is_sig);
5183 extern int __default_sigpause (int mask);
5184 extern int __xpg_sigpause (int sig);
5185
5186
5187
5188
5189
5190
5191
5192 extern int __libc_allocate_rtsig (int __high);
5193 # 33 "../ports/sysdeps/unix/sysv/linux/hppa/sys/procfs.h" 2
5194 # 1 "../include/sys/time.h" 1
5195
5196 # 1 "../time/sys/time.h" 1
5197 # 29 "../time/sys/time.h"
5198 # 1 "../bits/time.h" 1
5199 # 30 "../time/sys/time.h" 2
5200 # 39 "../time/sys/time.h"
5201
5202 # 57 "../time/sys/time.h"
5203 struct timezone
5204   {
5205     int tz_minuteswest;
5206     int tz_dsttime;
5207   };
5208
5209 typedef struct timezone *__restrict __timezone_ptr_t;
5210 # 73 "../time/sys/time.h"
5211 extern int gettimeofday (struct timeval *__restrict __tv,
5212     __timezone_ptr_t __tz) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
5213
5214
5215
5216
5217 extern int settimeofday (__const struct timeval *__tv,
5218     __const struct timezone *__tz)
5219      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
5220
5221
5222
5223
5224
5225 extern int adjtime (__const struct timeval *__delta,
5226       struct timeval *__olddelta) __attribute__ ((__nothrow__));
5227
5228
5229
5230
5231 enum __itimer_which
5232   {
5233
5234     ITIMER_REAL = 0,
5235
5236
5237     ITIMER_VIRTUAL = 1,
5238
5239
5240
5241     ITIMER_PROF = 2
5242
5243   };
5244
5245
5246
5247 struct itimerval
5248   {
5249
5250     struct timeval it_interval;
5251
5252     struct timeval it_value;
5253   };
5254
5255
5256
5257
5258 typedef enum __itimer_which __itimer_which_t;
5259
5260
5261
5262
5263
5264
5265 extern int getitimer (__itimer_which_t __which,
5266         struct itimerval *__value) __attribute__ ((__nothrow__));
5267
5268
5269
5270
5271 extern int setitimer (__itimer_which_t __which,
5272         __const struct itimerval *__restrict __new,
5273         struct itimerval *__restrict __old) __attribute__ ((__nothrow__));
5274
5275
5276
5277
5278 extern int utimes (__const char *__file, __const struct timeval __tvp[2])
5279      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
5280
5281
5282
5283 extern int lutimes (__const char *__file, __const struct timeval __tvp[2])
5284      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
5285
5286
5287 extern int futimes (int __fd, __const struct timeval __tvp[2]) __attribute__ ((__nothrow__));
5288
5289
5290
5291
5292
5293
5294 extern int futimesat (int __fd, __const char *__file,
5295         __const struct timeval __tvp[2]) __attribute__ ((__nothrow__));
5296 # 191 "../time/sys/time.h"
5297
5298 # 3 "../include/sys/time.h" 2
5299
5300
5301 extern int __gettimeofday (struct timeval *__tv,
5302       struct timezone *__tz);
5303 extern int __gettimeofday_internal (struct timeval *__tv,
5304         struct timezone *__tz)
5305  __attribute__ ((visibility ("hidden")));
5306 extern int __settimeofday (__const struct timeval *__tv,
5307       __const struct timezone *__tz)
5308  __attribute__ ((visibility ("hidden")));
5309 extern int __adjtime (__const struct timeval *__delta,
5310         struct timeval *__olddelta);
5311 extern int __getitimer (enum __itimer_which __which,
5312    struct itimerval *__value);
5313 extern int __setitimer (enum __itimer_which __which,
5314    __const struct itimerval *__restrict __new,
5315    struct itimerval *__restrict __old)
5316  __attribute__ ((visibility ("hidden")));
5317 extern int __utimes (__const char *__file, const struct timeval __tvp[2])
5318  __attribute__ ((visibility ("hidden")));
5319 extern int __futimes (int fd, __const struct timeval tvp[2]) __attribute__ ((visibility ("hidden")));
5320 # 34 "../ports/sysdeps/unix/sysv/linux/hppa/sys/procfs.h" 2
5321 # 1 "../include/sys/types.h" 1
5322 # 35 "../ports/sysdeps/unix/sysv/linux/hppa/sys/procfs.h" 2
5323
5324 # 1 "../sysdeps/unix/sysv/linux/sys/user.h" 1
5325 # 1 "/usr/include/linux/user.h" 1 3 4
5326 # 1 "/usr/include/asm/user.h" 1 3 4
5327 # 1 "/usr/include/linux/user.h" 2 3 4
5328 # 1 "../sysdeps/unix/sysv/linux/sys/user.h" 2
5329 # 37 "../ports/sysdeps/unix/sysv/linux/hppa/sys/procfs.h" 2
5330 # 1 "/usr/include/asm/elf.h" 1 3 4
5331
5332
5333
5334
5335
5336
5337
5338 # 1 "/usr/include/asm/ptrace.h" 1 3 4
5339
5340
5341
5342
5343
5344
5345
5346 # 1 "/usr/include/linux/types.h" 1 3 4
5347
5348
5349
5350 # 1 "../include/sys/types.h" 1 3 4
5351 # 5 "/usr/include/linux/types.h" 2 3 4
5352 # 1 "../sysdeps/generic/inttypes.h" 1 3 4
5353 # 35 "../sysdeps/generic/inttypes.h" 3 4
5354 typedef long int __gwchar_t;
5355 # 274 "../sysdeps/generic/inttypes.h" 3 4
5356
5357 # 288 "../sysdeps/generic/inttypes.h" 3 4
5358 typedef struct
5359   {
5360     long long int quot;
5361     long long int rem;
5362   } imaxdiv_t;
5363
5364
5365
5366
5367
5368 extern intmax_t imaxabs (intmax_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
5369
5370
5371 extern imaxdiv_t imaxdiv (intmax_t __numer, intmax_t __denom)
5372       __attribute__ ((__nothrow__)) __attribute__ ((__const__));
5373
5374
5375 extern intmax_t strtoimax (__const char *__restrict __nptr,
5376       char **__restrict __endptr, int __base) __attribute__ ((__nothrow__));
5377
5378
5379 extern uintmax_t strtoumax (__const char *__restrict __nptr,
5380        char ** __restrict __endptr, int __base) __attribute__ ((__nothrow__));
5381
5382
5383 extern intmax_t wcstoimax (__const __gwchar_t *__restrict __nptr,
5384       __gwchar_t **__restrict __endptr, int __base)
5385      __attribute__ ((__nothrow__));
5386
5387
5388 extern uintmax_t wcstoumax (__const __gwchar_t *__restrict __nptr,
5389        __gwchar_t ** __restrict __endptr, int __base)
5390      __attribute__ ((__nothrow__));
5391 # 396 "../sysdeps/generic/inttypes.h" 3 4
5392 extern __inline intmax_t
5393 __attribute__ ((__nothrow__)) strtoimax (__const char *__restrict nptr, char **__restrict endptr, int base)
5394
5395 {
5396   return __strtoll_internal (nptr, endptr, base, 0);
5397 }
5398 # 414 "../sysdeps/generic/inttypes.h" 3 4
5399 extern __inline uintmax_t
5400 __attribute__ ((__nothrow__)) strtoumax (__const char *__restrict nptr, char **__restrict endptr, int base)
5401
5402 {
5403   return __strtoull_internal (nptr, endptr, base, 0);
5404 }
5405
5406
5407
5408 __extension__
5409 extern long long int __wcstoll_internal (__const __gwchar_t *
5410       __restrict __nptr,
5411       __gwchar_t **__restrict __endptr,
5412       int __base, int __group) __attribute__ ((__nothrow__));
5413
5414
5415 extern __inline intmax_t
5416 __attribute__ ((__nothrow__)) wcstoimax (__const __gwchar_t *__restrict nptr, __gwchar_t **__restrict endptr, int base)
5417
5418 {
5419   return __wcstoll_internal (nptr, endptr, base, 0);
5420 }
5421
5422
5423
5424
5425 __extension__
5426 extern unsigned long long int __wcstoull_internal (__const __gwchar_t *
5427          __restrict __nptr,
5428          __gwchar_t **
5429          __restrict __endptr,
5430          int __base,
5431          int __group) __attribute__ ((__nothrow__));
5432
5433
5434 extern __inline uintmax_t
5435 __attribute__ ((__nothrow__)) wcstoumax (__const __gwchar_t *__restrict nptr, __gwchar_t **__restrict endptr, int base)
5436
5437 {
5438   return __wcstoull_internal (nptr, endptr, base, 0);
5439 }
5440
5441
5442
5443
5444
5445 # 6 "/usr/include/linux/types.h" 2 3 4
5446 # 1 "/usr/include/linux/posix_types.h" 1 3 4
5447
5448
5449
5450 # 1 "/usr/include/linux/stddef.h" 1 3 4
5451 # 5 "/usr/include/linux/posix_types.h" 2 3 4
5452 # 36 "/usr/include/linux/posix_types.h" 3 4
5453 typedef struct {
5454  unsigned long fds_bits [(1024/(8 * sizeof(unsigned long)))];
5455 } __kernel_fd_set;
5456
5457
5458 typedef void (*__kernel_sighandler_t)(int);
5459
5460
5461 typedef int __kernel_key_t;
5462 typedef int __kernel_mqd_t;
5463
5464 # 1 "/usr/include/asm/posix_types.h" 1 3 4
5465 # 9 "/usr/include/asm/posix_types.h" 3 4
5466 typedef unsigned long __kernel_ino_t;
5467 typedef unsigned short __kernel_mode_t;
5468 typedef unsigned short __kernel_nlink_t;
5469 typedef long __kernel_off_t;
5470 typedef int __kernel_pid_t;
5471 typedef unsigned short __kernel_ipc_pid_t;
5472 typedef unsigned int __kernel_uid_t;
5473 typedef unsigned int __kernel_gid_t;
5474 typedef int __kernel_suseconds_t;
5475 typedef long __kernel_clock_t;
5476 typedef int __kernel_timer_t;
5477 typedef int __kernel_clockid_t;
5478 typedef int __kernel_daddr_t;
5479
5480
5481
5482
5483
5484
5485
5486 typedef unsigned int __kernel_size_t;
5487 typedef int __kernel_ssize_t;
5488 typedef int __kernel_ptrdiff_t;
5489 typedef long __kernel_time_t;
5490
5491 typedef char * __kernel_caddr_t;
5492
5493 typedef unsigned short __kernel_uid16_t;
5494 typedef unsigned short __kernel_gid16_t;
5495 typedef unsigned int __kernel_uid32_t;
5496 typedef unsigned int __kernel_gid32_t;
5497
5498
5499 typedef long long __kernel_loff_t;
5500 typedef long long __kernel_off64_t;
5501 typedef unsigned long long __kernel_ino64_t;
5502
5503
5504 typedef unsigned int __kernel_old_dev_t;
5505
5506 typedef struct {
5507
5508
5509
5510  int __val[2];
5511
5512 } __kernel_fsid_t;
5513
5514
5515 typedef __kernel_uid_t __kernel_old_uid_t;
5516 typedef __kernel_gid_t __kernel_old_gid_t;
5517 # 48 "/usr/include/linux/posix_types.h" 2 3 4
5518 # 7 "/usr/include/linux/types.h" 2 3 4
5519 # 1 "/usr/include/asm/types.h" 1 3 4
5520
5521
5522
5523
5524
5525 typedef unsigned short umode_t;
5526
5527
5528
5529
5530
5531
5532 typedef __signed__ char __s8;
5533 typedef unsigned char __u8;
5534
5535 typedef __signed__ short __s16;
5536 typedef unsigned short __u16;
5537
5538 typedef __signed__ int __s32;
5539 typedef unsigned int __u32;
5540
5541
5542 typedef __signed__ long long __s64;
5543 typedef unsigned long long __u64;
5544 # 8 "/usr/include/linux/types.h" 2 3 4
5545 # 148 "/usr/include/linux/types.h" 3 4
5546 typedef __u16 __le16;
5547 typedef __u16 __be16;
5548 typedef __u32 __le32;
5549 typedef __u32 __be32;
5550
5551 typedef __u64 __le64;
5552 typedef __u64 __be64;
5553
5554
5555
5556 struct ustat {
5557  __kernel_daddr_t f_tfree;
5558  __kernel_ino_t f_tinode;
5559  char f_fname[6];
5560  char f_fpack[6];
5561 };
5562 # 9 "/usr/include/asm/ptrace.h" 2 3 4
5563 # 18 "/usr/include/asm/ptrace.h" 3 4
5564 struct pt_regs {
5565  unsigned long gr[32];
5566  __u64 fr[32];
5567  unsigned long sr[ 8];
5568  unsigned long iasq[2];
5569  unsigned long iaoq[2];
5570  unsigned long cr27;
5571  unsigned long pad0;
5572  unsigned long orig_r28;
5573  unsigned long ksp;
5574  unsigned long kpc;
5575  unsigned long sar;
5576  unsigned long iir;
5577  unsigned long isr;
5578  unsigned long ior;
5579  unsigned long ipsw;
5580 };
5581 # 9 "/usr/include/asm/elf.h" 2 3 4
5582 # 158 "/usr/include/asm/elf.h" 3 4
5583 typedef struct elf32_fdesc {
5584  __u32 addr;
5585  __u32 gp;
5586 } Elf32_Fdesc;
5587
5588
5589 typedef struct elf64_fdesc {
5590  __u64 dummy[2];
5591
5592  __u64 addr;
5593  __u64 gp;
5594 } Elf64_Fdesc;
5595 # 229 "/usr/include/asm/elf.h" 3 4
5596 typedef unsigned long elf_greg_t;
5597 # 285 "/usr/include/asm/elf.h" 3 4
5598 typedef elf_greg_t elf_gregset_t[80];
5599
5600
5601 typedef double elf_fpreg_t;
5602 typedef elf_fpreg_t elf_fpregset_t[32];
5603
5604 struct task_struct;
5605
5606 extern int dump_task_fpu (struct task_struct *, elf_fpregset_t *);
5607
5608
5609 struct pt_regs;
5610 # 38 "../ports/sysdeps/unix/sysv/linux/hppa/sys/procfs.h" 2
5611
5612
5613
5614 struct elf_siginfo
5615   {
5616     int si_signo;
5617     int si_code;
5618     int si_errno;
5619   };
5620 # 55 "../ports/sysdeps/unix/sysv/linux/hppa/sys/procfs.h"
5621 struct elf_prstatus
5622   {
5623     struct elf_siginfo pr_info;
5624     short int pr_cursig;
5625     unsigned long int pr_sigpend;
5626     unsigned long int pr_sighold;
5627     __pid_t pr_pid;
5628     __pid_t pr_ppid;
5629     __pid_t pr_pgrp;
5630     __pid_t pr_sid;
5631     struct timeval pr_utime;
5632     struct timeval pr_stime;
5633     struct timeval pr_cutime;
5634     struct timeval pr_cstime;
5635     elf_gregset_t pr_reg;
5636     int pr_fpvalid;
5637   };
5638
5639
5640
5641
5642 struct elf_prpsinfo
5643   {
5644     char pr_state;
5645     char pr_sname;
5646     char pr_zomb;
5647     char pr_nice;
5648     unsigned long int pr_flag;
5649     unsigned int pr_uid;
5650     unsigned int pr_gid;
5651     int pr_pid, pr_ppid, pr_pgrp, pr_sid;
5652
5653     char pr_fname[16];
5654     char pr_psargs[(80)];
5655   };
5656
5657
5658
5659
5660
5661
5662
5663 typedef void *psaddr_t;
5664
5665
5666 typedef elf_gregset_t prgregset_t;
5667 typedef elf_fpregset_t prfpregset_t;
5668
5669
5670
5671 typedef __pid_t lwpid_t;
5672
5673
5674 typedef struct elf_prstatus prstatus_t;
5675 typedef struct elf_prpsinfo prpsinfo_t;
5676
5677
5678 # 30 "../nptl/../nptl_db/thread_db.h" 2
5679
5680
5681
5682 typedef enum
5683 {
5684   TD_OK,
5685   TD_ERR,
5686   TD_NOTHR,
5687   TD_NOSV,
5688   TD_NOLWP,
5689   TD_BADPH,
5690   TD_BADTH,
5691   TD_BADSH,
5692   TD_BADTA,
5693   TD_BADKEY,
5694   TD_NOMSG,
5695   TD_NOFPREGS,
5696   TD_NOLIBTHREAD,
5697   TD_NOEVENT,
5698   TD_NOCAPAB,
5699   TD_DBERR,
5700   TD_NOAPLIC,
5701   TD_NOTSD,
5702   TD_MALLOC,
5703   TD_PARTIALREG,
5704   TD_NOXREGS,
5705   TD_TLSDEFER,
5706   TD_NOTALLOC = TD_TLSDEFER,
5707   TD_VERSION,
5708   TD_NOTLS
5709 } td_err_e;
5710
5711
5712
5713
5714 typedef enum
5715 {
5716   TD_THR_ANY_STATE,
5717   TD_THR_UNKNOWN,
5718   TD_THR_STOPPED,
5719   TD_THR_RUN,
5720   TD_THR_ACTIVE,
5721   TD_THR_ZOMBIE,
5722   TD_THR_SLEEP,
5723   TD_THR_STOPPED_ASLEEP
5724 } td_thr_state_e;
5725
5726
5727
5728 typedef enum
5729 {
5730   TD_THR_ANY_TYPE,
5731   TD_THR_USER,
5732   TD_THR_SYSTEM
5733 } td_thr_type_e;
5734
5735
5736
5737
5738
5739 typedef struct td_thragent td_thragent_t;
5740
5741
5742 typedef struct td_thrhandle
5743 {
5744   td_thragent_t *th_ta_p;
5745   psaddr_t th_unique;
5746 } td_thrhandle_t;
5747
5748
5749
5750 struct link_map;
5751 # 116 "../nptl/../nptl_db/thread_db.h"
5752 typedef struct td_thr_events
5753 {
5754   uint32_t event_bits[2];
5755 } td_thr_events_t;
5756 # 155 "../nptl/../nptl_db/thread_db.h"
5757 typedef enum
5758 {
5759   TD_ALL_EVENTS,
5760   TD_EVENT_NONE = TD_ALL_EVENTS,
5761   TD_READY,
5762   TD_SLEEP,
5763   TD_SWITCHTO,
5764   TD_SWITCHFROM,
5765   TD_LOCK_TRY,
5766   TD_CATCHSIG,
5767   TD_IDLE,
5768   TD_CREATE,
5769   TD_DEATH,
5770   TD_PREEMPT,
5771   TD_PRI_INHERIT,
5772   TD_REAP,
5773   TD_CONCURRENCY,
5774   TD_TIMEOUT,
5775   TD_MIN_EVENT_NUM = TD_READY,
5776   TD_MAX_EVENT_NUM = TD_TIMEOUT,
5777   TD_EVENTS_ENABLE = 31
5778 } td_event_e;
5779
5780
5781 typedef enum
5782 {
5783   NOTIFY_BPT,
5784   NOTIFY_AUTOBPT,
5785
5786   NOTIFY_SYSCALL
5787 } td_notify_e;
5788
5789
5790 typedef struct td_notify
5791 {
5792   td_notify_e type;
5793   union
5794   {
5795     psaddr_t bptaddr;
5796     int syscallno;
5797   } u;
5798 } td_notify_t;
5799
5800
5801 typedef struct td_event_msg
5802 {
5803   td_event_e event;
5804   const td_thrhandle_t *th_p;
5805   union
5806   {
5807
5808
5809
5810     uintptr_t data;
5811   } msg;
5812 } td_event_msg_t;
5813
5814
5815 typedef struct
5816 {
5817   td_thr_events_t eventmask;
5818   td_event_e eventnum;
5819   void *eventdata;
5820 } td_eventbuf_t;
5821
5822
5823
5824 typedef struct td_ta_stats
5825 {
5826   int nthreads;
5827   int r_concurrency;
5828   int nrunnable_num;
5829   int nrunnable_den;
5830   int a_concurrency_num;
5831   int a_concurrency_den;
5832   int nlwps_num;
5833
5834   int nlwps_den;
5835
5836   int nidle_num;
5837
5838   int nidle_den;
5839
5840 } td_ta_stats_t;
5841
5842
5843
5844
5845 typedef pthread_t thread_t;
5846 typedef pthread_key_t thread_key_t;
5847
5848
5849
5850 typedef int td_thr_iter_f (const td_thrhandle_t *, void *);
5851
5852
5853 typedef int td_key_iter_f (thread_key_t, void (*) (void *), void *);
5854
5855
5856
5857
5858 struct ps_prochandle;
5859
5860
5861
5862 typedef struct td_thrinfo
5863 {
5864   td_thragent_t *ti_ta_p;
5865   unsigned int ti_user_flags;
5866   thread_t ti_tid;
5867
5868   char *ti_tls;
5869   psaddr_t ti_startfunc;
5870
5871   psaddr_t ti_stkbase;
5872   long int ti_stksize;
5873   psaddr_t ti_ro_area;
5874   int ti_ro_size;
5875   td_thr_state_e ti_state;
5876   unsigned char ti_db_suspended;
5877   td_thr_type_e ti_type;
5878
5879   intptr_t ti_pc;
5880   intptr_t ti_sp;
5881   short int ti_flags;
5882   int ti_pri;
5883   lwpid_t ti_lid;
5884   sigset_t ti_sigmask;
5885   unsigned char ti_traceme;
5886
5887   unsigned char ti_preemptflag;
5888   unsigned char ti_pirecflag;
5889   sigset_t ti_pending;
5890   td_thr_events_t ti_events;
5891 } td_thrinfo_t;
5892
5893
5894
5895
5896
5897
5898 extern td_err_e td_init (void);
5899
5900
5901 extern td_err_e td_log (void);
5902
5903
5904 extern const char **td_symbol_list (void);
5905
5906
5907 extern td_err_e td_ta_new (struct ps_prochandle *__ps, td_thragent_t **__ta);
5908
5909
5910 extern td_err_e td_ta_delete (td_thragent_t *__ta);
5911
5912
5913 extern td_err_e td_ta_get_nthreads (const td_thragent_t *__ta, int *__np);
5914
5915
5916
5917 extern td_err_e td_ta_get_ph (const td_thragent_t *__ta,
5918          struct ps_prochandle **__ph);
5919
5920
5921
5922 extern td_err_e td_ta_map_id2thr (const td_thragent_t *__ta, pthread_t __pt,
5923       td_thrhandle_t *__th);
5924
5925
5926
5927 extern td_err_e td_ta_map_lwp2thr (const td_thragent_t *__ta, lwpid_t __lwpid,
5928        td_thrhandle_t *__th);
5929
5930
5931
5932
5933 extern td_err_e td_ta_thr_iter (const td_thragent_t *__ta,
5934     td_thr_iter_f *__callback, void *__cbdata_p,
5935     td_thr_state_e __state, int __ti_pri,
5936     sigset_t *__ti_sigmask_p,
5937     unsigned int __ti_user_flags);
5938
5939
5940 extern td_err_e td_ta_tsd_iter (const td_thragent_t *__ta, td_key_iter_f *__ki,
5941     void *__p);
5942
5943
5944
5945 extern td_err_e td_ta_event_addr (const td_thragent_t *__ta,
5946       td_event_e __event, td_notify_t *__ptr);
5947
5948
5949 extern td_err_e td_ta_set_event (const td_thragent_t *__ta,
5950      td_thr_events_t *__event);
5951
5952
5953 extern td_err_e td_ta_clear_event (const td_thragent_t *__ta,
5954        td_thr_events_t *__event);
5955
5956
5957 extern td_err_e td_ta_event_getmsg (const td_thragent_t *__ta,
5958         td_event_msg_t *__msg);
5959
5960
5961
5962 extern td_err_e td_ta_setconcurrency (const td_thragent_t *__ta, int __level);
5963
5964
5965
5966 extern td_err_e td_ta_enable_stats (const td_thragent_t *__ta, int __enable);
5967
5968
5969 extern td_err_e td_ta_reset_stats (const td_thragent_t *__ta);
5970
5971
5972 extern td_err_e td_ta_get_stats (const td_thragent_t *__ta,
5973      td_ta_stats_t *__statsp);
5974
5975
5976
5977 extern td_err_e td_thr_validate (const td_thrhandle_t *__th);
5978
5979
5980 extern td_err_e td_thr_get_info (const td_thrhandle_t *__th,
5981      td_thrinfo_t *__infop);
5982
5983
5984 extern td_err_e td_thr_getfpregs (const td_thrhandle_t *__th,
5985       prfpregset_t *__regset);
5986
5987
5988 extern td_err_e td_thr_getgregs (const td_thrhandle_t *__th,
5989      prgregset_t __gregs);
5990
5991
5992 extern td_err_e td_thr_getxregs (const td_thrhandle_t *__th, void *__xregs);
5993
5994
5995 extern td_err_e td_thr_getxregsize (const td_thrhandle_t *__th, int *__sizep);
5996
5997
5998 extern td_err_e td_thr_setfpregs (const td_thrhandle_t *__th,
5999       const prfpregset_t *__fpregs);
6000
6001
6002 extern td_err_e td_thr_setgregs (const td_thrhandle_t *__th,
6003      prgregset_t __gregs);
6004
6005
6006 extern td_err_e td_thr_setxregs (const td_thrhandle_t *__th,
6007      const void *__addr);
6008
6009
6010
6011 extern td_err_e td_thr_tlsbase (const td_thrhandle_t *__th,
6012     unsigned long int __modid,
6013     psaddr_t *__base);
6014
6015
6016 extern td_err_e td_thr_tls_get_addr (const td_thrhandle_t *__th,
6017          psaddr_t __map_address, size_t __offset,
6018          psaddr_t *__address);
6019
6020
6021
6022 extern td_err_e td_thr_event_enable (const td_thrhandle_t *__th, int __event);
6023
6024
6025 extern td_err_e td_thr_set_event (const td_thrhandle_t *__th,
6026       td_thr_events_t *__event);
6027
6028
6029 extern td_err_e td_thr_clear_event (const td_thrhandle_t *__th,
6030         td_thr_events_t *__event);
6031
6032
6033 extern td_err_e td_thr_event_getmsg (const td_thrhandle_t *__th,
6034          td_event_msg_t *__msg);
6035
6036
6037
6038 extern td_err_e td_thr_setprio (const td_thrhandle_t *__th, int __prio);
6039
6040
6041
6042 extern td_err_e td_thr_setsigpending (const td_thrhandle_t *__th,
6043           unsigned char __n, const sigset_t *__ss);
6044
6045
6046 extern td_err_e td_thr_sigsetmask (const td_thrhandle_t *__th,
6047        const sigset_t *__ss);
6048
6049
6050
6051 extern td_err_e td_thr_tsd (const td_thrhandle_t *__th,
6052        const thread_key_t __tk, void **__data);
6053
6054
6055
6056 extern td_err_e td_thr_dbsuspend (const td_thrhandle_t *__th);
6057
6058
6059 extern td_err_e td_thr_dbresume (const td_thrhandle_t *__th);
6060 # 34 "../nptl/descr.h" 2
6061 # 1 "../include/tls.h" 1
6062 # 35 "../nptl/descr.h" 2
6063
6064 # 1 "../sysdeps/generic/unwind.h" 1
6065 # 35 "../sysdeps/generic/unwind.h"
6066 typedef unsigned _Unwind_Word __attribute__((__mode__(__word__)));
6067 typedef signed _Unwind_Sword __attribute__((__mode__(__word__)));
6068
6069
6070
6071 typedef unsigned _Unwind_Ptr __attribute__((__mode__(__pointer__)));
6072
6073 typedef unsigned _Unwind_Internal_Ptr __attribute__((__mode__(__pointer__)));
6074
6075
6076
6077
6078
6079 typedef unsigned _Unwind_Exception_Class __attribute__((__mode__(__DI__)));
6080
6081
6082
6083 typedef enum
6084 {
6085   _URC_NO_REASON = 0,
6086   _URC_FOREIGN_EXCEPTION_CAUGHT = 1,
6087   _URC_FATAL_PHASE2_ERROR = 2,
6088   _URC_FATAL_PHASE1_ERROR = 3,
6089   _URC_NORMAL_STOP = 4,
6090   _URC_END_OF_STACK = 5,
6091   _URC_HANDLER_FOUND = 6,
6092   _URC_INSTALL_CONTEXT = 7,
6093   _URC_CONTINUE_UNWIND = 8
6094 } _Unwind_Reason_Code;
6095 # 72 "../sysdeps/generic/unwind.h"
6096 struct _Unwind_Exception;
6097
6098 typedef void (*_Unwind_Exception_Cleanup_Fn) (_Unwind_Reason_Code,
6099            struct _Unwind_Exception *);
6100
6101 struct _Unwind_Exception
6102 {
6103   _Unwind_Exception_Class exception_class;
6104   _Unwind_Exception_Cleanup_Fn exception_cleanup;
6105   _Unwind_Word private_1;
6106   _Unwind_Word private_2;
6107
6108
6109
6110
6111 } __attribute__((__aligned__));
6112
6113
6114
6115
6116 typedef int _Unwind_Action;
6117 # 104 "../sysdeps/generic/unwind.h"
6118 struct _Unwind_Context;
6119
6120
6121 extern _Unwind_Reason_Code _Unwind_RaiseException (struct _Unwind_Exception *);
6122
6123
6124
6125 typedef _Unwind_Reason_Code (*_Unwind_Stop_Fn)
6126      (int, _Unwind_Action, _Unwind_Exception_Class,
6127       struct _Unwind_Exception *, struct _Unwind_Context *, void *);
6128
6129 extern _Unwind_Reason_Code _Unwind_ForcedUnwind (struct _Unwind_Exception *,
6130        _Unwind_Stop_Fn,
6131        void *);
6132
6133
6134 extern void _Unwind_DeleteException (struct _Unwind_Exception *);
6135
6136
6137
6138 extern void _Unwind_Resume (struct _Unwind_Exception *);
6139
6140
6141
6142
6143 typedef _Unwind_Reason_Code (*_Unwind_Trace_Fn)
6144      (struct _Unwind_Context *, void *);
6145
6146 extern _Unwind_Reason_Code _Unwind_Backtrace (_Unwind_Trace_Fn, void *);
6147
6148
6149
6150
6151
6152
6153 extern _Unwind_Word _Unwind_GetGR (struct _Unwind_Context *, int);
6154 extern void _Unwind_SetGR (struct _Unwind_Context *, int, _Unwind_Word);
6155
6156 extern _Unwind_Ptr _Unwind_GetIP (struct _Unwind_Context *);
6157 extern void _Unwind_SetIP (struct _Unwind_Context *, _Unwind_Ptr);
6158
6159
6160 extern _Unwind_Word _Unwind_GetCFA (struct _Unwind_Context *);
6161
6162 extern void *_Unwind_GetLanguageSpecificData (struct _Unwind_Context *);
6163
6164 extern _Unwind_Ptr _Unwind_GetRegionStart (struct _Unwind_Context *);
6165 # 167 "../sysdeps/generic/unwind.h"
6166 typedef _Unwind_Reason_Code (*_Unwind_Personality_Fn)
6167      (int, _Unwind_Action, _Unwind_Exception_Class,
6168       struct _Unwind_Exception *, struct _Unwind_Context *);
6169
6170
6171
6172
6173 struct SjLj_Function_Context;
6174 extern void _Unwind_SjLj_Register (struct SjLj_Function_Context *);
6175 extern void _Unwind_SjLj_Unregister (struct SjLj_Function_Context *);
6176
6177 extern _Unwind_Reason_Code _Unwind_SjLj_RaiseException
6178      (struct _Unwind_Exception *);
6179 extern _Unwind_Reason_Code _Unwind_SjLj_ForcedUnwind
6180      (struct _Unwind_Exception *, _Unwind_Stop_Fn, void *);
6181 extern void _Unwind_SjLj_Resume (struct _Unwind_Exception *);
6182 # 208 "../sysdeps/generic/unwind.h"
6183 extern _Unwind_Ptr _Unwind_GetDataRelBase (struct _Unwind_Context *);
6184 extern _Unwind_Ptr _Unwind_GetTextRelBase (struct _Unwind_Context *);
6185
6186
6187
6188
6189 extern void * _Unwind_FindEnclosingFunction (void *pc);
6190 # 37 "../nptl/descr.h" 2
6191
6192
6193 # 1 "../include/resolv.h" 1
6194 # 12 "../include/resolv.h"
6195 # 1 "../resolv/resolv.h" 1
6196 # 56 "../resolv/resolv.h"
6197 # 1 "../include/sys/types.h" 1
6198 # 57 "../resolv/resolv.h" 2
6199 # 1 "../include/netinet/in.h" 1
6200
6201
6202 # 1 "../inet/netinet/in.h" 1
6203 # 24 "../inet/netinet/in.h"
6204 # 1 "../include/sys/socket.h" 1
6205
6206 # 1 "../socket/sys/socket.h" 1
6207 # 25 "../socket/sys/socket.h"
6208
6209
6210 # 1 "../include/sys/uio.h" 1
6211
6212 # 1 "../misc/sys/uio.h" 1
6213 # 24 "../misc/sys/uio.h"
6214 # 1 "../include/sys/types.h" 1
6215 # 25 "../misc/sys/uio.h" 2
6216
6217
6218
6219
6220 # 1 "../sysdeps/unix/sysv/linux/bits/uio.h" 1
6221 # 26 "../sysdeps/unix/sysv/linux/bits/uio.h"
6222 # 1 "../include/sys/types.h" 1
6223 # 27 "../sysdeps/unix/sysv/linux/bits/uio.h" 2
6224 # 44 "../sysdeps/unix/sysv/linux/bits/uio.h"
6225 struct iovec
6226   {
6227     void *iov_base;
6228     size_t iov_len;
6229   };
6230 # 30 "../misc/sys/uio.h" 2
6231 # 40 "../misc/sys/uio.h"
6232 extern ssize_t readv (int __fd, __const struct iovec *__iovec, int __count);
6233 # 50 "../misc/sys/uio.h"
6234 extern ssize_t writev (int __fd, __const struct iovec *__iovec, int __count);
6235
6236
6237 # 3 "../include/sys/uio.h" 2
6238
6239
6240 extern ssize_t __readv (int __fd, __const struct iovec *__vector,
6241    int __count);
6242 extern ssize_t __libc_readv (int __fd, __const struct iovec *__vector,
6243         int __count);
6244 extern ssize_t __writev (int __fd, __const struct iovec *__vector,
6245     int __count);
6246 extern ssize_t __libc_writev (int __fd, __const struct iovec *__vector,
6247          int __count);
6248 # 28 "../socket/sys/socket.h" 2
6249
6250 # 1 "/usr/lib/gcc/hppa2.0-unknown-linux-gnu/4.1.1/include/stddef.h" 1 3 4
6251 # 30 "../socket/sys/socket.h" 2
6252
6253
6254
6255
6256
6257 # 1 "../sysdeps/unix/sysv/linux/bits/socket.h" 1
6258 # 29 "../sysdeps/unix/sysv/linux/bits/socket.h"
6259 # 1 "/usr/lib/gcc/hppa2.0-unknown-linux-gnu/4.1.1/include/stddef.h" 1 3 4
6260 # 30 "../sysdeps/unix/sysv/linux/bits/socket.h" 2
6261
6262 # 1 "../include/limits.h" 1
6263 # 145 "../include/limits.h"
6264 # 1 "../include/bits/posix1_lim.h" 1
6265 # 146 "../include/limits.h" 2
6266
6267
6268
6269 # 1 "../include/bits/posix2_lim.h" 1
6270 # 150 "../include/limits.h" 2
6271 # 32 "../sysdeps/unix/sysv/linux/bits/socket.h" 2
6272 # 1 "../include/sys/types.h" 1
6273 # 33 "../sysdeps/unix/sysv/linux/bits/socket.h" 2
6274
6275
6276
6277 typedef __socklen_t socklen_t;
6278
6279
6280
6281
6282 enum __socket_type
6283 {
6284   SOCK_STREAM = 1,
6285
6286
6287   SOCK_DGRAM = 2,
6288
6289
6290   SOCK_RAW = 3,
6291
6292   SOCK_RDM = 4,
6293
6294   SOCK_SEQPACKET = 5,
6295
6296
6297   SOCK_PACKET = 10
6298
6299
6300
6301 };
6302 # 142 "../sysdeps/unix/sysv/linux/bits/socket.h"
6303 # 1 "../bits/sockaddr.h" 1
6304 # 29 "../bits/sockaddr.h"
6305 typedef unsigned short int sa_family_t;
6306 # 143 "../sysdeps/unix/sysv/linux/bits/socket.h" 2
6307
6308
6309 struct sockaddr
6310   {
6311     sa_family_t sa_family;
6312     char sa_data[14];
6313   };
6314 # 162 "../sysdeps/unix/sysv/linux/bits/socket.h"
6315 struct sockaddr_storage
6316   {
6317     sa_family_t ss_family;
6318     __uint32_t __ss_align;
6319     char __ss_padding[(128 - (2 * sizeof (__uint32_t)))];
6320   };
6321
6322
6323
6324 enum
6325   {
6326     MSG_OOB = 0x01,
6327
6328     MSG_PEEK = 0x02,
6329
6330     MSG_DONTROUTE = 0x04,
6331
6332
6333
6334     MSG_TRYHARD = MSG_DONTROUTE,
6335
6336
6337     MSG_CTRUNC = 0x08,
6338
6339     MSG_PROXY = 0x10,
6340
6341     MSG_TRUNC = 0x20,
6342
6343     MSG_DONTWAIT = 0x40,
6344
6345     MSG_EOR = 0x80,
6346
6347     MSG_WAITALL = 0x100,
6348
6349     MSG_FIN = 0x200,
6350
6351     MSG_SYN = 0x400,
6352
6353     MSG_CONFIRM = 0x800,
6354
6355     MSG_RST = 0x1000,
6356
6357     MSG_ERRQUEUE = 0x2000,
6358
6359     MSG_NOSIGNAL = 0x4000,
6360
6361     MSG_MORE = 0x8000
6362
6363   };
6364
6365
6366
6367
6368 struct msghdr
6369   {
6370     void *msg_name;
6371     socklen_t msg_namelen;
6372
6373     struct iovec *msg_iov;
6374     size_t msg_iovlen;
6375
6376     void *msg_control;
6377     size_t msg_controllen;
6378
6379
6380
6381
6382     int msg_flags;
6383   };
6384
6385
6386 struct cmsghdr
6387   {
6388     size_t cmsg_len;
6389
6390
6391
6392
6393     int cmsg_level;
6394     int cmsg_type;
6395
6396     __extension__ unsigned char __cmsg_data [];
6397
6398   };
6399 # 263 "../sysdeps/unix/sysv/linux/bits/socket.h"
6400 extern struct cmsghdr *__cmsg_nxthdr (struct msghdr *__mhdr,
6401           struct cmsghdr *__cmsg) __attribute__ ((__nothrow__));
6402
6403
6404
6405
6406 extern __inline struct cmsghdr *
6407 __attribute__ ((__nothrow__)) __cmsg_nxthdr (struct msghdr *__mhdr, struct cmsghdr *__cmsg)
6408 {
6409   if ((size_t) __cmsg->cmsg_len < sizeof (struct cmsghdr))
6410
6411     return 0;
6412
6413   __cmsg = (struct cmsghdr *) ((unsigned char *) __cmsg
6414           + (((__cmsg->cmsg_len) + sizeof (size_t) - 1) & (size_t) ~(sizeof (size_t) - 1)));
6415   if ((unsigned char *) (__cmsg + 1) > ((unsigned char *) __mhdr->msg_control
6416      + __mhdr->msg_controllen)
6417       || ((unsigned char *) __cmsg + (((__cmsg->cmsg_len) + sizeof (size_t) - 1) & (size_t) ~(sizeof (size_t) - 1))
6418    > ((unsigned char *) __mhdr->msg_control + __mhdr->msg_controllen)))
6419
6420     return 0;
6421   return __cmsg;
6422 }
6423
6424
6425
6426
6427 enum
6428   {
6429     SCM_RIGHTS = 0x01
6430
6431
6432     , SCM_CREDENTIALS = 0x02
6433
6434
6435   };
6436
6437
6438
6439 struct ucred
6440 {
6441   pid_t pid;
6442   uid_t uid;
6443   gid_t gid;
6444 };
6445
6446
6447 # 1 "/usr/include/asm/socket.h" 1 3 4
6448
6449
6450
6451 # 1 "/usr/include/asm/sockios.h" 1 3 4
6452 # 5 "/usr/include/asm/socket.h" 2 3 4
6453 # 311 "../sysdeps/unix/sysv/linux/bits/socket.h" 2
6454
6455
6456
6457 struct linger
6458   {
6459     int l_onoff;
6460     int l_linger;
6461   };
6462 # 36 "../socket/sys/socket.h" 2
6463
6464
6465
6466
6467 struct osockaddr
6468   {
6469     unsigned short int sa_family;
6470     unsigned char sa_data[14];
6471   };
6472
6473
6474
6475
6476 enum
6477 {
6478   SHUT_RD = 0,
6479
6480   SHUT_WR,
6481
6482   SHUT_RDWR
6483
6484 };
6485 # 87 "../socket/sys/socket.h"
6486 typedef 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__;
6487        } __SOCKADDR_ARG __attribute__ ((__transparent_union__));
6488
6489
6490 typedef 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__;
6491        } __CONST_SOCKADDR_ARG __attribute__ ((__transparent_union__));
6492
6493
6494
6495
6496
6497
6498
6499 extern int socket (int __domain, int __type, int __protocol) __attribute__ ((__nothrow__));
6500
6501
6502
6503
6504
6505 extern int socketpair (int __domain, int __type, int __protocol,
6506          int __fds[2]) __attribute__ ((__nothrow__));
6507
6508
6509 extern int bind (int __fd, __CONST_SOCKADDR_ARG __addr, socklen_t __len)
6510      __attribute__ ((__nothrow__));
6511
6512
6513 extern int getsockname (int __fd, __SOCKADDR_ARG __addr,
6514    socklen_t *__restrict __len) __attribute__ ((__nothrow__));
6515 # 124 "../socket/sys/socket.h"
6516 extern int connect (int __fd, __CONST_SOCKADDR_ARG __addr, socklen_t __len);
6517
6518
6519
6520 extern int getpeername (int __fd, __SOCKADDR_ARG __addr,
6521    socklen_t *__restrict __len) __attribute__ ((__nothrow__));
6522
6523
6524
6525
6526
6527
6528 extern ssize_t send (int __fd, __const void *__buf, size_t __n, int __flags);
6529
6530
6531
6532
6533
6534
6535 extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags);
6536
6537
6538
6539
6540
6541
6542 extern ssize_t sendto (int __fd, __const void *__buf, size_t __n,
6543          int __flags, __CONST_SOCKADDR_ARG __addr,
6544          socklen_t __addr_len);
6545 # 161 "../socket/sys/socket.h"
6546 extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n,
6547     int __flags, __SOCKADDR_ARG __addr,
6548     socklen_t *__restrict __addr_len);
6549
6550
6551
6552
6553
6554
6555
6556 extern ssize_t sendmsg (int __fd, __const struct msghdr *__message,
6557    int __flags);
6558
6559
6560
6561
6562
6563
6564 extern ssize_t recvmsg (int __fd, struct msghdr *__message, int __flags);
6565
6566
6567
6568
6569
6570 extern int getsockopt (int __fd, int __level, int __optname,
6571          void *__restrict __optval,
6572          socklen_t *__restrict __optlen) __attribute__ ((__nothrow__));
6573
6574
6575
6576
6577 extern int setsockopt (int __fd, int __level, int __optname,
6578          __const void *__optval, socklen_t __optlen) __attribute__ ((__nothrow__));
6579
6580
6581
6582
6583
6584 extern int listen (int __fd, int __n) __attribute__ ((__nothrow__));
6585 # 209 "../socket/sys/socket.h"
6586 extern int accept (int __fd, __SOCKADDR_ARG __addr,
6587      socklen_t *__restrict __addr_len);
6588
6589
6590
6591
6592
6593
6594
6595 extern int shutdown (int __fd, int __how) __attribute__ ((__nothrow__));
6596
6597
6598
6599
6600 extern int sockatmark (int __fd) __attribute__ ((__nothrow__));
6601
6602
6603
6604
6605
6606
6607
6608 extern int isfdtype (int __fd, int __fdtype) __attribute__ ((__nothrow__));
6609 # 240 "../socket/sys/socket.h"
6610
6611 # 3 "../include/sys/socket.h" 2
6612
6613
6614
6615
6616
6617
6618 extern int __socket (int __domain, int __type,
6619        int __protocol) __attribute__ ((visibility ("hidden")));
6620
6621
6622
6623
6624
6625 extern int __socketpair (int __domain, int __type, int __protocol,
6626     int __fds[2]) __attribute__ ((visibility ("hidden")));
6627
6628
6629
6630 extern int __opensock (void) __attribute__ ((visibility ("hidden")));
6631
6632
6633
6634 extern int __getpeername (int __fd, __SOCKADDR_ARG __addr,
6635      socklen_t *__len) __attribute__ ((visibility ("hidden")));
6636
6637
6638 extern ssize_t __libc_send (int __fd, __const void *__buf, size_t __n,
6639        int __flags);
6640 extern ssize_t __send (int __fd, __const void *__buf, size_t __n, int __flags);
6641 extern __typeof (__send) __send __asm__ ("" "__GI___send") __attribute__ ((visibility ("hidden")));
6642
6643
6644
6645 extern ssize_t __libc_recv (int __fd, void *__buf, size_t __n, int __flags);
6646
6647
6648
6649 extern ssize_t __libc_sendto (int __fd, __const void *__buf, size_t __n,
6650          int __flags, __CONST_SOCKADDR_ARG __addr,
6651          socklen_t __addr_len);
6652
6653
6654
6655
6656
6657 extern ssize_t __libc_recvfrom (int __fd, void *__restrict __buf, size_t __n,
6658     int __flags, __SOCKADDR_ARG __addr,
6659     socklen_t *__restrict __addr_len);
6660
6661
6662
6663
6664
6665 extern int __libc_connect (int __fd, __CONST_SOCKADDR_ARG __addr,
6666       socklen_t __len);
6667 extern int __connect (int __fd, __CONST_SOCKADDR_ARG __addr, socklen_t __len);
6668 extern int __connect_internal (int __fd, __CONST_SOCKADDR_ARG __addr,
6669           socklen_t __len) __attribute__ ((visibility ("hidden")));
6670
6671
6672
6673
6674
6675
6676 extern ssize_t __recv (int __fd, void *__buf, size_t __n, int __flags)
6677      __attribute__ ((visibility ("hidden")));
6678
6679
6680
6681 extern ssize_t __libc_sendto (int __fd, __const void *__buf, size_t __n,
6682          int __flags, __CONST_SOCKADDR_ARG __addr,
6683          socklen_t __addr_len);
6684 extern ssize_t __sendto (int __fd, __const void *__buf, size_t __n,
6685     int __flags, __CONST_SOCKADDR_ARG __addr,
6686     socklen_t __addr_len) __attribute__ ((visibility ("hidden")));
6687
6688
6689
6690
6691
6692 extern ssize_t __recvfrom (int __fd, void *__restrict __buf, size_t __n,
6693       int __flags, __SOCKADDR_ARG __addr,
6694       socklen_t *__restrict __addr_len) __attribute__ ((visibility ("hidden")));
6695
6696
6697
6698 extern ssize_t __libc_sendmsg (int __fd, __const struct msghdr *__message,
6699           int __flags);
6700 extern ssize_t __sendmsg (int __fd, __const struct msghdr *__message,
6701      int __flags) __attribute__ ((visibility ("hidden")));
6702
6703
6704
6705 extern ssize_t __libc_recvmsg (int __fd, struct msghdr *__message,
6706           int __flags);
6707 extern ssize_t __recvmsg (int __fd, struct msghdr *__message,
6708      int __flags) __attribute__ ((visibility ("hidden")));
6709
6710
6711
6712
6713 extern int __setsockopt (int __fd, int __level, int __optname,
6714     __const void *__optval,
6715     socklen_t __optlen) __attribute__ ((visibility ("hidden")));
6716
6717
6718
6719
6720 extern int __getsockopt (int __fd, int __level, int __optname,
6721     void *__restrict __optval,
6722     socklen_t *__restrict __optlen) __attribute__ ((visibility ("hidden")));
6723
6724
6725 extern int __getsockname (int __fd, __SOCKADDR_ARG __addr,
6726      socklen_t *__restrict __len) __attribute__ ((visibility ("hidden")));
6727
6728
6729 extern int __bind (int __fd, __CONST_SOCKADDR_ARG __addr,
6730      socklen_t __len) __attribute__ ((visibility ("hidden")));
6731
6732
6733
6734
6735 extern int __listen (int __fd, int __n) __attribute__ ((visibility ("hidden")));
6736
6737
6738
6739
6740
6741
6742 extern int __libc_accept (int __fd, __SOCKADDR_ARG __addr,
6743      socklen_t *__restrict __addr_len)
6744      __attribute__ ((__nothrow__));
6745 extern __typeof (accept) accept __asm__ ("" "__GI_accept") __attribute__ ((visibility ("hidden")));
6746
6747
6748
6749
6750
6751 extern int __libc_sa_len (sa_family_t __af);
6752 extern int __libc_sa_len_internal (sa_family_t __af) __attribute__ ((visibility ("hidden")));
6753 # 25 "../inet/netinet/in.h" 2
6754
6755
6756
6757
6758
6759
6760 enum
6761   {
6762     IPPROTO_IP = 0,
6763
6764     IPPROTO_HOPOPTS = 0,
6765
6766     IPPROTO_ICMP = 1,
6767
6768     IPPROTO_IGMP = 2,
6769
6770     IPPROTO_IPIP = 4,
6771
6772     IPPROTO_TCP = 6,
6773
6774     IPPROTO_EGP = 8,
6775
6776     IPPROTO_PUP = 12,
6777
6778     IPPROTO_UDP = 17,
6779
6780     IPPROTO_IDP = 22,
6781
6782     IPPROTO_TP = 29,
6783
6784     IPPROTO_IPV6 = 41,
6785
6786     IPPROTO_ROUTING = 43,
6787
6788     IPPROTO_FRAGMENT = 44,
6789
6790     IPPROTO_RSVP = 46,
6791
6792     IPPROTO_GRE = 47,
6793
6794     IPPROTO_ESP = 50,
6795
6796     IPPROTO_AH = 51,
6797
6798     IPPROTO_ICMPV6 = 58,
6799
6800     IPPROTO_NONE = 59,
6801
6802     IPPROTO_DSTOPTS = 60,
6803
6804     IPPROTO_MTP = 92,
6805
6806     IPPROTO_ENCAP = 98,
6807
6808     IPPROTO_PIM = 103,
6809
6810     IPPROTO_COMP = 108,
6811
6812     IPPROTO_SCTP = 132,
6813
6814     IPPROTO_RAW = 255,
6815
6816     IPPROTO_MAX
6817   };
6818
6819
6820
6821 typedef uint16_t in_port_t;
6822
6823
6824 enum
6825   {
6826     IPPORT_ECHO = 7,
6827     IPPORT_DISCARD = 9,
6828     IPPORT_SYSTAT = 11,
6829     IPPORT_DAYTIME = 13,
6830     IPPORT_NETSTAT = 15,
6831     IPPORT_FTP = 21,
6832     IPPORT_TELNET = 23,
6833     IPPORT_SMTP = 25,
6834     IPPORT_TIMESERVER = 37,
6835     IPPORT_NAMESERVER = 42,
6836     IPPORT_WHOIS = 43,
6837     IPPORT_MTP = 57,
6838
6839     IPPORT_TFTP = 69,
6840     IPPORT_RJE = 77,
6841     IPPORT_FINGER = 79,
6842     IPPORT_TTYLINK = 87,
6843     IPPORT_SUPDUP = 95,
6844
6845
6846     IPPORT_EXECSERVER = 512,
6847     IPPORT_LOGINSERVER = 513,
6848     IPPORT_CMDSERVER = 514,
6849     IPPORT_EFSSERVER = 520,
6850
6851
6852     IPPORT_BIFFUDP = 512,
6853     IPPORT_WHOSERVER = 513,
6854     IPPORT_ROUTESERVER = 520,
6855
6856
6857     IPPORT_RESERVED = 1024,
6858
6859
6860     IPPORT_USERRESERVED = 5000
6861   };
6862
6863
6864
6865 typedef uint32_t in_addr_t;
6866 struct in_addr
6867   {
6868     in_addr_t s_addr;
6869   };
6870 # 193 "../inet/netinet/in.h"
6871 struct in6_addr
6872   {
6873     union
6874       {
6875  uint8_t u6_addr8[16];
6876  uint16_t u6_addr16[8];
6877  uint32_t u6_addr32[4];
6878       } in6_u;
6879
6880
6881
6882   };
6883
6884 extern const struct in6_addr in6addr_any;
6885 extern const struct in6_addr in6addr_loopback;
6886 # 219 "../inet/netinet/in.h"
6887 struct sockaddr_in
6888   {
6889     sa_family_t sin_family;
6890     in_port_t sin_port;
6891     struct in_addr sin_addr;
6892
6893
6894     unsigned char sin_zero[sizeof (struct sockaddr) -
6895       (sizeof (unsigned short int)) -
6896       sizeof (in_port_t) -
6897       sizeof (struct in_addr)];
6898   };
6899
6900
6901 struct sockaddr_in6
6902   {
6903     sa_family_t sin6_family;
6904     in_port_t sin6_port;
6905     uint32_t sin6_flowinfo;
6906     struct in6_addr sin6_addr;
6907     uint32_t sin6_scope_id;
6908   };
6909
6910
6911
6912 struct ip_mreq
6913   {
6914
6915     struct in_addr imr_multiaddr;
6916
6917
6918     struct in_addr imr_interface;
6919   };
6920
6921 struct ip_mreq_source
6922   {
6923
6924     struct in_addr imr_multiaddr;
6925
6926
6927     struct in_addr imr_interface;
6928
6929
6930     struct in_addr imr_sourceaddr;
6931   };
6932
6933
6934 struct ipv6_mreq
6935   {
6936
6937     struct in6_addr ipv6mr_multiaddr;
6938
6939
6940     unsigned int ipv6mr_interface;
6941   };
6942
6943
6944
6945 struct group_req
6946   {
6947
6948     uint32_t gr_interface;
6949
6950
6951     struct sockaddr_storage gr_group;
6952   };
6953
6954 struct group_source_req
6955   {
6956
6957     uint32_t gsr_interface;
6958
6959
6960     struct sockaddr_storage gsr_group;
6961
6962
6963     struct sockaddr_storage gsr_source;
6964   };
6965
6966
6967
6968 struct ip_msfilter
6969   {
6970
6971     struct in_addr imsf_multiaddr;
6972
6973
6974     struct in_addr imsf_interface;
6975
6976
6977     uint32_t imsf_fmode;
6978
6979
6980     uint32_t imsf_numsrc;
6981
6982     struct in_addr imsf_slist[1];
6983   };
6984
6985
6986
6987
6988
6989 struct group_filter
6990   {
6991
6992     uint32_t gf_interface;
6993
6994
6995     struct sockaddr_storage gf_group;
6996
6997
6998     uint32_t gf_fmode;
6999
7000
7001     uint32_t gf_numsrc;
7002
7003     struct sockaddr_storage gf_slist[1];
7004 };
7005 # 345 "../inet/netinet/in.h"
7006 # 1 "../sysdeps/unix/sysv/linux/bits/in.h" 1
7007 # 82 "../sysdeps/unix/sysv/linux/bits/in.h"
7008 struct ip_opts
7009   {
7010     struct in_addr ip_dst;
7011     char ip_opts[40];
7012   };
7013
7014
7015 struct ip_mreqn
7016   {
7017     struct in_addr imr_multiaddr;
7018     struct in_addr imr_address;
7019     int imr_ifindex;
7020   };
7021
7022
7023 struct in_pktinfo
7024   {
7025     int ipi_ifindex;
7026     struct in_addr ipi_spec_dst;
7027     struct in_addr ipi_addr;
7028   };
7029 # 346 "../inet/netinet/in.h" 2
7030 # 354 "../inet/netinet/in.h"
7031 extern uint32_t ntohl (uint32_t __netlong) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
7032 extern uint16_t ntohs (uint16_t __netshort)
7033      __attribute__ ((__nothrow__)) __attribute__ ((__const__));
7034 extern uint32_t htonl (uint32_t __hostlong)
7035      __attribute__ ((__nothrow__)) __attribute__ ((__const__));
7036 extern uint16_t htons (uint16_t __hostshort)
7037      __attribute__ ((__nothrow__)) __attribute__ ((__const__));
7038
7039 # 1 "../include/endian.h" 1
7040 # 363 "../inet/netinet/in.h" 2
7041
7042
7043 # 1 "../bits/byteswap.h" 1
7044 # 366 "../inet/netinet/in.h" 2
7045 # 428 "../inet/netinet/in.h"
7046 extern int bindresvport (int __sockfd, struct sockaddr_in *__sock_in) __attribute__ ((__nothrow__));
7047
7048
7049 extern int bindresvport6 (int __sockfd, struct sockaddr_in6 *__sock_in)
7050      __attribute__ ((__nothrow__));
7051 # 456 "../inet/netinet/in.h"
7052 struct in6_pktinfo
7053   {
7054     struct in6_addr ipi6_addr;
7055     unsigned int ipi6_ifindex;
7056   };
7057
7058
7059 struct ip6_mtuinfo
7060   {
7061     struct sockaddr_in6 ip6m_addr;
7062     uint32_t ip6m_mtu;
7063   };
7064
7065
7066
7067
7068 extern int inet6_option_space (int __nbytes)
7069      __attribute__ ((__nothrow__)) __attribute__ ((__deprecated__));
7070 extern int inet6_option_init (void *__bp, struct cmsghdr **__cmsgp,
7071          int __type) __attribute__ ((__nothrow__)) __attribute__ ((__deprecated__));
7072 extern int inet6_option_append (struct cmsghdr *__cmsg,
7073     __const uint8_t *__typep, int __multx,
7074     int __plusy) __attribute__ ((__nothrow__)) __attribute__ ((__deprecated__));
7075 extern uint8_t *inet6_option_alloc (struct cmsghdr *__cmsg, int __datalen,
7076         int __multx, int __plusy)
7077      __attribute__ ((__nothrow__)) __attribute__ ((__deprecated__));
7078 extern int inet6_option_next (__const struct cmsghdr *__cmsg,
7079          uint8_t **__tptrp)
7080      __attribute__ ((__nothrow__)) __attribute__ ((__deprecated__));
7081 extern int inet6_option_find (__const struct cmsghdr *__cmsg,
7082          uint8_t **__tptrp, int __type)
7083      __attribute__ ((__nothrow__)) __attribute__ ((__deprecated__));
7084
7085
7086
7087 extern int inet6_opt_init (void *__extbuf, socklen_t __extlen) __attribute__ ((__nothrow__));
7088 extern int inet6_opt_append (void *__extbuf, socklen_t __extlen, int __offset,
7089         uint8_t __type, socklen_t __len, uint8_t __align,
7090         void **__databufp) __attribute__ ((__nothrow__));
7091 extern int inet6_opt_finish (void *__extbuf, socklen_t __extlen, int __offset)
7092      __attribute__ ((__nothrow__));
7093 extern int inet6_opt_set_val (void *__databuf, int __offset, void *__val,
7094          socklen_t __vallen) __attribute__ ((__nothrow__));
7095 extern int inet6_opt_next (void *__extbuf, socklen_t __extlen, int __offset,
7096       uint8_t *__typep, socklen_t *__lenp,
7097       void **__databufp) __attribute__ ((__nothrow__));
7098 extern int inet6_opt_find (void *__extbuf, socklen_t __extlen, int __offset,
7099       uint8_t __type, socklen_t *__lenp,
7100       void **__databufp) __attribute__ ((__nothrow__));
7101 extern int inet6_opt_get_val (void *__databuf, int __offset, void *__val,
7102          socklen_t __vallen) __attribute__ ((__nothrow__));
7103
7104
7105
7106 extern socklen_t inet6_rth_space (int __type, int __segments) __attribute__ ((__nothrow__));
7107 extern void *inet6_rth_init (void *__bp, socklen_t __bp_len, int __type,
7108         int __segments) __attribute__ ((__nothrow__));
7109 extern int inet6_rth_add (void *__bp, __const struct in6_addr *__addr) __attribute__ ((__nothrow__));
7110 extern int inet6_rth_reverse (__const void *__in, void *__out) __attribute__ ((__nothrow__));
7111 extern int inet6_rth_segments (__const void *__bp) __attribute__ ((__nothrow__));
7112 extern struct in6_addr *inet6_rth_getaddr (__const void *__bp, int __index)
7113      __attribute__ ((__nothrow__));
7114
7115
7116
7117
7118
7119 extern int getipv4sourcefilter (int __s, struct in_addr __interface_addr,
7120     struct in_addr __group, uint32_t *__fmode,
7121     uint32_t *__numsrc, struct in_addr *__slist)
7122      __attribute__ ((__nothrow__));
7123
7124
7125 extern int setipv4sourcefilter (int __s, struct in_addr __interface_addr,
7126     struct in_addr __group, uint32_t __fmode,
7127     uint32_t __numsrc,
7128     __const struct in_addr *__slist)
7129      __attribute__ ((__nothrow__));
7130
7131
7132
7133 extern int getsourcefilter (int __s, uint32_t __interface_addr,
7134        __const struct sockaddr *__group,
7135        socklen_t __grouplen, uint32_t *__fmode,
7136        uint32_t *__numsrc,
7137        struct sockaddr_storage *__slist) __attribute__ ((__nothrow__));
7138
7139
7140 extern int setsourcefilter (int __s, uint32_t __interface_addr,
7141        __const struct sockaddr *__group,
7142        socklen_t __grouplen, uint32_t __fmode,
7143        uint32_t __numsrc,
7144        __const struct sockaddr_storage *__slist) __attribute__ ((__nothrow__));
7145
7146
7147
7148 # 4 "../include/netinet/in.h" 2
7149
7150 extern __typeof (bindresvport) bindresvport __asm__ ("" "__GI_bindresvport") __attribute__ ((visibility ("hidden")));
7151 extern __typeof (in6addr_loopback) in6addr_loopback __asm__ ("" "__GI_in6addr_loopback") __attribute__ ((visibility ("hidden")));
7152 extern __typeof (in6addr_any) in6addr_any __asm__ ("" "__GI_in6addr_any") __attribute__ ((visibility ("hidden")));
7153 # 58 "../resolv/resolv.h" 2
7154 # 71 "../resolv/resolv.h"
7155 typedef enum { res_goahead, res_nextns, res_modified, res_done, res_error }
7156  res_sendhookact;
7157
7158 typedef res_sendhookact (*res_send_qhook) (struct sockaddr_in * const *ns,
7159         const u_char **query,
7160         int *querylen,
7161         u_char *ans,
7162         int anssiz,
7163         int *resplen);
7164
7165 typedef res_sendhookact (*res_send_rhook) (const struct sockaddr_in *ns,
7166         const u_char *query,
7167         int querylen,
7168         u_char *ans,
7169         int anssiz,
7170         int *resplen);
7171 # 104 "../resolv/resolv.h"
7172 struct __res_state {
7173  int retrans;
7174  int retry;
7175  u_long options;
7176  int nscount;
7177  struct sockaddr_in
7178   nsaddr_list[3];
7179
7180  u_short id;
7181  char *dnsrch[6 +1];
7182  char defdname[256];
7183  u_long pfcode;
7184  unsigned ndots:4;
7185  unsigned nsort:4;
7186  char unused[3];
7187  struct {
7188   struct in_addr addr;
7189   u_int32_t mask;
7190  } sort_list[10];
7191  res_send_qhook qhook;
7192  res_send_rhook rhook;
7193  int res_h_errno;
7194  int _vcsock;
7195  u_int _flags;
7196  union {
7197   char pad[52];
7198   struct {
7199    u_int16_t nscount;
7200    u_int16_t nsmap[3];
7201    int nssocks[3];
7202    u_int16_t nscount6;
7203    u_int16_t nsinit;
7204    struct sockaddr_in6 *nsaddrs[3];
7205
7206    unsigned long long int initstamp
7207      __attribute__((packed));
7208
7209
7210
7211   } _ext;
7212  } _u;
7213 };
7214
7215 typedef struct __res_state *res_state;
7216 # 13 "../include/resolv.h" 2
7217 # 40 "../nptl/descr.h" 2
7218 # 65 "../nptl/descr.h"
7219 struct pthread_unwind_buf
7220 {
7221   struct
7222   {
7223     __jmp_buf jmp_buf;
7224     int mask_was_saved;
7225   } cancel_jmp_buf[1];
7226
7227   union
7228   {
7229
7230     void *pad[4];
7231
7232     struct
7233     {
7234
7235       struct pthread_unwind_buf *prev;
7236
7237
7238
7239
7240       struct _pthread_cleanup_buffer *cleanup;
7241
7242
7243       int canceltype;
7244     } data;
7245   } priv;
7246 };
7247
7248
7249
7250
7251 struct xid_command
7252 {
7253   int syscall_no;
7254   long int id[3];
7255   volatile int cntr;
7256 };
7257
7258
7259
7260 struct robust_list_head
7261 {
7262   void *list;
7263   long int futex_offset;
7264   void *list_op_pending;
7265 };
7266
7267
7268
7269 struct priority_protection_data
7270 {
7271   int priomax;
7272   unsigned int priomap[];
7273 };
7274
7275
7276
7277 struct pthread
7278 {
7279   union
7280   {
7281
7282
7283
7284
7285     struct
7286     {
7287       int multiple_threads;
7288     } header;
7289
7290
7291
7292
7293
7294
7295     void *__padding[16];
7296   };
7297
7298
7299   list_t list;
7300
7301
7302
7303   pid_t tid;
7304
7305
7306   pid_t pid;
7307 # 193 "../nptl/descr.h"
7308   union
7309   {
7310     __pthread_slist_t robust_list;
7311     struct robust_list_head robust_head;
7312   };
7313 # 231 "../nptl/descr.h"
7314   struct _pthread_cleanup_buffer *cleanup;
7315
7316
7317   struct pthread_unwind_buf *cleanup_jmp_buf;
7318
7319
7320
7321   int cancelhandling;
7322 # 273 "../nptl/descr.h"
7323   struct pthread_key_data
7324   {
7325
7326
7327
7328     uintptr_t seq;
7329
7330
7331     void *data;
7332   } specific_1stblock[32];
7333
7334
7335   struct pthread_key_data *specific[((1024 + 32 - 1) / 32)];
7336
7337
7338   _Bool specific_used;
7339
7340
7341   _Bool report_events;
7342
7343
7344   _Bool user_stack;
7345
7346
7347   _Bool stopped_start;
7348
7349
7350
7351   int parent_cancelhandling;
7352
7353
7354   lll_lock_t lock;
7355
7356
7357   lll_lock_t setxid_futex;
7358 # 320 "../nptl/descr.h"
7359   struct pthread *joinid;
7360
7361
7362
7363
7364   int flags;
7365
7366
7367   void *result;
7368
7369
7370   struct sched_param schedparam;
7371   int schedpolicy;
7372
7373
7374
7375   void *(*start_routine) (void *);
7376   void *arg;
7377
7378
7379   td_eventbuf_t eventbuf;
7380
7381   struct pthread *nextevent;
7382
7383
7384
7385   struct _Unwind_Exception exc;
7386
7387
7388
7389
7390   void *stackblock;
7391   size_t stackblock_size;
7392
7393   size_t guardsize;
7394
7395   size_t reported_guardsize;
7396
7397
7398   struct priority_protection_data *tpp;
7399
7400
7401   struct __res_state res;
7402
7403
7404   char end_padding[];
7405
7406
7407
7408 } __attribute ((aligned (64)));
7409 # 64 "../ports/sysdeps/hppa/nptl/tls.h" 2
7410
7411 typedef struct
7412 {
7413   dtv_t *dtv;
7414   void *private;
7415 } tcbhead_t;
7416 # 135 "../ports/sysdeps/hppa/nptl/tls.h"
7417 static inline struct pthread *__get_cr27(void)
7418 {
7419   long cr27;
7420   asm ("mfctl %%cr27, %0" : "=r" (cr27) : );
7421   return (struct pthread *) cr27;
7422 }
7423
7424 static inline void __set_cr27(struct pthread *cr27)
7425 {
7426   asm ( "ble    0xe0(%%sr2, %%r0)\n\t"
7427  "copy  %0, %%r26"
7428  : : "r" (cr27) : "r26" );
7429 }
7430 # 7 "../include/tls.h" 2
7431 # 46 "../bits/libc-tsd.h" 2
7432 # 208 "../include/../locale/localeinfo.h" 2
7433 extern __thread void *__libc_tsd_LOCALE __attribute__ ((tls_model ("initial-exec")));
7434 # 296 "../include/../locale/localeinfo.h"
7435 extern const char _nl_default_locale_path[] __attribute__ ((visibility ("hidden")));
7436
7437
7438
7439
7440
7441
7442
7443 extern struct locale_data *_nl_find_locale (const char *locale_path,
7444          size_t locale_path_len,
7445          int category, const char **name)
7446      __attribute__ ((visibility ("hidden")));
7447
7448
7449 extern void _nl_load_locale (struct loaded_l10nfile *file, int category)
7450      __attribute__ ((visibility ("hidden")));
7451
7452
7453 extern void _nl_unload_locale (struct locale_data *locale)
7454      __attribute__ ((visibility ("hidden")));
7455
7456
7457 extern void _nl_remove_locale (int locale, struct locale_data *data)
7458      __attribute__ ((visibility ("hidden")));
7459
7460
7461
7462
7463
7464
7465 extern struct locale_data *_nl_load_locale_from_archive (int category,
7466         const char **namep)
7467      __attribute__ ((visibility ("hidden")));
7468
7469
7470 extern void _nl_archive_subfreeres (void) __attribute__ ((visibility ("hidden")));
7471
7472
7473 extern void _nl_locale_subfreeres (void) __attribute__ ((visibility ("hidden")));
7474
7475
7476
7477
7478
7479
7480 extern struct locale_data *_nl_intern_locale_data (int category,
7481          const void *data,
7482          size_t datasize)
7483      __attribute__ ((visibility ("hidden")));
7484
7485
7486
7487 extern struct era_entry *_nl_get_era_entry (const struct tm *tp,
7488          struct locale_data *lc_time)
7489      __attribute__ ((visibility ("hidden")));
7490
7491
7492 extern struct era_entry *_nl_select_era_entry (int cnt,
7493             struct locale_data *lc_time)
7494           __attribute__ ((visibility ("hidden")));
7495
7496
7497 extern const char *_nl_get_alt_digit (unsigned int number,
7498           struct locale_data *lc_time)
7499           __attribute__ ((visibility ("hidden")));
7500
7501
7502 extern const wchar_t *_nl_get_walt_digit (unsigned int number,
7503        struct locale_data *lc_time)
7504      __attribute__ ((visibility ("hidden")));
7505
7506
7507 extern int _nl_parse_alt_digit (const char **strp,
7508     struct locale_data *lc_time)
7509      __attribute__ ((visibility ("hidden")));
7510
7511
7512 extern void _nl_postload_ctype (void);
7513
7514
7515 extern void _nl_cleanup_time (struct locale_data *)
7516      __attribute__ ((visibility ("hidden")));
7517 # 15 "../include/ctype.h" 2
7518
7519
7520
7521
7522
7523
7524 extern __thread void *__libc_tsd_CTYPE_B __attribute__ ((tls_model ("initial-exec")));
7525 extern __thread void *__libc_tsd_CTYPE_TOUPPER __attribute__ ((tls_model ("initial-exec")));
7526 extern __thread void *__libc_tsd_CTYPE_TOLOWER __attribute__ ((tls_model ("initial-exec")));
7527
7528 extern inline const uint16_t ** __attribute__ ((const))
7529 __ctype_b_loc (void)
7530 {
7531   union
7532     {
7533       void **ptr;
7534       const uint16_t **tablep;
7535     } u;
7536   u.ptr = (&__libc_tsd_CTYPE_B);
7537   if (__builtin_expect (*u.tablep == ((void *)0), 0))
7538     *u.tablep = (const uint16_t *) ((((__locale_t) (__libc_tsd_LOCALE))->__locales[__LC_CTYPE])->values[((int) (_NL_CTYPE_CLASS) & 0xffff)].string) + 128;
7539   return u.tablep;
7540 }
7541
7542 extern inline const int32_t ** __attribute__ ((const))
7543 __ctype_toupper_loc (void)
7544 {
7545   union
7546     {
7547       void **ptr;
7548       const int32_t **tablep;
7549     } u;
7550   u.ptr = (&__libc_tsd_CTYPE_TOUPPER);
7551   if (__builtin_expect (*u.tablep == ((void *)0), 0))
7552     *u.tablep = ((int32_t *) ((((__locale_t) (__libc_tsd_LOCALE))->__locales[__LC_CTYPE])->values[((int) (_NL_CTYPE_TOUPPER) & 0xffff)].string) + 128);
7553   return u.tablep;
7554 }
7555
7556 extern inline const int32_t ** __attribute__ ((const))
7557 __ctype_tolower_loc (void)
7558 {
7559   union
7560     {
7561       void **ptr;
7562       const int32_t **tablep;
7563     } u;
7564   u.ptr = (&__libc_tsd_CTYPE_TOLOWER);
7565   if (__builtin_expect (*u.tablep == ((void *)0), 0))
7566     *u.tablep = ((int32_t *) ((((__locale_t) (__libc_tsd_LOCALE))->__locales[__LC_CTYPE])->values[((int) (_NL_CTYPE_TOLOWER) & 0xffff)].string) + 128);
7567   return u.tablep;
7568 }
7569
7570
7571
7572 # 1 "../ctype/ctype.h" 1
7573 # 30 "../ctype/ctype.h"
7574
7575 # 41 "../ctype/ctype.h"
7576 # 1 "../include/endian.h" 1
7577 # 42 "../ctype/ctype.h" 2
7578
7579
7580
7581
7582
7583
7584 enum
7585 {
7586   _ISupper = (1 << (0)),
7587   _ISlower = (1 << (1)),
7588   _ISalpha = (1 << (2)),
7589   _ISdigit = (1 << (3)),
7590   _ISxdigit = (1 << (4)),
7591   _ISspace = (1 << (5)),
7592   _ISprint = (1 << (6)),
7593   _ISgraph = (1 << (7)),
7594   _ISblank = (1 << (8)),
7595   _IScntrl = (1 << (9)),
7596   _ISpunct = (1 << (10)),
7597   _ISalnum = (1 << (11))
7598 };
7599 # 81 "../ctype/ctype.h"
7600 extern __const unsigned short int **__ctype_b_loc (void)
7601      __attribute__ ((__const));
7602 extern __const __int32_t **__ctype_tolower_loc (void)
7603      __attribute__ ((__const));
7604 extern __const __int32_t **__ctype_toupper_loc (void)
7605      __attribute__ ((__const));
7606 # 96 "../ctype/ctype.h"
7607
7608
7609
7610
7611
7612
7613 extern int isalnum (int) __attribute__ ((__nothrow__));
7614 extern int isalpha (int) __attribute__ ((__nothrow__));
7615 extern int iscntrl (int) __attribute__ ((__nothrow__));
7616 extern int isdigit (int) __attribute__ ((__nothrow__));
7617 extern int islower (int) __attribute__ ((__nothrow__));
7618 extern int isgraph (int) __attribute__ ((__nothrow__));
7619 extern int isprint (int) __attribute__ ((__nothrow__));
7620 extern int ispunct (int) __attribute__ ((__nothrow__));
7621 extern int isspace (int) __attribute__ ((__nothrow__));
7622 extern int isupper (int) __attribute__ ((__nothrow__));
7623 extern int isxdigit (int) __attribute__ ((__nothrow__));
7624
7625
7626
7627 extern int tolower (int __c) __attribute__ ((__nothrow__));
7628
7629
7630 extern int toupper (int __c) __attribute__ ((__nothrow__));
7631
7632
7633
7634
7635
7636
7637
7638
7639 extern int isblank (int) __attribute__ ((__nothrow__));
7640
7641
7642
7643
7644
7645
7646 extern int isctype (int __c, int __mask) __attribute__ ((__nothrow__));
7647
7648
7649
7650
7651
7652
7653 extern int isascii (int __c) __attribute__ ((__nothrow__));
7654
7655
7656
7657 extern int toascii (int __c) __attribute__ ((__nothrow__));
7658
7659
7660
7661 extern int _toupper (int) __attribute__ ((__nothrow__));
7662 extern int _tolower (int) __attribute__ ((__nothrow__));
7663 # 190 "../ctype/ctype.h"
7664 extern __inline int
7665 __attribute__ ((__nothrow__)) tolower (int __c)
7666 {
7667   return __c >= -128 && __c < 256 ? (*__ctype_tolower_loc ())[__c] : __c;
7668 }
7669
7670 extern __inline int
7671 __attribute__ ((__nothrow__)) toupper (int __c)
7672 {
7673   return __c >= -128 && __c < 256 ? (*__ctype_toupper_loc ())[__c] : __c;
7674 }
7675 # 233 "../ctype/ctype.h"
7676 # 1 "../include/xlocale.h" 1
7677 # 234 "../ctype/ctype.h" 2
7678 # 247 "../ctype/ctype.h"
7679 extern int isalnum_l (int, __locale_t) __attribute__ ((__nothrow__));
7680 extern int isalpha_l (int, __locale_t) __attribute__ ((__nothrow__));
7681 extern int iscntrl_l (int, __locale_t) __attribute__ ((__nothrow__));
7682 extern int isdigit_l (int, __locale_t) __attribute__ ((__nothrow__));
7683 extern int islower_l (int, __locale_t) __attribute__ ((__nothrow__));
7684 extern int isgraph_l (int, __locale_t) __attribute__ ((__nothrow__));
7685 extern int isprint_l (int, __locale_t) __attribute__ ((__nothrow__));
7686 extern int ispunct_l (int, __locale_t) __attribute__ ((__nothrow__));
7687 extern int isspace_l (int, __locale_t) __attribute__ ((__nothrow__));
7688 extern int isupper_l (int, __locale_t) __attribute__ ((__nothrow__));
7689 extern int isxdigit_l (int, __locale_t) __attribute__ ((__nothrow__));
7690
7691 extern int isblank_l (int, __locale_t) __attribute__ ((__nothrow__));
7692
7693
7694
7695 extern int __tolower_l (int __c, __locale_t __l) __attribute__ ((__nothrow__));
7696 extern int tolower_l (int __c, __locale_t __l) __attribute__ ((__nothrow__));
7697
7698
7699 extern int __toupper_l (int __c, __locale_t __l) __attribute__ ((__nothrow__));
7700 extern int toupper_l (int __c, __locale_t __l) __attribute__ ((__nothrow__));
7701 # 323 "../ctype/ctype.h"
7702
7703 # 70 "../include/ctype.h" 2
7704 # 21 "vfprintf.c" 2
7705 # 1 "../include/limits.h" 1
7706 # 145 "../include/limits.h"
7707 # 1 "../include/bits/posix1_lim.h" 1
7708 # 146 "../include/limits.h" 2
7709
7710
7711
7712 # 1 "../include/bits/posix2_lim.h" 1
7713 # 150 "../include/limits.h" 2
7714 # 22 "vfprintf.c" 2
7715 # 1 "../include/printf.h" 1
7716
7717
7718 # 1 "../stdio-common/printf.h" 1
7719 # 25 "../stdio-common/printf.h"
7720
7721
7722
7723 # 1 "../include/stdio.h" 1
7724
7725
7726 # 1 "../libio/stdio.h" 1
7727 # 44 "../libio/stdio.h"
7728
7729
7730 typedef struct _IO_FILE FILE;
7731
7732
7733
7734
7735
7736 # 4 "../include/stdio.h" 2
7737 # 29 "../stdio-common/printf.h" 2
7738
7739
7740 # 1 "/usr/lib/gcc/hppa2.0-unknown-linux-gnu/4.1.1/include/stddef.h" 1 3 4
7741 # 32 "../stdio-common/printf.h" 2
7742
7743
7744 struct printf_info
7745 {
7746   int prec;
7747   int width;
7748   wchar_t spec;
7749   unsigned int is_long_double:1;
7750   unsigned int is_short:1;
7751   unsigned int is_long:1;
7752   unsigned int alt:1;
7753   unsigned int space:1;
7754   unsigned int left:1;
7755   unsigned int showsign:1;
7756   unsigned int group:1;
7757   unsigned int extra:1;
7758   unsigned int is_char:1;
7759   unsigned int wide:1;
7760   unsigned int i18n:1;
7761   wchar_t pad;
7762 };
7763 # 65 "../stdio-common/printf.h"
7764 typedef int printf_function (FILE *__stream,
7765         __const struct printf_info *__info,
7766         __const void *__const *__args);
7767
7768
7769
7770
7771
7772 typedef int printf_arginfo_function (__const struct printf_info *__info,
7773          size_t __n, int *__argtypes);
7774
7775
7776
7777
7778
7779
7780 extern int register_printf_function (int __spec, printf_function __func,
7781          printf_arginfo_function __arginfo);
7782 # 96 "../stdio-common/printf.h"
7783 extern size_t parse_printf_format (__const char *__restrict __fmt, size_t __n,
7784        int *__restrict __argtypes) __attribute__ ((__nothrow__));
7785
7786
7787
7788
7789
7790
7791
7792 enum
7793 {
7794   PA_INT,
7795   PA_CHAR,
7796   PA_WCHAR,
7797   PA_STRING,
7798   PA_WSTRING,
7799   PA_POINTER,
7800   PA_FLOAT,
7801   PA_DOUBLE,
7802   PA_LAST
7803 };
7804 # 134 "../stdio-common/printf.h"
7805 extern int printf_size (FILE *__restrict __fp,
7806    __const struct printf_info *__info,
7807    __const void *__const *__restrict __args) __attribute__ ((__nothrow__));
7808
7809
7810 extern int printf_size_info (__const struct printf_info *__restrict
7811         __info, size_t __n, int *__restrict __argtypes)
7812      __attribute__ ((__nothrow__));
7813
7814
7815
7816
7817
7818
7819 # 4 "../include/printf.h" 2
7820
7821
7822 extern int __printf_fphex (FILE *, const struct printf_info *,
7823       const void *const *);
7824 extern int __printf_fp (FILE *, const struct printf_info *,
7825    const void *const *);
7826 extern __typeof (__printf_fp) __printf_fp __asm__ ("" "__GI___printf_fp") __attribute__ ((visibility ("hidden")));
7827 # 23 "vfprintf.c" 2
7828 # 1 "/usr/lib/gcc/hppa2.0-unknown-linux-gnu/4.1.1/include/stdarg.h" 1 3 4
7829 # 43 "/usr/lib/gcc/hppa2.0-unknown-linux-gnu/4.1.1/include/stdarg.h" 3 4
7830 typedef __builtin_va_list __gnuc_va_list;
7831 # 105 "/usr/lib/gcc/hppa2.0-unknown-linux-gnu/4.1.1/include/stdarg.h" 3 4
7832 typedef __gnuc_va_list va_list;
7833 # 24 "vfprintf.c" 2
7834
7835
7836 # 1 "../include/string.h" 1
7837
7838
7839 # 1 "../include/sys/types.h" 1
7840 # 4 "../include/string.h" 2
7841
7842 extern void *__memccpy (void *__dest, __const void *__src,
7843    int __c, size_t __n);
7844
7845 extern size_t __strnlen (__const char *__string, size_t __maxlen)
7846      __attribute__ ((__pure__));
7847
7848 extern char *__strsep (char **__stringp, __const char *__delim);
7849
7850 extern int __strverscmp (__const char *__s1, __const char *__s2)
7851      __attribute__ ((__pure__));
7852
7853 extern int __strncasecmp (__const char *__s1, __const char *__s2,
7854      size_t __n)
7855      __attribute__ ((__pure__));
7856
7857 extern int __strcasecmp (__const char *__s1, __const char *__s2)
7858      __attribute__ ((__pure__));
7859
7860 extern char *__strcasestr (__const char *__haystack, __const char *__needle)
7861      __attribute__ ((__pure__));
7862
7863 extern char *__strdup (__const char *__string)
7864      __attribute__ ((__malloc__));
7865 extern char *__strndup (__const char *__string, size_t __n)
7866      __attribute__ ((__malloc__));
7867
7868 extern void *__rawmemchr (__const void *__s, int __c)
7869      __attribute__ ((__pure__));
7870
7871 extern char *__strchrnul (__const char *__s, int __c)
7872      __attribute__ ((__pure__));
7873
7874 extern void *__memrchr (__const void *__s, int __c, size_t __n)
7875      __attribute__ ((__pure__));
7876
7877 extern void *__memchr (__const void *__s, int __c, size_t __n)
7878      __attribute__ ((__pure__));
7879
7880 extern int __ffs (int __i) __attribute__ ((const));
7881
7882 extern char *__strerror_r (int __errnum, char *__buf, size_t __buflen);
7883
7884
7885
7886 # 1 "../string/string.h" 1
7887 # 28 "../string/string.h"
7888
7889
7890
7891
7892
7893 # 1 "/usr/lib/gcc/hppa2.0-unknown-linux-gnu/4.1.1/include/stddef.h" 1 3 4
7894 # 34 "../string/string.h" 2
7895
7896
7897
7898
7899 extern void *memcpy (void *__restrict __dest,
7900        __const void *__restrict __src, size_t __n)
7901      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
7902
7903
7904 extern void *memmove (void *__dest, __const void *__src, size_t __n)
7905      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
7906
7907
7908
7909
7910
7911
7912 extern void *memccpy (void *__restrict __dest, __const void *__restrict __src,
7913         int __c, size_t __n)
7914      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
7915
7916
7917
7918
7919
7920 extern void *memset (void *__s, int __c, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
7921
7922
7923 extern int memcmp (__const void *__s1, __const void *__s2, size_t __n)
7924      __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
7925
7926
7927 extern void *memchr (__const void *__s, int __c, size_t __n)
7928       __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
7929
7930
7931
7932
7933
7934 extern void *rawmemchr (__const void *__s, int __c)
7935      __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
7936
7937
7938 extern void *memrchr (__const void *__s, int __c, size_t __n)
7939       __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
7940
7941
7942
7943
7944
7945 extern char *strcpy (char *__restrict __dest, __const char *__restrict __src)
7946      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
7947
7948 extern char *strncpy (char *__restrict __dest,
7949         __const char *__restrict __src, size_t __n)
7950      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
7951
7952
7953 extern char *strcat (char *__restrict __dest, __const char *__restrict __src)
7954      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
7955
7956 extern char *strncat (char *__restrict __dest, __const char *__restrict __src,
7957         size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
7958
7959
7960 extern int strcmp (__const char *__s1, __const char *__s2)
7961      __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
7962
7963 extern int strncmp (__const char *__s1, __const char *__s2, size_t __n)
7964      __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
7965
7966
7967 extern int strcoll (__const char *__s1, __const char *__s2)
7968      __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
7969
7970 extern size_t strxfrm (char *__restrict __dest,
7971          __const char *__restrict __src, size_t __n)
7972      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
7973
7974
7975
7976
7977
7978
7979 # 1 "../include/xlocale.h" 1
7980 # 119 "../string/string.h" 2
7981
7982
7983 extern int strcoll_l (__const char *__s1, __const char *__s2, __locale_t __l)
7984      __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 3)));
7985
7986 extern size_t strxfrm_l (char *__dest, __const char *__src, size_t __n,
7987     __locale_t __l) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 4)));
7988
7989
7990
7991
7992 extern char *strdup (__const char *__s)
7993      __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1)));
7994
7995
7996
7997
7998
7999
8000 extern char *strndup (__const char *__string, size_t __n)
8001      __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1)));
8002 # 165 "../string/string.h"
8003
8004
8005 extern char *strchr (__const char *__s, int __c)
8006      __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
8007
8008 extern char *strrchr (__const char *__s, int __c)
8009      __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
8010
8011
8012
8013
8014
8015 extern char *strchrnul (__const char *__s, int __c)
8016      __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
8017
8018
8019
8020
8021
8022 extern size_t strcspn (__const char *__s, __const char *__reject)
8023      __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
8024
8025
8026 extern size_t strspn (__const char *__s, __const char *__accept)
8027      __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
8028
8029 extern char *strpbrk (__const char *__s, __const char *__accept)
8030      __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
8031
8032 extern char *strstr (__const char *__haystack, __const char *__needle)
8033      __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
8034
8035
8036
8037 extern char *strtok (char *__restrict __s, __const char *__restrict __delim)
8038      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
8039
8040
8041
8042
8043 extern char *__strtok_r (char *__restrict __s,
8044     __const char *__restrict __delim,
8045     char **__restrict __save_ptr)
8046      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3)));
8047
8048 extern char *strtok_r (char *__restrict __s, __const char *__restrict __delim,
8049          char **__restrict __save_ptr)
8050      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3)));
8051
8052
8053
8054
8055 extern char *strcasestr (__const char *__haystack, __const char *__needle)
8056      __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
8057
8058
8059
8060
8061
8062
8063 extern void *memmem (__const void *__haystack, size_t __haystacklen,
8064        __const void *__needle, size_t __needlelen)
8065      __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 3)));
8066
8067
8068
8069 extern void *__mempcpy (void *__restrict __dest,
8070    __const void *__restrict __src, size_t __n)
8071      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
8072 extern void *mempcpy (void *__restrict __dest,
8073         __const void *__restrict __src, size_t __n)
8074      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
8075
8076
8077
8078
8079
8080 extern size_t strlen (__const char *__s)
8081      __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
8082
8083
8084
8085
8086
8087 extern size_t strnlen (__const char *__string, size_t __maxlen)
8088      __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
8089
8090
8091
8092
8093
8094 extern char *strerror (int __errnum) __attribute__ ((__nothrow__));
8095
8096 # 281 "../string/string.h"
8097 extern char *strerror_r (int __errnum, char *__buf, size_t __buflen)
8098      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
8099
8100
8101
8102
8103
8104 extern void __bzero (void *__s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
8105
8106
8107
8108 extern void bcopy (__const void *__src, void *__dest, size_t __n)
8109      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
8110
8111
8112 extern void bzero (void *__s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
8113
8114
8115 extern int bcmp (__const void *__s1, __const void *__s2, size_t __n)
8116      __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
8117
8118
8119 extern char *index (__const char *__s, int __c)
8120      __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
8121
8122
8123 extern char *rindex (__const char *__s, int __c)
8124      __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
8125
8126
8127
8128 extern int ffs (int __i) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
8129
8130
8131
8132
8133 extern int ffsl (long int __l) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
8134
8135 __extension__ extern int ffsll (long long int __ll)
8136      __attribute__ ((__nothrow__)) __attribute__ ((__const__));
8137
8138
8139
8140
8141 extern int strcasecmp (__const char *__s1, __const char *__s2)
8142      __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
8143
8144
8145 extern int strncasecmp (__const char *__s1, __const char *__s2, size_t __n)
8146      __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
8147
8148
8149
8150
8151
8152 extern int strcasecmp_l (__const char *__s1, __const char *__s2,
8153     __locale_t __loc)
8154      __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 3)));
8155
8156 extern int strncasecmp_l (__const char *__s1, __const char *__s2,
8157      size_t __n, __locale_t __loc)
8158      __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 4)));
8159
8160
8161
8162
8163
8164 extern char *strsep (char **__restrict __stringp,
8165        __const char *__restrict __delim)
8166      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
8167
8168
8169
8170
8171 extern int strverscmp (__const char *__s1, __const char *__s2)
8172      __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
8173
8174
8175 extern char *strsignal (int __sig) __attribute__ ((__nothrow__));
8176
8177
8178 extern char *__stpcpy (char *__restrict __dest, __const char *__restrict __src)
8179      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
8180 extern char *stpcpy (char *__restrict __dest, __const char *__restrict __src)
8181      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
8182
8183
8184
8185 extern char *__stpncpy (char *__restrict __dest,
8186    __const char *__restrict __src, size_t __n)
8187      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
8188 extern char *stpncpy (char *__restrict __dest,
8189         __const char *__restrict __src, size_t __n)
8190      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
8191
8192
8193 extern char *strfry (char *__string) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
8194
8195
8196 extern void *memfrob (void *__s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
8197
8198
8199
8200
8201
8202
8203 extern char *basename (__const char *__filename) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
8204 # 414 "../string/string.h"
8205 # 1 "../bits/string.h" 1
8206 # 415 "../string/string.h" 2
8207
8208
8209 # 1 "../include/bits/string2.h" 1
8210 # 1 "../string/bits/string2.h" 1
8211 # 80 "../string/bits/string2.h"
8212 typedef struct { unsigned char __arr[2]; } __attribute__ ((__packed__)) __STRING2_COPY_ARR2;
8213 typedef struct { unsigned char __arr[3]; } __attribute__ ((__packed__)) __STRING2_COPY_ARR3;
8214 typedef struct { unsigned char __arr[4]; } __attribute__ ((__packed__)) __STRING2_COPY_ARR4;
8215 typedef struct { unsigned char __arr[5]; } __attribute__ ((__packed__)) __STRING2_COPY_ARR5;
8216 typedef struct { unsigned char __arr[6]; } __attribute__ ((__packed__)) __STRING2_COPY_ARR6;
8217 typedef struct { unsigned char __arr[7]; } __attribute__ ((__packed__)) __STRING2_COPY_ARR7;
8218 typedef struct { unsigned char __arr[8]; } __attribute__ ((__packed__)) __STRING2_COPY_ARR8;
8219 # 394 "../string/bits/string2.h"
8220 extern void *__rawmemchr (const void *__s, int __c);
8221 # 969 "../string/bits/string2.h"
8222 extern __inline size_t __strcspn_c1 (__const char *__s, int __reject);
8223 extern __inline size_t
8224 __strcspn_c1 (__const char *__s, int __reject)
8225 {
8226   register size_t __result = 0;
8227   while (__s[__result] != '\0' && __s[__result] != __reject)
8228     ++__result;
8229   return __result;
8230 }
8231
8232 extern __inline size_t __strcspn_c2 (__const char *__s, int __reject1,
8233          int __reject2);
8234 extern __inline size_t
8235 __strcspn_c2 (__const char *__s, int __reject1, int __reject2)
8236 {
8237   register size_t __result = 0;
8238   while (__s[__result] != '\0' && __s[__result] != __reject1
8239   && __s[__result] != __reject2)
8240     ++__result;
8241   return __result;
8242 }
8243
8244 extern __inline size_t __strcspn_c3 (__const char *__s, int __reject1,
8245          int __reject2, int __reject3);
8246 extern __inline size_t
8247 __strcspn_c3 (__const char *__s, int __reject1, int __reject2,
8248        int __reject3)
8249 {
8250   register size_t __result = 0;
8251   while (__s[__result] != '\0' && __s[__result] != __reject1
8252   && __s[__result] != __reject2 && __s[__result] != __reject3)
8253     ++__result;
8254   return __result;
8255 }
8256 # 1045 "../string/bits/string2.h"
8257 extern __inline size_t __strspn_c1 (__const char *__s, int __accept);
8258 extern __inline size_t
8259 __strspn_c1 (__const char *__s, int __accept)
8260 {
8261   register size_t __result = 0;
8262
8263   while (__s[__result] == __accept)
8264     ++__result;
8265   return __result;
8266 }
8267
8268 extern __inline size_t __strspn_c2 (__const char *__s, int __accept1,
8269         int __accept2);
8270 extern __inline size_t
8271 __strspn_c2 (__const char *__s, int __accept1, int __accept2)
8272 {
8273   register size_t __result = 0;
8274
8275   while (__s[__result] == __accept1 || __s[__result] == __accept2)
8276     ++__result;
8277   return __result;
8278 }
8279
8280 extern __inline size_t __strspn_c3 (__const char *__s, int __accept1,
8281         int __accept2, int __accept3);
8282 extern __inline size_t
8283 __strspn_c3 (__const char *__s, int __accept1, int __accept2, int __accept3)
8284 {
8285   register size_t __result = 0;
8286
8287   while (__s[__result] == __accept1 || __s[__result] == __accept2
8288   || __s[__result] == __accept3)
8289     ++__result;
8290   return __result;
8291 }
8292 # 1121 "../string/bits/string2.h"
8293 extern __inline char *__strpbrk_c2 (__const char *__s, int __accept1,
8294          int __accept2);
8295 extern __inline char *
8296 __strpbrk_c2 (__const char *__s, int __accept1, int __accept2)
8297 {
8298
8299   while (*__s != '\0' && *__s != __accept1 && *__s != __accept2)
8300     ++__s;
8301   return *__s == '\0' ? ((void *)0) : (char *) (size_t) __s;
8302 }
8303
8304 extern __inline char *__strpbrk_c3 (__const char *__s, int __accept1,
8305          int __accept2, int __accept3);
8306 extern __inline char *
8307 __strpbrk_c3 (__const char *__s, int __accept1, int __accept2,
8308        int __accept3)
8309 {
8310
8311   while (*__s != '\0' && *__s != __accept1 && *__s != __accept2
8312   && *__s != __accept3)
8313     ++__s;
8314   return *__s == '\0' ? ((void *)0) : (char *) (size_t) __s;
8315 }
8316 # 1173 "../string/bits/string2.h"
8317 extern __inline char *__strtok_r_1c (char *__s, char __sep, char **__nextp);
8318 extern __inline char *
8319 __strtok_r_1c (char *__s, char __sep, char **__nextp)
8320 {
8321   char *__result;
8322   if (__s == ((void *)0))
8323     __s = *__nextp;
8324   while (*__s == __sep)
8325     ++__s;
8326   __result = ((void *)0);
8327   if (*__s != '\0')
8328     {
8329       __result = __s++;
8330       while (*__s != '\0')
8331  if (*__s++ == __sep)
8332    {
8333      __s[-1] = '\0';
8334      break;
8335    }
8336       *__nextp = __s;
8337     }
8338   return __result;
8339 }
8340 # 1205 "../string/bits/string2.h"
8341 extern char *__strsep_g (char **__stringp, __const char *__delim);
8342 # 1223 "../string/bits/string2.h"
8343 extern __inline char *__strsep_1c (char **__s, char __reject);
8344 extern __inline char *
8345 __strsep_1c (char **__s, char __reject)
8346 {
8347   register char *__retval = *__s;
8348   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))
8349     *(*__s)++ = '\0';
8350   return __retval;
8351 }
8352
8353 extern __inline char *__strsep_2c (char **__s, char __reject1, char __reject2);
8354 extern __inline char *
8355 __strsep_2c (char **__s, char __reject1, char __reject2)
8356 {
8357   register char *__retval = *__s;
8358   if (__retval != ((void *)0))
8359     {
8360       register char *__cp = __retval;
8361       while (1)
8362  {
8363    if (*__cp == '\0')
8364      {
8365        __cp = ((void *)0);
8366    break;
8367      }
8368    if (*__cp == __reject1 || *__cp == __reject2)
8369      {
8370        *__cp++ = '\0';
8371        break;
8372      }
8373    ++__cp;
8374  }
8375       *__s = __cp;
8376     }
8377   return __retval;
8378 }
8379
8380 extern __inline char *__strsep_3c (char **__s, char __reject1, char __reject2,
8381        char __reject3);
8382 extern __inline char *
8383 __strsep_3c (char **__s, char __reject1, char __reject2, char __reject3)
8384 {
8385   register char *__retval = *__s;
8386   if (__retval != ((void *)0))
8387     {
8388       register char *__cp = __retval;
8389       while (1)
8390  {
8391    if (*__cp == '\0')
8392      {
8393        __cp = ((void *)0);
8394    break;
8395      }
8396    if (*__cp == __reject1 || *__cp == __reject2 || *__cp == __reject3)
8397      {
8398        *__cp++ = '\0';
8399        break;
8400      }
8401    ++__cp;
8402  }
8403       *__s = __cp;
8404     }
8405   return __retval;
8406 }
8407 # 1304 "../string/bits/string2.h"
8408 extern char *__strdup (__const char *__string) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__));
8409 # 1323 "../string/bits/string2.h"
8410 extern char *__strndup (__const char *__string, size_t __n)
8411      __attribute__ ((__nothrow__)) __attribute__ ((__malloc__));
8412 # 1 "../include/bits/string2.h" 2
8413 # 418 "../string/string.h" 2
8414 # 426 "../string/string.h"
8415
8416 # 50 "../include/string.h" 2
8417
8418 extern __typeof (strcoll_l) __strcoll_l;
8419 extern __typeof (strxfrm_l) __strxfrm_l;
8420 extern __typeof (strcasecmp_l) __strcasecmp_l;
8421 extern __typeof (strncasecmp_l) __strncasecmp_l;
8422 # 70 "../include/string.h"
8423 extern __typeof (__mempcpy) __mempcpy __asm__ ("" "__GI___mempcpy") __attribute__ ((visibility ("hidden")));
8424 extern __typeof (__stpcpy) __stpcpy __asm__ ("" "__GI___stpcpy") __attribute__ ((visibility ("hidden")));
8425 extern __typeof (__stpncpy) __stpncpy __asm__ ("" "__GI___stpncpy") __attribute__ ((visibility ("hidden")));
8426 extern __typeof (__rawmemchr) __rawmemchr __asm__ ("" "__GI___rawmemchr") __attribute__ ((visibility ("hidden")));
8427 extern __typeof (__strcasecmp) __strcasecmp __asm__ ("" "__GI___strcasecmp") __attribute__ ((visibility ("hidden")));
8428 extern __typeof (__strcasecmp_l) __strcasecmp_l __asm__ ("" "__GI___strcasecmp_l") __attribute__ ((visibility ("hidden")));
8429 extern __typeof (__strncasecmp_l) __strncasecmp_l __asm__ ("" "__GI___strncasecmp_l") __attribute__ ((visibility ("hidden")));
8430 extern __typeof (__strdup) __strdup __asm__ ("" "__GI___strdup") __attribute__ ((visibility ("hidden")));
8431 extern __typeof (__strndup) __strndup __asm__ ("" "__GI___strndup") __attribute__ ((visibility ("hidden")));
8432 extern __typeof (__strerror_r) __strerror_r __asm__ ("" "__GI___strerror_r") __attribute__ ((visibility ("hidden")));
8433 extern __typeof (__strverscmp) __strverscmp __asm__ ("" "__GI___strverscmp") __attribute__ ((visibility ("hidden")));
8434 extern __typeof (basename) basename __asm__ ("" "__GI_basename") __attribute__ ((visibility ("hidden")));
8435 extern __typeof (strcoll) strcoll __asm__ ("" "__GI_strcoll") __attribute__ ((visibility ("hidden")));
8436 extern __typeof (__strcoll_l) __strcoll_l __asm__ ("" "__GI___strcoll_l") __attribute__ ((visibility ("hidden")));
8437 extern __typeof (__strxfrm_l) __strxfrm_l __asm__ ("" "__GI___strxfrm_l") __attribute__ ((visibility ("hidden")));
8438 extern __typeof (__strtok_r) __strtok_r __asm__ ("" "__GI___strtok_r") __attribute__ ((visibility ("hidden")));
8439 extern char *__strsep_g (char **__stringp, __const char *__delim);
8440 extern __typeof (__strsep_g) __strsep_g __asm__ ("" "__GI___strsep_g") __attribute__ ((visibility ("hidden")));
8441 extern __typeof (strnlen) strnlen __asm__ ("" "__GI_strnlen") __attribute__ ((visibility ("hidden")));
8442
8443 extern __typeof (memchr) memchr __asm__ ("" "__GI_memchr") __attribute__ ((visibility ("hidden")));
8444 extern __typeof (memcpy) memcpy __asm__ ("" "__GI_memcpy") __attribute__ ((visibility ("hidden")));
8445 extern __typeof (mempcpy) mempcpy __asm__ ("" "__GI_mempcpy") __attribute__ ((visibility ("hidden")));
8446 extern __typeof (memcmp) memcmp __asm__ ("" "__GI_memcmp") __attribute__ ((visibility ("hidden")));
8447 extern __typeof (memmove) memmove __asm__ ("" "__GI_memmove") __attribute__ ((visibility ("hidden")));
8448 extern __typeof (memset) memset __asm__ ("" "__GI_memset") __attribute__ ((visibility ("hidden")));
8449 extern __typeof (strcat) strcat __asm__ ("" "__GI_strcat") __attribute__ ((visibility ("hidden")));
8450 extern __typeof (strchr) strchr __asm__ ("" "__GI_strchr") __attribute__ ((visibility ("hidden")));
8451 extern __typeof (strcmp) strcmp __asm__ ("" "__GI_strcmp") __attribute__ ((visibility ("hidden")));
8452 extern __typeof (strcpy) strcpy __asm__ ("" "__GI_strcpy") __attribute__ ((visibility ("hidden")));
8453 extern __typeof (strcspn) strcspn __asm__ ("" "__GI_strcspn") __attribute__ ((visibility ("hidden")));
8454 extern __typeof (strlen) strlen __asm__ ("" "__GI_strlen") __attribute__ ((visibility ("hidden")));
8455 extern __typeof (strncmp) strncmp __asm__ ("" "__GI_strncmp") __attribute__ ((visibility ("hidden")));
8456 extern __typeof (strncpy) strncpy __asm__ ("" "__GI_strncpy") __attribute__ ((visibility ("hidden")));
8457 extern __typeof (strpbrk) strpbrk __asm__ ("" "__GI_strpbrk") __attribute__ ((visibility ("hidden")));
8458 extern __typeof (stpcpy) stpcpy __asm__ ("" "__GI_stpcpy") __attribute__ ((visibility ("hidden")));
8459 extern __typeof (strrchr) strrchr __asm__ ("" "__GI_strrchr") __attribute__ ((visibility ("hidden")));
8460 extern __typeof (strspn) strspn __asm__ ("" "__GI_strspn") __attribute__ ((visibility ("hidden")));
8461 extern __typeof (strstr) strstr __asm__ ("" "__GI_strstr") __attribute__ ((visibility ("hidden")));
8462 extern __typeof (ffs) ffs __asm__ ("" "__GI_ffs") __attribute__ ((visibility ("hidden")));
8463 # 120 "../include/string.h"
8464 extern void *__memcpy_chk (void *__restrict __dest,
8465       const void *__restrict __src, size_t __len,
8466       size_t __destlen) __attribute__ ((__nothrow__));
8467 extern void *__memmove_chk (void *__dest, const void *__src, size_t __len,
8468        size_t __destlen) __attribute__ ((__nothrow__));
8469 extern void *__mempcpy_chk (void *__restrict __dest,
8470        const void *__restrict __src, size_t __len,
8471        size_t __destlen) __attribute__ ((__nothrow__));
8472 extern void *__memset_chk (void *__dest, int __ch, size_t __len,
8473       size_t __destlen) __attribute__ ((__nothrow__));
8474 extern char *__strcpy_chk (char *__restrict __dest,
8475       const char *__restrict __src,
8476       size_t __destlen) __attribute__ ((__nothrow__));
8477 extern char *__stpcpy_chk (char *__restrict __dest,
8478       const char *__restrict __src,
8479       size_t __destlen) __attribute__ ((__nothrow__));
8480 extern char *__strncpy_chk (char *__restrict __dest,
8481        const char *__restrict __src,
8482        size_t __len, size_t __destlen) __attribute__ ((__nothrow__));
8483 extern char *__strcat_chk (char *__restrict __dest,
8484       const char *__restrict __src,
8485       size_t __destlen) __attribute__ ((__nothrow__));
8486 extern char *__strncat_chk (char *__restrict __dest,
8487        const char *__restrict __src,
8488        size_t __len, size_t __destlen) __attribute__ ((__nothrow__));
8489 # 27 "vfprintf.c" 2
8490 # 1 "../include/errno.h" 1
8491
8492
8493 # 1 "../stdlib/errno.h" 1
8494 # 32 "../stdlib/errno.h"
8495
8496
8497
8498
8499 # 1 "../ports/sysdeps/unix/sysv/linux/hppa/bits/errno.h" 1
8500 # 25 "../ports/sysdeps/unix/sysv/linux/hppa/bits/errno.h"
8501 # 1 "/usr/include/linux/errno.h" 1 3 4
8502
8503
8504
8505 # 1 "/usr/include/asm/errno.h" 1 3 4
8506
8507
8508
8509 # 1 "/usr/include/asm-generic/errno-base.h" 1 3 4
8510 # 5 "/usr/include/asm/errno.h" 2 3 4
8511 # 5 "/usr/include/linux/errno.h" 2 3 4
8512 # 26 "../ports/sysdeps/unix/sysv/linux/hppa/bits/errno.h" 2
8513 # 35 "../ports/sysdeps/unix/sysv/linux/hppa/bits/errno.h"
8514 extern int *__errno_location (void) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
8515 # 37 "../stdlib/errno.h" 2
8516 # 55 "../stdlib/errno.h"
8517 extern char *program_invocation_name, *program_invocation_short_name;
8518
8519
8520
8521
8522 # 69 "../stdlib/errno.h"
8523 typedef int error_t;
8524 # 4 "../include/errno.h" 2
8525 # 31 "../include/errno.h"
8526 extern __thread int __libc_errno __attribute__ ((tls_model ("initial-exec")));
8527
8528
8529
8530
8531
8532
8533
8534 extern int *__errno_location (void) __attribute__ ((__nothrow__)) __attribute__ ((__const__))
8535
8536
8537
8538 ;
8539 extern __typeof (__errno_location) __errno_location __asm__ ("" "__GI___errno_location") __attribute__ ((visibility ("hidden")));
8540 # 28 "vfprintf.c" 2
8541 # 1 "../include/wchar.h" 1
8542
8543 # 1 "../wcsmbs/wchar.h" 1
8544 # 37 "../wcsmbs/wchar.h"
8545 # 1 "../include/stdio.h" 1
8546
8547
8548 # 1 "../libio/stdio.h" 1
8549 # 62 "../libio/stdio.h"
8550 typedef struct _IO_FILE __FILE;
8551 # 4 "../include/stdio.h" 2
8552 # 38 "../wcsmbs/wchar.h" 2
8553 # 48 "../wcsmbs/wchar.h"
8554 # 1 "/usr/lib/gcc/hppa2.0-unknown-linux-gnu/4.1.1/include/stddef.h" 1 3 4
8555 # 355 "/usr/lib/gcc/hppa2.0-unknown-linux-gnu/4.1.1/include/stddef.h" 3 4
8556 typedef unsigned int wint_t;
8557 # 49 "../wcsmbs/wchar.h" 2
8558 # 76 "../wcsmbs/wchar.h"
8559 typedef struct
8560 {
8561   int __count;
8562   union
8563   {
8564     wint_t __wch;
8565     char __wchb[4];
8566   } __value;
8567 } __mbstate_t;
8568 # 93 "../wcsmbs/wchar.h"
8569
8570
8571 typedef __mbstate_t mbstate_t;
8572
8573
8574
8575 # 118 "../wcsmbs/wchar.h"
8576
8577
8578
8579
8580
8581 struct tm;
8582
8583
8584
8585
8586
8587
8588
8589
8590
8591 extern wchar_t *wcscpy (wchar_t *__restrict __dest,
8592    __const wchar_t *__restrict __src) __attribute__ ((__nothrow__));
8593
8594 extern wchar_t *wcsncpy (wchar_t *__restrict __dest,
8595     __const wchar_t *__restrict __src, size_t __n)
8596      __attribute__ ((__nothrow__));
8597
8598
8599 extern wchar_t *wcscat (wchar_t *__restrict __dest,
8600    __const wchar_t *__restrict __src) __attribute__ ((__nothrow__));
8601
8602 extern wchar_t *wcsncat (wchar_t *__restrict __dest,
8603     __const wchar_t *__restrict __src, size_t __n)
8604      __attribute__ ((__nothrow__));
8605
8606
8607 extern int wcscmp (__const wchar_t *__s1, __const wchar_t *__s2)
8608      __attribute__ ((__nothrow__)) __attribute__ ((__pure__));
8609
8610 extern int wcsncmp (__const wchar_t *__s1, __const wchar_t *__s2, size_t __n)
8611      __attribute__ ((__nothrow__)) __attribute__ ((__pure__));
8612
8613
8614
8615
8616 extern int wcscasecmp (__const wchar_t *__s1, __const wchar_t *__s2) __attribute__ ((__nothrow__));
8617
8618
8619 extern int wcsncasecmp (__const wchar_t *__s1, __const wchar_t *__s2,
8620    size_t __n) __attribute__ ((__nothrow__));
8621
8622
8623
8624 # 1 "../include/xlocale.h" 1
8625 # 167 "../wcsmbs/wchar.h" 2
8626
8627 extern int wcscasecmp_l (__const wchar_t *__s1, __const wchar_t *__s2,
8628     __locale_t __loc) __attribute__ ((__nothrow__));
8629
8630 extern int wcsncasecmp_l (__const wchar_t *__s1, __const wchar_t *__s2,
8631      size_t __n, __locale_t __loc) __attribute__ ((__nothrow__));
8632
8633
8634
8635
8636
8637 extern int wcscoll (__const wchar_t *__s1, __const wchar_t *__s2) __attribute__ ((__nothrow__));
8638
8639
8640
8641 extern size_t wcsxfrm (wchar_t *__restrict __s1,
8642          __const wchar_t *__restrict __s2, size_t __n) __attribute__ ((__nothrow__));
8643
8644
8645
8646
8647
8648
8649
8650
8651 extern int wcscoll_l (__const wchar_t *__s1, __const wchar_t *__s2,
8652         __locale_t __loc) __attribute__ ((__nothrow__));
8653
8654
8655
8656
8657 extern size_t wcsxfrm_l (wchar_t *__s1, __const wchar_t *__s2,
8658     size_t __n, __locale_t __loc) __attribute__ ((__nothrow__));
8659
8660
8661 extern wchar_t *wcsdup (__const wchar_t *__s) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__));
8662
8663
8664
8665
8666 extern wchar_t *wcschr (__const wchar_t *__wcs, wchar_t __wc)
8667      __attribute__ ((__nothrow__)) __attribute__ ((__pure__));
8668
8669 extern wchar_t *wcsrchr (__const wchar_t *__wcs, wchar_t __wc)
8670      __attribute__ ((__nothrow__)) __attribute__ ((__pure__));
8671
8672
8673
8674
8675
8676 extern wchar_t *wcschrnul (__const wchar_t *__s, wchar_t __wc)
8677      __attribute__ ((__nothrow__)) __attribute__ ((__pure__));
8678
8679
8680
8681
8682
8683 extern size_t wcscspn (__const wchar_t *__wcs, __const wchar_t *__reject)
8684      __attribute__ ((__nothrow__)) __attribute__ ((__pure__));
8685
8686
8687 extern size_t wcsspn (__const wchar_t *__wcs, __const wchar_t *__accept)
8688      __attribute__ ((__nothrow__)) __attribute__ ((__pure__));
8689
8690 extern wchar_t *wcspbrk (__const wchar_t *__wcs, __const wchar_t *__accept)
8691      __attribute__ ((__nothrow__)) __attribute__ ((__pure__));
8692
8693 extern wchar_t *wcsstr (__const wchar_t *__haystack, __const wchar_t *__needle)
8694      __attribute__ ((__nothrow__)) __attribute__ ((__pure__));
8695
8696
8697 extern wchar_t *wcstok (wchar_t *__restrict __s,
8698    __const wchar_t *__restrict __delim,
8699    wchar_t **__restrict __ptr) __attribute__ ((__nothrow__));
8700
8701
8702 extern size_t wcslen (__const wchar_t *__s) __attribute__ ((__nothrow__)) __attribute__ ((__pure__));
8703
8704
8705
8706
8707 extern wchar_t *wcswcs (__const wchar_t *__haystack, __const wchar_t *__needle)
8708      __attribute__ ((__nothrow__)) __attribute__ ((__pure__));
8709
8710
8711
8712
8713 extern size_t wcsnlen (__const wchar_t *__s, size_t __maxlen)
8714      __attribute__ ((__nothrow__)) __attribute__ ((__pure__));
8715
8716
8717
8718
8719
8720 extern wchar_t *wmemchr (__const wchar_t *__s, wchar_t __c, size_t __n)
8721      __attribute__ ((__nothrow__)) __attribute__ ((__pure__));
8722
8723
8724 extern int wmemcmp (__const wchar_t *__restrict __s1,
8725       __const wchar_t *__restrict __s2, size_t __n)
8726      __attribute__ ((__nothrow__)) __attribute__ ((__pure__));
8727
8728
8729 extern wchar_t *wmemcpy (wchar_t *__restrict __s1,
8730     __const wchar_t *__restrict __s2, size_t __n) __attribute__ ((__nothrow__));
8731
8732
8733
8734 extern wchar_t *wmemmove (wchar_t *__s1, __const wchar_t *__s2, size_t __n)
8735      __attribute__ ((__nothrow__));
8736
8737
8738 extern wchar_t *wmemset (wchar_t *__s, wchar_t __c, size_t __n) __attribute__ ((__nothrow__));
8739
8740
8741
8742
8743
8744 extern wchar_t *wmempcpy (wchar_t *__restrict __s1,
8745      __const wchar_t *__restrict __s2, size_t __n)
8746      __attribute__ ((__nothrow__));
8747
8748
8749
8750
8751
8752
8753 extern wint_t btowc (int __c) __attribute__ ((__nothrow__));
8754
8755
8756
8757 extern int wctob (wint_t __c) __attribute__ ((__nothrow__));
8758
8759
8760
8761 extern int mbsinit (__const mbstate_t *__ps) __attribute__ ((__nothrow__)) __attribute__ ((__pure__));
8762
8763
8764
8765 extern size_t mbrtowc (wchar_t *__restrict __pwc,
8766          __const char *__restrict __s, size_t __n,
8767          mbstate_t *__p) __attribute__ ((__nothrow__));
8768
8769
8770 extern size_t wcrtomb (char *__restrict __s, wchar_t __wc,
8771          mbstate_t *__restrict __ps) __attribute__ ((__nothrow__));
8772
8773
8774 extern size_t __mbrlen (__const char *__restrict __s, size_t __n,
8775    mbstate_t *__restrict __ps) __attribute__ ((__nothrow__));
8776 extern size_t mbrlen (__const char *__restrict __s, size_t __n,
8777         mbstate_t *__restrict __ps) __attribute__ ((__nothrow__));
8778
8779 # 328 "../wcsmbs/wchar.h"
8780 extern wint_t __btowc_alias (int __c) __asm ("btowc");
8781 extern __inline wint_t
8782 __attribute__ ((__nothrow__)) btowc (int __c)
8783 { return (__builtin_constant_p (__c) && __c >= '\0' && __c <= '\x7f'
8784    ? (wint_t) __c : __btowc_alias (__c)); }
8785
8786 extern int __wctob_alias (wint_t __c) __asm ("wctob");
8787 extern __inline int
8788 __attribute__ ((__nothrow__)) wctob (wint_t __wc)
8789 { return (__builtin_constant_p (__wc) && __wc >= L'\0' && __wc <= L'\x7f'
8790    ? (int) __wc : __wctob_alias (__wc)); }
8791
8792
8793 extern __inline size_t
8794 __attribute__ ((__nothrow__)) mbrlen (__const char *__restrict __s, size_t __n, mbstate_t *__restrict __ps)
8795
8796 { return (__ps != ((void *)0)
8797    ? mbrtowc (((void *)0), __s, __n, __ps) : __mbrlen (__s, __n, ((void *)0))); }
8798
8799
8800
8801
8802
8803 extern size_t mbsrtowcs (wchar_t *__restrict __dst,
8804     __const char **__restrict __src, size_t __len,
8805     mbstate_t *__restrict __ps) __attribute__ ((__nothrow__));
8806
8807
8808
8809 extern size_t wcsrtombs (char *__restrict __dst,
8810     __const wchar_t **__restrict __src, size_t __len,
8811     mbstate_t *__restrict __ps) __attribute__ ((__nothrow__));
8812
8813
8814
8815
8816
8817
8818 extern size_t mbsnrtowcs (wchar_t *__restrict __dst,
8819      __const char **__restrict __src, size_t __nmc,
8820      size_t __len, mbstate_t *__restrict __ps) __attribute__ ((__nothrow__));
8821
8822
8823
8824 extern size_t wcsnrtombs (char *__restrict __dst,
8825      __const wchar_t **__restrict __src,
8826      size_t __nwc, size_t __len,
8827      mbstate_t *__restrict __ps) __attribute__ ((__nothrow__));
8828
8829
8830
8831
8832
8833
8834 extern int wcwidth (wchar_t __c) __attribute__ ((__nothrow__));
8835
8836
8837
8838 extern int wcswidth (__const wchar_t *__s, size_t __n) __attribute__ ((__nothrow__));
8839
8840
8841
8842
8843
8844
8845 extern double wcstod (__const wchar_t *__restrict __nptr,
8846         wchar_t **__restrict __endptr) __attribute__ ((__nothrow__));
8847
8848
8849
8850 extern float wcstof (__const wchar_t *__restrict __nptr,
8851        wchar_t **__restrict __endptr) __attribute__ ((__nothrow__));
8852 extern long double wcstold (__const wchar_t *__restrict __nptr,
8853        wchar_t **__restrict __endptr) __attribute__ ((__nothrow__));
8854
8855
8856
8857
8858
8859 extern long int wcstol (__const wchar_t *__restrict __nptr,
8860    wchar_t **__restrict __endptr, int __base) __attribute__ ((__nothrow__));
8861
8862
8863
8864 extern unsigned long int wcstoul (__const wchar_t *__restrict __nptr,
8865       wchar_t **__restrict __endptr, int __base)
8866      __attribute__ ((__nothrow__));
8867
8868
8869
8870
8871 __extension__
8872 extern long long int wcstoll (__const wchar_t *__restrict __nptr,
8873          wchar_t **__restrict __endptr, int __base)
8874      __attribute__ ((__nothrow__));
8875
8876
8877
8878 __extension__
8879 extern unsigned long long int wcstoull (__const wchar_t *__restrict __nptr,
8880      wchar_t **__restrict __endptr,
8881      int __base) __attribute__ ((__nothrow__));
8882
8883
8884
8885
8886
8887
8888 __extension__
8889 extern long long int wcstoq (__const wchar_t *__restrict __nptr,
8890         wchar_t **__restrict __endptr, int __base)
8891      __attribute__ ((__nothrow__));
8892
8893
8894
8895 __extension__
8896 extern unsigned long long int wcstouq (__const wchar_t *__restrict __nptr,
8897            wchar_t **__restrict __endptr,
8898            int __base) __attribute__ ((__nothrow__));
8899 # 463 "../wcsmbs/wchar.h"
8900 # 1 "../include/xlocale.h" 1
8901 # 464 "../wcsmbs/wchar.h" 2
8902
8903
8904
8905 extern long int wcstol_l (__const wchar_t *__restrict __nptr,
8906      wchar_t **__restrict __endptr, int __base,
8907      __locale_t __loc) __attribute__ ((__nothrow__));
8908
8909 extern unsigned long int wcstoul_l (__const wchar_t *__restrict __nptr,
8910         wchar_t **__restrict __endptr,
8911         int __base, __locale_t __loc) __attribute__ ((__nothrow__));
8912
8913 __extension__
8914 extern long long int wcstoll_l (__const wchar_t *__restrict __nptr,
8915     wchar_t **__restrict __endptr,
8916     int __base, __locale_t __loc) __attribute__ ((__nothrow__));
8917
8918 __extension__
8919 extern unsigned long long int wcstoull_l (__const wchar_t *__restrict __nptr,
8920        wchar_t **__restrict __endptr,
8921        int __base, __locale_t __loc)
8922      __attribute__ ((__nothrow__));
8923
8924 extern double wcstod_l (__const wchar_t *__restrict __nptr,
8925    wchar_t **__restrict __endptr, __locale_t __loc)
8926      __attribute__ ((__nothrow__));
8927
8928 extern float wcstof_l (__const wchar_t *__restrict __nptr,
8929          wchar_t **__restrict __endptr, __locale_t __loc)
8930      __attribute__ ((__nothrow__));
8931
8932 extern long double wcstold_l (__const wchar_t *__restrict __nptr,
8933          wchar_t **__restrict __endptr,
8934          __locale_t __loc) __attribute__ ((__nothrow__));
8935
8936
8937
8938
8939
8940 extern double __wcstod_internal (__const wchar_t *__restrict __nptr,
8941      wchar_t **__restrict __endptr, int __group)
8942      __attribute__ ((__nothrow__));
8943 extern float __wcstof_internal (__const wchar_t *__restrict __nptr,
8944     wchar_t **__restrict __endptr, int __group)
8945      __attribute__ ((__nothrow__));
8946 extern long double __wcstold_internal (__const wchar_t *__restrict __nptr,
8947            wchar_t **__restrict __endptr,
8948            int __group) __attribute__ ((__nothrow__));
8949
8950
8951
8952 extern long int __wcstol_internal (__const wchar_t *__restrict __nptr,
8953        wchar_t **__restrict __endptr,
8954        int __base, int __group) __attribute__ ((__nothrow__));
8955
8956
8957
8958
8959 extern unsigned long int __wcstoul_internal (__const wchar_t *__restrict __npt,
8960           wchar_t **__restrict __endptr,
8961           int __base, int __group) __attribute__ ((__nothrow__));
8962 # 549 "../wcsmbs/wchar.h"
8963
8964
8965 extern __inline double
8966 __attribute__ ((__nothrow__)) wcstod (__const wchar_t *__restrict __nptr, wchar_t **__restrict __endptr)
8967
8968 { return __wcstod_internal (__nptr, __endptr, 0); }
8969 extern __inline long int
8970 __attribute__ ((__nothrow__)) wcstol (__const wchar_t *__restrict __nptr, wchar_t **__restrict __endptr, int __base)
8971
8972 { return __wcstol_internal (__nptr, __endptr, __base, 0); }
8973 extern __inline unsigned long int
8974 __attribute__ ((__nothrow__)) wcstoul (__const wchar_t *__restrict __nptr, wchar_t **__restrict __endptr, int __base)
8975
8976 { return __wcstoul_internal (__nptr, __endptr, __base, 0); }
8977
8978
8979
8980 extern __inline float
8981 __attribute__ ((__nothrow__)) wcstof (__const wchar_t *__restrict __nptr, wchar_t **__restrict __endptr)
8982
8983 { return __wcstof_internal (__nptr, __endptr, 0); }
8984
8985 extern __inline long double
8986 __attribute__ ((__nothrow__)) wcstold (__const wchar_t *__restrict __nptr, wchar_t **__restrict __endptr)
8987
8988 { return __wcstold_internal (__nptr, __endptr, 0); }
8989
8990 __extension__
8991 extern __inline long long int
8992 __attribute__ ((__nothrow__)) wcstoq (__const wchar_t *__restrict __nptr, wchar_t **__restrict __endptr, int __base)
8993
8994 { return __wcstoll_internal (__nptr, __endptr, __base, 0); }
8995 __extension__
8996 extern __inline unsigned long long int
8997 __attribute__ ((__nothrow__)) wcstouq (__const wchar_t *__restrict __nptr, wchar_t **__restrict __endptr, int __base)
8998
8999 { return __wcstoull_internal (__nptr, __endptr, __base, 0); }
9000
9001
9002
9003
9004
9005
9006
9007 extern wchar_t *wcpcpy (wchar_t *__dest, __const wchar_t *__src) __attribute__ ((__nothrow__));
9008
9009
9010
9011 extern wchar_t *wcpncpy (wchar_t *__dest, __const wchar_t *__src, size_t __n)
9012      __attribute__ ((__nothrow__));
9013 # 607 "../wcsmbs/wchar.h"
9014 extern __FILE *open_wmemstream (wchar_t **__bufloc, size_t *__sizeloc) __attribute__ ((__nothrow__));
9015
9016
9017
9018
9019
9020
9021 extern int fwide (__FILE *__fp, int __mode) __attribute__ ((__nothrow__));
9022
9023
9024
9025
9026
9027
9028 extern int fwprintf (__FILE *__restrict __stream,
9029        __const wchar_t *__restrict __format, ...)
9030                                                            ;
9031
9032
9033
9034
9035 extern int wprintf (__const wchar_t *__restrict __format, ...)
9036                                                            ;
9037
9038 extern int swprintf (wchar_t *__restrict __s, size_t __n,
9039        __const wchar_t *__restrict __format, ...)
9040      __attribute__ ((__nothrow__)) ;
9041
9042
9043
9044
9045
9046 extern int vfwprintf (__FILE *__restrict __s,
9047         __const wchar_t *__restrict __format,
9048         __gnuc_va_list __arg)
9049                                                            ;
9050
9051
9052
9053
9054 extern int vwprintf (__const wchar_t *__restrict __format,
9055        __gnuc_va_list __arg)
9056                                                            ;
9057
9058
9059 extern int vswprintf (wchar_t *__restrict __s, size_t __n,
9060         __const wchar_t *__restrict __format,
9061         __gnuc_va_list __arg)
9062      __attribute__ ((__nothrow__)) ;
9063
9064
9065
9066
9067
9068
9069 extern int fwscanf (__FILE *__restrict __stream,
9070       __const wchar_t *__restrict __format, ...)
9071                                                           ;
9072
9073
9074
9075
9076 extern int wscanf (__const wchar_t *__restrict __format, ...)
9077                                                           ;
9078
9079 extern int swscanf (__const wchar_t *__restrict __s,
9080       __const wchar_t *__restrict __format, ...)
9081      __attribute__ ((__nothrow__)) ;
9082
9083
9084
9085
9086
9087
9088
9089
9090
9091
9092
9093 extern int vfwscanf (__FILE *__restrict __s,
9094        __const wchar_t *__restrict __format,
9095        __gnuc_va_list __arg)
9096                                                           ;
9097
9098
9099
9100
9101 extern int vwscanf (__const wchar_t *__restrict __format,
9102       __gnuc_va_list __arg)
9103                                                           ;
9104
9105 extern int vswscanf (__const wchar_t *__restrict __s,
9106        __const wchar_t *__restrict __format,
9107        __gnuc_va_list __arg)
9108      __attribute__ ((__nothrow__)) ;
9109
9110
9111
9112
9113
9114
9115
9116
9117
9118
9119 extern wint_t fgetwc (__FILE *__stream);
9120 extern wint_t getwc (__FILE *__stream);
9121
9122
9123
9124
9125
9126 extern wint_t getwchar (void);
9127
9128
9129
9130
9131
9132
9133 extern wint_t fputwc (wchar_t __wc, __FILE *__stream);
9134 extern wint_t putwc (wchar_t __wc, __FILE *__stream);
9135
9136
9137
9138
9139
9140 extern wint_t putwchar (wchar_t __wc);
9141
9142
9143
9144
9145
9146
9147
9148 extern wchar_t *fgetws (wchar_t *__restrict __ws, int __n,
9149    __FILE *__restrict __stream);
9150
9151
9152
9153
9154
9155 extern int fputws (__const wchar_t *__restrict __ws,
9156      __FILE *__restrict __stream);
9157
9158
9159
9160
9161
9162
9163 extern wint_t ungetwc (wint_t __wc, __FILE *__stream);
9164
9165 # 768 "../wcsmbs/wchar.h"
9166 extern wint_t getwc_unlocked (__FILE *__stream);
9167 extern wint_t getwchar_unlocked (void);
9168
9169
9170
9171
9172
9173
9174
9175 extern wint_t fgetwc_unlocked (__FILE *__stream);
9176
9177
9178
9179
9180
9181
9182
9183 extern wint_t fputwc_unlocked (wchar_t __wc, __FILE *__stream);
9184 # 794 "../wcsmbs/wchar.h"
9185 extern wint_t putwc_unlocked (wchar_t __wc, __FILE *__stream);
9186 extern wint_t putwchar_unlocked (wchar_t __wc);
9187 # 804 "../wcsmbs/wchar.h"
9188 extern wchar_t *fgetws_unlocked (wchar_t *__restrict __ws, int __n,
9189      __FILE *__restrict __stream);
9190
9191
9192
9193
9194
9195
9196
9197 extern int fputws_unlocked (__const wchar_t *__restrict __ws,
9198        __FILE *__restrict __stream);
9199
9200
9201
9202
9203
9204
9205
9206 extern size_t wcsftime (wchar_t *__restrict __s, size_t __maxsize,
9207    __const wchar_t *__restrict __format,
9208    __const struct tm *__restrict __tp) __attribute__ ((__nothrow__));
9209
9210
9211
9212 # 1 "../include/xlocale.h" 1
9213 # 829 "../wcsmbs/wchar.h" 2
9214
9215
9216
9217 extern size_t wcsftime_l (wchar_t *__restrict __s, size_t __maxsize,
9218      __const wchar_t *__restrict __format,
9219      __const struct tm *__restrict __tp,
9220      __locale_t __loc) __attribute__ ((__nothrow__));
9221 # 858 "../wcsmbs/wchar.h"
9222
9223 # 3 "../include/wchar.h" 2
9224
9225
9226
9227 extern __typeof (wcscasecmp_l) __wcscasecmp_l;
9228 extern __typeof (wcsncasecmp_l) __wcsncasecmp_l;
9229 extern __typeof (wcscoll_l) __wcscoll_l;
9230 extern __typeof (wcsxfrm_l) __wcsxfrm_l;
9231 extern __typeof (wcstol_l) __wcstol_l;
9232 extern __typeof (wcstoul_l) __wcstoul_l;
9233 extern __typeof (wcstoll_l) __wcstoll_l;
9234 extern __typeof (wcstoull_l) __wcstoull_l;
9235 extern __typeof (wcstod_l) __wcstod_l;
9236 extern __typeof (wcstof_l) __wcstof_l;
9237 extern __typeof (wcstold_l) __wcstold_l;
9238 extern __typeof (wcsftime_l) __wcsftime_l;
9239 extern __typeof (__wcsftime_l) __wcsftime_l __asm__ ("" "__GI___wcsftime_l") __attribute__ ((visibility ("hidden")));
9240
9241
9242 extern __typeof (__wcstof_internal) __wcstof_internal __asm__ ("" "__GI___wcstof_internal") __attribute__ ((visibility ("hidden")));
9243 extern __typeof (__wcstod_internal) __wcstod_internal __asm__ ("" "__GI___wcstod_internal") __attribute__ ((visibility ("hidden")));
9244 extern __typeof (__wcstold_internal) __wcstold_internal __asm__ ("" "__GI___wcstold_internal") __attribute__ ((visibility ("hidden")));
9245 extern __typeof (__wcstol_internal) __wcstol_internal __asm__ ("" "__GI___wcstol_internal") __attribute__ ((visibility ("hidden")));
9246 extern __typeof (__wcstoll_internal) __wcstoll_internal __asm__ ("" "__GI___wcstoll_internal") __attribute__ ((visibility ("hidden")));
9247 extern __typeof (__wcstoul_internal) __wcstoul_internal __asm__ ("" "__GI___wcstoul_internal") __attribute__ ((visibility ("hidden")));
9248 extern __typeof (__wcstoull_internal) __wcstoull_internal __asm__ ("" "__GI___wcstoull_internal") __attribute__ ((visibility ("hidden")));
9249
9250 extern __typeof (__wcscasecmp_l) __wcscasecmp_l __asm__ ("" "__GI___wcscasecmp_l") __attribute__ ((visibility ("hidden")));
9251 extern __typeof (__wcsncasecmp_l) __wcsncasecmp_l __asm__ ("" "__GI___wcsncasecmp_l") __attribute__ ((visibility ("hidden")));
9252
9253 extern __typeof (__wcscoll_l) __wcscoll_l __asm__ ("" "__GI___wcscoll_l") __attribute__ ((visibility ("hidden")));
9254 extern __typeof (__wcsxfrm_l) __wcsxfrm_l __asm__ ("" "__GI___wcsxfrm_l") __attribute__ ((visibility ("hidden")));
9255
9256 extern __typeof (fputws_unlocked) fputws_unlocked __asm__ ("" "__GI_fputws_unlocked") __attribute__ ((visibility ("hidden")));
9257 extern __typeof (putwc_unlocked) putwc_unlocked __asm__ ("" "__GI_putwc_unlocked") __attribute__ ((visibility ("hidden")));
9258 extern __typeof (putwc) putwc __asm__ ("" "__GI_putwc") __attribute__ ((visibility ("hidden")));
9259
9260 extern __typeof (vswscanf) vswscanf __asm__ ("" "__GI_vswscanf") __attribute__ ((visibility ("hidden")));
9261
9262 extern __typeof (mbrtowc) mbrtowc __asm__ ("" "__GI_mbrtowc") __attribute__ ((visibility ("hidden")));
9263 extern __typeof (wcrtomb) wcrtomb __asm__ ("" "__GI_wcrtomb") __attribute__ ((visibility ("hidden")));
9264 extern __typeof (wcscmp) wcscmp __asm__ ("" "__GI_wcscmp") __attribute__ ((visibility ("hidden")));
9265 extern __typeof (wcsftime) wcsftime __asm__ ("" "__GI_wcsftime") __attribute__ ((visibility ("hidden")));
9266 extern __typeof (wcsspn) wcsspn __asm__ ("" "__GI_wcsspn") __attribute__ ((visibility ("hidden")));
9267 extern __typeof (wcschr) wcschr __asm__ ("" "__GI_wcschr") __attribute__ ((visibility ("hidden")));
9268 extern __typeof (wcscoll) wcscoll __asm__ ("" "__GI_wcscoll") __attribute__ ((visibility ("hidden")));
9269 extern __typeof (wcspbrk) wcspbrk __asm__ ("" "__GI_wcspbrk") __attribute__ ((visibility ("hidden")));
9270
9271 extern __typeof (wmemchr) wmemchr __asm__ ("" "__GI_wmemchr") __attribute__ ((visibility ("hidden")));
9272 extern __typeof (wmemset) wmemset __asm__ ("" "__GI_wmemset") __attribute__ ((visibility ("hidden")));
9273
9274
9275 extern int __wcscasecmp (__const wchar_t *__s1, __const wchar_t *__s2)
9276      __attribute__ ((__pure__));
9277 extern int __wcsncasecmp (__const wchar_t *__s1, __const wchar_t *__s2,
9278      size_t __n)
9279      __attribute__ ((__pure__));
9280 extern size_t __wcslen (__const wchar_t *__s) __attribute__ ((__pure__));
9281 extern size_t __wcsnlen (__const wchar_t *__s, size_t __maxlen)
9282      __attribute__ ((__pure__));
9283 extern wchar_t *__wcscat (wchar_t *dest, const wchar_t *src);
9284 extern wint_t __btowc (int __c);
9285 extern int __mbsinit (__const __mbstate_t *__ps);
9286 extern size_t __mbrtowc (wchar_t *__restrict __pwc,
9287     __const char *__restrict __s, size_t __n,
9288     __mbstate_t *__restrict __p);
9289 extern __typeof (__mbrtowc) __mbrtowc __asm__ ("" "__GI___mbrtowc") __attribute__ ((visibility ("hidden")));
9290 extern __typeof (__mbrlen) __mbrlen __asm__ ("" "__GI___mbrlen") __attribute__ ((visibility ("hidden")));
9291 extern size_t __wcrtomb (char *__restrict __s, wchar_t __wc,
9292     __mbstate_t *__restrict __ps);
9293 extern size_t __mbsrtowcs (wchar_t *__restrict __dst,
9294       __const char **__restrict __src,
9295       size_t __len, __mbstate_t *__restrict __ps);
9296 extern size_t __wcsrtombs (char *__restrict __dst,
9297       __const wchar_t **__restrict __src,
9298       size_t __len, __mbstate_t *__restrict __ps);
9299 extern size_t __mbsnrtowcs (wchar_t *__restrict __dst,
9300        __const char **__restrict __src, size_t __nmc,
9301        size_t __len, __mbstate_t *__restrict __ps);
9302 extern size_t __wcsnrtombs (char *__restrict __dst,
9303        __const wchar_t **__restrict __src,
9304        size_t __nwc, size_t __len,
9305        __mbstate_t *__restrict __ps);
9306 extern wchar_t *__wcsncpy (wchar_t *__restrict __dest,
9307     __const wchar_t *__restrict __src, size_t __n);
9308 extern wchar_t *__wcpcpy (wchar_t *__dest, __const wchar_t *__src);
9309 extern wchar_t *__wcpncpy (wchar_t *__dest, __const wchar_t *__src,
9310       size_t __n);
9311 extern wchar_t *__wmemcpy (wchar_t *__s1, __const wchar_t *s2,
9312       size_t __n);
9313 extern wchar_t *__wmempcpy (wchar_t *__restrict __s1,
9314        __const wchar_t *__restrict __s2,
9315        size_t __n);
9316 extern wchar_t *__wmemmove (wchar_t *__s1, __const wchar_t *__s2,
9317        size_t __n);
9318 extern wchar_t *__wcschrnul (__const wchar_t *__s, wchar_t __wc)
9319      __attribute__ ((__pure__));
9320
9321 extern int __vfwscanf (__FILE *__restrict __s,
9322          __const wchar_t *__restrict __format,
9323          __gnuc_va_list __arg)
9324                                                          ;
9325 extern int __vswprintf (wchar_t *__restrict __s, size_t __n,
9326    __const wchar_t *__restrict __format,
9327    __gnuc_va_list __arg)
9328                                                            ;
9329 extern int __fwprintf (__FILE *__restrict __s,
9330          __const wchar_t *__restrict __format, ...)
9331                                                            ;
9332 extern int __vfwprintf (__FILE *__restrict __s,
9333    __const wchar_t *__restrict __format,
9334    __gnuc_va_list __arg)
9335                                                            ;
9336 extern int __vfwprintf_chk (FILE *__restrict __s, int __flag,
9337        const wchar_t *__restrict __format,
9338        __gnuc_va_list __arg)
9339                                                            ;
9340 extern int __vswprintf_chk (wchar_t *__restrict __s, size_t __n,
9341        int __flag, size_t __s_len,
9342        __const wchar_t *__restrict __format,
9343        __gnuc_va_list __arg)
9344                                                            ;
9345 extern __typeof (__vfwprintf_chk) __vfwprintf_chk __asm__ ("" "__GI___vfwprintf_chk") __attribute__ ((visibility ("hidden")));
9346 extern __typeof (__vswprintf_chk) __vswprintf_chk __asm__ ("" "__GI___vswprintf_chk") __attribute__ ((visibility ("hidden")));
9347
9348
9349 extern size_t __mbsrtowcs_l (wchar_t *dst, const char **src, size_t len,
9350         mbstate_t *ps, __locale_t l) __attribute__ ((visibility ("hidden")));
9351 # 29 "vfprintf.c" 2
9352 # 1 "../nptl/sysdeps/pthread/bits/libc-lock.h" 1
9353 # 23 "../nptl/sysdeps/pthread/bits/libc-lock.h"
9354 # 1 "../include/pthread.h" 1
9355
9356
9357
9358 extern void __pthread_initialize (void) __attribute__ ((weak));
9359 # 24 "../nptl/sysdeps/pthread/bits/libc-lock.h" 2
9360
9361 # 1 "/usr/lib/gcc/hppa2.0-unknown-linux-gnu/4.1.1/include/stddef.h" 1 3 4
9362 # 26 "../nptl/sysdeps/pthread/bits/libc-lock.h" 2
9363 # 37 "../nptl/sysdeps/pthread/bits/libc-lock.h"
9364 # 1 "../nptl/sysdeps/pthread/pthread-functions.h" 1
9365 # 23 "../nptl/sysdeps/pthread/pthread-functions.h"
9366 # 1 "../include/pthread.h" 1
9367
9368
9369
9370 extern void __pthread_initialize (void) __attribute__ ((weak));
9371 # 24 "../nptl/sysdeps/pthread/pthread-functions.h" 2
9372
9373 # 1 "../ports/sysdeps/unix/sysv/linux/hppa/nptl/internaltypes.h" 1
9374 # 26 "../ports/sysdeps/unix/sysv/linux/hppa/nptl/internaltypes.h"
9375 struct pthread_attr
9376 {
9377
9378   struct sched_param schedparam;
9379   int schedpolicy;
9380
9381   int flags;
9382
9383   size_t guardsize;
9384
9385   void *stackaddr;
9386   size_t stacksize;
9387
9388   cpu_set_t *cpuset;
9389   size_t cpusetsize;
9390 };
9391 # 53 "../ports/sysdeps/unix/sysv/linux/hppa/nptl/internaltypes.h"
9392 struct pthread_mutexattr
9393 {
9394
9395
9396
9397
9398
9399
9400   int mutexkind;
9401 };
9402
9403
9404
9405 struct pthread_condattr
9406 {
9407
9408
9409
9410
9411
9412
9413   int value;
9414 };
9415 # 85 "../ports/sysdeps/unix/sysv/linux/hppa/nptl/internaltypes.h"
9416 struct pthread_rwlockattr
9417 {
9418   int lockkind;
9419   int pshared;
9420 };
9421
9422
9423
9424 struct pthread_barrier
9425 {
9426   unsigned int curr_event;
9427   int lock;
9428   unsigned int left;
9429   unsigned int init_count;
9430 };
9431
9432
9433
9434 struct pthread_barrierattr
9435 {
9436   int pshared;
9437 };
9438
9439
9440
9441 struct pthread_key_struct
9442 {
9443
9444
9445
9446
9447   uintptr_t seq;
9448
9449
9450   void (*destr) (void *);
9451 };
9452 # 140 "../ports/sysdeps/unix/sysv/linux/hppa/nptl/internaltypes.h"
9453 struct sem
9454 {
9455   unsigned int count;
9456 };
9457
9458
9459
9460 typedef struct
9461 {
9462   pthread_cond_t *cond;
9463 } pthread_cond_2_0_t;
9464 # 26 "../nptl/sysdeps/pthread/pthread-functions.h" 2
9465 # 1 "../ports/sysdeps/unix/sysv/linux/hppa/sysdep.h" 1
9466 # 23 "../ports/sysdeps/unix/sysv/linux/hppa/sysdep.h"
9467 # 1 "../sysdeps/generic/sysdep.h" 1
9468 # 24 "../ports/sysdeps/unix/sysv/linux/hppa/sysdep.h" 2
9469 # 27 "../nptl/sysdeps/pthread/pthread-functions.h" 2
9470
9471 struct xid_command;
9472
9473
9474
9475 struct pthread_functions
9476 {
9477   int (*ptr_pthread_attr_destroy) (pthread_attr_t *);
9478   int (*ptr___pthread_attr_init_2_0) (pthread_attr_t *);
9479   int (*ptr___pthread_attr_init_2_1) (pthread_attr_t *);
9480   int (*ptr_pthread_attr_getdetachstate) (const pthread_attr_t *, int *);
9481   int (*ptr_pthread_attr_setdetachstate) (pthread_attr_t *, int);
9482   int (*ptr_pthread_attr_getinheritsched) (const pthread_attr_t *, int *);
9483   int (*ptr_pthread_attr_setinheritsched) (pthread_attr_t *, int);
9484   int (*ptr_pthread_attr_getschedparam) (const pthread_attr_t *,
9485       struct sched_param *);
9486   int (*ptr_pthread_attr_setschedparam) (pthread_attr_t *,
9487       const struct sched_param *);
9488   int (*ptr_pthread_attr_getschedpolicy) (const pthread_attr_t *, int *);
9489   int (*ptr_pthread_attr_setschedpolicy) (pthread_attr_t *, int);
9490   int (*ptr_pthread_attr_getscope) (const pthread_attr_t *, int *);
9491   int (*ptr_pthread_attr_setscope) (pthread_attr_t *, int);
9492   int (*ptr_pthread_condattr_destroy) (pthread_condattr_t *);
9493   int (*ptr_pthread_condattr_init) (pthread_condattr_t *);
9494   int (*ptr___pthread_cond_broadcast) (pthread_cond_t *);
9495   int (*ptr___pthread_cond_destroy) (pthread_cond_t *);
9496   int (*ptr___pthread_cond_init) (pthread_cond_t *,
9497       const pthread_condattr_t *);
9498   int (*ptr___pthread_cond_signal) (pthread_cond_t *);
9499   int (*ptr___pthread_cond_wait) (pthread_cond_t *, pthread_mutex_t *);
9500   int (*ptr___pthread_cond_timedwait) (pthread_cond_t *, pthread_mutex_t *,
9501            const struct timespec *);
9502   int (*ptr___pthread_cond_broadcast_2_0) (pthread_cond_2_0_t *);
9503   int (*ptr___pthread_cond_destroy_2_0) (pthread_cond_2_0_t *);
9504   int (*ptr___pthread_cond_init_2_0) (pthread_cond_2_0_t *,
9505           const pthread_condattr_t *);
9506   int (*ptr___pthread_cond_signal_2_0) (pthread_cond_2_0_t *);
9507   int (*ptr___pthread_cond_wait_2_0) (pthread_cond_2_0_t *, pthread_mutex_t *);
9508   int (*ptr___pthread_cond_timedwait_2_0) (pthread_cond_2_0_t *,
9509         pthread_mutex_t *,
9510         const struct timespec *);
9511   int (*ptr_pthread_equal) (pthread_t, pthread_t);
9512   void (*ptr___pthread_exit) (void *);
9513   int (*ptr_pthread_getschedparam) (pthread_t, int *, struct sched_param *);
9514   int (*ptr_pthread_setschedparam) (pthread_t, int,
9515         const struct sched_param *);
9516   int (*ptr_pthread_mutex_destroy) (pthread_mutex_t *);
9517   int (*ptr_pthread_mutex_init) (pthread_mutex_t *,
9518      const pthread_mutexattr_t *);
9519   int (*ptr_pthread_mutex_lock) (pthread_mutex_t *);
9520   int (*ptr_pthread_mutex_unlock) (pthread_mutex_t *);
9521   pthread_t (*ptr_pthread_self) (void);
9522   int (*ptr_pthread_setcancelstate) (int, int *);
9523   int (*ptr_pthread_setcanceltype) (int, int *);
9524   void (*ptr___pthread_cleanup_upto) (__jmp_buf, char *);
9525   int (*ptr___pthread_once) (pthread_once_t *, void (*) (void));
9526   int (*ptr___pthread_rwlock_rdlock) (pthread_rwlock_t *);
9527   int (*ptr___pthread_rwlock_wrlock) (pthread_rwlock_t *);
9528   int (*ptr___pthread_rwlock_unlock) (pthread_rwlock_t *);
9529   int (*ptr___pthread_key_create) (pthread_key_t *, void (*) (void *));
9530   void *(*ptr___pthread_getspecific) (pthread_key_t);
9531   int (*ptr___pthread_setspecific) (pthread_key_t, const void *);
9532   void (*ptr__pthread_cleanup_push_defer) (struct _pthread_cleanup_buffer *,
9533         void (*) (void *), void *);
9534   void (*ptr__pthread_cleanup_pop_restore) (struct _pthread_cleanup_buffer *,
9535          int);
9536
9537   unsigned int *ptr_nthreads;
9538   void (*ptr___pthread_unwind) (__pthread_unwind_buf_t *)
9539        __attribute ((noreturn)) ;
9540   void (*ptr__nptl_deallocate_tsd) (void);
9541   int (*ptr__nptl_setxid) (struct xid_command *);
9542   void (*ptr_freeres) (void);
9543 };
9544
9545
9546 extern struct pthread_functions __libc_pthread_functions __attribute__ ((visibility ("hidden")));
9547 extern int __libc_pthread_functions_init __attribute__ ((visibility ("hidden")));
9548 # 38 "../nptl/sysdeps/pthread/bits/libc-lock.h" 2
9549 # 46 "../nptl/sysdeps/pthread/bits/libc-lock.h"
9550 typedef int __libc_lock_t;
9551 typedef struct { int lock; int cnt; void *owner; } __libc_lock_recursive_t;
9552
9553 typedef struct { pthread_mutex_t mutex; } __rtld_lock_recursive_t;
9554
9555 typedef pthread_rwlock_t __libc_rwlock_t;
9556 # 62 "../nptl/sysdeps/pthread/bits/libc-lock.h"
9557 typedef pthread_key_t __libc_key_t;
9558 # 374 "../nptl/sysdeps/pthread/bits/libc-lock.h"
9559 extern void _pthread_cleanup_push (struct _pthread_cleanup_buffer *buffer,
9560                                    void (*routine) (void *), void *arg);
9561 extern void _pthread_cleanup_pop (struct _pthread_cleanup_buffer *buffer,
9562                                   int execute);
9563 extern void _pthread_cleanup_push_defer (struct _pthread_cleanup_buffer *buffer,
9564                                          void (*routine) (void *), void *arg);
9565 extern void _pthread_cleanup_pop_restore (struct _pthread_cleanup_buffer *buffer,
9566                                           int execute);
9567 # 417 "../nptl/sysdeps/pthread/bits/libc-lock.h"
9568 extern __inline void
9569 __libc_cleanup_routine (struct __pthread_cleanup_frame *f)
9570 {
9571   if (f->__do_it)
9572     f->__cancel_routine (f->__cancel_arg);
9573 }
9574 # 454 "../nptl/sysdeps/pthread/bits/libc-lock.h"
9575 extern int __register_atfork (void (*__prepare) (void),
9576          void (*__parent) (void),
9577          void (*__child) (void),
9578          void *__dso_handle);
9579
9580
9581
9582
9583 extern int __pthread_mutex_init (pthread_mutex_t *__mutex,
9584      __const pthread_mutexattr_t *__mutex_attr);
9585
9586 extern int __pthread_mutex_destroy (pthread_mutex_t *__mutex);
9587
9588 extern int __pthread_mutex_trylock (pthread_mutex_t *__mutex);
9589
9590 extern int __pthread_mutex_lock (pthread_mutex_t *__mutex);
9591
9592 extern int __pthread_mutex_unlock (pthread_mutex_t *__mutex);
9593
9594 extern int __pthread_mutexattr_init (pthread_mutexattr_t *__attr);
9595
9596 extern int __pthread_mutexattr_destroy (pthread_mutexattr_t *__attr);
9597
9598 extern int __pthread_mutexattr_settype (pthread_mutexattr_t *__attr,
9599      int __kind);
9600
9601
9602 extern int __pthread_rwlock_init (pthread_rwlock_t *__rwlock,
9603       __const pthread_rwlockattr_t *__attr);
9604
9605 extern int __pthread_rwlock_destroy (pthread_rwlock_t *__rwlock);
9606
9607 extern int __pthread_rwlock_rdlock (pthread_rwlock_t *__rwlock);
9608
9609 extern int __pthread_rwlock_tryrdlock (pthread_rwlock_t *__rwlock);
9610
9611 extern int __pthread_rwlock_wrlock (pthread_rwlock_t *__rwlock);
9612
9613 extern int __pthread_rwlock_trywrlock (pthread_rwlock_t *__rwlock);
9614
9615 extern int __pthread_rwlock_unlock (pthread_rwlock_t *__rwlock);
9616
9617
9618 extern int __pthread_key_create (pthread_key_t *__key,
9619      void (*__destr_function) (void *));
9620
9621 extern int __pthread_setspecific (pthread_key_t __key,
9622       __const void *__pointer);
9623
9624 extern void *__pthread_getspecific (pthread_key_t __key);
9625
9626 extern int __pthread_once (pthread_once_t *__once_control,
9627       void (*__init_routine) (void));
9628
9629 extern int __pthread_atfork (void (*__prepare) (void),
9630         void (*__parent) (void),
9631         void (*__child) (void));
9632 # 519 "../nptl/sysdeps/pthread/bits/libc-lock.h"
9633 # 1 "../sysdeps/generic/bp-sym.h" 1
9634 # 520 "../nptl/sysdeps/pthread/bits/libc-lock.h" 2
9635
9636
9637
9638
9639 # 523 "../nptl/sysdeps/pthread/bits/libc-lock.h"
9640 #pragma weak __pthread_mutex_init
9641 # 523 "../nptl/sysdeps/pthread/bits/libc-lock.h"
9642
9643
9644 # 524 "../nptl/sysdeps/pthread/bits/libc-lock.h"
9645 #pragma weak __pthread_mutex_destroy
9646 # 524 "../nptl/sysdeps/pthread/bits/libc-lock.h"
9647
9648
9649 # 525 "../nptl/sysdeps/pthread/bits/libc-lock.h"
9650 #pragma weak __pthread_mutex_lock
9651 # 525 "../nptl/sysdeps/pthread/bits/libc-lock.h"
9652
9653
9654 # 526 "../nptl/sysdeps/pthread/bits/libc-lock.h"
9655 #pragma weak __pthread_mutex_trylock
9656 # 526 "../nptl/sysdeps/pthread/bits/libc-lock.h"
9657
9658
9659 # 527 "../nptl/sysdeps/pthread/bits/libc-lock.h"
9660 #pragma weak __pthread_mutex_unlock
9661 # 527 "../nptl/sysdeps/pthread/bits/libc-lock.h"
9662
9663
9664 # 528 "../nptl/sysdeps/pthread/bits/libc-lock.h"
9665 #pragma weak __pthread_mutexattr_init
9666 # 528 "../nptl/sysdeps/pthread/bits/libc-lock.h"
9667
9668
9669 # 529 "../nptl/sysdeps/pthread/bits/libc-lock.h"
9670 #pragma weak __pthread_mutexattr_destroy
9671 # 529 "../nptl/sysdeps/pthread/bits/libc-lock.h"
9672
9673
9674 # 530 "../nptl/sysdeps/pthread/bits/libc-lock.h"
9675 #pragma weak __pthread_mutexattr_settype
9676 # 530 "../nptl/sysdeps/pthread/bits/libc-lock.h"
9677
9678
9679 # 531 "../nptl/sysdeps/pthread/bits/libc-lock.h"
9680 #pragma weak __pthread_rwlock_init
9681 # 531 "../nptl/sysdeps/pthread/bits/libc-lock.h"
9682
9683
9684 # 532 "../nptl/sysdeps/pthread/bits/libc-lock.h"
9685 #pragma weak __pthread_rwlock_destroy
9686 # 532 "../nptl/sysdeps/pthread/bits/libc-lock.h"
9687
9688
9689 # 533 "../nptl/sysdeps/pthread/bits/libc-lock.h"
9690 #pragma weak __pthread_rwlock_rdlock
9691 # 533 "../nptl/sysdeps/pthread/bits/libc-lock.h"
9692
9693
9694 # 534 "../nptl/sysdeps/pthread/bits/libc-lock.h"
9695 #pragma weak __pthread_rwlock_tryrdlock
9696 # 534 "../nptl/sysdeps/pthread/bits/libc-lock.h"
9697
9698
9699 # 535 "../nptl/sysdeps/pthread/bits/libc-lock.h"
9700 #pragma weak __pthread_rwlock_wrlock
9701 # 535 "../nptl/sysdeps/pthread/bits/libc-lock.h"
9702
9703
9704 # 536 "../nptl/sysdeps/pthread/bits/libc-lock.h"
9705 #pragma weak __pthread_rwlock_trywrlock
9706 # 536 "../nptl/sysdeps/pthread/bits/libc-lock.h"
9707
9708
9709 # 537 "../nptl/sysdeps/pthread/bits/libc-lock.h"
9710 #pragma weak __pthread_rwlock_unlock
9711 # 537 "../nptl/sysdeps/pthread/bits/libc-lock.h"
9712
9713
9714 # 538 "../nptl/sysdeps/pthread/bits/libc-lock.h"
9715 #pragma weak __pthread_key_create
9716 # 538 "../nptl/sysdeps/pthread/bits/libc-lock.h"
9717
9718
9719 # 539 "../nptl/sysdeps/pthread/bits/libc-lock.h"
9720 #pragma weak __pthread_setspecific
9721 # 539 "../nptl/sysdeps/pthread/bits/libc-lock.h"
9722
9723
9724 # 540 "../nptl/sysdeps/pthread/bits/libc-lock.h"
9725 #pragma weak __pthread_getspecific
9726 # 540 "../nptl/sysdeps/pthread/bits/libc-lock.h"
9727
9728
9729 # 541 "../nptl/sysdeps/pthread/bits/libc-lock.h"
9730 #pragma weak __pthread_once
9731 # 541 "../nptl/sysdeps/pthread/bits/libc-lock.h"
9732
9733
9734 # 542 "../nptl/sysdeps/pthread/bits/libc-lock.h"
9735 #pragma weak __pthread_initialize
9736 # 542 "../nptl/sysdeps/pthread/bits/libc-lock.h"
9737
9738
9739 # 543 "../nptl/sysdeps/pthread/bits/libc-lock.h"
9740 #pragma weak __pthread_atfork
9741 # 543 "../nptl/sysdeps/pthread/bits/libc-lock.h"
9742
9743
9744 # 544 "../nptl/sysdeps/pthread/bits/libc-lock.h"
9745 #pragma weak _pthread_cleanup_push_defer
9746 # 544 "../nptl/sysdeps/pthread/bits/libc-lock.h"
9747
9748
9749 # 545 "../nptl/sysdeps/pthread/bits/libc-lock.h"
9750 #pragma weak _pthread_cleanup_pop_restore
9751 # 545 "../nptl/sysdeps/pthread/bits/libc-lock.h"
9752
9753
9754 # 546 "../nptl/sysdeps/pthread/bits/libc-lock.h"
9755 #pragma weak pthread_setcancelstate
9756 # 546 "../nptl/sysdeps/pthread/bits/libc-lock.h"
9757
9758 # 30 "vfprintf.c" 2
9759
9760 # 1 "_itoa.h" 1
9761 # 23 "_itoa.h"
9762 # 1 "../include/limits.h" 1
9763 # 145 "../include/limits.h"
9764 # 1 "../include/bits/posix1_lim.h" 1
9765 # 146 "../include/limits.h" 2
9766
9767
9768
9769 # 1 "../include/bits/posix2_lim.h" 1
9770 # 150 "../include/limits.h" 2
9771 # 24 "_itoa.h" 2
9772
9773
9774
9775
9776
9777
9778 extern char *_itoa (unsigned long long int value, char *buflim,
9779       unsigned int base, int upper_case);
9780
9781 extern const char _itoa_upper_digits[];
9782 extern const char _itoa_upper_digits_internal[] __attribute__ ((visibility ("hidden")));
9783 extern const char _itoa_lower_digits[];
9784 extern const char _itoa_lower_digits_internal[] __attribute__ ((visibility ("hidden")));
9785
9786
9787 extern char *_itoa_word (unsigned long value, char *buflim,
9788     unsigned int base, int upper_case);
9789 # 80 "_itoa.h"
9790 extern char *_fitoa_word (unsigned long value, char *buf, unsigned int base,
9791      int upper_case) __attribute__ ((visibility ("hidden")));
9792 extern char *_fitoa (unsigned long long value, char *buf, unsigned int base,
9793        int upper_case) __attribute__ ((visibility ("hidden")));
9794 # 32 "vfprintf.c" 2
9795 # 1 "../locale/localeinfo.h" 1
9796 # 33 "vfprintf.c" 2
9797 # 1 "../include/stdio.h" 1
9798
9799
9800
9801
9802 # 1 "../libio/stdio.h" 1
9803 # 30 "../libio/stdio.h"
9804
9805
9806
9807
9808 # 1 "/usr/lib/gcc/hppa2.0-unknown-linux-gnu/4.1.1/include/stddef.h" 1 3 4
9809 # 35 "../libio/stdio.h" 2
9810 # 72 "../libio/stdio.h"
9811 # 1 "../include/libio.h" 1
9812 # 1 "../libio/libio.h" 1
9813 # 32 "../libio/libio.h"
9814 # 1 "../sysdeps/gnu/_G_config.h" 1
9815 # 14 "../sysdeps/gnu/_G_config.h"
9816 # 1 "/usr/lib/gcc/hppa2.0-unknown-linux-gnu/4.1.1/include/stddef.h" 1 3 4
9817 # 15 "../sysdeps/gnu/_G_config.h" 2
9818 # 26 "../sysdeps/gnu/_G_config.h"
9819 typedef struct
9820 {
9821   __off_t __pos;
9822   __mbstate_t __state;
9823 } _G_fpos_t;
9824 typedef struct
9825 {
9826   __off64_t __pos;
9827   __mbstate_t __state;
9828 } _G_fpos64_t;
9829 # 44 "../sysdeps/gnu/_G_config.h"
9830 # 1 "../include/gconv.h" 1
9831 # 1 "../iconv/gconv.h" 1
9832 # 31 "../iconv/gconv.h"
9833 # 1 "/usr/lib/gcc/hppa2.0-unknown-linux-gnu/4.1.1/include/stddef.h" 1 3 4
9834 # 32 "../iconv/gconv.h" 2
9835
9836
9837
9838
9839
9840 enum
9841 {
9842   __GCONV_OK = 0,
9843   __GCONV_NOCONV,
9844   __GCONV_NODB,
9845   __GCONV_NOMEM,
9846
9847   __GCONV_EMPTY_INPUT,
9848   __GCONV_FULL_OUTPUT,
9849   __GCONV_ILLEGAL_INPUT,
9850   __GCONV_INCOMPLETE_INPUT,
9851
9852   __GCONV_ILLEGAL_DESCRIPTOR,
9853   __GCONV_INTERNAL_ERROR
9854 };
9855
9856
9857
9858 enum
9859 {
9860   __GCONV_IS_LAST = 0x0001,
9861   __GCONV_IGNORE_ERRORS = 0x0002
9862 };
9863
9864
9865
9866 struct __gconv_step;
9867 struct __gconv_step_data;
9868 struct __gconv_loaded_object;
9869 struct __gconv_trans_data;
9870
9871
9872
9873 typedef int (*__gconv_fct) (struct __gconv_step *, struct __gconv_step_data *,
9874        __const unsigned char **, __const unsigned char *,
9875        unsigned char **, size_t *, int, int);
9876
9877
9878 typedef wint_t (*__gconv_btowc_fct) (struct __gconv_step *, unsigned char);
9879
9880
9881 typedef int (*__gconv_init_fct) (struct __gconv_step *);
9882 typedef void (*__gconv_end_fct) (struct __gconv_step *);
9883
9884
9885
9886 typedef int (*__gconv_trans_fct) (struct __gconv_step *,
9887       struct __gconv_step_data *, void *,
9888       __const unsigned char *,
9889       __const unsigned char **,
9890       __const unsigned char *, unsigned char **,
9891       size_t *);
9892
9893
9894 typedef int (*__gconv_trans_context_fct) (void *, __const unsigned char *,
9895        __const unsigned char *,
9896        unsigned char *, unsigned char *);
9897
9898
9899 typedef int (*__gconv_trans_query_fct) (__const char *, __const char ***,
9900      size_t *);
9901
9902
9903 typedef int (*__gconv_trans_init_fct) (void **, const char *);
9904 typedef void (*__gconv_trans_end_fct) (void *);
9905
9906 struct __gconv_trans_data
9907 {
9908
9909   __gconv_trans_fct __trans_fct;
9910   __gconv_trans_context_fct __trans_context_fct;
9911   __gconv_trans_end_fct __trans_end_fct;
9912   void *__data;
9913   struct __gconv_trans_data *__next;
9914 };
9915
9916
9917
9918 struct __gconv_step
9919 {
9920   struct __gconv_loaded_object *__shlib_handle;
9921   __const char *__modname;
9922
9923   int __counter;
9924
9925   char *__from_name;
9926   char *__to_name;
9927
9928   __gconv_fct __fct;
9929   __gconv_btowc_fct __btowc_fct;
9930   __gconv_init_fct __init_fct;
9931   __gconv_end_fct __end_fct;
9932
9933
9934
9935   int __min_needed_from;
9936   int __max_needed_from;
9937   int __min_needed_to;
9938   int __max_needed_to;
9939
9940
9941   int __stateful;
9942
9943   void *__data;
9944 };
9945
9946
9947
9948 struct __gconv_step_data
9949 {
9950   unsigned char *__outbuf;
9951   unsigned char *__outbufend;
9952
9953
9954
9955   int __flags;
9956
9957
9958
9959   int __invocation_counter;
9960
9961
9962
9963   int __internal_use;
9964
9965   __mbstate_t *__statep;
9966   __mbstate_t __state;
9967
9968
9969
9970   struct __gconv_trans_data *__trans;
9971 };
9972
9973
9974
9975 typedef struct __gconv_info
9976 {
9977   size_t __nsteps;
9978   struct __gconv_step *__steps;
9979   __extension__ struct __gconv_step_data __data [];
9980 } *__gconv_t;
9981 # 1 "../include/gconv.h" 2
9982 # 45 "../sysdeps/gnu/_G_config.h" 2
9983 typedef union
9984 {
9985   struct __gconv_info __cd;
9986   struct
9987   {
9988     struct __gconv_info __cd;
9989     struct __gconv_step_data __data;
9990   } __combined;
9991 } _G_iconv_t;
9992
9993 typedef int _G_int16_t __attribute__ ((__mode__ (__HI__)));
9994 typedef int _G_int32_t __attribute__ ((__mode__ (__SI__)));
9995 typedef unsigned int _G_uint16_t __attribute__ ((__mode__ (__HI__)));
9996 typedef unsigned int _G_uint32_t __attribute__ ((__mode__ (__SI__)));
9997 # 33 "../libio/libio.h" 2
9998 # 167 "../libio/libio.h"
9999 struct _IO_jump_t; struct _IO_FILE;
10000
10001
10002
10003
10004 # 1 "../nptl/sysdeps/pthread/bits/stdio-lock.h" 1
10005 # 30 "../nptl/sysdeps/pthread/bits/stdio-lock.h"
10006 typedef struct { int lock; int cnt; void *owner; } _IO_lock_t;
10007 # 173 "../libio/libio.h" 2
10008 # 183 "../libio/libio.h"
10009 struct _IO_marker {
10010   struct _IO_marker *_next;
10011   struct _IO_FILE *_sbuf;
10012
10013
10014
10015   int _pos;
10016 # 200 "../libio/libio.h"
10017 };
10018
10019
10020 enum __codecvt_result
10021 {
10022   __codecvt_ok,
10023   __codecvt_partial,
10024   __codecvt_error,
10025   __codecvt_noconv
10026 };
10027
10028
10029
10030
10031 struct _IO_codecvt
10032 {
10033   void (*__codecvt_destr) (struct _IO_codecvt *);
10034   enum __codecvt_result (*__codecvt_do_out) (struct _IO_codecvt *,
10035           __mbstate_t *,
10036           const wchar_t *,
10037           const wchar_t *,
10038           const wchar_t **, char *,
10039           char *, char **);
10040   enum __codecvt_result (*__codecvt_do_unshift) (struct _IO_codecvt *,
10041        __mbstate_t *, char *,
10042        char *, char **);
10043   enum __codecvt_result (*__codecvt_do_in) (struct _IO_codecvt *,
10044          __mbstate_t *,
10045          const char *, const char *,
10046          const char **, wchar_t *,
10047          wchar_t *, wchar_t **);
10048   int (*__codecvt_do_encoding) (struct _IO_codecvt *);
10049   int (*__codecvt_do_always_noconv) (struct _IO_codecvt *);
10050   int (*__codecvt_do_length) (struct _IO_codecvt *, __mbstate_t *,
10051          const char *, const char *, size_t);
10052   int (*__codecvt_do_max_length) (struct _IO_codecvt *);
10053
10054   _G_iconv_t __cd_in;
10055   _G_iconv_t __cd_out;
10056 };
10057
10058
10059 struct _IO_wide_data
10060 {
10061   wchar_t *_IO_read_ptr;
10062   wchar_t *_IO_read_end;
10063   wchar_t *_IO_read_base;
10064   wchar_t *_IO_write_base;
10065   wchar_t *_IO_write_ptr;
10066   wchar_t *_IO_write_end;
10067   wchar_t *_IO_buf_base;
10068   wchar_t *_IO_buf_end;
10069
10070   wchar_t *_IO_save_base;
10071   wchar_t *_IO_backup_base;
10072
10073   wchar_t *_IO_save_end;
10074
10075   __mbstate_t _IO_state;
10076   __mbstate_t _IO_last_state;
10077   struct _IO_codecvt _codecvt;
10078
10079   wchar_t _shortbuf[1];
10080
10081   const struct _IO_jump_t *_wide_vtable;
10082 };
10083
10084
10085 struct _IO_FILE {
10086   int _flags;
10087
10088
10089
10090
10091   char* _IO_read_ptr;
10092   char* _IO_read_end;
10093   char* _IO_read_base;
10094   char* _IO_write_base;
10095   char* _IO_write_ptr;
10096   char* _IO_write_end;
10097   char* _IO_buf_base;
10098   char* _IO_buf_end;
10099
10100   char *_IO_save_base;
10101   char *_IO_backup_base;
10102   char *_IO_save_end;
10103
10104   struct _IO_marker *_markers;
10105
10106   struct _IO_FILE *_chain;
10107
10108   int _fileno;
10109
10110
10111
10112   int _flags2;
10113
10114   __off_t _old_offset;
10115
10116
10117
10118   unsigned short _cur_column;
10119   signed char _vtable_offset;
10120   char _shortbuf[1];
10121
10122
10123
10124   _IO_lock_t *_lock;
10125 # 316 "../libio/libio.h"
10126   __off64_t _offset;
10127
10128
10129   struct _IO_codecvt *_codecvt;
10130   struct _IO_wide_data *_wide_data;
10131   struct _IO_FILE *_freeres_list;
10132   void *_freeres_buf;
10133   size_t _freeres_size;
10134
10135
10136
10137
10138
10139
10140
10141   int _mode;
10142
10143   char _unused2[15 * sizeof (int) - 4 * sizeof (void *) - sizeof (size_t)];
10144
10145 };
10146
10147
10148 typedef struct _IO_FILE _IO_FILE;
10149
10150
10151 struct _IO_FILE_plus;
10152
10153 extern struct _IO_FILE_plus _IO_2_1_stdin_;
10154 extern struct _IO_FILE_plus _IO_2_1_stdout_;
10155 extern struct _IO_FILE_plus _IO_2_1_stderr_;
10156
10157
10158
10159
10160
10161 extern _IO_FILE *_IO_stdin __attribute__ ((visibility ("hidden")));
10162 extern _IO_FILE *_IO_stdout __attribute__ ((visibility ("hidden")));
10163 extern _IO_FILE *_IO_stderr __attribute__ ((visibility ("hidden")));
10164
10165
10166
10167
10168
10169
10170
10171 typedef __ssize_t __io_read_fn (void *__cookie, char *__buf, size_t __nbytes);
10172
10173
10174
10175
10176
10177
10178
10179 typedef __ssize_t __io_write_fn (void *__cookie, __const char *__buf,
10180      size_t __n);
10181
10182
10183
10184
10185
10186
10187
10188 typedef int __io_seek_fn (void *__cookie, __off64_t *__pos, int __w);
10189
10190
10191 typedef int __io_close_fn (void *__cookie);
10192
10193
10194
10195
10196 typedef __io_read_fn cookie_read_function_t;
10197 typedef __io_write_fn cookie_write_function_t;
10198 typedef __io_seek_fn cookie_seek_function_t;
10199 typedef __io_close_fn cookie_close_function_t;
10200
10201
10202 typedef struct
10203 {
10204   __io_read_fn *read;
10205   __io_write_fn *write;
10206   __io_seek_fn *seek;
10207   __io_close_fn *close;
10208 } _IO_cookie_io_functions_t;
10209 typedef _IO_cookie_io_functions_t cookie_io_functions_t;
10210
10211 struct _IO_cookie_file;
10212
10213
10214 extern void _IO_cookie_init (struct _IO_cookie_file *__cfile, int __read_write,
10215         void *__cookie, _IO_cookie_io_functions_t __fns);
10216
10217
10218
10219
10220
10221
10222
10223 extern int __underflow (_IO_FILE *) __attribute__ ((__nothrow__));
10224 extern int __uflow (_IO_FILE *) __attribute__ ((__nothrow__));
10225 extern int __overflow (_IO_FILE *, int) __attribute__ ((__nothrow__));
10226 extern wint_t __wunderflow (_IO_FILE *) __attribute__ ((__nothrow__));
10227 extern wint_t __wuflow (_IO_FILE *) __attribute__ ((__nothrow__));
10228 extern wint_t __woverflow (_IO_FILE *, wint_t) __attribute__ ((__nothrow__));
10229 # 451 "../libio/libio.h"
10230 extern int _IO_getc (_IO_FILE *__fp) __attribute__ ((__nothrow__));
10231 extern int _IO_putc (int __c, _IO_FILE *__fp) __attribute__ ((__nothrow__));
10232 extern int _IO_feof (_IO_FILE *__fp) __attribute__ ((__nothrow__));
10233 extern int _IO_ferror (_IO_FILE *__fp) __attribute__ ((__nothrow__));
10234
10235 extern int _IO_peekc_locked (_IO_FILE *__fp) __attribute__ ((__nothrow__));
10236
10237
10238
10239
10240
10241 extern void _IO_flockfile (_IO_FILE *) __attribute__ ((__nothrow__));
10242 extern void _IO_funlockfile (_IO_FILE *) __attribute__ ((__nothrow__));
10243 extern int _IO_ftrylockfile (_IO_FILE *) __attribute__ ((__nothrow__));
10244 # 481 "../libio/libio.h"
10245 extern int _IO_vfscanf (_IO_FILE * __restrict, const char * __restrict,
10246    __gnuc_va_list, int *__restrict);
10247 extern int _IO_vfprintf (_IO_FILE *__restrict, const char *__restrict,
10248     __gnuc_va_list);
10249 extern __ssize_t _IO_padn (_IO_FILE *, int, __ssize_t) __attribute__ ((__nothrow__));
10250 extern size_t _IO_sgetn (_IO_FILE *, void *, size_t) __attribute__ ((__nothrow__));
10251
10252 extern __off64_t _IO_seekoff (_IO_FILE *, __off64_t, int, int) __attribute__ ((__nothrow__));
10253 extern __off64_t _IO_seekpos (_IO_FILE *, __off64_t, int) __attribute__ ((__nothrow__));
10254
10255 extern void _IO_free_backup_area (_IO_FILE *) __attribute__ ((__nothrow__));
10256
10257
10258 extern wint_t _IO_getwc (_IO_FILE *__fp) __attribute__ ((__nothrow__));
10259 extern wint_t _IO_putwc (wchar_t __wc, _IO_FILE *__fp) __attribute__ ((__nothrow__));
10260 extern int _IO_fwide (_IO_FILE *__fp, int __mode) __attribute__ ((__nothrow__));
10261
10262
10263
10264
10265 # 1 "../include/shlib-compat.h" 1
10266 # 26 "../include/shlib-compat.h"
10267 # 1 "/var/tmp/portage/glibc-2.5/work/build-default-hppa2.0-unknown-linux-gnu-nptl/abi-versions.h" 1
10268 # 27 "../include/shlib-compat.h" 2
10269 # 502 "../libio/libio.h" 2
10270 # 530 "../libio/libio.h"
10271 extern int _IO_vfwscanf (_IO_FILE * __restrict, const wchar_t * __restrict,
10272     __gnuc_va_list, int *__restrict);
10273 extern int _IO_vfwprintf (_IO_FILE *__restrict, const wchar_t *__restrict,
10274      __gnuc_va_list);
10275 extern __ssize_t _IO_wpadn (_IO_FILE *, wint_t, __ssize_t) __attribute__ ((__nothrow__));
10276 extern void _IO_free_wbackup_area (_IO_FILE *) __attribute__ ((__nothrow__));
10277 # 2 "../include/libio.h" 2
10278
10279
10280
10281
10282 extern __typeof (__overflow) __overflow __asm__ ("" "__GI___overflow") __attribute__ ((visibility ("hidden")));
10283 extern __typeof (__underflow) __underflow __asm__ ("" "__GI___underflow") __attribute__ ((visibility ("hidden")));
10284 extern __typeof (__uflow) __uflow __asm__ ("" "__GI___uflow") __attribute__ ((visibility ("hidden")));
10285 extern __typeof (__woverflow) __woverflow __asm__ ("" "__GI___woverflow") __attribute__ ((visibility ("hidden")));
10286 extern __typeof (__wunderflow) __wunderflow __asm__ ("" "__GI___wunderflow") __attribute__ ((visibility ("hidden")));
10287 extern __typeof (__wuflow) __wuflow __asm__ ("" "__GI___wuflow") __attribute__ ((visibility ("hidden")));
10288 # 73 "../libio/stdio.h" 2
10289 # 86 "../libio/stdio.h"
10290
10291
10292 typedef _G_fpos_t fpos_t;
10293
10294
10295
10296
10297
10298 typedef _G_fpos64_t fpos64_t;
10299 # 138 "../libio/stdio.h"
10300 # 1 "/var/tmp/portage/glibc-2.5/work/build-default-hppa2.0-unknown-linux-gnu-nptl/bits/stdio_lim.h" 1
10301 # 139 "../libio/stdio.h" 2
10302
10303
10304
10305 extern struct _IO_FILE *stdin;
10306 extern struct _IO_FILE *stdout;
10307 extern struct _IO_FILE *stderr;
10308
10309
10310
10311
10312
10313
10314
10315 extern int remove (__const char *__filename) __attribute__ ((__nothrow__));
10316
10317 extern int rename (__const char *__old, __const char *__new) __attribute__ ((__nothrow__));
10318
10319
10320
10321
10322 extern int renameat (int __oldfd, __const char *__old, int __newfd,
10323        __const char *__new) __attribute__ ((__nothrow__));
10324
10325
10326
10327
10328
10329
10330
10331
10332 extern FILE *tmpfile (void) ;
10333 # 179 "../libio/stdio.h"
10334 extern FILE *tmpfile64 (void) ;
10335
10336
10337
10338 extern char *tmpnam (char *__s) __attribute__ ((__nothrow__)) ;
10339
10340
10341
10342
10343
10344 extern char *tmpnam_r (char *__s) __attribute__ ((__nothrow__)) ;
10345 # 201 "../libio/stdio.h"
10346 extern char *tempnam (__const char *__dir, __const char *__pfx)
10347      __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) ;
10348
10349
10350
10351
10352
10353
10354
10355
10356 extern int fclose (FILE *__stream);
10357
10358
10359
10360
10361 extern int fflush (FILE *__stream);
10362
10363 # 226 "../libio/stdio.h"
10364 extern int fflush_unlocked (FILE *__stream);
10365 # 236 "../libio/stdio.h"
10366 extern int fcloseall (void);
10367
10368
10369
10370
10371
10372
10373
10374
10375
10376 extern FILE *fopen (__const char *__restrict __filename,
10377       __const char *__restrict __modes) ;
10378
10379
10380
10381
10382 extern FILE *freopen (__const char *__restrict __filename,
10383         __const char *__restrict __modes,
10384         FILE *__restrict __stream) ;
10385 # 269 "../libio/stdio.h"
10386
10387
10388 extern FILE *fopen64 (__const char *__restrict __filename,
10389         __const char *__restrict __modes) ;
10390 extern FILE *freopen64 (__const char *__restrict __filename,
10391    __const char *__restrict __modes,
10392    FILE *__restrict __stream) ;
10393
10394
10395
10396
10397 extern FILE *fdopen (int __fd, __const char *__modes) __attribute__ ((__nothrow__)) ;
10398
10399
10400
10401
10402
10403 extern FILE *fopencookie (void *__restrict __magic_cookie,
10404      __const char *__restrict __modes,
10405      _IO_cookie_io_functions_t __io_funcs) __attribute__ ((__nothrow__)) ;
10406
10407
10408 extern FILE *fmemopen (void *__s, size_t __len, __const char *__modes)
10409   __attribute__ ((__nothrow__)) ;
10410
10411
10412
10413
10414 extern FILE *open_memstream (char **__bufloc, size_t *__sizeloc) __attribute__ ((__nothrow__)) ;
10415
10416
10417
10418
10419
10420
10421 extern void setbuf (FILE *__restrict __stream, char *__restrict __buf) __attribute__ ((__nothrow__));
10422
10423
10424
10425 extern int setvbuf (FILE *__restrict __stream, char *__restrict __buf,
10426       int __modes, size_t __n) __attribute__ ((__nothrow__));
10427
10428
10429
10430
10431
10432 extern void setbuffer (FILE *__restrict __stream, char *__restrict __buf,
10433          size_t __size) __attribute__ ((__nothrow__));
10434
10435
10436 extern void setlinebuf (FILE *__stream) __attribute__ ((__nothrow__));
10437
10438
10439
10440
10441
10442
10443
10444
10445 extern int fprintf (FILE *__restrict __stream,
10446       __const char *__restrict __format, ...);
10447
10448
10449
10450
10451 extern int printf (__const char *__restrict __format, ...);
10452
10453 extern int sprintf (char *__restrict __s,
10454       __const char *__restrict __format, ...) __attribute__ ((__nothrow__));
10455
10456
10457
10458
10459
10460 extern int vfprintf (FILE *__restrict __s, __const char *__restrict __format,
10461        __gnuc_va_list __arg);
10462
10463
10464
10465
10466 extern int vprintf (__const char *__restrict __format, __gnuc_va_list __arg);
10467
10468 extern int vsprintf (char *__restrict __s, __const char *__restrict __format,
10469        __gnuc_va_list __arg) __attribute__ ((__nothrow__));
10470
10471
10472
10473
10474
10475 extern int snprintf (char *__restrict __s, size_t __maxlen,
10476        __const char *__restrict __format, ...)
10477      __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 4)));
10478
10479 extern int vsnprintf (char *__restrict __s, size_t __maxlen,
10480         __const char *__restrict __format, __gnuc_va_list __arg)
10481      __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 0)));
10482
10483
10484
10485
10486
10487
10488 extern int vasprintf (char **__restrict __ptr, __const char *__restrict __f,
10489         __gnuc_va_list __arg)
10490      __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 0))) ;
10491 extern int __asprintf (char **__restrict __ptr,
10492          __const char *__restrict __fmt, ...)
10493      __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 3))) ;
10494 extern int asprintf (char **__restrict __ptr,
10495        __const char *__restrict __fmt, ...)
10496      __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 3))) ;
10497
10498
10499
10500
10501
10502
10503
10504 extern int vdprintf (int __fd, __const char *__restrict __fmt,
10505        __gnuc_va_list __arg)
10506      __attribute__ ((__format__ (__printf__, 2, 0)));
10507 extern int dprintf (int __fd, __const char *__restrict __fmt, ...)
10508      __attribute__ ((__format__ (__printf__, 2, 3)));
10509
10510
10511
10512
10513
10514
10515
10516
10517 extern int fscanf (FILE *__restrict __stream,
10518      __const char *__restrict __format, ...) ;
10519
10520
10521
10522
10523 extern int scanf (__const char *__restrict __format, ...) ;
10524
10525 extern int sscanf (__const char *__restrict __s,
10526      __const char *__restrict __format, ...) __attribute__ ((__nothrow__));
10527
10528
10529
10530
10531
10532
10533
10534
10535 extern int vfscanf (FILE *__restrict __s, __const char *__restrict __format,
10536       __gnuc_va_list __arg)
10537      __attribute__ ((__format__ (__scanf__, 2, 0))) ;
10538
10539
10540
10541
10542
10543 extern int vscanf (__const char *__restrict __format, __gnuc_va_list __arg)
10544      __attribute__ ((__format__ (__scanf__, 1, 0))) ;
10545
10546
10547 extern int vsscanf (__const char *__restrict __s,
10548       __const char *__restrict __format, __gnuc_va_list __arg)
10549      __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__scanf__, 2, 0)));
10550
10551
10552
10553
10554
10555
10556
10557
10558
10559 extern int fgetc (FILE *__stream);
10560 extern int getc (FILE *__stream);
10561
10562
10563
10564
10565
10566 extern int getchar (void);
10567
10568 # 461 "../libio/stdio.h"
10569 extern int getc_unlocked (FILE *__stream);
10570 extern int getchar_unlocked (void);
10571 # 472 "../libio/stdio.h"
10572 extern int fgetc_unlocked (FILE *__stream);
10573
10574
10575
10576
10577
10578
10579
10580
10581
10582
10583
10584 extern int fputc (int __c, FILE *__stream);
10585 extern int putc (int __c, FILE *__stream);
10586
10587
10588
10589
10590
10591 extern int putchar (int __c);
10592
10593 # 505 "../libio/stdio.h"
10594 extern int fputc_unlocked (int __c, FILE *__stream);
10595
10596
10597
10598
10599
10600
10601
10602 extern int putc_unlocked (int __c, FILE *__stream);
10603 extern int putchar_unlocked (int __c);
10604
10605
10606
10607
10608
10609
10610 extern int getw (FILE *__stream);
10611
10612
10613 extern int putw (int __w, FILE *__stream);
10614
10615
10616
10617
10618
10619
10620
10621
10622 extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream)
10623      ;
10624
10625
10626
10627
10628
10629
10630 extern char *gets (char *__s) ;
10631
10632 # 551 "../libio/stdio.h"
10633 extern char *fgets_unlocked (char *__restrict __s, int __n,
10634         FILE *__restrict __stream) ;
10635 # 567 "../libio/stdio.h"
10636 extern __ssize_t __getdelim (char **__restrict __lineptr,
10637           size_t *__restrict __n, int __delimiter,
10638           FILE *__restrict __stream) ;
10639 extern __ssize_t getdelim (char **__restrict __lineptr,
10640         size_t *__restrict __n, int __delimiter,
10641         FILE *__restrict __stream) ;
10642
10643
10644
10645
10646
10647
10648
10649 extern __ssize_t getline (char **__restrict __lineptr,
10650        size_t *__restrict __n,
10651        FILE *__restrict __stream) ;
10652
10653
10654
10655
10656
10657
10658
10659
10660 extern int fputs (__const char *__restrict __s, FILE *__restrict __stream);
10661
10662
10663
10664
10665
10666 extern int puts (__const char *__s);
10667
10668
10669
10670
10671
10672
10673 extern int ungetc (int __c, FILE *__stream);
10674
10675
10676
10677
10678
10679
10680 extern size_t fread (void *__restrict __ptr, size_t __size,
10681        size_t __n, FILE *__restrict __stream) ;
10682
10683
10684
10685
10686 extern size_t fwrite (__const void *__restrict __ptr, size_t __size,
10687         size_t __n, FILE *__restrict __s) ;
10688
10689 # 628 "../libio/stdio.h"
10690 extern int fputs_unlocked (__const char *__restrict __s,
10691       FILE *__restrict __stream);
10692 # 639 "../libio/stdio.h"
10693 extern size_t fread_unlocked (void *__restrict __ptr, size_t __size,
10694          size_t __n, FILE *__restrict __stream) ;
10695 extern size_t fwrite_unlocked (__const void *__restrict __ptr, size_t __size,
10696           size_t __n, FILE *__restrict __stream) ;
10697
10698
10699
10700
10701
10702
10703
10704
10705 extern int fseek (FILE *__stream, long int __off, int __whence);
10706
10707
10708
10709
10710 extern long int ftell (FILE *__stream) ;
10711
10712
10713
10714
10715 extern void rewind (FILE *__stream);
10716
10717 # 675 "../libio/stdio.h"
10718 extern int fseeko (FILE *__stream, __off_t __off, int __whence);
10719
10720
10721
10722
10723 extern __off_t ftello (FILE *__stream) ;
10724 # 694 "../libio/stdio.h"
10725
10726
10727
10728
10729
10730
10731 extern int fgetpos (FILE *__restrict __stream, fpos_t *__restrict __pos);
10732
10733
10734
10735
10736 extern int fsetpos (FILE *__stream, __const fpos_t *__pos);
10737 # 717 "../libio/stdio.h"
10738
10739
10740
10741 extern int fseeko64 (FILE *__stream, __off64_t __off, int __whence);
10742 extern __off64_t ftello64 (FILE *__stream) ;
10743 extern int fgetpos64 (FILE *__restrict __stream, fpos64_t *__restrict __pos);
10744 extern int fsetpos64 (FILE *__stream, __const fpos64_t *__pos);
10745
10746
10747
10748
10749 extern void clearerr (FILE *__stream) __attribute__ ((__nothrow__));
10750
10751 extern int feof (FILE *__stream) __attribute__ ((__nothrow__)) ;
10752
10753 extern int ferror (FILE *__stream) __attribute__ ((__nothrow__)) ;
10754
10755
10756
10757
10758 extern void clearerr_unlocked (FILE *__stream) __attribute__ ((__nothrow__));
10759 extern int feof_unlocked (FILE *__stream) __attribute__ ((__nothrow__)) ;
10760 extern int ferror_unlocked (FILE *__stream) __attribute__ ((__nothrow__)) ;
10761
10762
10763
10764
10765
10766
10767
10768
10769 extern void perror (__const char *__s);
10770
10771
10772
10773
10774
10775
10776 # 1 "../sysdeps/unix/sysv/linux/bits/sys_errlist.h" 1
10777 # 27 "../sysdeps/unix/sysv/linux/bits/sys_errlist.h"
10778 extern int sys_nerr;
10779 extern __const char *__const sys_errlist[];
10780
10781
10782 extern int _sys_nerr;
10783 extern __const char *__const _sys_errlist[];
10784 # 756 "../libio/stdio.h" 2
10785
10786
10787
10788
10789 extern int fileno (FILE *__stream) __attribute__ ((__nothrow__)) ;
10790
10791
10792
10793
10794 extern int fileno_unlocked (FILE *__stream) __attribute__ ((__nothrow__)) ;
10795 # 775 "../libio/stdio.h"
10796 extern FILE *popen (__const char *__command, __const char *__modes) ;
10797
10798
10799
10800
10801
10802 extern int pclose (FILE *__stream);
10803
10804
10805
10806
10807
10808 extern char *ctermid (char *__s) __attribute__ ((__nothrow__));
10809
10810
10811
10812
10813
10814 extern char *cuserid (char *__s);
10815
10816
10817
10818
10819 struct obstack;
10820
10821
10822 extern int obstack_printf (struct obstack *__restrict __obstack,
10823       __const char *__restrict __format, ...)
10824      __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 3)));
10825 extern int obstack_vprintf (struct obstack *__restrict __obstack,
10826        __const char *__restrict __format,
10827        __gnuc_va_list __args)
10828      __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 0)));
10829
10830
10831
10832
10833
10834
10835
10836 extern void flockfile (FILE *__stream) __attribute__ ((__nothrow__));
10837
10838
10839
10840 extern int ftrylockfile (FILE *__stream) __attribute__ ((__nothrow__)) ;
10841
10842
10843 extern void funlockfile (FILE *__stream) __attribute__ ((__nothrow__));
10844 # 836 "../libio/stdio.h"
10845 # 1 "../libio/bits/stdio.h" 1
10846 # 33 "../libio/bits/stdio.h"
10847 extern __inline int
10848 vprintf (__const char *__restrict __fmt, __gnuc_va_list __arg)
10849 {
10850   return vfprintf (stdout, __fmt, __arg);
10851 }
10852
10853
10854 extern __inline int
10855 getchar (void)
10856 {
10857   return _IO_getc (stdin);
10858 }
10859
10860
10861
10862
10863 extern __inline int
10864 getc_unlocked (FILE *__fp)
10865 {
10866   return (__builtin_expect (((__fp)->_IO_read_ptr >= (__fp)->_IO_read_end), 0) ? __uflow (__fp) : *(unsigned char *) (__fp)->_IO_read_ptr++);
10867 }
10868
10869
10870 extern __inline int
10871 getchar_unlocked (void)
10872 {
10873   return (__builtin_expect (((stdin)->_IO_read_ptr >= (stdin)->_IO_read_end), 0) ? __uflow (stdin) : *(unsigned char *) (stdin)->_IO_read_ptr++);
10874 }
10875
10876
10877
10878
10879 extern __inline int
10880 putchar (int __c)
10881 {
10882   return _IO_putc (__c, stdout);
10883 }
10884
10885
10886
10887
10888 extern __inline int
10889 fputc_unlocked (int __c, FILE *__stream)
10890 {
10891   return (__builtin_expect (((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end), 0) ? __overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (__c)));
10892 }
10893
10894
10895
10896
10897
10898 extern __inline int
10899 putc_unlocked (int __c, FILE *__stream)
10900 {
10901   return (__builtin_expect (((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end), 0) ? __overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (__c)));
10902 }
10903
10904
10905 extern __inline int
10906 putchar_unlocked (int __c)
10907 {
10908   return (__builtin_expect (((stdout)->_IO_write_ptr >= (stdout)->_IO_write_end), 0) ? __overflow (stdout, (unsigned char) (__c)) : (unsigned char) (*(stdout)->_IO_write_ptr++ = (__c)));
10909 }
10910
10911
10912
10913
10914
10915 extern __inline __ssize_t
10916 getline (char **__lineptr, size_t *__n, FILE *__stream)
10917 {
10918   return __getdelim (__lineptr, __n, '\n', __stream);
10919 }
10920
10921
10922
10923
10924
10925 extern __inline int
10926 __attribute__ ((__nothrow__)) feof_unlocked (FILE *__stream)
10927 {
10928   return (((__stream)->_flags & 0x10) != 0);
10929 }
10930
10931
10932 extern __inline int
10933 __attribute__ ((__nothrow__)) ferror_unlocked (FILE *__stream)
10934 {
10935   return (((__stream)->_flags & 0x20) != 0);
10936 }
10937 # 837 "../libio/stdio.h" 2
10938 # 845 "../libio/stdio.h"
10939
10940 # 6 "../include/stdio.h" 2
10941
10942
10943 extern int __fcloseall (void);
10944 extern int __snprintf (char *__restrict __s, size_t __maxlen,
10945          __const char *__restrict __format, ...)
10946      __attribute__ ((__format__ (__printf__, 3, 4)));
10947 extern int __vsnprintf (char *__restrict __s, size_t __maxlen,
10948    __const char *__restrict __format, __gnuc_va_list __arg)
10949      __attribute__ ((__format__ (__printf__, 3, 0)));
10950 extern int __vfscanf (FILE *__restrict __s,
10951         __const char *__restrict __format,
10952         __gnuc_va_list __arg)
10953      __attribute__ ((__format__ (__scanf__, 2, 0)));
10954 extern __typeof (__vfscanf) __vfscanf __asm__ ("" "__GI___vfscanf") __attribute__ ((visibility ("hidden")));
10955 extern int __vscanf (__const char *__restrict __format,
10956        __gnuc_va_list __arg)
10957      __attribute__ ((__format__ (__scanf__, 1, 0)));
10958 extern __ssize_t __getline (char **__lineptr, size_t *__n,
10959          FILE *__stream);
10960 extern int __vsscanf (__const char *__restrict __s,
10961         __const char *__restrict __format,
10962         __gnuc_va_list __arg)
10963      __attribute__ ((__format__ (__scanf__, 2, 0)));
10964
10965 extern int __sprintf_chk (char *, int, size_t, const char *, ...) __attribute__ ((__nothrow__));
10966 extern int __snprintf_chk (char *, size_t, int, size_t, const char *, ...)
10967      __attribute__ ((__nothrow__));
10968 extern int __vsprintf_chk (char *, int, size_t, const char *,
10969       __gnuc_va_list) __attribute__ ((__nothrow__));
10970 extern int __vsnprintf_chk (char *, size_t, int, size_t, const char *,
10971        __gnuc_va_list) __attribute__ ((__nothrow__));
10972 extern int __printf_chk (int, const char *, ...);
10973 extern int __fprintf_chk (FILE *, int, const char *, ...);
10974 extern int __vprintf_chk (int, const char *, __gnuc_va_list);
10975 extern int __vfprintf_chk (FILE *, int, const char *, __gnuc_va_list);
10976 extern char *__fgets_unlocked_chk (char *buf, size_t size, int n, FILE *fp);
10977 extern char *__fgets_chk (char *buf, size_t size, int n, FILE *fp);
10978
10979
10980 extern FILE *__new_tmpfile (void);
10981 extern FILE *__old_tmpfile (void);
10982
10983
10984
10985
10986 # 1 "/usr/lib/gcc/hppa2.0-unknown-linux-gnu/4.1.1/include/stddef.h" 1 3 4
10987 # 52 "../include/stdio.h" 2
10988
10989 extern int __path_search (char *__tmpl, size_t __tmpl_len,
10990      __const char *__dir, __const char *__pfx,
10991      int __try_tempdir);
10992
10993 extern int __gen_tempname (char *__tmpl, int __kind);
10994
10995
10996
10997
10998
10999
11000
11001 extern void __libc_fatal (__const char *__message)
11002      __attribute__ ((__noreturn__));
11003 extern void __libc_message (int do_abort, __const char *__fnt, ...);
11004
11005
11006 extern void __flockfile (FILE *__stream);
11007
11008
11009 extern void __funlockfile (FILE *__stream);
11010
11011
11012
11013 extern int __ftrylockfile (FILE *__stream);
11014
11015 extern int __getc_unlocked (FILE *__fp);
11016 extern wint_t __getwc_unlocked (FILE *__fp);
11017
11018 extern int __fxprintf (FILE *__fp, const char *__fmt, ...)
11019      __attribute__ ((__format__ (__printf__, 2, 3)));
11020
11021 extern __const char *__const _sys_errlist_internal[] __attribute__ ((visibility ("hidden")));
11022 extern int _sys_nerr_internal __attribute__ ((visibility ("hidden")));
11023
11024 extern int __asprintf_internal (char **__restrict __ptr,
11025     __const char *__restrict __fmt, ...)
11026      __attribute__ ((visibility ("hidden"))) __attribute__ ((__format__ (__printf__, 2, 3)));
11027
11028
11029
11030
11031 extern _IO_FILE *_IO_new_fopen (const char*, const char*);
11032
11033 extern _IO_FILE *_IO_new_fdopen (int, const char*);
11034
11035 extern int _IO_new_fclose (_IO_FILE*);
11036
11037 extern int _IO_fputs (const char*, _IO_FILE*);
11038 extern __typeof (_IO_fputs) _IO_fputs __asm__ ("" "__GI__IO_fputs") __attribute__ ((visibility ("hidden")));
11039
11040 extern int _IO_new_fsetpos (_IO_FILE *, const _G_fpos_t *);
11041
11042 extern int _IO_new_fgetpos (_IO_FILE *, _G_fpos_t *);
11043
11044
11045
11046 extern __typeof (dprintf) dprintf __asm__ ("" "__GI_dprintf") __attribute__ ((visibility ("hidden")));
11047 extern __typeof (fprintf) fprintf __asm__ ("" "__GI_fprintf") __attribute__ ((visibility ("hidden")));
11048 extern __typeof (vfprintf) vfprintf __asm__ ("" "__GI_vfprintf") __attribute__ ((visibility ("hidden")));
11049 extern __typeof (sprintf) sprintf __asm__ ("" "__GI_sprintf") __attribute__ ((visibility ("hidden")));
11050 extern __typeof (sscanf) sscanf __asm__ ("" "__GI_sscanf") __attribute__ ((visibility ("hidden")));
11051 extern __typeof (fwrite) fwrite __asm__ ("" "__GI_fwrite") __attribute__ ((visibility ("hidden")));
11052 extern __typeof (perror) perror __asm__ ("" "__GI_perror") __attribute__ ((visibility ("hidden")));
11053 extern __typeof (remove) remove __asm__ ("" "__GI_remove") __attribute__ ((visibility ("hidden")));
11054 extern __typeof (rewind) rewind __asm__ ("" "__GI_rewind") __attribute__ ((visibility ("hidden")));
11055 extern __typeof (fileno) fileno __asm__ ("" "__GI_fileno") __attribute__ ((visibility ("hidden")));
11056 extern __typeof (fwrite) fwrite __asm__ ("" "__GI_fwrite") __attribute__ ((visibility ("hidden")));
11057 extern __typeof (fseek) fseek __asm__ ("" "__GI_fseek") __attribute__ ((visibility ("hidden")));
11058 extern __typeof (fflush_unlocked) fflush_unlocked __asm__ ("" "__GI_fflush_unlocked") __attribute__ ((visibility ("hidden")));
11059 extern __typeof (fread_unlocked) fread_unlocked __asm__ ("" "__GI_fread_unlocked") __attribute__ ((visibility ("hidden")));
11060 extern __typeof (fwrite_unlocked) fwrite_unlocked __asm__ ("" "__GI_fwrite_unlocked") __attribute__ ((visibility ("hidden")));
11061 extern __typeof (fgets_unlocked) fgets_unlocked __asm__ ("" "__GI_fgets_unlocked") __attribute__ ((visibility ("hidden")));
11062 extern __typeof (fputs_unlocked) fputs_unlocked __asm__ ("" "__GI_fputs_unlocked") __attribute__ ((visibility ("hidden")));
11063 extern __typeof (open_memstream) open_memstream __asm__ ("" "__GI_open_memstream") __attribute__ ((visibility ("hidden")));
11064 extern __typeof (__libc_fatal) __libc_fatal __asm__ ("" "__GI___libc_fatal") __attribute__ ((visibility ("hidden")));
11065 extern __typeof (__vsprintf_chk) __vsprintf_chk __asm__ ("" "__GI___vsprintf_chk") __attribute__ ((visibility ("hidden")));
11066 extern __typeof (__vsnprintf_chk) __vsnprintf_chk __asm__ ("" "__GI___vsnprintf_chk") __attribute__ ((visibility ("hidden")));
11067 extern __typeof (__vfprintf_chk) __vfprintf_chk __asm__ ("" "__GI___vfprintf_chk") __attribute__ ((visibility ("hidden")));
11068
11069
11070
11071
11072 extern size_t __builtin_fwrite (const void *, size_t, size_t, void *)
11073      __asm ("__GI_fwrite");
11074 extern size_t __builtin_fwrite_unlocked (const void *, size_t, size_t, void *)
11075      __asm ("__GI_fwrite_unlocked");
11076 # 34 "vfprintf.c" 2
11077 # 43 "vfprintf.c"
11078 # 1 "../libio/libioP.h" 1
11079 # 39 "../libio/libioP.h"
11080 # 1 "../sysdeps/generic/math_ldbl_opt.h" 1
11081 # 40 "../libio/libioP.h" 2
11082
11083 # 1 "../libio/iolibio.h" 1
11084 # 1 "../include/libio.h" 1
11085 # 2 "../libio/iolibio.h" 2
11086 # 10 "../libio/iolibio.h"
11087 extern int _IO_fclose (_IO_FILE*);
11088 extern int _IO_new_fclose (_IO_FILE*);
11089 extern int _IO_old_fclose (_IO_FILE*);
11090 extern _IO_FILE *_IO_fdopen (int, const char*) __attribute__ ((__nothrow__));
11091 extern _IO_FILE *_IO_old_fdopen (int, const char*) __attribute__ ((__nothrow__));
11092 extern _IO_FILE *_IO_new_fdopen (int, const char*) __attribute__ ((__nothrow__));
11093 extern int _IO_fflush (_IO_FILE*);
11094 extern int _IO_fgetpos (_IO_FILE*, _G_fpos_t*);
11095 extern int _IO_fgetpos64 (_IO_FILE*, _G_fpos64_t*);
11096 extern char* _IO_fgets (char*, int, _IO_FILE*);
11097 extern _IO_FILE *_IO_fopen (const char*, const char*);
11098 extern _IO_FILE *_IO_old_fopen (const char*, const char*);
11099 extern _IO_FILE *_IO_new_fopen (const char*, const char*);
11100 extern _IO_FILE *_IO_fopen64 (const char*, const char*);
11101 extern _IO_FILE *__fopen_internal (const char*, const char*, int);
11102 extern _IO_FILE *__fopen_maybe_mmap (_IO_FILE *) __attribute__ ((__nothrow__));
11103 extern int _IO_fprintf (_IO_FILE*, const char*, ...);
11104 extern int _IO_fputs (const char*, _IO_FILE*);
11105 extern __typeof (_IO_fputs) _IO_fputs __asm__ ("" "__GI__IO_fputs") __attribute__ ((visibility ("hidden")));
11106 extern int _IO_fsetpos (_IO_FILE*, const _G_fpos_t *);
11107 extern int _IO_fsetpos64 (_IO_FILE*, const _G_fpos64_t *);
11108 extern long int _IO_ftell (_IO_FILE*);
11109 extern size_t _IO_fread (void*, size_t, size_t, _IO_FILE*);
11110 extern size_t _IO_fwrite (const void*, size_t, size_t, _IO_FILE*);
11111 extern char* _IO_gets (char*);
11112 extern void _IO_perror (const char*) __attribute__ ((__nothrow__));
11113 extern int _IO_printf (const char*, ...);
11114 extern int _IO_puts (const char*);
11115 extern int _IO_scanf (const char*, ...);
11116 extern void _IO_setbuffer (_IO_FILE *, char*, size_t) __attribute__ ((__nothrow__));
11117 extern int _IO_setvbuf (_IO_FILE*, char*, int, size_t) __attribute__ ((__nothrow__));
11118 extern int _IO_sscanf (const char*, const char*, ...) __attribute__ ((__nothrow__));
11119 extern int _IO_sprintf (char *, const char*, ...) __attribute__ ((__nothrow__));
11120 extern int _IO_ungetc (int, _IO_FILE*) __attribute__ ((__nothrow__));
11121 extern int _IO_vsscanf (const char *, const char *, __gnuc_va_list) __attribute__ ((__nothrow__));
11122 extern int _IO_vsprintf (char*, const char*, __gnuc_va_list) __attribute__ ((__nothrow__));
11123 extern int _IO_vswprintf (wchar_t*, size_t, const wchar_t*, __gnuc_va_list)
11124        __attribute__ ((__nothrow__));
11125
11126 struct obstack;
11127 extern int _IO_obstack_vprintf (struct obstack *, const char *, __gnuc_va_list)
11128        __attribute__ ((__nothrow__));
11129 extern int _IO_obstack_printf (struct obstack *, const char *, ...) __attribute__ ((__nothrow__));
11130 # 73 "../libio/iolibio.h"
11131 extern _IO_FILE* _IO_popen (const char*, const char*) __attribute__ ((__nothrow__));
11132 extern _IO_FILE* _IO_new_popen (const char*, const char*) __attribute__ ((__nothrow__));
11133 extern _IO_FILE* _IO_old_popen (const char*, const char*) __attribute__ ((__nothrow__));
11134 extern int __new_pclose (_IO_FILE *) __attribute__ ((__nothrow__));
11135 extern int __old_pclose (_IO_FILE *) __attribute__ ((__nothrow__));
11136
11137
11138
11139
11140 _IO_FILE *__new_freopen (const char *, const char *, _IO_FILE *) __attribute__ ((__nothrow__));
11141 _IO_FILE *__old_freopen (const char *, const char *, _IO_FILE *) __attribute__ ((__nothrow__));
11142
11143
11144 extern void _IO_setbuffer_internal (_IO_FILE *, char*, size_t) __attribute__ ((__nothrow__));
11145 extern size_t _IO_fread_internal (void*, size_t, size_t, _IO_FILE*)
11146        __attribute__ ((__nothrow__));
11147 extern _IO_FILE *_IO_fdopen_internal (int, const char*) __attribute__ ((__nothrow__));
11148 extern int _IO_vsprintf_internal (char*, const char*, __gnuc_va_list) __attribute__ ((__nothrow__));
11149 extern int _IO_fflush_internal (_IO_FILE*);
11150 extern size_t _IO_fwrite_internal (const void*, size_t,
11151            size_t, _IO_FILE*);
11152 extern long int _IO_ftell_internal (_IO_FILE*);
11153 extern int _IO_fputs_internal (const char*, _IO_FILE*);
11154 extern int _IO_setvbuf_internal (_IO_FILE*, char*, int, size_t) __attribute__ ((__nothrow__));
11155 # 42 "../libio/libioP.h" 2
11156 # 154 "../libio/libioP.h"
11157 typedef void (*_IO_finish_t) (_IO_FILE *, int);
11158
11159
11160
11161
11162
11163
11164 typedef int (*_IO_overflow_t) (_IO_FILE *, int);
11165
11166
11167
11168
11169
11170
11171
11172 typedef int (*_IO_underflow_t) (_IO_FILE *);
11173 # 183 "../libio/libioP.h"
11174 typedef int (*_IO_pbackfail_t) (_IO_FILE *, int);
11175
11176
11177
11178
11179
11180
11181 typedef size_t (*_IO_xsputn_t) (_IO_FILE *FP, const void *DATA,
11182         size_t N);
11183
11184
11185
11186
11187
11188
11189 typedef size_t (*_IO_xsgetn_t) (_IO_FILE *FP, void *DATA, size_t N);
11190 # 207 "../libio/libioP.h"
11191 typedef __off64_t (*_IO_seekoff_t) (_IO_FILE *FP, __off64_t OFF, int DIR,
11192           int MODE);
11193 # 217 "../libio/libioP.h"
11194 typedef __off64_t (*_IO_seekpos_t) (_IO_FILE *, __off64_t, int);
11195
11196
11197
11198
11199
11200 typedef _IO_FILE* (*_IO_setbuf_t) (_IO_FILE *, char *, __ssize_t);
11201
11202
11203
11204
11205
11206
11207 typedef int (*_IO_sync_t) (_IO_FILE *);
11208
11209
11210
11211
11212
11213
11214 typedef int (*_IO_doallocate_t) (_IO_FILE *);
11215 # 256 "../libio/libioP.h"
11216 typedef __ssize_t (*_IO_read_t) (_IO_FILE *, void *, __ssize_t);
11217
11218
11219
11220
11221
11222
11223
11224 typedef __ssize_t (*_IO_write_t) (_IO_FILE *, const void *, __ssize_t);
11225
11226
11227
11228
11229
11230
11231
11232 typedef __off64_t (*_IO_seek_t) (_IO_FILE *, __off64_t, int);
11233
11234
11235
11236
11237
11238
11239
11240 typedef int (*_IO_close_t) (_IO_FILE *);
11241
11242
11243
11244
11245
11246
11247
11248 typedef int (*_IO_stat_t) (_IO_FILE *, void *);
11249
11250
11251
11252
11253
11254
11255 typedef int (*_IO_showmanyc_t) (_IO_FILE *);
11256
11257
11258
11259
11260
11261 typedef void (*_IO_imbue_t) (_IO_FILE *, void *);
11262
11263
11264
11265
11266
11267
11268
11269 struct _IO_jump_t
11270 {
11271     size_t __dummy;
11272
11273     size_t __dummy2;
11274
11275     _IO_finish_t __finish;
11276     _IO_overflow_t __overflow;
11277     _IO_underflow_t __underflow;
11278     _IO_underflow_t __uflow;
11279     _IO_pbackfail_t __pbackfail;
11280
11281     _IO_xsputn_t __xsputn;
11282     _IO_xsgetn_t __xsgetn;
11283     _IO_seekoff_t __seekoff;
11284     _IO_seekpos_t __seekpos;
11285     _IO_setbuf_t __setbuf;
11286     _IO_sync_t __sync;
11287     _IO_doallocate_t __doallocate;
11288     _IO_read_t __read;
11289     _IO_write_t __write;
11290     _IO_seek_t __seek;
11291     _IO_close_t __close;
11292     _IO_stat_t __stat;
11293     _IO_showmanyc_t __showmanyc;
11294     _IO_imbue_t __imbue;
11295
11296
11297
11298
11299 };
11300
11301
11302
11303
11304
11305
11306 struct _IO_FILE_plus
11307 {
11308   _IO_FILE file;
11309   const struct _IO_jump_t *vtable;
11310 };
11311 # 364 "../libio/libioP.h"
11312 struct _IO_cookie_file
11313 {
11314   struct _IO_FILE_plus __fp;
11315   void *__cookie;
11316   _IO_cookie_io_functions_t __io_functions;
11317 };
11318
11319 _IO_FILE *_IO_fopencookie (void *cookie, const char *mode,
11320       _IO_cookie_io_functions_t io_functions);
11321
11322
11323
11324
11325 typedef struct _IO_FILE *_IO_ITER;
11326
11327
11328
11329 extern void _IO_switch_to_main_get_area (_IO_FILE *) __attribute__ ((__nothrow__));
11330 extern void _IO_switch_to_backup_area (_IO_FILE *) __attribute__ ((__nothrow__));
11331 extern int _IO_switch_to_get_mode (_IO_FILE *) __attribute__ ((__nothrow__));
11332 extern void _IO_init (_IO_FILE *, int) __attribute__ ((__nothrow__));
11333 extern int _IO_sputbackc (_IO_FILE *, int) __attribute__ ((__nothrow__));
11334 extern int _IO_sungetc (_IO_FILE *) __attribute__ ((__nothrow__));
11335 extern void _IO_un_link (struct _IO_FILE_plus *) __attribute__ ((__nothrow__));
11336 extern void _IO_link_in (struct _IO_FILE_plus *) __attribute__ ((__nothrow__));
11337 extern void _IO_doallocbuf (_IO_FILE *) __attribute__ ((__nothrow__));
11338 extern void _IO_unsave_markers (_IO_FILE *) __attribute__ ((__nothrow__));
11339 extern void _IO_setb (_IO_FILE *, char *, char *, int) __attribute__ ((__nothrow__));
11340 extern unsigned _IO_adjust_column (unsigned, const char *, int) __attribute__ ((__nothrow__));
11341
11342
11343 extern void _IO_switch_to_main_wget_area (_IO_FILE *) __attribute__ ((__nothrow__));
11344 extern void _IO_switch_to_wbackup_area (_IO_FILE *) __attribute__ ((__nothrow__));
11345 extern int _IO_switch_to_wget_mode (_IO_FILE *) __attribute__ ((__nothrow__));
11346 extern void _IO_wsetb (_IO_FILE *, wchar_t *, wchar_t *, int) __attribute__ ((__nothrow__));
11347 extern wint_t _IO_sputbackwc (_IO_FILE *, wint_t) __attribute__ ((__nothrow__));
11348 extern wint_t _IO_sungetwc (_IO_FILE *) __attribute__ ((__nothrow__));
11349 extern void _IO_wdoallocbuf (_IO_FILE *) __attribute__ ((__nothrow__));
11350 extern void _IO_unsave_wmarkers (_IO_FILE *) __attribute__ ((__nothrow__));
11351 extern unsigned _IO_adjust_wcolumn (unsigned, const wchar_t *, int) __attribute__ ((__nothrow__));
11352
11353
11354
11355 extern void _IO_init_marker (struct _IO_marker *, _IO_FILE *) __attribute__ ((__nothrow__));
11356 extern void _IO_init_wmarker (struct _IO_marker *, _IO_FILE *) __attribute__ ((__nothrow__));
11357 extern void _IO_remove_marker (struct _IO_marker *) __attribute__ ((__nothrow__));
11358 extern int _IO_marker_difference (struct _IO_marker *, struct _IO_marker *)
11359      __attribute__ ((__nothrow__));
11360 extern int _IO_marker_delta (struct _IO_marker *) __attribute__ ((__nothrow__));
11361 extern int _IO_wmarker_delta (struct _IO_marker *) __attribute__ ((__nothrow__));
11362 extern int _IO_seekmark (_IO_FILE *, struct _IO_marker *, int) __attribute__ ((__nothrow__));
11363 extern int _IO_seekwmark (_IO_FILE *, struct _IO_marker *, int) __attribute__ ((__nothrow__));
11364
11365
11366
11367 extern _IO_ITER _IO_iter_begin (void) __attribute__ ((__nothrow__));
11368 extern __typeof (_IO_iter_begin) _IO_iter_begin __asm__ ("" "__GI__IO_iter_begin") __attribute__ ((visibility ("hidden")));
11369 extern _IO_ITER _IO_iter_end (void) __attribute__ ((__nothrow__));
11370 extern __typeof (_IO_iter_end) _IO_iter_end __asm__ ("" "__GI__IO_iter_end") __attribute__ ((visibility ("hidden")));
11371 extern _IO_ITER _IO_iter_next (_IO_ITER) __attribute__ ((__nothrow__));
11372 extern __typeof (_IO_iter_next) _IO_iter_next __asm__ ("" "__GI__IO_iter_next") __attribute__ ((visibility ("hidden")));
11373 extern _IO_FILE *_IO_iter_file (_IO_ITER) __attribute__ ((__nothrow__));
11374 extern __typeof (_IO_iter_file) _IO_iter_file __asm__ ("" "__GI__IO_iter_file") __attribute__ ((visibility ("hidden")));
11375 extern void _IO_list_lock (void) __attribute__ ((__nothrow__));
11376 extern __typeof (_IO_list_lock) _IO_list_lock __asm__ ("" "__GI__IO_list_lock") __attribute__ ((visibility ("hidden")));
11377 extern void _IO_list_unlock (void) __attribute__ ((__nothrow__));
11378 extern __typeof (_IO_list_unlock) _IO_list_unlock __asm__ ("" "__GI__IO_list_unlock") __attribute__ ((visibility ("hidden")));
11379 extern void _IO_list_resetlock (void) __attribute__ ((__nothrow__));
11380 extern __typeof (_IO_list_resetlock) _IO_list_resetlock __asm__ ("" "__GI__IO_list_resetlock") __attribute__ ((visibility ("hidden")));
11381
11382
11383
11384 extern int _IO_default_underflow (_IO_FILE *) __attribute__ ((__nothrow__));
11385 extern int _IO_default_uflow (_IO_FILE *) __attribute__ ((__nothrow__));
11386 extern wint_t _IO_wdefault_uflow (_IO_FILE *) __attribute__ ((__nothrow__));
11387 extern int _IO_default_doallocate (_IO_FILE *) __attribute__ ((__nothrow__));
11388 extern int _IO_wdefault_doallocate (_IO_FILE *) __attribute__ ((__nothrow__));
11389 extern void _IO_default_finish (_IO_FILE *, int) __attribute__ ((__nothrow__));
11390 extern void _IO_wdefault_finish (_IO_FILE *, int) __attribute__ ((__nothrow__));
11391 extern int _IO_default_pbackfail (_IO_FILE *, int) __attribute__ ((__nothrow__));
11392 extern wint_t _IO_wdefault_pbackfail (_IO_FILE *, wint_t) __attribute__ ((__nothrow__));
11393 extern _IO_FILE* _IO_default_setbuf (_IO_FILE *, char *, __ssize_t) __attribute__ ((__nothrow__));
11394 extern size_t _IO_default_xsputn (_IO_FILE *, const void *, size_t);
11395 extern size_t _IO_wdefault_xsputn (_IO_FILE *, const void *, size_t);
11396 extern size_t _IO_default_xsgetn (_IO_FILE *, void *, size_t);
11397 extern size_t _IO_wdefault_xsgetn (_IO_FILE *, void *, size_t);
11398 extern __off64_t _IO_default_seekoff (_IO_FILE *, __off64_t, int, int)
11399      __attribute__ ((__nothrow__));
11400 extern __off64_t _IO_default_seekpos (_IO_FILE *, __off64_t, int) __attribute__ ((__nothrow__));
11401 extern __ssize_t _IO_default_write (_IO_FILE *, const void *, __ssize_t);
11402 extern __ssize_t _IO_default_read (_IO_FILE *, void *, __ssize_t);
11403 extern int _IO_default_stat (_IO_FILE *, void *) __attribute__ ((__nothrow__));
11404 extern __off64_t _IO_default_seek (_IO_FILE *, __off64_t, int) __attribute__ ((__nothrow__));
11405 extern int _IO_default_sync (_IO_FILE *) __attribute__ ((__nothrow__));
11406
11407 extern int _IO_default_showmanyc (_IO_FILE *) __attribute__ ((__nothrow__));
11408 extern void _IO_default_imbue (_IO_FILE *, void *) __attribute__ ((__nothrow__));
11409
11410 extern const struct _IO_jump_t _IO_file_jumps;
11411 extern __typeof (_IO_file_jumps) _IO_file_jumps __asm__ ("" "__GI__IO_file_jumps") __attribute__ ((visibility ("hidden")));
11412 extern const struct _IO_jump_t _IO_file_jumps_mmap __attribute__ ((visibility ("hidden")));
11413 extern const struct _IO_jump_t _IO_file_jumps_maybe_mmap __attribute__ ((visibility ("hidden")));
11414 extern const struct _IO_jump_t _IO_wfile_jumps;
11415 extern __typeof (_IO_wfile_jumps) _IO_wfile_jumps __asm__ ("" "__GI__IO_wfile_jumps") __attribute__ ((visibility ("hidden")));
11416 extern const struct _IO_jump_t _IO_wfile_jumps_mmap __attribute__ ((visibility ("hidden")));
11417 extern const struct _IO_jump_t _IO_wfile_jumps_maybe_mmap __attribute__ ((visibility ("hidden")));
11418 extern const struct _IO_jump_t _IO_old_file_jumps __attribute__ ((visibility ("hidden")));
11419 extern const struct _IO_jump_t _IO_streambuf_jumps;
11420 extern const struct _IO_jump_t _IO_old_proc_jumps __attribute__ ((visibility ("hidden")));
11421 extern const struct _IO_jump_t _IO_str_jumps __attribute__ ((visibility ("hidden")));
11422 extern const struct _IO_jump_t _IO_wstr_jumps __attribute__ ((visibility ("hidden")));
11423 extern const struct _IO_codecvt __libio_codecvt __attribute__ ((visibility ("hidden")));
11424 extern int _IO_do_write (_IO_FILE *, const char *, size_t) __attribute__ ((__nothrow__));
11425 extern int _IO_new_do_write (_IO_FILE *, const char *, size_t) __attribute__ ((__nothrow__));
11426 extern int _IO_old_do_write (_IO_FILE *, const char *, size_t) __attribute__ ((__nothrow__));
11427 extern int _IO_wdo_write (_IO_FILE *, const wchar_t *, size_t) __attribute__ ((__nothrow__));
11428 extern int _IO_flush_all_lockp (int) __attribute__ ((__nothrow__));
11429 extern int _IO_flush_all (void) __attribute__ ((__nothrow__));
11430 extern int _IO_cleanup (void) __attribute__ ((__nothrow__));
11431 extern void _IO_flush_all_linebuffered (void) __attribute__ ((__nothrow__));
11432 extern int _IO_new_fgetpos (_IO_FILE *, _G_fpos_t *) __attribute__ ((__nothrow__));
11433 extern int _IO_old_fgetpos (_IO_FILE *, _G_fpos_t *) __attribute__ ((__nothrow__));
11434 extern int _IO_new_fsetpos (_IO_FILE *, const _G_fpos_t *) __attribute__ ((__nothrow__));
11435 extern int _IO_old_fsetpos (_IO_FILE *, const _G_fpos_t *) __attribute__ ((__nothrow__));
11436 extern int _IO_new_fgetpos64 (_IO_FILE *, _G_fpos64_t *) __attribute__ ((__nothrow__));
11437 extern int _IO_old_fgetpos64 (_IO_FILE *, _G_fpos64_t *) __attribute__ ((__nothrow__));
11438 extern int _IO_new_fsetpos64 (_IO_FILE *, const _G_fpos64_t *) __attribute__ ((__nothrow__));
11439 extern int _IO_old_fsetpos64 (_IO_FILE *, const _G_fpos64_t *) __attribute__ ((__nothrow__));
11440 extern void _IO_old_init (_IO_FILE *fp, int flags) __attribute__ ((__nothrow__));
11441 # 536 "../libio/libioP.h"
11442 extern int _IO_file_doallocate (_IO_FILE *) __attribute__ ((__nothrow__));
11443 extern _IO_FILE* _IO_file_setbuf (_IO_FILE *, char *, __ssize_t) __attribute__ ((__nothrow__));
11444 extern __off64_t _IO_file_seekoff (_IO_FILE *, __off64_t, int, int)
11445      __attribute__ ((__nothrow__));
11446 extern __off64_t _IO_file_seekoff_mmap (_IO_FILE *, __off64_t, int, int)
11447      __attribute__ ((__nothrow__));
11448 extern size_t _IO_file_xsputn (_IO_FILE *, const void *, size_t)
11449      __attribute__ ((__nothrow__));
11450 extern size_t _IO_file_xsgetn (_IO_FILE *, void *, size_t) __attribute__ ((__nothrow__));
11451 extern int _IO_file_stat (_IO_FILE *, void *) __attribute__ ((__nothrow__));
11452 extern int _IO_file_close (_IO_FILE *) __attribute__ ((__nothrow__));
11453 extern int _IO_file_close_mmap (_IO_FILE *) __attribute__ ((__nothrow__));
11454 extern int _IO_file_underflow (_IO_FILE *) __attribute__ ((__nothrow__));
11455 extern int _IO_file_underflow_mmap (_IO_FILE *) __attribute__ ((__nothrow__));
11456 extern int _IO_file_underflow_maybe_mmap (_IO_FILE *) __attribute__ ((__nothrow__));
11457 extern int _IO_file_overflow (_IO_FILE *, int) __attribute__ ((__nothrow__));
11458
11459 extern void _IO_file_init (struct _IO_FILE_plus *) __attribute__ ((__nothrow__));
11460 extern _IO_FILE* _IO_file_attach (_IO_FILE *, int) __attribute__ ((__nothrow__));
11461 extern _IO_FILE* _IO_file_open (_IO_FILE *, const char *, int, int, int, int)
11462      __attribute__ ((__nothrow__));
11463 extern __typeof (_IO_file_open) _IO_file_open __asm__ ("" "__GI__IO_file_open") __attribute__ ((visibility ("hidden")));
11464 extern _IO_FILE* _IO_file_fopen (_IO_FILE *, const char *, const char *, int)
11465      __attribute__ ((__nothrow__));
11466 extern __ssize_t _IO_file_write (_IO_FILE *, const void *, __ssize_t)
11467      __attribute__ ((__nothrow__));
11468 extern __ssize_t _IO_file_read (_IO_FILE *, void *, __ssize_t) __attribute__ ((__nothrow__));
11469 extern int _IO_file_sync (_IO_FILE *) __attribute__ ((__nothrow__));
11470 extern int _IO_file_close_it (_IO_FILE *) __attribute__ ((__nothrow__));
11471 extern __off64_t _IO_file_seek (_IO_FILE *, __off64_t, int) __attribute__ ((__nothrow__));
11472 extern void _IO_file_finish (_IO_FILE *, int) __attribute__ ((__nothrow__));
11473
11474 extern _IO_FILE* _IO_new_file_attach (_IO_FILE *, int) __attribute__ ((__nothrow__));
11475 extern int _IO_new_file_close_it (_IO_FILE *) __attribute__ ((__nothrow__));
11476 extern void _IO_new_file_finish (_IO_FILE *, int) __attribute__ ((__nothrow__));
11477 extern _IO_FILE* _IO_new_file_fopen (_IO_FILE *, const char *, const char *,
11478          int) __attribute__ ((__nothrow__));
11479 extern void _IO_no_init (_IO_FILE *, int, int, struct _IO_wide_data *,
11480     const struct _IO_jump_t *) __attribute__ ((__nothrow__));
11481 extern void _IO_new_file_init (struct _IO_FILE_plus *) __attribute__ ((__nothrow__));
11482 extern _IO_FILE* _IO_new_file_setbuf (_IO_FILE *, char *, __ssize_t) __attribute__ ((__nothrow__));
11483 extern _IO_FILE* _IO_file_setbuf_mmap (_IO_FILE *, char *, __ssize_t)
11484      __attribute__ ((__nothrow__));
11485 extern int _IO_new_file_sync (_IO_FILE *) __attribute__ ((__nothrow__));
11486 extern int _IO_new_file_underflow (_IO_FILE *) __attribute__ ((__nothrow__));
11487 extern int _IO_new_file_overflow (_IO_FILE *, int) __attribute__ ((__nothrow__));
11488 extern __off64_t _IO_new_file_seekoff (_IO_FILE *, __off64_t, int, int)
11489      __attribute__ ((__nothrow__));
11490 extern __ssize_t _IO_new_file_write (_IO_FILE *, const void *, __ssize_t)
11491      __attribute__ ((__nothrow__));
11492 extern size_t _IO_new_file_xsputn (_IO_FILE *, const void *, size_t)
11493      __attribute__ ((__nothrow__));
11494
11495 extern _IO_FILE* _IO_old_file_setbuf (_IO_FILE *, char *, __ssize_t) __attribute__ ((__nothrow__));
11496 extern __off64_t _IO_old_file_seekoff (_IO_FILE *, __off64_t, int, int)
11497      __attribute__ ((__nothrow__));
11498 extern size_t _IO_old_file_xsputn (_IO_FILE *, const void *, size_t)
11499      __attribute__ ((__nothrow__));
11500 extern int _IO_old_file_underflow (_IO_FILE *) __attribute__ ((__nothrow__));
11501 extern int _IO_old_file_overflow (_IO_FILE *, int) __attribute__ ((__nothrow__));
11502 extern void _IO_old_file_init (struct _IO_FILE_plus *) __attribute__ ((__nothrow__));
11503 extern _IO_FILE* _IO_old_file_attach (_IO_FILE *, int) __attribute__ ((__nothrow__));
11504 extern _IO_FILE* _IO_old_file_fopen (_IO_FILE *, const char *, const char *)
11505      __attribute__ ((__nothrow__));
11506 extern __ssize_t _IO_old_file_write (_IO_FILE *, const void *, __ssize_t)
11507      __attribute__ ((__nothrow__));
11508 extern int _IO_old_file_sync (_IO_FILE *) __attribute__ ((__nothrow__));
11509 extern int _IO_old_file_close_it (_IO_FILE *) __attribute__ ((__nothrow__));
11510 extern void _IO_old_file_finish (_IO_FILE *, int) __attribute__ ((__nothrow__));
11511
11512 extern int _IO_wfile_doallocate (_IO_FILE *) __attribute__ ((__nothrow__));
11513 extern size_t _IO_wfile_xsputn (_IO_FILE *, const void *, size_t)
11514      __attribute__ ((__nothrow__));
11515 extern _IO_FILE* _IO_wfile_setbuf (_IO_FILE *, wchar_t *, __ssize_t) __attribute__ ((__nothrow__));
11516 extern wint_t _IO_wfile_sync (_IO_FILE *) __attribute__ ((__nothrow__));
11517 extern wint_t _IO_wfile_underflow (_IO_FILE *) __attribute__ ((__nothrow__));
11518 extern wint_t _IO_wfile_overflow (_IO_FILE *, wint_t) __attribute__ ((__nothrow__));
11519 extern __off64_t _IO_wfile_seekoff (_IO_FILE *, __off64_t, int, int)
11520      __attribute__ ((__nothrow__));
11521
11522
11523 extern _IO_FILE* _IO_proc_open (_IO_FILE *, const char *, const char *)
11524      __attribute__ ((__nothrow__));
11525 extern _IO_FILE* _IO_new_proc_open (_IO_FILE *, const char *, const char *)
11526      __attribute__ ((__nothrow__));
11527 extern _IO_FILE* _IO_old_proc_open (_IO_FILE *, const char *, const char *)
11528      __attribute__ ((__nothrow__));
11529 extern int _IO_proc_close (_IO_FILE *) __attribute__ ((__nothrow__));
11530 extern int _IO_new_proc_close (_IO_FILE *) __attribute__ ((__nothrow__));
11531 extern int _IO_old_proc_close (_IO_FILE *) __attribute__ ((__nothrow__));
11532
11533
11534 extern int _IO_str_underflow (_IO_FILE *) __attribute__ ((__nothrow__));
11535 extern int _IO_str_overflow (_IO_FILE *, int) __attribute__ ((__nothrow__));
11536 extern int _IO_str_pbackfail (_IO_FILE *, int) __attribute__ ((__nothrow__));
11537 extern __off64_t _IO_str_seekoff (_IO_FILE *, __off64_t, int, int) __attribute__ ((__nothrow__));
11538 extern void _IO_str_finish (_IO_FILE *, int) __attribute__ ((__nothrow__));
11539
11540
11541 struct _IO_strfile_;
11542 extern void _IO_str_init_static (struct _IO_strfile_ *, char *, int, char *)
11543      __attribute__ ((__nothrow__));
11544 extern void _IO_str_init_readonly (struct _IO_strfile_ *, const char *, int)
11545      __attribute__ ((__nothrow__));
11546 extern __ssize_t _IO_str_count (_IO_FILE *) __attribute__ ((__nothrow__));
11547
11548
11549 extern void _IO_wstr_init_static (_IO_FILE *, wchar_t *, size_t, wchar_t *)
11550      __attribute__ ((__nothrow__));
11551 extern __ssize_t _IO_wstr_count (_IO_FILE *) __attribute__ ((__nothrow__));
11552 extern wint_t _IO_wstr_overflow (_IO_FILE *, wint_t) __attribute__ ((__nothrow__));
11553 extern wint_t _IO_wstr_underflow (_IO_FILE *) __attribute__ ((__nothrow__));
11554 extern __off64_t _IO_wstr_seekoff (_IO_FILE *, __off64_t, int, int)
11555      __attribute__ ((__nothrow__));
11556 extern wint_t _IO_wstr_pbackfail (_IO_FILE *, wint_t) __attribute__ ((__nothrow__));
11557 extern void _IO_wstr_finish (_IO_FILE *, int) __attribute__ ((__nothrow__));
11558
11559 extern int _IO_vasprintf (char **result_ptr, __const char *format,
11560      __gnuc_va_list args) __attribute__ ((__nothrow__));
11561 extern int _IO_vdprintf (int d, __const char *format, __gnuc_va_list arg);
11562 extern int _IO_vsnprintf (char *string, size_t maxlen,
11563      __const char *format, __gnuc_va_list args) __attribute__ ((__nothrow__));
11564
11565
11566 extern size_t _IO_getline (_IO_FILE *,char *, size_t, int, int);
11567 extern size_t _IO_getline_info (_IO_FILE *,char *, size_t,
11568         int, int, int *);
11569 extern __ssize_t _IO_getdelim (char **, size_t *, int, _IO_FILE *)
11570      __attribute__ ((__nothrow__));
11571 extern size_t _IO_getwline (_IO_FILE *,wchar_t *, size_t, wint_t, int);
11572 extern size_t _IO_getwline_info (_IO_FILE *,wchar_t *, size_t,
11573          wint_t, int, wint_t *);
11574 extern double _IO_strtod (const char *, char **) __attribute__ ((__nothrow__));
11575 extern char *_IO_dtoa (double __d, int __mode, int __ndigits,
11576          int *__decpt, int *__sign, char **__rve) __attribute__ ((__nothrow__));
11577 extern int _IO_outfloat (double __value, _IO_FILE *__sb, int __type,
11578     int __width, int __precision, int __flags,
11579     int __sign_mode, int __fill) __attribute__ ((__nothrow__));
11580
11581 extern struct _IO_FILE_plus *_IO_list_all;
11582 extern void (*_IO_cleanup_registration_needed) (void);
11583
11584
11585 extern int _IO_flush_all_internal (void) __attribute__ ((__nothrow__));
11586 extern unsigned _IO_adjust_column_internal (unsigned, const char *, int)
11587      __attribute__ ((__nothrow__));
11588
11589 extern int _IO_default_uflow_internal (_IO_FILE *) __attribute__ ((__nothrow__));
11590 extern void _IO_default_finish_internal (_IO_FILE *, int) __attribute__ ((__nothrow__));
11591 extern int _IO_default_pbackfail_internal (_IO_FILE *, int) __attribute__ ((__nothrow__));
11592 extern size_t _IO_default_xsputn_internal (_IO_FILE *, const void *,
11593             size_t) __attribute__ ((__nothrow__));
11594 extern size_t _IO_default_xsgetn_internal (_IO_FILE *, void *, size_t)
11595      __attribute__ ((__nothrow__));
11596 extern int _IO_default_doallocate_internal (_IO_FILE *) __attribute__ ((__nothrow__));
11597 extern void _IO_wdefault_finish_internal (_IO_FILE *, int) __attribute__ ((__nothrow__));
11598 extern wint_t _IO_wdefault_pbackfail_internal (_IO_FILE *, wint_t) __attribute__ ((__nothrow__));
11599 extern size_t _IO_wdefault_xsputn_internal (_IO_FILE *, const void *,
11600       size_t) __attribute__ ((__nothrow__));
11601 extern size_t _IO_wdefault_xsgetn_internal (_IO_FILE *, void *,
11602       size_t) __attribute__ ((__nothrow__));
11603 extern int _IO_wdefault_doallocate_internal (_IO_FILE *) __attribute__ ((__nothrow__));
11604 extern wint_t _IO_wdefault_uflow_internal (_IO_FILE *) __attribute__ ((__nothrow__));
11605
11606 extern int _IO_file_doallocate_internal (_IO_FILE *) __attribute__ ((__nothrow__));
11607 extern _IO_FILE* _IO_file_setbuf_internal (_IO_FILE *, char *, __ssize_t)
11608      __attribute__ ((__nothrow__));
11609 extern __off64_t _IO_file_seekoff_internal (_IO_FILE *, __off64_t,
11610            int, int) __attribute__ ((__nothrow__));
11611 extern size_t _IO_file_xsputn_internal (_IO_FILE *, const void *,
11612          size_t) __attribute__ ((__nothrow__));
11613 extern size_t _IO_file_xsgetn_internal (_IO_FILE *, void *, size_t)
11614      __attribute__ ((__nothrow__));
11615 extern int _IO_file_stat_internal (_IO_FILE *, void *) __attribute__ ((__nothrow__));
11616 extern int _IO_file_close_internal (_IO_FILE *) __attribute__ ((__nothrow__));
11617 extern int _IO_file_close_it_internal (_IO_FILE *) __attribute__ ((__nothrow__));
11618 extern int _IO_file_underflow_internal (_IO_FILE *) __attribute__ ((__nothrow__));
11619 extern int _IO_file_overflow_internal (_IO_FILE *, int) __attribute__ ((__nothrow__));
11620 extern void _IO_file_init_internal (struct _IO_FILE_plus *) __attribute__ ((__nothrow__));
11621 extern _IO_FILE* _IO_file_attach_internal (_IO_FILE *, int) __attribute__ ((__nothrow__));
11622 extern _IO_FILE* _IO_file_fopen_internal (_IO_FILE *, const char *,
11623        const char *, int) __attribute__ ((__nothrow__));
11624 extern __ssize_t _IO_file_read_internal (_IO_FILE *, void *,
11625         __ssize_t);
11626 extern int _IO_file_sync_internal (_IO_FILE *) __attribute__ ((__nothrow__));
11627 extern __off64_t _IO_file_seek_internal (_IO_FILE *, __off64_t, int)
11628      __attribute__ ((__nothrow__));
11629 extern void _IO_file_finish_internal (_IO_FILE *, int) __attribute__ ((__nothrow__));
11630
11631 extern size_t _IO_wfile_xsputn_internal (_IO_FILE *, const void *,
11632           size_t) __attribute__ ((__nothrow__));
11633 extern __off64_t _IO_wfile_seekoff_internal (_IO_FILE *, __off64_t,
11634             int, int) __attribute__ ((__nothrow__));
11635 extern wint_t _IO_wfile_sync_internal (_IO_FILE *) __attribute__ ((__nothrow__));
11636
11637 extern int _IO_str_underflow_internal (_IO_FILE *) __attribute__ ((__nothrow__));
11638 extern int _IO_str_overflow_internal (_IO_FILE *, int) __attribute__ ((__nothrow__));
11639 extern int _IO_str_pbackfail_internal (_IO_FILE *, int) __attribute__ ((__nothrow__));
11640 extern __off64_t _IO_str_seekoff_internal (_IO_FILE *, __off64_t,
11641           int, int) __attribute__ ((__nothrow__));
11642 extern void _IO_str_init_static_internal (struct _IO_strfile_ *, char *,
11643        size_t, char *) __attribute__ ((__nothrow__));
11644
11645 extern struct _IO_jump_t _IO_file_jumps_internal __attribute__ ((visibility ("hidden")));
11646 extern struct _IO_jump_t _IO_wfile_jumps_internal __attribute__ ((visibility ("hidden")));
11647
11648 extern struct _IO_FILE_plus *_IO_list_all_internal __attribute__ ((visibility ("hidden")));
11649
11650 extern void _IO_link_in_internal (struct _IO_FILE_plus *) __attribute__ ((__nothrow__));
11651 extern int _IO_sputbackc_internal (_IO_FILE *, int) __attribute__ ((__nothrow__));
11652 extern void _IO_wdoallocbuf_internal (_IO_FILE *) __attribute__ ((__nothrow__));
11653
11654 extern size_t _IO_sgetn_internal (_IO_FILE *, void *, size_t);
11655 extern void _IO_flush_all_linebuffered_internal (void) __attribute__ ((__nothrow__));
11656 extern int _IO_switch_to_wget_mode_internal (_IO_FILE *) __attribute__ ((__nothrow__));
11657 extern void _IO_unsave_markers_internal (_IO_FILE *) __attribute__ ((__nothrow__));
11658 extern void _IO_switch_to_main_wget_area_internal (_IO_FILE *) __attribute__ ((__nothrow__));
11659 extern int _IO_wdo_write_internal (_IO_FILE *, const wchar_t *, size_t);
11660 extern int _IO_do_write_internal (_IO_FILE *, const char *, size_t);
11661 extern __ssize_t _IO_padn_internal (_IO_FILE *, int, __ssize_t) __attribute__ ((__nothrow__));
11662 extern size_t _IO_getline_info_internal (_IO_FILE *,char *, size_t,
11663           int, int, int *);
11664 extern size_t _IO_getline_internal (_IO_FILE *, char *, size_t, int,
11665      int);
11666 extern void _IO_free_wbackup_area_internal (_IO_FILE *) __attribute__ ((__nothrow__));
11667 extern void _IO_free_backup_area_internal (_IO_FILE *) __attribute__ ((__nothrow__));
11668 extern void _IO_switch_to_wbackup_area_internal (_IO_FILE *) __attribute__ ((__nothrow__));
11669 extern void _IO_setb_internal (_IO_FILE *, char *, char *, int) __attribute__ ((__nothrow__));
11670 extern wint_t _IO_sputbackwc_internal (_IO_FILE *, wint_t) __attribute__ ((__nothrow__));
11671 extern int _IO_switch_to_get_mode_internal (_IO_FILE *) __attribute__ ((__nothrow__));
11672 extern int _IO_vfscanf_internal (_IO_FILE * __restrict,
11673      const char * __restrict,
11674      __gnuc_va_list, int *__restrict);
11675 extern int _IO_vfprintf_internal (_IO_FILE *__restrict, const char *__restrict,
11676       __gnuc_va_list);
11677 extern void _IO_doallocbuf_internal (_IO_FILE *) __attribute__ ((__nothrow__));
11678 extern void _IO_wsetb_internal (_IO_FILE *, wchar_t *, wchar_t *, int)
11679      __attribute__ ((__nothrow__));
11680 extern __off64_t _IO_seekoff_unlocked (_IO_FILE *, __off64_t, int, int)
11681      __attribute__ ((visibility ("hidden"))) __attribute__ ((__nothrow__));
11682 extern __off64_t _IO_seekpos_unlocked (_IO_FILE *, __off64_t, int)
11683      __attribute__ ((visibility ("hidden"))) __attribute__ ((__nothrow__));
11684 extern int _IO_putc_internal (int __c, _IO_FILE *__fp);
11685 extern void _IO_init_internal (_IO_FILE *, int) __attribute__ ((__nothrow__));
11686 extern void _IO_un_link_internal (struct _IO_FILE_plus *) __attribute__ ((__nothrow__));
11687 # 800 "../libio/libioP.h"
11688 # 1 "../include/unistd.h" 1
11689
11690 # 1 "../posix/unistd.h" 1
11691 # 28 "../posix/unistd.h"
11692
11693 # 171 "../posix/unistd.h"
11694 # 1 "../nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h" 1
11695 # 172 "../posix/unistd.h" 2
11696
11697
11698
11699 # 1 "../bits/environments.h" 1
11700 # 23 "../bits/environments.h"
11701 # 1 "../sysdeps/wordsize-32/bits/wordsize.h" 1
11702 # 24 "../bits/environments.h" 2
11703 # 176 "../posix/unistd.h" 2
11704 # 195 "../posix/unistd.h"
11705 # 1 "/usr/lib/gcc/hppa2.0-unknown-linux-gnu/4.1.1/include/stddef.h" 1 3 4
11706 # 196 "../posix/unistd.h" 2
11707 # 256 "../posix/unistd.h"
11708 extern int access (__const char *__name, int __type) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
11709
11710
11711
11712
11713 extern int euidaccess (__const char *__name, int __type)
11714      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
11715
11716
11717 extern int eaccess (__const char *__name, int __type)
11718      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
11719
11720
11721
11722
11723
11724
11725 extern int faccessat (int __fd, __const char *__file, int __type, int __flag)
11726      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))) ;
11727 # 299 "../posix/unistd.h"
11728 extern __off_t lseek (int __fd, __off_t __offset, int __whence) __attribute__ ((__nothrow__));
11729 # 310 "../posix/unistd.h"
11730 extern __off64_t lseek64 (int __fd, __off64_t __offset, int __whence)
11731      __attribute__ ((__nothrow__));
11732
11733
11734
11735
11736
11737
11738 extern int close (int __fd);
11739
11740
11741
11742
11743
11744
11745 extern ssize_t read (int __fd, void *__buf, size_t __nbytes) ;
11746
11747
11748
11749
11750
11751 extern ssize_t write (int __fd, __const void *__buf, size_t __n) ;
11752 # 341 "../posix/unistd.h"
11753 extern ssize_t pread (int __fd, void *__buf, size_t __nbytes,
11754         __off_t __offset) ;
11755
11756
11757
11758
11759
11760
11761 extern ssize_t pwrite (int __fd, __const void *__buf, size_t __n,
11762          __off_t __offset) ;
11763 # 369 "../posix/unistd.h"
11764 extern ssize_t pread64 (int __fd, void *__buf, size_t __nbytes,
11765    __off64_t __offset) ;
11766
11767
11768 extern ssize_t pwrite64 (int __fd, __const void *__buf, size_t __n,
11769     __off64_t __offset) ;
11770
11771
11772
11773
11774
11775
11776
11777 extern int pipe (int __pipedes[2]) __attribute__ ((__nothrow__)) ;
11778 # 391 "../posix/unistd.h"
11779 extern unsigned int alarm (unsigned int __seconds) __attribute__ ((__nothrow__));
11780 # 403 "../posix/unistd.h"
11781 extern unsigned int sleep (unsigned int __seconds);
11782
11783
11784
11785
11786
11787
11788 extern __useconds_t ualarm (__useconds_t __value, __useconds_t __interval)
11789      __attribute__ ((__nothrow__));
11790
11791
11792
11793
11794
11795
11796 extern int usleep (__useconds_t __useconds);
11797 # 427 "../posix/unistd.h"
11798 extern int pause (void);
11799
11800
11801
11802 extern int chown (__const char *__file, __uid_t __owner, __gid_t __group)
11803      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
11804
11805
11806
11807 extern int fchown (int __fd, __uid_t __owner, __gid_t __group) __attribute__ ((__nothrow__)) ;
11808
11809
11810
11811
11812 extern int lchown (__const char *__file, __uid_t __owner, __gid_t __group)
11813      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
11814
11815
11816
11817
11818
11819
11820 extern int fchownat (int __fd, __const char *__file, __uid_t __owner,
11821        __gid_t __group, int __flag)
11822      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))) ;
11823
11824
11825
11826 extern int chdir (__const char *__path) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
11827
11828
11829
11830 extern int fchdir (int __fd) __attribute__ ((__nothrow__)) ;
11831 # 469 "../posix/unistd.h"
11832 extern char *getcwd (char *__buf, size_t __size) __attribute__ ((__nothrow__)) ;
11833
11834
11835
11836
11837
11838 extern char *get_current_dir_name (void) __attribute__ ((__nothrow__));
11839
11840
11841
11842
11843
11844
11845 extern char *getwd (char *__buf)
11846      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__deprecated__)) ;
11847
11848
11849
11850
11851 extern int dup (int __fd) __attribute__ ((__nothrow__)) ;
11852
11853
11854 extern int dup2 (int __fd, int __fd2) __attribute__ ((__nothrow__));
11855
11856
11857 extern char **__environ;
11858
11859 extern char **environ;
11860
11861
11862
11863
11864
11865 extern int execve (__const char *__path, char *__const __argv[],
11866      char *__const __envp[]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
11867
11868
11869
11870
11871 extern int fexecve (int __fd, char *__const __argv[], char *__const __envp[])
11872      __attribute__ ((__nothrow__));
11873
11874
11875
11876
11877 extern int execv (__const char *__path, char *__const __argv[])
11878      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
11879
11880
11881
11882 extern int execle (__const char *__path, __const char *__arg, ...)
11883      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
11884
11885
11886
11887 extern int execl (__const char *__path, __const char *__arg, ...)
11888      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
11889
11890
11891
11892 extern int execvp (__const char *__file, char *__const __argv[])
11893      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
11894
11895
11896
11897
11898 extern int execlp (__const char *__file, __const char *__arg, ...)
11899      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
11900
11901
11902
11903
11904 extern int nice (int __inc) __attribute__ ((__nothrow__)) ;
11905
11906
11907
11908
11909 extern void _exit (int __status) __attribute__ ((__noreturn__));
11910
11911
11912
11913
11914
11915 # 1 "../bits/confname.h" 1
11916 # 26 "../bits/confname.h"
11917 enum
11918   {
11919     _PC_LINK_MAX,
11920
11921     _PC_MAX_CANON,
11922
11923     _PC_MAX_INPUT,
11924
11925     _PC_NAME_MAX,
11926
11927     _PC_PATH_MAX,
11928
11929     _PC_PIPE_BUF,
11930
11931     _PC_CHOWN_RESTRICTED,
11932
11933     _PC_NO_TRUNC,
11934
11935     _PC_VDISABLE,
11936
11937     _PC_SYNC_IO,
11938
11939     _PC_ASYNC_IO,
11940
11941     _PC_PRIO_IO,
11942
11943     _PC_SOCK_MAXBUF,
11944
11945     _PC_FILESIZEBITS,
11946
11947     _PC_REC_INCR_XFER_SIZE,
11948
11949     _PC_REC_MAX_XFER_SIZE,
11950
11951     _PC_REC_MIN_XFER_SIZE,
11952
11953     _PC_REC_XFER_ALIGN,
11954
11955     _PC_ALLOC_SIZE_MIN,
11956
11957     _PC_SYMLINK_MAX,
11958
11959     _PC_2_SYMLINKS
11960
11961   };
11962
11963
11964 enum
11965   {
11966     _SC_ARG_MAX,
11967
11968     _SC_CHILD_MAX,
11969
11970     _SC_CLK_TCK,
11971
11972     _SC_NGROUPS_MAX,
11973
11974     _SC_OPEN_MAX,
11975
11976     _SC_STREAM_MAX,
11977
11978     _SC_TZNAME_MAX,
11979
11980     _SC_JOB_CONTROL,
11981
11982     _SC_SAVED_IDS,
11983
11984     _SC_REALTIME_SIGNALS,
11985
11986     _SC_PRIORITY_SCHEDULING,
11987
11988     _SC_TIMERS,
11989
11990     _SC_ASYNCHRONOUS_IO,
11991
11992     _SC_PRIORITIZED_IO,
11993
11994     _SC_SYNCHRONIZED_IO,
11995
11996     _SC_FSYNC,
11997
11998     _SC_MAPPED_FILES,
11999
12000     _SC_MEMLOCK,
12001
12002     _SC_MEMLOCK_RANGE,
12003
12004     _SC_MEMORY_PROTECTION,
12005
12006     _SC_MESSAGE_PASSING,
12007
12008     _SC_SEMAPHORES,
12009
12010     _SC_SHARED_MEMORY_OBJECTS,
12011
12012     _SC_AIO_LISTIO_MAX,
12013
12014     _SC_AIO_MAX,
12015
12016     _SC_AIO_PRIO_DELTA_MAX,
12017
12018     _SC_DELAYTIMER_MAX,
12019
12020     _SC_MQ_OPEN_MAX,
12021
12022     _SC_MQ_PRIO_MAX,
12023
12024     _SC_VERSION,
12025
12026     _SC_PAGESIZE,
12027
12028
12029     _SC_RTSIG_MAX,
12030
12031     _SC_SEM_NSEMS_MAX,
12032
12033     _SC_SEM_VALUE_MAX,
12034
12035     _SC_SIGQUEUE_MAX,
12036
12037     _SC_TIMER_MAX,
12038
12039
12040
12041
12042     _SC_BC_BASE_MAX,
12043
12044     _SC_BC_DIM_MAX,
12045
12046     _SC_BC_SCALE_MAX,
12047
12048     _SC_BC_STRING_MAX,
12049
12050     _SC_COLL_WEIGHTS_MAX,
12051
12052     _SC_EQUIV_CLASS_MAX,
12053
12054     _SC_EXPR_NEST_MAX,
12055
12056     _SC_LINE_MAX,
12057
12058     _SC_RE_DUP_MAX,
12059
12060     _SC_CHARCLASS_NAME_MAX,
12061
12062
12063     _SC_2_VERSION,
12064
12065     _SC_2_C_BIND,
12066
12067     _SC_2_C_DEV,
12068
12069     _SC_2_FORT_DEV,
12070
12071     _SC_2_FORT_RUN,
12072
12073     _SC_2_SW_DEV,
12074
12075     _SC_2_LOCALEDEF,
12076
12077
12078     _SC_PII,
12079
12080     _SC_PII_XTI,
12081
12082     _SC_PII_SOCKET,
12083
12084     _SC_PII_INTERNET,
12085
12086     _SC_PII_OSI,
12087
12088     _SC_POLL,
12089
12090     _SC_SELECT,
12091
12092     _SC_UIO_MAXIOV,
12093
12094     _SC_IOV_MAX = _SC_UIO_MAXIOV,
12095
12096     _SC_PII_INTERNET_STREAM,
12097
12098     _SC_PII_INTERNET_DGRAM,
12099
12100     _SC_PII_OSI_COTS,
12101
12102     _SC_PII_OSI_CLTS,
12103
12104     _SC_PII_OSI_M,
12105
12106     _SC_T_IOV_MAX,
12107
12108
12109
12110     _SC_THREADS,
12111
12112     _SC_THREAD_SAFE_FUNCTIONS,
12113
12114     _SC_GETGR_R_SIZE_MAX,
12115
12116     _SC_GETPW_R_SIZE_MAX,
12117
12118     _SC_LOGIN_NAME_MAX,
12119
12120     _SC_TTY_NAME_MAX,
12121
12122     _SC_THREAD_DESTRUCTOR_ITERATIONS,
12123
12124     _SC_THREAD_KEYS_MAX,
12125
12126     _SC_THREAD_STACK_MIN,
12127
12128     _SC_THREAD_THREADS_MAX,
12129
12130     _SC_THREAD_ATTR_STACKADDR,
12131
12132     _SC_THREAD_ATTR_STACKSIZE,
12133
12134     _SC_THREAD_PRIORITY_SCHEDULING,
12135
12136     _SC_THREAD_PRIO_INHERIT,
12137
12138     _SC_THREAD_PRIO_PROTECT,
12139
12140     _SC_THREAD_PROCESS_SHARED,
12141
12142
12143     _SC_NPROCESSORS_CONF,
12144
12145     _SC_NPROCESSORS_ONLN,
12146
12147     _SC_PHYS_PAGES,
12148
12149     _SC_AVPHYS_PAGES,
12150
12151     _SC_ATEXIT_MAX,
12152
12153     _SC_PASS_MAX,
12154
12155
12156     _SC_XOPEN_VERSION,
12157
12158     _SC_XOPEN_XCU_VERSION,
12159
12160     _SC_XOPEN_UNIX,
12161
12162     _SC_XOPEN_CRYPT,
12163
12164     _SC_XOPEN_ENH_I18N,
12165
12166     _SC_XOPEN_SHM,
12167
12168
12169     _SC_2_CHAR_TERM,
12170
12171     _SC_2_C_VERSION,
12172
12173     _SC_2_UPE,
12174
12175
12176     _SC_XOPEN_XPG2,
12177
12178     _SC_XOPEN_XPG3,
12179
12180     _SC_XOPEN_XPG4,
12181
12182
12183     _SC_CHAR_BIT,
12184
12185     _SC_CHAR_MAX,
12186
12187     _SC_CHAR_MIN,
12188
12189     _SC_INT_MAX,
12190
12191     _SC_INT_MIN,
12192
12193     _SC_LONG_BIT,
12194
12195     _SC_WORD_BIT,
12196
12197     _SC_MB_LEN_MAX,
12198
12199     _SC_NZERO,
12200
12201     _SC_SSIZE_MAX,
12202
12203     _SC_SCHAR_MAX,
12204
12205     _SC_SCHAR_MIN,
12206
12207     _SC_SHRT_MAX,
12208
12209     _SC_SHRT_MIN,
12210
12211     _SC_UCHAR_MAX,
12212
12213     _SC_UINT_MAX,
12214
12215     _SC_ULONG_MAX,
12216
12217     _SC_USHRT_MAX,
12218
12219
12220     _SC_NL_ARGMAX,
12221
12222     _SC_NL_LANGMAX,
12223
12224     _SC_NL_MSGMAX,
12225
12226     _SC_NL_NMAX,
12227
12228     _SC_NL_SETMAX,
12229
12230     _SC_NL_TEXTMAX,
12231
12232
12233     _SC_XBS5_ILP32_OFF32,
12234
12235     _SC_XBS5_ILP32_OFFBIG,
12236
12237     _SC_XBS5_LP64_OFF64,
12238
12239     _SC_XBS5_LPBIG_OFFBIG,
12240
12241
12242     _SC_XOPEN_LEGACY,
12243
12244     _SC_XOPEN_REALTIME,
12245
12246     _SC_XOPEN_REALTIME_THREADS,
12247
12248
12249     _SC_ADVISORY_INFO,
12250
12251     _SC_BARRIERS,
12252
12253     _SC_BASE,
12254
12255     _SC_C_LANG_SUPPORT,
12256
12257     _SC_C_LANG_SUPPORT_R,
12258
12259     _SC_CLOCK_SELECTION,
12260
12261     _SC_CPUTIME,
12262
12263     _SC_THREAD_CPUTIME,
12264
12265     _SC_DEVICE_IO,
12266
12267     _SC_DEVICE_SPECIFIC,
12268
12269     _SC_DEVICE_SPECIFIC_R,
12270
12271     _SC_FD_MGMT,
12272
12273     _SC_FIFO,
12274
12275     _SC_PIPE,
12276
12277     _SC_FILE_ATTRIBUTES,
12278
12279     _SC_FILE_LOCKING,
12280
12281     _SC_FILE_SYSTEM,
12282
12283     _SC_MONOTONIC_CLOCK,
12284
12285     _SC_MULTI_PROCESS,
12286
12287     _SC_SINGLE_PROCESS,
12288
12289     _SC_NETWORKING,
12290
12291     _SC_READER_WRITER_LOCKS,
12292
12293     _SC_SPIN_LOCKS,
12294
12295     _SC_REGEXP,
12296
12297     _SC_REGEX_VERSION,
12298
12299     _SC_SHELL,
12300
12301     _SC_SIGNALS,
12302
12303     _SC_SPAWN,
12304
12305     _SC_SPORADIC_SERVER,
12306
12307     _SC_THREAD_SPORADIC_SERVER,
12308
12309     _SC_SYSTEM_DATABASE,
12310
12311     _SC_SYSTEM_DATABASE_R,
12312
12313     _SC_TIMEOUTS,
12314
12315     _SC_TYPED_MEMORY_OBJECTS,
12316
12317     _SC_USER_GROUPS,
12318
12319     _SC_USER_GROUPS_R,
12320
12321     _SC_2_PBS,
12322
12323     _SC_2_PBS_ACCOUNTING,
12324
12325     _SC_2_PBS_LOCATE,
12326
12327     _SC_2_PBS_MESSAGE,
12328
12329     _SC_2_PBS_TRACK,
12330
12331     _SC_SYMLOOP_MAX,
12332
12333     _SC_STREAMS,
12334
12335     _SC_2_PBS_CHECKPOINT,
12336
12337
12338     _SC_V6_ILP32_OFF32,
12339
12340     _SC_V6_ILP32_OFFBIG,
12341
12342     _SC_V6_LP64_OFF64,
12343
12344     _SC_V6_LPBIG_OFFBIG,
12345
12346
12347     _SC_HOST_NAME_MAX,
12348
12349     _SC_TRACE,
12350
12351     _SC_TRACE_EVENT_FILTER,
12352
12353     _SC_TRACE_INHERIT,
12354
12355     _SC_TRACE_LOG,
12356
12357
12358     _SC_LEVEL1_ICACHE_SIZE,
12359
12360     _SC_LEVEL1_ICACHE_ASSOC,
12361
12362     _SC_LEVEL1_ICACHE_LINESIZE,
12363
12364     _SC_LEVEL1_DCACHE_SIZE,
12365
12366     _SC_LEVEL1_DCACHE_ASSOC,
12367
12368     _SC_LEVEL1_DCACHE_LINESIZE,
12369
12370     _SC_LEVEL2_CACHE_SIZE,
12371
12372     _SC_LEVEL2_CACHE_ASSOC,
12373
12374     _SC_LEVEL2_CACHE_LINESIZE,
12375
12376     _SC_LEVEL3_CACHE_SIZE,
12377
12378     _SC_LEVEL3_CACHE_ASSOC,
12379
12380     _SC_LEVEL3_CACHE_LINESIZE,
12381
12382     _SC_LEVEL4_CACHE_SIZE,
12383
12384     _SC_LEVEL4_CACHE_ASSOC,
12385
12386     _SC_LEVEL4_CACHE_LINESIZE,
12387
12388
12389
12390     _SC_IPV6 = _SC_LEVEL1_ICACHE_SIZE + 50,
12391
12392     _SC_RAW_SOCKETS
12393
12394   };
12395
12396
12397 enum
12398   {
12399     _CS_PATH,
12400
12401
12402     _CS_V6_WIDTH_RESTRICTED_ENVS,
12403
12404
12405     _CS_GNU_LIBC_VERSION,
12406
12407     _CS_GNU_LIBPTHREAD_VERSION,
12408
12409
12410     _CS_LFS_CFLAGS = 1000,
12411
12412     _CS_LFS_LDFLAGS,
12413
12414     _CS_LFS_LIBS,
12415
12416     _CS_LFS_LINTFLAGS,
12417
12418     _CS_LFS64_CFLAGS,
12419
12420     _CS_LFS64_LDFLAGS,
12421
12422     _CS_LFS64_LIBS,
12423
12424     _CS_LFS64_LINTFLAGS,
12425
12426
12427     _CS_XBS5_ILP32_OFF32_CFLAGS = 1100,
12428
12429     _CS_XBS5_ILP32_OFF32_LDFLAGS,
12430
12431     _CS_XBS5_ILP32_OFF32_LIBS,
12432
12433     _CS_XBS5_ILP32_OFF32_LINTFLAGS,
12434
12435     _CS_XBS5_ILP32_OFFBIG_CFLAGS,
12436
12437     _CS_XBS5_ILP32_OFFBIG_LDFLAGS,
12438
12439     _CS_XBS5_ILP32_OFFBIG_LIBS,
12440
12441     _CS_XBS5_ILP32_OFFBIG_LINTFLAGS,
12442
12443     _CS_XBS5_LP64_OFF64_CFLAGS,
12444
12445     _CS_XBS5_LP64_OFF64_LDFLAGS,
12446
12447     _CS_XBS5_LP64_OFF64_LIBS,
12448
12449     _CS_XBS5_LP64_OFF64_LINTFLAGS,
12450
12451     _CS_XBS5_LPBIG_OFFBIG_CFLAGS,
12452
12453     _CS_XBS5_LPBIG_OFFBIG_LDFLAGS,
12454
12455     _CS_XBS5_LPBIG_OFFBIG_LIBS,
12456
12457     _CS_XBS5_LPBIG_OFFBIG_LINTFLAGS,
12458
12459
12460     _CS_POSIX_V6_ILP32_OFF32_CFLAGS,
12461
12462     _CS_POSIX_V6_ILP32_OFF32_LDFLAGS,
12463
12464     _CS_POSIX_V6_ILP32_OFF32_LIBS,
12465
12466     _CS_POSIX_V6_ILP32_OFF32_LINTFLAGS,
12467
12468     _CS_POSIX_V6_ILP32_OFFBIG_CFLAGS,
12469
12470     _CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS,
12471
12472     _CS_POSIX_V6_ILP32_OFFBIG_LIBS,
12473
12474     _CS_POSIX_V6_ILP32_OFFBIG_LINTFLAGS,
12475
12476     _CS_POSIX_V6_LP64_OFF64_CFLAGS,
12477
12478     _CS_POSIX_V6_LP64_OFF64_LDFLAGS,
12479
12480     _CS_POSIX_V6_LP64_OFF64_LIBS,
12481
12482     _CS_POSIX_V6_LP64_OFF64_LINTFLAGS,
12483
12484     _CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS,
12485
12486     _CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS,
12487
12488     _CS_POSIX_V6_LPBIG_OFFBIG_LIBS,
12489
12490     _CS_POSIX_V6_LPBIG_OFFBIG_LINTFLAGS
12491
12492   };
12493 # 553 "../posix/unistd.h" 2
12494
12495
12496 extern long int pathconf (__const char *__path, int __name)
12497      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
12498
12499
12500 extern long int fpathconf (int __fd, int __name) __attribute__ ((__nothrow__));
12501
12502
12503 extern long int sysconf (int __name) __attribute__ ((__nothrow__));
12504
12505
12506
12507 extern size_t confstr (int __name, char *__buf, size_t __len) __attribute__ ((__nothrow__));
12508
12509
12510
12511
12512 extern __pid_t getpid (void) __attribute__ ((__nothrow__));
12513
12514
12515 extern __pid_t getppid (void) __attribute__ ((__nothrow__));
12516
12517
12518
12519
12520 extern __pid_t getpgrp (void) __attribute__ ((__nothrow__));
12521 # 589 "../posix/unistd.h"
12522 extern __pid_t __getpgid (__pid_t __pid) __attribute__ ((__nothrow__));
12523
12524 extern __pid_t getpgid (__pid_t __pid) __attribute__ ((__nothrow__));
12525
12526
12527
12528
12529
12530
12531 extern int setpgid (__pid_t __pid, __pid_t __pgid) __attribute__ ((__nothrow__));
12532 # 615 "../posix/unistd.h"
12533 extern int setpgrp (void) __attribute__ ((__nothrow__));
12534 # 632 "../posix/unistd.h"
12535 extern __pid_t setsid (void) __attribute__ ((__nothrow__));
12536
12537
12538
12539 extern __pid_t getsid (__pid_t __pid) __attribute__ ((__nothrow__));
12540
12541
12542
12543 extern __uid_t getuid (void) __attribute__ ((__nothrow__));
12544
12545
12546 extern __uid_t geteuid (void) __attribute__ ((__nothrow__));
12547
12548
12549 extern __gid_t getgid (void) __attribute__ ((__nothrow__));
12550
12551
12552 extern __gid_t getegid (void) __attribute__ ((__nothrow__));
12553
12554
12555
12556
12557 extern int getgroups (int __size, __gid_t __list[]) __attribute__ ((__nothrow__)) ;
12558
12559
12560
12561 extern int group_member (__gid_t __gid) __attribute__ ((__nothrow__));
12562
12563
12564
12565
12566
12567
12568 extern int setuid (__uid_t __uid) __attribute__ ((__nothrow__));
12569
12570
12571
12572
12573 extern int setreuid (__uid_t __ruid, __uid_t __euid) __attribute__ ((__nothrow__));
12574
12575
12576
12577
12578 extern int seteuid (__uid_t __uid) __attribute__ ((__nothrow__));
12579
12580
12581
12582
12583
12584
12585 extern int setgid (__gid_t __gid) __attribute__ ((__nothrow__));
12586
12587
12588
12589
12590 extern int setregid (__gid_t __rgid, __gid_t __egid) __attribute__ ((__nothrow__));
12591
12592
12593
12594
12595 extern int setegid (__gid_t __gid) __attribute__ ((__nothrow__));
12596
12597
12598
12599
12600
12601 extern int getresuid (__uid_t *__ruid, __uid_t *__euid, __uid_t *__suid)
12602      __attribute__ ((__nothrow__));
12603
12604
12605
12606 extern int getresgid (__gid_t *__rgid, __gid_t *__egid, __gid_t *__sgid)
12607      __attribute__ ((__nothrow__));
12608
12609
12610
12611 extern int setresuid (__uid_t __ruid, __uid_t __euid, __uid_t __suid)
12612      __attribute__ ((__nothrow__));
12613
12614
12615
12616 extern int setresgid (__gid_t __rgid, __gid_t __egid, __gid_t __sgid)
12617      __attribute__ ((__nothrow__));
12618
12619
12620
12621
12622
12623
12624 extern __pid_t fork (void) __attribute__ ((__nothrow__));
12625
12626
12627
12628
12629
12630
12631 extern __pid_t vfork (void) __attribute__ ((__nothrow__));
12632
12633
12634
12635
12636
12637 extern char *ttyname (int __fd) __attribute__ ((__nothrow__));
12638
12639
12640
12641 extern int ttyname_r (int __fd, char *__buf, size_t __buflen)
12642      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))) ;
12643
12644
12645
12646 extern int isatty (int __fd) __attribute__ ((__nothrow__));
12647
12648
12649
12650
12651
12652 extern int ttyslot (void) __attribute__ ((__nothrow__));
12653
12654
12655
12656
12657 extern int link (__const char *__from, __const char *__to)
12658      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))) ;
12659
12660
12661
12662
12663 extern int linkat (int __fromfd, __const char *__from, int __tofd,
12664      __const char *__to, int __flags)
12665      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 4))) ;
12666
12667
12668
12669
12670 extern int symlink (__const char *__from, __const char *__to)
12671      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))) ;
12672
12673
12674
12675
12676 extern ssize_t readlink (__const char *__restrict __path,
12677     char *__restrict __buf, size_t __len)
12678      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))) ;
12679
12680
12681
12682
12683 extern int symlinkat (__const char *__from, int __tofd,
12684         __const char *__to) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 3))) ;
12685
12686
12687 extern ssize_t readlinkat (int __fd, __const char *__restrict __path,
12688       char *__restrict __buf, size_t __len)
12689      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3))) ;
12690
12691
12692
12693 extern int unlink (__const char *__name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
12694
12695
12696
12697 extern int unlinkat (int __fd, __const char *__name, int __flag)
12698      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
12699
12700
12701
12702 extern int rmdir (__const char *__path) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
12703
12704
12705
12706 extern __pid_t tcgetpgrp (int __fd) __attribute__ ((__nothrow__));
12707
12708
12709 extern int tcsetpgrp (int __fd, __pid_t __pgrp_id) __attribute__ ((__nothrow__));
12710
12711
12712
12713
12714
12715
12716 extern char *getlogin (void);
12717
12718
12719
12720
12721
12722
12723
12724 extern int getlogin_r (char *__name, size_t __name_len) __attribute__ ((__nonnull__ (1)));
12725
12726
12727
12728
12729 extern int setlogin (__const char *__name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
12730 # 835 "../posix/unistd.h"
12731 # 1 "../include/getopt.h" 1
12732
12733
12734
12735 # 1 "../posix/getopt.h" 1
12736 # 59 "../posix/getopt.h"
12737 extern char *optarg;
12738 # 73 "../posix/getopt.h"
12739 extern int optind;
12740
12741
12742
12743
12744 extern int opterr;
12745
12746
12747
12748 extern int optopt;
12749 # 152 "../posix/getopt.h"
12750 extern int getopt (int ___argc, char *const *___argv, const char *__shortopts)
12751        __attribute__ ((__nothrow__));
12752 # 5 "../include/getopt.h" 2
12753 # 836 "../posix/unistd.h" 2
12754
12755
12756
12757
12758
12759
12760
12761 extern int gethostname (char *__name, size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
12762
12763
12764
12765
12766
12767
12768 extern int sethostname (__const char *__name, size_t __len)
12769      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
12770
12771
12772
12773 extern int sethostid (long int __id) __attribute__ ((__nothrow__)) ;
12774
12775
12776
12777
12778
12779 extern int getdomainname (char *__name, size_t __len)
12780      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
12781 extern int setdomainname (__const char *__name, size_t __len)
12782      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
12783
12784
12785
12786
12787
12788 extern int vhangup (void) __attribute__ ((__nothrow__));
12789
12790
12791 extern int revoke (__const char *__file) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
12792
12793
12794
12795
12796
12797
12798
12799 extern int profil (unsigned short int *__sample_buffer, size_t __size,
12800      size_t __offset, unsigned int __scale)
12801      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
12802
12803
12804
12805
12806
12807 extern int acct (__const char *__name) __attribute__ ((__nothrow__));
12808
12809
12810
12811 extern char *getusershell (void) __attribute__ ((__nothrow__));
12812 extern void endusershell (void) __attribute__ ((__nothrow__));
12813 extern void setusershell (void) __attribute__ ((__nothrow__));
12814
12815
12816
12817
12818
12819 extern int daemon (int __nochdir, int __noclose) __attribute__ ((__nothrow__)) ;
12820
12821
12822
12823
12824
12825
12826 extern int chroot (__const char *__path) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
12827
12828
12829
12830 extern char *getpass (__const char *__prompt) __attribute__ ((__nonnull__ (1)));
12831 # 921 "../posix/unistd.h"
12832 extern int fsync (int __fd);
12833
12834
12835
12836
12837
12838
12839 extern long int gethostid (void);
12840
12841
12842 extern void sync (void) __attribute__ ((__nothrow__));
12843
12844
12845
12846
12847 extern int getpagesize (void) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
12848
12849
12850
12851
12852 extern int getdtablesize (void) __attribute__ ((__nothrow__));
12853
12854
12855
12856
12857 extern int truncate (__const char *__file, __off_t __length)
12858      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
12859 # 958 "../posix/unistd.h"
12860 extern int truncate64 (__const char *__file, __off64_t __length)
12861      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
12862 # 968 "../posix/unistd.h"
12863 extern int ftruncate (int __fd, __off_t __length) __attribute__ ((__nothrow__)) ;
12864 # 978 "../posix/unistd.h"
12865 extern int ftruncate64 (int __fd, __off64_t __length) __attribute__ ((__nothrow__)) ;
12866 # 988 "../posix/unistd.h"
12867 extern int brk (void *__addr) __attribute__ ((__nothrow__)) ;
12868
12869
12870
12871
12872
12873 extern void *sbrk (intptr_t __delta) __attribute__ ((__nothrow__));
12874 # 1009 "../posix/unistd.h"
12875 extern long int syscall (long int __sysno, ...) __attribute__ ((__nothrow__));
12876 # 1032 "../posix/unistd.h"
12877 extern int lockf (int __fd, int __cmd, __off_t __len) ;
12878 # 1042 "../posix/unistd.h"
12879 extern int lockf64 (int __fd, int __cmd, __off64_t __len) ;
12880 # 1063 "../posix/unistd.h"
12881 extern int fdatasync (int __fildes) __attribute__ ((__nothrow__));
12882
12883
12884
12885
12886
12887
12888
12889 extern char *crypt (__const char *__key, __const char *__salt)
12890      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
12891
12892
12893
12894 extern void encrypt (char *__block, int __edflag) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
12895
12896
12897
12898
12899
12900
12901 extern void swab (__const void *__restrict __from, void *__restrict __to,
12902     ssize_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
12903
12904
12905
12906
12907
12908
12909
12910 extern char *ctermid (char *__s) __attribute__ ((__nothrow__));
12911 # 1101 "../posix/unistd.h"
12912
12913 # 3 "../include/unistd.h" 2
12914
12915 extern __typeof (_exit) _exit __asm__ ("" "__GI__exit") __attribute__ ((visibility ("hidden"), __noreturn__));
12916 extern __typeof (alarm) alarm __asm__ ("" "__GI_alarm") __attribute__ ((visibility ("hidden")));
12917 extern __typeof (confstr) confstr __asm__ ("" "__GI_confstr") __attribute__ ((visibility ("hidden")));
12918 extern __typeof (execl) execl __asm__ ("" "__GI_execl") __attribute__ ((visibility ("hidden")));
12919 extern __typeof (execle) execle __asm__ ("" "__GI_execle") __attribute__ ((visibility ("hidden")));
12920 extern __typeof (execlp) execlp __asm__ ("" "__GI_execlp") __attribute__ ((visibility ("hidden")));
12921 extern __typeof (execvp) execvp __asm__ ("" "__GI_execvp") __attribute__ ((visibility ("hidden")));
12922 extern __typeof (getpid) getpid __asm__ ("" "__GI_getpid") __attribute__ ((visibility ("hidden")));
12923 extern __typeof (getsid) getsid __asm__ ("" "__GI_getsid") __attribute__ ((visibility ("hidden")));
12924 extern __typeof (getdomainname) getdomainname __asm__ ("" "__GI_getdomainname") __attribute__ ((visibility ("hidden")));
12925 extern __typeof (getlogin_r) getlogin_r __asm__ ("" "__GI_getlogin_r") __attribute__ ((visibility ("hidden")));
12926 extern __typeof (seteuid) seteuid __asm__ ("" "__GI_seteuid") __attribute__ ((visibility ("hidden")));
12927 extern __typeof (setegid) setegid __asm__ ("" "__GI_setegid") __attribute__ ((visibility ("hidden")));
12928 extern __typeof (tcgetpgrp) tcgetpgrp __asm__ ("" "__GI_tcgetpgrp") __attribute__ ((visibility ("hidden")));
12929 extern __typeof (readlinkat) readlinkat __asm__ ("" "__GI_readlinkat") __attribute__ ((visibility ("hidden")));
12930
12931
12932 extern int __access (__const char *__name, int __type);
12933 extern int __euidaccess (__const char *__name, int __type);
12934 extern __off64_t __lseek64 (int __fd, __off64_t __offset, int __whence);
12935 extern __off_t __lseek (int __fd, __off_t __offset, int __whence);
12936 extern __typeof (__lseek) __lseek __asm__ ("" "__GI___lseek") __attribute__ ((visibility ("hidden")));
12937 extern __off_t __libc_lseek (int __fd, __off_t __offset, int __whence);
12938 extern __off64_t __libc_lseek64 (int __fd, __off64_t __offset, int __whence);
12939 extern ssize_t __pread (int __fd, void *__buf, size_t __nbytes,
12940    __off_t __offset);
12941 extern ssize_t __libc_pread (int __fd, void *__buf, size_t __nbytes,
12942         __off_t __offset);
12943 extern ssize_t __pread64 (int __fd, void *__buf, size_t __nbytes,
12944      __off64_t __offset);
12945 extern ssize_t __libc_pread64 (int __fd, void *__buf, size_t __nbytes,
12946           __off64_t __offset);
12947 extern ssize_t __pwrite (int __fd, __const void *__buf, size_t __n,
12948     __off_t __offset);
12949 extern ssize_t __libc_pwrite (int __fd, __const void *__buf, size_t __n,
12950          __off_t __offset);
12951 extern ssize_t __pwrite64 (int __fd, __const void *__buf, size_t __n,
12952       __off64_t __offset);
12953 extern __typeof (__pwrite64) __pwrite64 __asm__ ("" "__GI___pwrite64") __attribute__ ((visibility ("hidden")));
12954 extern ssize_t __libc_pwrite64 (int __fd, __const void *__buf, size_t __n,
12955     __off64_t __offset);
12956 extern ssize_t __libc_read (int __fd, void *__buf, size_t __n);
12957 extern __typeof (__libc_read) __libc_read __asm__ ("" "__GI___libc_read") __attribute__ ((visibility ("hidden")));
12958 extern ssize_t __libc_write (int __fd, __const void *__buf, size_t __n);
12959 extern __typeof (__libc_write) __libc_write __asm__ ("" "__GI___libc_write") __attribute__ ((visibility ("hidden")));
12960 extern int __pipe (int __pipedes[2]);
12961 extern __typeof (__pipe) __pipe __asm__ ("" "__GI___pipe") __attribute__ ((visibility ("hidden")));
12962 extern unsigned int __sleep (unsigned int __seconds);
12963 extern int __chown (__const char *__file,
12964       __uid_t __owner, __gid_t __group);
12965 extern __typeof (__chown) __chown __asm__ ("" "__GI___chown") __attribute__ ((visibility ("hidden")));
12966 extern int __fchown (int __fd,
12967        __uid_t __owner, __gid_t __group);
12968 extern int __lchown (__const char *__file, __uid_t __owner,
12969        __gid_t __group);
12970 extern int __chdir (__const char *__path);
12971 extern int __fchdir (int __fd);
12972 extern char *__getcwd (char *__buf, size_t __size);
12973 extern int __rmdir (const char *__path);
12974
12975
12976
12977
12978
12979
12980
12981 char *__canonicalize_directory_name_internal (__const char *__thisdir,
12982            char *__buf,
12983            size_t __size) __attribute__ ((visibility ("hidden")));
12984
12985 extern int __dup (int __fd);
12986 extern int __dup2 (int __fd, int __fd2);
12987 extern __typeof (__dup2) __dup2 __asm__ ("" "__GI___dup2") __attribute__ ((visibility ("hidden")));
12988 extern int __execve (__const char *__path, char *__const __argv[],
12989        char *__const __envp[]);
12990 extern long int __pathconf (__const char *__path, int __name);
12991 extern long int __fpathconf (int __fd, int __name);
12992 extern long int __sysconf (int __name);
12993 extern __typeof (__sysconf) __sysconf __asm__ ("" "__GI___sysconf") __attribute__ ((visibility ("hidden")));
12994 extern __pid_t __getpid (void);
12995 extern __typeof (__getpid) __getpid __asm__ ("" "__GI___getpid") __attribute__ ((visibility ("hidden")));
12996 extern __pid_t __getppid (void);
12997 extern __pid_t __setsid (void);
12998 extern __uid_t __getuid (void);
12999 extern __uid_t __geteuid (void);
13000 extern __gid_t __getgid (void);
13001 extern __gid_t __getegid (void);
13002 extern int __getgroups (int __size, __gid_t __list[]);
13003 extern __typeof (__getpgid) __getpgid __asm__ ("" "__GI___getpgid") __attribute__ ((visibility ("hidden")));
13004 extern int __group_member (__gid_t __gid);
13005 extern int __setuid (__uid_t __uid);
13006 extern int __setreuid (__uid_t __ruid, __uid_t __euid);
13007 extern int __setgid (__gid_t __gid);
13008 extern int __setpgid (__pid_t __pid, __pid_t __pgid);
13009 extern __typeof (__setpgid) __setpgid __asm__ ("" "__GI___setpgid") __attribute__ ((visibility ("hidden")));
13010 extern int __setregid (__gid_t __rgid, __gid_t __egid);
13011 extern int __getresuid (__uid_t *__ruid, __uid_t *__euid, __uid_t *__suid);
13012 extern int __getresgid (__gid_t *__rgid, __gid_t *__egid, __gid_t *__sgid);
13013 extern int __setresuid (__uid_t __ruid, __uid_t __euid, __uid_t __suid);
13014 extern int __setresgid (__gid_t __rgid, __gid_t __egid, __gid_t __sgid);
13015 extern __typeof (__getresuid) __getresuid __asm__ ("" "__GI___getresuid") __attribute__ ((visibility ("hidden")));
13016 extern __typeof (__getresgid) __getresgid __asm__ ("" "__GI___getresgid") __attribute__ ((visibility ("hidden")));
13017 extern __typeof (__setresuid) __setresuid __asm__ ("" "__GI___setresuid") __attribute__ ((visibility ("hidden")));
13018 extern __typeof (__setresgid) __setresgid __asm__ ("" "__GI___setresgid") __attribute__ ((visibility ("hidden")));
13019 extern __pid_t __vfork (void);
13020 extern __typeof (__vfork) __vfork __asm__ ("" "__GI___vfork") __attribute__ ((visibility ("hidden")));
13021 extern int __ttyname_r (int __fd, char *__buf, size_t __buflen);
13022 extern int __isatty (int __fd);
13023 extern int __link (__const char *__from, __const char *__to);
13024 extern int __symlink (__const char *__from, __const char *__to);
13025 extern int __readlink (__const char *__path, char *__buf, size_t __len);
13026 extern int __unlink (__const char *__name);
13027 extern int __gethostname (char *__name, size_t __len);
13028 extern int __profil (unsigned short int *__sample_buffer, size_t __size,
13029        size_t __offset, unsigned int __scale);
13030 extern int __getdtablesize (void);
13031 extern int __brk (void *__addr);
13032 extern int __close (int __fd);
13033 extern __typeof (__close) __close __asm__ ("" "__GI___close") __attribute__ ((visibility ("hidden")));
13034 extern int __libc_close (int __fd);
13035 extern ssize_t __read (int __fd, void *__buf, size_t __nbytes);
13036 extern __typeof (__read) __read __asm__ ("" "__GI___read") __attribute__ ((visibility ("hidden")));
13037 extern ssize_t __write (int __fd, __const void *__buf, size_t __n);
13038 extern __typeof (__write) __write __asm__ ("" "__GI___write") __attribute__ ((visibility ("hidden")));
13039 extern __pid_t __fork (void);
13040 extern __typeof (__fork) __fork __asm__ ("" "__GI___fork") __attribute__ ((visibility ("hidden")));
13041 extern int __getpagesize (void) __attribute__ ((__const__));
13042 extern __typeof (__getpagesize) __getpagesize __asm__ ("" "__GI___getpagesize") __attribute__ ((visibility ("hidden")));
13043 extern int __ftruncate (int __fd, __off_t __length);
13044 extern int __ftruncate64 (int __fd, __off64_t __length);
13045 extern int __truncate (const char *path, __off_t __length);
13046 extern void *__sbrk (intptr_t __delta);
13047 extern __typeof (__sbrk) __sbrk __asm__ ("" "__GI___sbrk") __attribute__ ((visibility ("hidden")));
13048
13049
13050
13051
13052
13053
13054
13055 extern int __libc_enable_secure __attribute__ ((section (".data.rel.ro")));
13056 extern int __libc_enable_secure_decided;
13057
13058
13059
13060
13061
13062
13063
13064 extern void __libc_check_standard_fds (void);
13065
13066
13067
13068 extern void __exit_thread (int val) __attribute__ ((noreturn));
13069
13070
13071 extern __pid_t __libc_fork (void);
13072
13073
13074
13075 extern int __libc_pause (void);
13076
13077 extern int __pause_nocancel (void) __attribute__ ((visibility ("hidden")));
13078 # 801 "../libio/libioP.h" 2
13079 # 1 "../include/fcntl.h" 1
13080
13081 # 1 "../io/fcntl.h" 1
13082 # 30 "../io/fcntl.h"
13083
13084
13085
13086
13087 # 1 "../ports/sysdeps/unix/sysv/linux/hppa/bits/fcntl.h" 1
13088 # 25 "../ports/sysdeps/unix/sysv/linux/hppa/bits/fcntl.h"
13089 # 1 "../include/sys/types.h" 1
13090 # 26 "../ports/sysdeps/unix/sysv/linux/hppa/bits/fcntl.h" 2
13091
13092 # 1 "../sysdeps/unix/sysv/linux/bits/uio.h" 1
13093 # 28 "../ports/sysdeps/unix/sysv/linux/hppa/bits/fcntl.h" 2
13094 # 131 "../ports/sysdeps/unix/sysv/linux/hppa/bits/fcntl.h"
13095 struct flock
13096   {
13097     short int l_type;
13098     short int l_whence;
13099
13100     __off_t l_start;
13101     __off_t l_len;
13102
13103
13104
13105
13106     __pid_t l_pid;
13107   };
13108
13109
13110 struct flock64
13111   {
13112     short int l_type;
13113     short int l_whence;
13114     __off64_t l_start;
13115     __off64_t l_len;
13116     __pid_t l_pid;
13117   };
13118 # 196 "../ports/sysdeps/unix/sysv/linux/hppa/bits/fcntl.h"
13119
13120
13121
13122
13123
13124 extern ssize_t readahead (int __fd, __off64_t __offset, size_t __count)
13125     __attribute__ ((__nothrow__));
13126
13127
13128 extern int sync_file_range (int __fd, __off64_t __from, __off64_t __to,
13129        unsigned int __flags);
13130
13131
13132 extern int vmsplice (int __fdout, const struct iovec *__iov, size_t __count,
13133        unsigned int __flags);
13134
13135
13136 extern int splice (int __fdin, __off64_t *offin, int __fdout,
13137      __off64_t *__offout, size_t __len, unsigned int __flags)
13138     __attribute__ ((__nothrow__));
13139
13140
13141 extern int tee (int __fdin, int __fdout, size_t __len, unsigned int __flags)
13142     __attribute__ ((__nothrow__));
13143
13144
13145
13146
13147 # 35 "../io/fcntl.h" 2
13148
13149
13150
13151 # 1 "../include/sys/stat.h" 1
13152
13153 # 1 "../io/sys/stat.h" 1
13154 # 103 "../io/sys/stat.h"
13155
13156
13157 # 1 "../sysdeps/unix/sysv/linux/bits/stat.h" 1
13158 # 36 "../sysdeps/unix/sysv/linux/bits/stat.h"
13159 struct stat
13160   {
13161     __dev_t st_dev;
13162     unsigned short int __pad1;
13163
13164     __ino_t st_ino;
13165
13166
13167
13168     __mode_t st_mode;
13169     __nlink_t st_nlink;
13170     __uid_t st_uid;
13171     __gid_t st_gid;
13172     __dev_t st_rdev;
13173     unsigned short int __pad2;
13174
13175     __off_t st_size;
13176
13177
13178
13179     __blksize_t st_blksize;
13180
13181
13182     __blkcnt_t st_blocks;
13183 # 70 "../sysdeps/unix/sysv/linux/bits/stat.h"
13184     struct timespec st_atim;
13185     struct timespec st_mtim;
13186     struct timespec st_ctim;
13187 # 85 "../sysdeps/unix/sysv/linux/bits/stat.h"
13188     unsigned long int __unused4;
13189     unsigned long int __unused5;
13190
13191
13192
13193   };
13194
13195
13196 struct stat64
13197   {
13198     __dev_t st_dev;
13199     unsigned int __pad1;
13200
13201     __ino_t __st_ino;
13202     __mode_t st_mode;
13203     __nlink_t st_nlink;
13204     __uid_t st_uid;
13205     __gid_t st_gid;
13206     __dev_t st_rdev;
13207     unsigned int __pad2;
13208     __off64_t st_size;
13209     __blksize_t st_blksize;
13210
13211     __blkcnt64_t st_blocks;
13212
13213
13214
13215
13216
13217
13218
13219     struct timespec st_atim;
13220     struct timespec st_mtim;
13221     struct timespec st_ctim;
13222 # 127 "../sysdeps/unix/sysv/linux/bits/stat.h"
13223     __ino64_t st_ino;
13224   };
13225 # 106 "../io/sys/stat.h" 2
13226 # 207 "../io/sys/stat.h"
13227 extern int stat (__const char *__restrict __file,
13228    struct stat *__restrict __buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
13229
13230
13231
13232 extern int fstat (int __fd, struct stat *__buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
13233 # 226 "../io/sys/stat.h"
13234 extern int stat64 (__const char *__restrict __file,
13235      struct stat64 *__restrict __buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
13236 extern int fstat64 (int __fd, struct stat64 *__buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
13237
13238
13239
13240
13241
13242
13243
13244 extern int fstatat (int __fd, __const char *__restrict __file,
13245       struct stat *__restrict __buf, int __flag)
13246      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3)));
13247 # 250 "../io/sys/stat.h"
13248 extern int fstatat64 (int __fd, __const char *__restrict __file,
13249         struct stat64 *__restrict __buf, int __flag)
13250      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3)));
13251
13252
13253
13254
13255
13256
13257 extern int lstat (__const char *__restrict __file,
13258     struct stat *__restrict __buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
13259 # 272 "../io/sys/stat.h"
13260 extern int lstat64 (__const char *__restrict __file,
13261       struct stat64 *__restrict __buf)
13262      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
13263
13264
13265
13266
13267
13268 extern int chmod (__const char *__file, __mode_t __mode)
13269      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
13270
13271
13272
13273
13274
13275 extern int lchmod (__const char *__file, __mode_t __mode)
13276      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
13277
13278
13279
13280
13281 extern int fchmod (int __fd, __mode_t __mode) __attribute__ ((__nothrow__));
13282
13283
13284
13285
13286
13287 extern int fchmodat (int __fd, __const char *__file, __mode_t mode, int __flag)
13288      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))) ;
13289
13290
13291
13292
13293
13294
13295 extern __mode_t umask (__mode_t __mask) __attribute__ ((__nothrow__));
13296
13297
13298
13299
13300 extern __mode_t getumask (void) __attribute__ ((__nothrow__));
13301
13302
13303
13304 extern int mkdir (__const char *__path, __mode_t __mode)
13305      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
13306
13307
13308
13309
13310
13311 extern int mkdirat (int __fd, __const char *__path, __mode_t __mode)
13312      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
13313
13314
13315
13316
13317
13318
13319 extern int mknod (__const char *__path, __mode_t __mode, __dev_t __dev)
13320      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
13321
13322
13323
13324
13325
13326
13327 extern int mknodat (int __fd, __const char *__path, __mode_t __mode,
13328       __dev_t __dev) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
13329
13330
13331
13332
13333 extern int mkfifo (__const char *__path, __mode_t __mode)
13334      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
13335
13336
13337
13338
13339
13340 extern int mkfifoat (int __fd, __const char *__path, __mode_t __mode)
13341      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
13342 # 380 "../io/sys/stat.h"
13343 extern int __fxstat (int __ver, int __fildes, struct stat *__stat_buf)
13344      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3)));
13345 extern int __xstat (int __ver, __const char *__filename,
13346       struct stat *__stat_buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3)));
13347 extern int __lxstat (int __ver, __const char *__filename,
13348        struct stat *__stat_buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3)));
13349 extern int __fxstatat (int __ver, int __fildes, __const char *__filename,
13350          struct stat *__stat_buf, int __flag)
13351      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4)));
13352 # 413 "../io/sys/stat.h"
13353 extern int __fxstat64 (int __ver, int __fildes, struct stat64 *__stat_buf)
13354      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3)));
13355 extern int __xstat64 (int __ver, __const char *__filename,
13356         struct stat64 *__stat_buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3)));
13357 extern int __lxstat64 (int __ver, __const char *__filename,
13358          struct stat64 *__stat_buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3)));
13359 extern int __fxstatat64 (int __ver, int __fildes, __const char *__filename,
13360     struct stat64 *__stat_buf, int __flag)
13361      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4)));
13362
13363 extern int __xmknod (int __ver, __const char *__path, __mode_t __mode,
13364        __dev_t *__dev) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 4)));
13365
13366 extern int __xmknodat (int __ver, int __fd, __const char *__path,
13367          __mode_t __mode, __dev_t *__dev)
13368      __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 5)));
13369
13370
13371
13372
13373 extern __inline__ int
13374 __attribute__ ((__nothrow__)) stat (__const char *__path, struct stat *__statbuf)
13375 {
13376   return __xstat (3, __path, __statbuf);
13377 }
13378
13379
13380 extern __inline__ int
13381 __attribute__ ((__nothrow__)) lstat (__const char *__path, struct stat *__statbuf)
13382 {
13383   return __lxstat (3, __path, __statbuf);
13384 }
13385
13386
13387 extern __inline__ int
13388 __attribute__ ((__nothrow__)) fstat (int __fd, struct stat *__statbuf)
13389 {
13390   return __fxstat (3, __fd, __statbuf);
13391 }
13392
13393
13394 extern __inline__ int
13395 __attribute__ ((__nothrow__)) fstatat (int __fd, __const char *__filename, struct stat *__statbuf, int __flag)
13396
13397 {
13398   return __fxstatat (3, __fd, __filename, __statbuf, __flag);
13399 }
13400
13401
13402
13403 extern __inline__ int
13404 __attribute__ ((__nothrow__)) mknod (__const char *__path, __mode_t __mode, __dev_t __dev)
13405 {
13406   return __xmknod (1, __path, __mode, &__dev);
13407 }
13408
13409
13410
13411 extern __inline__ int
13412 __attribute__ ((__nothrow__)) mknodat (int __fd, __const char *__path, __mode_t __mode, __dev_t __dev)
13413
13414 {
13415   return __xmknodat (1, __fd, __path, __mode, &__dev);
13416 }
13417
13418
13419
13420
13421
13422 extern __inline__ int
13423 __attribute__ ((__nothrow__)) stat64 (__const char *__path, struct stat64 *__statbuf)
13424 {
13425   return __xstat64 (3, __path, __statbuf);
13426 }
13427
13428
13429 extern __inline__ int
13430 __attribute__ ((__nothrow__)) lstat64 (__const char *__path, struct stat64 *__statbuf)
13431 {
13432   return __lxstat64 (3, __path, __statbuf);
13433 }
13434
13435
13436 extern __inline__ int
13437 __attribute__ ((__nothrow__)) fstat64 (int __fd, struct stat64 *__statbuf)
13438 {
13439   return __fxstat64 (3, __fd, __statbuf);
13440 }
13441
13442
13443 extern __inline__ int
13444 __attribute__ ((__nothrow__)) fstatat64 (int __fd, __const char *__filename, struct stat64 *__statbuf, int __flag)
13445
13446 {
13447   return __fxstatat64 (3, __fd, __filename, __statbuf, __flag);
13448 }
13449
13450
13451
13452
13453
13454
13455
13456 # 3 "../include/sys/stat.h" 2
13457
13458
13459 extern int __stat (__const char *__file, struct stat *__buf);
13460 extern int __fstat (int __fd, struct stat *__buf);
13461 extern int __lstat (__const char *__file, struct stat *__buf);
13462 extern int __chmod (__const char *__file, __mode_t __mode);
13463 extern int __fchmod (int __fd, __mode_t __mode);
13464 extern __mode_t __umask (__mode_t __mask);
13465 extern int __mkdir (__const char *__path, __mode_t __mode);
13466 extern int __mknod (__const char *__path,
13467       __mode_t __mode, __dev_t __dev);
13468
13469 extern __typeof (__fxstat) __fxstat __asm__ ("" "__GI___fxstat") __attribute__ ((visibility ("hidden")));
13470 extern __typeof (__fxstat64) __fxstat64 __asm__ ("" "__GI___fxstat64") __attribute__ ((visibility ("hidden")));
13471 extern __typeof (__lxstat) __lxstat __asm__ ("" "__GI___lxstat") __attribute__ ((visibility ("hidden")));
13472 extern __typeof (__lxstat64) __lxstat64 __asm__ ("" "__GI___lxstat64") __attribute__ ((visibility ("hidden")));
13473 extern __typeof (__xstat) __xstat __asm__ ("" "__GI___xstat") __attribute__ ((visibility ("hidden")));
13474 extern __typeof (__xstat64) __xstat64 __asm__ ("" "__GI___xstat64") __attribute__ ((visibility ("hidden")));
13475
13476 extern __inline__ int __stat (__const char *__path, struct stat *__statbuf)
13477 {
13478   return __xstat (3, __path, __statbuf);
13479 }
13480 extern __typeof (__xmknod) __xmknod __asm__ ("" "__GI___xmknod") __attribute__ ((visibility ("hidden")));
13481 extern __inline__ int __mknod (__const char *__path, __mode_t __mode,
13482           __dev_t __dev)
13483 {
13484   return __xmknod (1, __path, __mode, &__dev);
13485 }
13486 extern __typeof (__xmknodat) __xmknodat __asm__ ("" "__GI___xmknodat") __attribute__ ((visibility ("hidden")));
13487
13488 extern __typeof (__fxstatat) __fxstatat __asm__ ("" "__GI___fxstatat") __attribute__ ((visibility ("hidden")));
13489 extern __typeof (__fxstatat64) __fxstatat64 __asm__ ("" "__GI___fxstatat64") __attribute__ ((visibility ("hidden")));
13490 # 39 "../io/fcntl.h" 2
13491 # 76 "../io/fcntl.h"
13492 extern int fcntl (int __fd, int __cmd, ...);
13493 # 85 "../io/fcntl.h"
13494 extern int open (__const char *__file, int __oflag, ...) __attribute__ ((__nonnull__ (1)));
13495 # 95 "../io/fcntl.h"
13496 extern int open64 (__const char *__file, int __oflag, ...) __attribute__ ((__nonnull__ (1)));
13497 # 109 "../io/fcntl.h"
13498 extern int openat (int __fd, __const char *__file, int __oflag, ...)
13499      __attribute__ ((__nonnull__ (2)));
13500 # 120 "../io/fcntl.h"
13501 extern int openat64 (int __fd, __const char *__file, int __oflag, ...)
13502      __attribute__ ((__nonnull__ (2)));
13503 # 130 "../io/fcntl.h"
13504 extern int creat (__const char *__file, __mode_t __mode) __attribute__ ((__nonnull__ (1)));
13505 # 140 "../io/fcntl.h"
13506 extern int creat64 (__const char *__file, __mode_t __mode) __attribute__ ((__nonnull__ (1)));
13507 # 176 "../io/fcntl.h"
13508 extern int posix_fadvise (int __fd, __off_t __offset, __off_t __len,
13509      int __advise) __attribute__ ((__nothrow__));
13510 # 188 "../io/fcntl.h"
13511 extern int posix_fadvise64 (int __fd, __off64_t __offset, __off64_t __len,
13512        int __advise) __attribute__ ((__nothrow__));
13513 # 198 "../io/fcntl.h"
13514 extern int posix_fallocate (int __fd, __off_t __offset, __off_t __len);
13515 # 209 "../io/fcntl.h"
13516 extern int posix_fallocate64 (int __fd, __off64_t __offset, __off64_t __len);
13517
13518
13519
13520
13521 # 3 "../include/fcntl.h" 2
13522
13523
13524 extern int __open64 (__const char *__file, int __oflag, ...);
13525 extern __typeof (__open64) __open64 __asm__ ("" "__GI___open64") __attribute__ ((visibility ("hidden")));
13526 extern int __libc_open64 (const char *file, int oflag, ...);
13527 extern int __libc_open (const char *file, int oflag, ...);
13528 extern __typeof (__libc_open) __libc_open __asm__ ("" "__GI___libc_open") __attribute__ ((visibility ("hidden")));
13529 extern int __libc_creat (const char *file, mode_t mode);
13530 extern int __libc_fcntl (int fd, int cmd, ...);
13531
13532 extern int __fcntl_nocancel (int fd, int cmd, ...) __attribute__ ((visibility ("hidden")));
13533 extern __typeof (__libc_fcntl) __libc_fcntl __asm__ ("" "__GI___libc_fcntl") __attribute__ ((visibility ("hidden")));
13534
13535 extern int __open (__const char *__file, int __oflag, ...);
13536 extern __typeof (__open) __open __asm__ ("" "__GI___open") __attribute__ ((visibility ("hidden")));
13537 extern int __fcntl (int __fd, int __cmd, ...);
13538 extern __typeof (__fcntl) __fcntl __asm__ ("" "__GI___fcntl") __attribute__ ((visibility ("hidden")));
13539 extern int __openat (int __fd, __const char *__file, int __oflag, ...)
13540   __attribute__ ((__nonnull__ (2)));
13541 extern __typeof (__openat) __openat __asm__ ("" "__GI___openat") __attribute__ ((visibility ("hidden")));
13542 extern int __openat64 (int __fd, __const char *__file, int __oflag, ...)
13543   __attribute__ ((__nonnull__ (2)));
13544 extern __typeof (__openat64) __openat64 __asm__ ("" "__GI___openat64") __attribute__ ((visibility ("hidden")));
13545
13546
13547
13548 extern void __atfct_seterrno (int errval, int fd, const char *buf)
13549   __attribute__ ((visibility ("hidden")));
13550 extern void __atfct_seterrno_2 (int errval, int fd1, const char *buf1,
13551     int fd2, const char *buf2)
13552   __attribute__ ((visibility ("hidden")));
13553
13554
13555
13556 extern int __have_atfcts __attribute__ ((visibility ("hidden")));
13557 # 802 "../libio/libioP.h" 2
13558 # 1 "../include/sys/mman.h" 1
13559
13560 # 1 "../misc/sys/mman.h" 1
13561 # 26 "../misc/sys/mman.h"
13562 # 1 "/usr/lib/gcc/hppa2.0-unknown-linux-gnu/4.1.1/include/stddef.h" 1 3 4
13563 # 27 "../misc/sys/mman.h" 2
13564 # 42 "../misc/sys/mman.h"
13565 # 1 "../ports/sysdeps/unix/sysv/linux/hppa/bits/mman.h" 1
13566 # 43 "../misc/sys/mman.h" 2
13567
13568
13569
13570
13571
13572 # 58 "../misc/sys/mman.h"
13573 extern void *mmap (void *__addr, size_t __len, int __prot,
13574      int __flags, int __fd, __off_t __offset) __attribute__ ((__nothrow__));
13575 # 71 "../misc/sys/mman.h"
13576 extern void *mmap64 (void *__addr, size_t __len, int __prot,
13577        int __flags, int __fd, __off64_t __offset) __attribute__ ((__nothrow__));
13578
13579
13580
13581
13582 extern int munmap (void *__addr, size_t __len) __attribute__ ((__nothrow__));
13583
13584
13585
13586
13587 extern int mprotect (void *__addr, size_t __len, int __prot) __attribute__ ((__nothrow__));
13588
13589
13590
13591
13592
13593
13594
13595 extern int msync (void *__addr, size_t __len, int __flags);
13596
13597
13598
13599
13600 extern int madvise (void *__addr, size_t __len, int __advice) __attribute__ ((__nothrow__));
13601
13602
13603
13604 extern int posix_madvise (void *__addr, size_t __len, int __advice) __attribute__ ((__nothrow__));
13605
13606
13607
13608
13609 extern int mlock (__const void *__addr, size_t __len) __attribute__ ((__nothrow__));
13610
13611
13612 extern int munlock (__const void *__addr, size_t __len) __attribute__ ((__nothrow__));
13613
13614
13615
13616
13617 extern int mlockall (int __flags) __attribute__ ((__nothrow__));
13618
13619
13620
13621 extern int munlockall (void) __attribute__ ((__nothrow__));
13622
13623
13624
13625
13626
13627
13628
13629 extern int mincore (void *__start, size_t __len, unsigned char *__vec)
13630      __attribute__ ((__nothrow__));
13631 # 134 "../misc/sys/mman.h"
13632 extern void *mremap (void *__addr, size_t __old_len, size_t __new_len,
13633        int __flags, ...) __attribute__ ((__nothrow__));
13634
13635
13636
13637 extern int remap_file_pages (void *__start, size_t __size, int __prot,
13638         size_t __pgoff, int __flags) __attribute__ ((__nothrow__));
13639
13640
13641
13642
13643 extern int shm_open (__const char *__name, int __oflag, mode_t __mode);
13644
13645
13646 extern int shm_unlink (__const char *__name);
13647
13648
13649 # 3 "../include/sys/mman.h" 2
13650
13651
13652 extern void *__mmap (void *__addr, size_t __len, int __prot,
13653        int __flags, int __fd, __off_t __offset);
13654 extern void *__mmap64 (void *__addr, size_t __len, int __prot,
13655          int __flags, int __fd, __off64_t __offset);
13656 extern int __munmap (void *__addr, size_t __len);
13657 extern int __mprotect (void *__addr, size_t __len, int __prot);
13658
13659
13660 extern void *__mremap (void *__addr, size_t __old_len,
13661          size_t __new_len, int __flags, ...);
13662 # 803 "../libio/libioP.h" 2
13663 # 869 "../libio/libioP.h"
13664 struct stat;
13665 extern __ssize_t _IO_read (int, void *, size_t);
13666 extern __ssize_t _IO_write (int, const void *, size_t);
13667 extern __off64_t _IO_lseek (int, __off64_t, int) __attribute__ ((__nothrow__));
13668 extern int _IO_close (int);
13669 extern int _IO_fstat (int, struct stat *) __attribute__ ((__nothrow__));
13670 extern int _IO_vscanf (const char *, __gnuc_va_list) __attribute__ ((__nothrow__));
13671 # 969 "../libio/libioP.h"
13672 extern struct _IO_fake_stdiobuf _IO_stdin_buf, _IO_stdout_buf, _IO_stderr_buf;
13673 # 996 "../libio/libioP.h"
13674 static inline void
13675 __attribute__ ((__always_inline__))
13676 _IO_acquire_lock_fct (_IO_FILE **p)
13677 {
13678   _IO_FILE *fp = *p;
13679   if ((fp->_flags & 0x8000) == 0)
13680     if (((fp)->_flags & 0x8000) == 0) do { if (--(*(fp)->_lock).cnt == 0) { (*(fp)->_lock).owner = ((void *)0); __lll_mutex_unlock(&((*(fp)->_lock).lock)); } } while (0);
13681 }
13682 # 44 "vfprintf.c" 2
13683 # 108 "vfprintf.c"
13684 # 1 "_i18n_number.h" 1
13685 # 21 "_i18n_number.h"
13686 # 1 "../include/wctype.h" 1
13687
13688
13689
13690
13691
13692 # 1 "/usr/lib/gcc/hppa2.0-unknown-linux-gnu/4.1.1/include/stddef.h" 1 3 4
13693 # 7 "../include/wctype.h" 2
13694 # 19 "../include/wctype.h"
13695 extern int iswalpha (wint_t __wc);
13696 extern int iswalnum (wint_t __wc);
13697 extern int iswdigit (wint_t __wc);
13698 extern int iswlower (wint_t __wc);
13699 extern int iswspace (wint_t __wc);
13700 extern int iswxdigit (wint_t __wc);
13701 extern wint_t towlower (wint_t __wc);
13702 extern wint_t towupper (wint_t __wc);
13703
13704 extern __typeof (iswalpha) iswalpha __asm__ ("" "__GI_iswalpha") __attribute__ ((visibility ("hidden")));
13705 extern __typeof (iswalnum) iswalnum __asm__ ("" "__GI_iswalnum") __attribute__ ((visibility ("hidden")));
13706 extern __typeof (iswdigit) iswdigit __asm__ ("" "__GI_iswdigit") __attribute__ ((visibility ("hidden")));
13707 extern __typeof (iswlower) iswlower __asm__ ("" "__GI_iswlower") __attribute__ ((visibility ("hidden")));
13708 extern __typeof (iswspace) iswspace __asm__ ("" "__GI_iswspace") __attribute__ ((visibility ("hidden")));
13709 extern __typeof (iswxdigit) iswxdigit __asm__ ("" "__GI_iswxdigit") __attribute__ ((visibility ("hidden")));
13710 extern __typeof (towlower) towlower __asm__ ("" "__GI_towlower") __attribute__ ((visibility ("hidden")));
13711 extern __typeof (towupper) towupper __asm__ ("" "__GI_towupper") __attribute__ ((visibility ("hidden")));
13712
13713 # 1 "../wctype/wctype.h" 1
13714 # 35 "../wctype/wctype.h"
13715 # 1 "/usr/lib/gcc/hppa2.0-unknown-linux-gnu/4.1.1/include/stddef.h" 1 3 4
13716 # 36 "../wctype/wctype.h" 2
13717 # 45 "../wctype/wctype.h"
13718
13719 # 63 "../wctype/wctype.h"
13720
13721
13722
13723 typedef unsigned long int wctype_t;
13724
13725
13726
13727
13728
13729
13730
13731 # 1 "../include/endian.h" 1
13732 # 75 "../wctype/wctype.h" 2
13733 # 85 "../wctype/wctype.h"
13734 enum
13735 {
13736   __ISwupper = 0,
13737   __ISwlower = 1,
13738   __ISwalpha = 2,
13739   __ISwdigit = 3,
13740   __ISwxdigit = 4,
13741   __ISwspace = 5,
13742   __ISwprint = 6,
13743   __ISwgraph = 7,
13744   __ISwblank = 8,
13745   __ISwcntrl = 9,
13746   __ISwpunct = 10,
13747   __ISwalnum = 11,
13748
13749   _ISwupper = (1 << (__ISwupper)),
13750   _ISwlower = (1 << (__ISwlower)),
13751   _ISwalpha = (1 << (__ISwalpha)),
13752   _ISwdigit = (1 << (__ISwdigit)),
13753   _ISwxdigit = (1 << (__ISwxdigit)),
13754   _ISwspace = (1 << (__ISwspace)),
13755   _ISwprint = (1 << (__ISwprint)),
13756   _ISwgraph = (1 << (__ISwgraph)),
13757   _ISwblank = (1 << (__ISwblank)),
13758   _ISwcntrl = (1 << (__ISwcntrl)),
13759   _ISwpunct = (1 << (__ISwpunct)),
13760   _ISwalnum = (1 << (__ISwalnum))
13761 };
13762
13763
13764
13765
13766
13767
13768
13769
13770
13771
13772
13773
13774 extern int iswalnum (wint_t __wc) __attribute__ ((__nothrow__));
13775
13776
13777
13778
13779
13780 extern int iswalpha (wint_t __wc) __attribute__ ((__nothrow__));
13781
13782
13783 extern int iswcntrl (wint_t __wc) __attribute__ ((__nothrow__));
13784
13785
13786
13787 extern int iswdigit (wint_t __wc) __attribute__ ((__nothrow__));
13788
13789
13790
13791 extern int iswgraph (wint_t __wc) __attribute__ ((__nothrow__));
13792
13793
13794
13795
13796 extern int iswlower (wint_t __wc) __attribute__ ((__nothrow__));
13797
13798
13799 extern int iswprint (wint_t __wc) __attribute__ ((__nothrow__));
13800
13801
13802
13803
13804 extern int iswpunct (wint_t __wc) __attribute__ ((__nothrow__));
13805
13806
13807
13808
13809 extern int iswspace (wint_t __wc) __attribute__ ((__nothrow__));
13810
13811
13812
13813
13814 extern int iswupper (wint_t __wc) __attribute__ ((__nothrow__));
13815
13816
13817
13818
13819 extern int iswxdigit (wint_t __wc) __attribute__ ((__nothrow__));
13820
13821
13822
13823
13824
13825 extern int iswblank (wint_t __wc) __attribute__ ((__nothrow__));
13826 # 185 "../wctype/wctype.h"
13827 extern wctype_t wctype (__const char *__property) __attribute__ ((__nothrow__));
13828
13829
13830
13831 extern int iswctype (wint_t __wc, wctype_t __desc) __attribute__ ((__nothrow__));
13832
13833
13834
13835
13836
13837
13838
13839
13840
13841
13842 typedef __const __int32_t *wctrans_t;
13843
13844
13845
13846
13847
13848
13849
13850 extern wint_t towlower (wint_t __wc) __attribute__ ((__nothrow__));
13851
13852
13853 extern wint_t towupper (wint_t __wc) __attribute__ ((__nothrow__));
13854
13855
13856
13857 # 227 "../wctype/wctype.h"
13858
13859
13860
13861
13862
13863 extern wctrans_t wctrans (__const char *__property) __attribute__ ((__nothrow__));
13864
13865
13866 extern wint_t towctrans (wint_t __wc, wctrans_t __desc) __attribute__ ((__nothrow__));
13867
13868
13869
13870
13871 # 1 "../include/xlocale.h" 1
13872 # 241 "../wctype/wctype.h" 2
13873
13874
13875
13876 extern int iswalnum_l (wint_t __wc, __locale_t __locale) __attribute__ ((__nothrow__));
13877
13878
13879
13880
13881
13882 extern int iswalpha_l (wint_t __wc, __locale_t __locale) __attribute__ ((__nothrow__));
13883
13884
13885 extern int iswcntrl_l (wint_t __wc, __locale_t __locale) __attribute__ ((__nothrow__));
13886
13887
13888
13889 extern int iswdigit_l (wint_t __wc, __locale_t __locale) __attribute__ ((__nothrow__));
13890
13891
13892
13893 extern int iswgraph_l (wint_t __wc, __locale_t __locale) __attribute__ ((__nothrow__));
13894
13895
13896
13897
13898 extern int iswlower_l (wint_t __wc, __locale_t __locale) __attribute__ ((__nothrow__));
13899
13900
13901 extern int iswprint_l (wint_t __wc, __locale_t __locale) __attribute__ ((__nothrow__));
13902
13903
13904
13905
13906 extern int iswpunct_l (wint_t __wc, __locale_t __locale) __attribute__ ((__nothrow__));
13907
13908
13909
13910
13911 extern int iswspace_l (wint_t __wc, __locale_t __locale) __attribute__ ((__nothrow__));
13912
13913
13914
13915
13916 extern int iswupper_l (wint_t __wc, __locale_t __locale) __attribute__ ((__nothrow__));
13917
13918
13919
13920
13921 extern int iswxdigit_l (wint_t __wc, __locale_t __locale) __attribute__ ((__nothrow__));
13922
13923
13924
13925
13926 extern int iswblank_l (wint_t __wc, __locale_t __locale) __attribute__ ((__nothrow__));
13927
13928
13929
13930 extern wctype_t wctype_l (__const char *__property, __locale_t __locale)
13931      __attribute__ ((__nothrow__));
13932
13933
13934
13935 extern int iswctype_l (wint_t __wc, wctype_t __desc, __locale_t __locale)
13936      __attribute__ ((__nothrow__));
13937
13938
13939
13940
13941
13942
13943
13944 extern wint_t towlower_l (wint_t __wc, __locale_t __locale) __attribute__ ((__nothrow__));
13945
13946
13947 extern wint_t towupper_l (wint_t __wc, __locale_t __locale) __attribute__ ((__nothrow__));
13948
13949
13950
13951 extern wctrans_t wctrans_l (__const char *__property, __locale_t __locale)
13952      __attribute__ ((__nothrow__));
13953
13954
13955 extern wint_t towctrans_l (wint_t __wc, wctrans_t __desc,
13956       __locale_t __locale) __attribute__ ((__nothrow__));
13957
13958
13959
13960
13961 # 38 "../include/wctype.h" 2
13962
13963
13964 extern int __iswalpha_l_internal (wint_t __wc, __locale_t __locale)
13965      __attribute__ ((visibility ("hidden")));
13966 extern int __iswdigit_l_internal (wint_t __wc, __locale_t __locale)
13967      __attribute__ ((visibility ("hidden")));
13968 extern int __iswspace_l_internal (wint_t __wc, __locale_t __locale)
13969      __attribute__ ((visibility ("hidden")));
13970 extern int __iswxdigit_l_internal (wint_t __wc, __locale_t __locale)
13971      __attribute__ ((visibility ("hidden")));
13972 extern int __iswspace (wint_t __wc);
13973 extern int __iswctype (wint_t __wc, wctype_t __desc);
13974 extern int __iswctype_internal (wint_t __wc, wctype_t __desc) __attribute__ ((visibility ("hidden")));
13975 extern wctype_t __wctype (__const char *__property);
13976 extern wctrans_t __wctrans (const char *__property);
13977 extern wint_t __towctrans (wint_t __wc, wctrans_t __desc);
13978
13979 extern __typeof (iswalnum_l) __iswalnum_l;
13980 extern __typeof (iswalpha_l) __iswalpha_l;
13981 extern __typeof (iswblank_l) __iswblank_l;
13982 extern __typeof (iswcntrl_l) __iswcntrl_l;
13983 extern __typeof (iswdigit_l) __iswdigit_l;
13984 extern __typeof (iswlower_l) __iswlower_l;
13985 extern __typeof (iswgraph_l) __iswgraph_l;
13986 extern __typeof (iswprint_l) __iswprint_l;
13987 extern __typeof (iswpunct_l) __iswpunct_l;
13988 extern __typeof (iswspace_l) __iswspace_l;
13989 extern __typeof (iswupper_l) __iswupper_l;
13990 extern __typeof (iswxdigit_l) __iswxdigit_l;
13991 extern __typeof (towlower_l) __towlower_l;
13992 extern __typeof (towupper_l) __towupper_l;
13993
13994 extern __typeof (__towctrans) __towctrans __asm__ ("" "__GI___towctrans") __attribute__ ((visibility ("hidden")));
13995 extern __typeof (__iswctype) __iswctype __asm__ ("" "__GI___iswctype") __attribute__ ((visibility ("hidden")));
13996 extern __typeof (__iswalnum_l) __iswalnum_l __asm__ ("" "__GI___iswalnum_l") __attribute__ ((visibility ("hidden")));
13997 extern __typeof (__iswalpha_l) __iswalpha_l __asm__ ("" "__GI___iswalpha_l") __attribute__ ((visibility ("hidden")));
13998 extern __typeof (__iswblank_l) __iswblank_l __asm__ ("" "__GI___iswblank_l") __attribute__ ((visibility ("hidden")));
13999 extern __typeof (__iswcntrl_l) __iswcntrl_l __asm__ ("" "__GI___iswcntrl_l") __attribute__ ((visibility ("hidden")));
14000 extern __typeof (__iswdigit_l) __iswdigit_l __asm__ ("" "__GI___iswdigit_l") __attribute__ ((visibility ("hidden")));
14001 extern __typeof (__iswlower_l) __iswlower_l __asm__ ("" "__GI___iswlower_l") __attribute__ ((visibility ("hidden")));
14002 extern __typeof (__iswgraph_l) __iswgraph_l __asm__ ("" "__GI___iswgraph_l") __attribute__ ((visibility ("hidden")));
14003 extern __typeof (__iswprint_l) __iswprint_l __asm__ ("" "__GI___iswprint_l") __attribute__ ((visibility ("hidden")));
14004 extern __typeof (__iswpunct_l) __iswpunct_l __asm__ ("" "__GI___iswpunct_l") __attribute__ ((visibility ("hidden")));
14005 extern __typeof (__iswspace_l) __iswspace_l __asm__ ("" "__GI___iswspace_l") __attribute__ ((visibility ("hidden")));
14006 extern __typeof (__iswupper_l) __iswupper_l __asm__ ("" "__GI___iswupper_l") __attribute__ ((visibility ("hidden")));
14007 extern __typeof (__iswxdigit_l) __iswxdigit_l __asm__ ("" "__GI___iswxdigit_l") __attribute__ ((visibility ("hidden")));
14008 extern __typeof (__towlower_l) __towlower_l __asm__ ("" "__GI___towlower_l") __attribute__ ((visibility ("hidden")));
14009 extern __typeof (__towupper_l) __towupper_l __asm__ ("" "__GI___towupper_l") __attribute__ ((visibility ("hidden")));
14010 # 22 "_i18n_number.h" 2
14011
14012 # 1 "../locale/outdigits.h" 1
14013 # 20 "../locale/outdigits.h"
14014 # 1 "../include/assert.h" 1
14015 # 1 "../assert/assert.h" 1
14016 # 65 "../assert/assert.h"
14017
14018
14019
14020 extern void __assert_fail (__const char *__assertion, __const char *__file,
14021       unsigned int __line, __const char *__function)
14022      __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__));
14023
14024
14025 extern void __assert_perror_fail (int __errnum, __const char *__file,
14026       unsigned int __line,
14027       __const char *__function)
14028      __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__));
14029
14030
14031
14032
14033 extern void __assert (const char *__assertion, const char *__file, int __line)
14034      __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__));
14035
14036
14037
14038 # 2 "../include/assert.h" 2
14039
14040
14041
14042
14043 extern void __assert_fail (__const char *__assertion, __const char *__file,
14044       unsigned int __line, __const char *__function)
14045   __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__));
14046
14047
14048 extern void __assert_perror_fail (int __errnum, __const char *__file,
14049       unsigned int __line,
14050       __const char *__function)
14051      __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__));
14052
14053
14054 extern __typeof (__assert_fail) __assert_fail __asm__ ("" "__GI___assert_fail") __attribute__ ((visibility ("hidden")));
14055 extern __typeof (__assert_perror_fail) __assert_perror_fail __asm__ ("" "__GI___assert_perror_fail") __attribute__ ((visibility ("hidden")));
14056 # 21 "../locale/outdigits.h" 2
14057
14058
14059 # 1 "../locale/../locale/localeinfo.h" 1
14060 # 24 "../locale/outdigits.h" 2
14061
14062
14063
14064
14065
14066
14067 static inline char *
14068 outdigit_value (char *s, int n)
14069 {
14070   const char *outdigit;
14071   size_t dlen;
14072
14073   ((0 <= n && n <= 9) ? (void) (0) : (__assert_fail ("0 <= n && n <= 9", "../locale/outdigits.h", 36, __PRETTY_FUNCTION__), (void) (0)));
14074   outdigit = ((((__locale_t) (__libc_tsd_LOCALE))->__locales[__LC_CTYPE])->values[((int) (_NL_CTYPE_OUTDIGIT0_MB + n) & 0xffff)].string);
14075   dlen = strlen (outdigit);
14076
14077   s -= dlen;
14078   while (dlen-- > 0)
14079     s[dlen] = outdigit[dlen];
14080
14081   return s;
14082 }
14083 # 24 "_i18n_number.h" 2
14084 # 1 "../locale/outdigitswc.h" 1
14085 # 20 "../locale/outdigitswc.h"
14086 # 1 "../include/assert.h" 1
14087 # 1 "../assert/assert.h" 1
14088 # 65 "../assert/assert.h"
14089
14090
14091
14092 extern void __assert_fail (__const char *__assertion, __const char *__file,
14093       unsigned int __line, __const char *__function)
14094      __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__));
14095
14096
14097 extern void __assert_perror_fail (int __errnum, __const char *__file,
14098       unsigned int __line,
14099       __const char *__function)
14100      __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__));
14101
14102
14103
14104
14105 extern void __assert (const char *__assertion, const char *__file, int __line)
14106      __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__));
14107
14108
14109
14110 # 2 "../include/assert.h" 2
14111
14112
14113
14114
14115 extern void __assert_fail (__const char *__assertion, __const char *__file,
14116       unsigned int __line, __const char *__function)
14117   __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__));
14118
14119
14120 extern void __assert_perror_fail (int __errnum, __const char *__file,
14121       unsigned int __line,
14122       __const char *__function)
14123      __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__));
14124
14125
14126 extern __typeof (__assert_fail) __assert_fail __asm__ ("" "__GI___assert_fail") __attribute__ ((visibility ("hidden")));
14127 extern __typeof (__assert_perror_fail) __assert_perror_fail __asm__ ("" "__GI___assert_perror_fail") __attribute__ ((visibility ("hidden")));
14128 # 21 "../locale/outdigitswc.h" 2
14129 # 29 "../locale/outdigitswc.h"
14130 static inline wchar_t
14131 outdigitwc_value (int n)
14132 {
14133   ((0 <= n && n <= 9) ? (void) (0) : (__assert_fail ("0 <= n && n <= 9", "../locale/outdigitswc.h", 32, __PRETTY_FUNCTION__), (void) (0)));
14134
14135   return ((uint32_t) (((__locale_t) (__libc_tsd_LOCALE))->__locales[__LC_CTYPE])->values[((int) (_NL_CTYPE_OUTDIGIT0_WC + n) & 0xffff)].word);
14136 }
14137 # 25 "_i18n_number.h" 2
14138
14139 static char *
14140 _i18n_number_rewrite (char *w, char *rear_ptr)
14141 {
14142
14143
14144
14145
14146   char decimal[16];
14147   char thousands[16];
14148
14149
14150
14151
14152
14153   wctrans_t map = __wctrans ("to_outpunct");
14154   wint_t wdecimal = __towctrans (L'.', map);
14155   wint_t wthousands = __towctrans (L',', map);
14156
14157
14158   if (__builtin_expect (map != ((void *)0), 0))
14159     {
14160       mbstate_t state;
14161       memset (&state, '\0', sizeof (state));
14162
14163       if (__wcrtomb (decimal, wdecimal, &state) == (size_t) -1)
14164  memcpy (decimal, ".", 2);
14165
14166       memset (&state, '\0', sizeof (state));
14167
14168       if (__wcrtomb (thousands, wthousands, &state) == (size_t) -1)
14169  memcpy (thousands, ",", 2);
14170     }
14171
14172
14173
14174   char *src = (char *) __builtin_alloca ((rear_ptr - w) * sizeof (char));
14175   char *s = (char *) __builtin_mempcpy (src, w, (rear_ptr - w) * sizeof (char));
14176
14177   w = rear_ptr;
14178
14179
14180   while (--s >= src)
14181     {
14182       if (*s >= '0' && *s <= '9')
14183  {
14184    if (sizeof (char) == 1)
14185      w = (char *) outdigit_value ((char *) w, *s - '0');
14186    else
14187      *--w = (char) outdigitwc_value (*s - '0');
14188  }
14189       else if (__builtin_expect (map == ((void *)0), 1) || (*s != '.' && *s != ','))
14190  *--w = *s;
14191       else
14192  {
14193    if (sizeof (char) == 1)
14194      {
14195        const char *outpunct = *s == '.' ? decimal : thousands;
14196        size_t dlen = strlen (outpunct);
14197
14198        w -= dlen;
14199        while (dlen-- > 0)
14200   w[dlen] = outpunct[dlen];
14201      }
14202    else
14203      *--w = *s == '.' ? (char) wdecimal : (char) wthousands;
14204  }
14205     }
14206
14207   return w;
14208 }
14209 # 109 "vfprintf.c" 2
14210
14211
14212 # 1 "printf-parse.h" 1
14213 # 22 "printf-parse.h"
14214 # 1 "/usr/lib/gcc/hppa2.0-unknown-linux-gnu/4.1.1/include/stddef.h" 1 3 4
14215 # 23 "printf-parse.h" 2
14216
14217
14218 struct printf_spec
14219   {
14220
14221     struct printf_info info;
14222
14223
14224
14225     const unsigned char *end_of_fmt, *next_fmt;
14226
14227
14228
14229     int prec_arg, width_arg;
14230
14231     int data_arg;
14232     int data_arg_type;
14233
14234     size_t ndata_args;
14235   };
14236
14237
14238
14239 union printf_arg
14240   {
14241     wchar_t pa_wchar;
14242     int pa_int;
14243     long int pa_long_int;
14244     long long int pa_long_long_int;
14245     unsigned int pa_u_int;
14246     unsigned long int pa_u_long_int;
14247     unsigned long long int pa_u_long_long_int;
14248     double pa_double;
14249     long double pa_long_double;
14250     const char *pa_string;
14251     const wchar_t *pa_wstring;
14252     void *pa_pointer;
14253   };
14254
14255
14256
14257
14258
14259 static unsigned int
14260 read_int (const unsigned char * *pstr)
14261 {
14262   unsigned int retval = **pstr - '0';
14263
14264   while (((unsigned int) ((*++(*pstr)) - '0') < 10))
14265     {
14266       retval *= 10;
14267       retval += **pstr - '0';
14268     }
14269
14270   return retval;
14271 }
14272
14273
14274
14275
14276 extern printf_arginfo_function **__printf_arginfo_table __attribute__ ((visibility ("hidden")));
14277 extern printf_function **__printf_function_table __attribute__ ((visibility ("hidden")));
14278
14279
14280
14281
14282 extern const unsigned char *__find_specmb (const unsigned char *format,
14283         mbstate_t *ps) __attribute__ ((visibility ("hidden")));
14284
14285 extern const unsigned int *__find_specwc (const unsigned char *format)
14286      __attribute__ ((visibility ("hidden")));
14287
14288
14289
14290
14291
14292
14293
14294 extern size_t __parse_one_specmb (const unsigned char *format, size_t posn,
14295       struct printf_spec *spec,
14296       size_t *max_ref_arg, mbstate_t *ps)
14297      __attribute__ ((visibility ("hidden")));
14298
14299 extern size_t __parse_one_specwc (const unsigned int *format, size_t posn,
14300       struct printf_spec *spec,
14301       size_t *max_ref_arg) __attribute__ ((visibility ("hidden")));
14302 # 112 "vfprintf.c" 2
14303 # 159 "vfprintf.c"
14304 static const char null[] = "(null)";
14305
14306
14307
14308 static int buffered_vfprintf (_IO_FILE *stream, const char *fmt, __gnuc_va_list)
14309      __attribute__ ((__nothrow__)) __attribute__ ((noinline)) ;
14310
14311
14312 static int printf_unknown (_IO_FILE *, const struct printf_info *,
14313       const void *const *) __attribute__ ((__nothrow__));
14314
14315
14316
14317
14318
14319
14320 static char *group_number (char *, char *, const char *, const char *)
14321      __attribute__ ((__nothrow__)) ;
14322
14323
14324
14325
14326 int
14327 _IO_vfprintf_internal (_IO_FILE *s, const char *format, __gnuc_va_list ap)
14328 {
14329
14330
14331
14332
14333   const char *thousands_sep = ((void *)0);
14334
14335
14336
14337   const char *grouping;
14338
14339
14340   int done;
14341
14342
14343   const unsigned char *f;
14344
14345
14346   const unsigned char *lead_str_end;
14347
14348
14349   const unsigned char *end_of_spec;
14350
14351
14352   char work_buffer[1000];
14353   char *workstart = ((void *)0);
14354   char *workend;
14355
14356
14357
14358   mbstate_t mbstate;
14359
14360
14361
14362   __gnuc_va_list ap_save;
14363
14364
14365   int nspecs_done;
14366
14367
14368   int save_errno = __libc_errno;
14369
14370
14371
14372   int readonly_format = 0;
14373
14374
14375
14376
14377   static const int jump_table[] =
14378   {
14379                1, 0, 0, 4,
14380         0, 14, 0, 6,
14381         0, 0, 7, 2,
14382         0, 3, 9, 0,
14383                5, 8, 8, 8,
14384                8, 8, 8, 8,
14385                8, 8, 0, 0,
14386         0, 0, 0, 0,
14387         0, 26, 0, 25,
14388         0, 19, 19, 19,
14389         0, 29, 0, 0,
14390               12, 0, 0, 0,
14391         0, 0, 0, 21,
14392         0, 0, 0, 0,
14393               18, 0, 13, 0,
14394         0, 0, 0, 0,
14395         0, 26, 0, 20,
14396               15, 19, 19, 19,
14397               10, 15, 28, 0,
14398               11, 24, 23, 17,
14399               22, 12, 0, 21,
14400               27, 16, 0, 0,
14401               18, 0, 13
14402   };
14403 # 1252 "vfprintf.c"
14404   if (0 == 0 && ({ int __result = (-1); if (__result < 0 && ! (0)) { if ((s)->_mode == 0) (s)->_mode = -1; __result = (s)->_mode; } else if (__builtin_constant_p (-1) && (-1) == 0) __result = (0) ? -1 : (s)->_mode; else __result = _IO_fwide (s, __result); __result; }) != -1) return -1;
14405
14406
14407
14408   do { ; if (s->_flags & 8) { (__libc_errno = (9)); return -1; } if (format == ((void *)0)) { (__libc_errno = (22)); return -1; } } while (0);
14409
14410
14411
14412   if (0 == 0 &&
14413       ({ int __result = (sizeof (char) == 1 ? -1 : 1); if (__result < 0 && ! (0)) { if ((s)->_mode == 0) (s)->_mode = -1; __result = (s)->_mode; } else if (__builtin_constant_p (sizeof (char) == 1 ? -1 : 1) && (sizeof (char) == 1 ? -1 : 1) == 0) __result = (0) ? -1 : (s)->_mode; else __result = _IO_fwide (s, __result); __result; })
14414       != (sizeof (char) == 1 ? -1 : 1))
14415
14416     return (-1);
14417
14418
14419   if (((s)->_flags & 2))
14420
14421
14422     return buffered_vfprintf (s, format, ap);
14423
14424
14425   done = 0;
14426   grouping = (const char *) -1;
14427
14428
14429
14430   __builtin_va_copy(ap_save,ap);
14431
14432
14433
14434   nspecs_done = 0;
14435
14436
14437
14438
14439
14440
14441   memset (&mbstate, '\0', sizeof (mbstate_t));
14442
14443
14444   f = lead_str_end = __find_specmb (format, &mbstate);
14445
14446
14447
14448   { struct _pthread_cleanup_buffer _buffer; int _avail; if (((s)->_flags & 0x8000) == 0) { _avail = __libc_pthread_functions_init; if (_avail) { ({ __typeof (__libc_pthread_functions.ptr__pthread_cleanup_push_defer) __p; __p = __libc_pthread_functions.ptr__pthread_cleanup_push_defer; (void) (__p); __p (&_buffer, (void (*) (void *)) &_IO_funlockfile, s); }); } else { _buffer.__routine = ((void (*) (void *)) &_IO_funlockfile); _buffer.__arg = (s); } } else { _avail = 0; };
14449   if (((s)->_flags & 0x8000) == 0) do { void *__self = ({ struct pthread *__self; __self = __get_cr27(); __self - 1; }); if ((*(s)->_lock).owner != __self) { __lll_mutex_lock (&((*(s)->_lock).lock)); (*(s)->_lock).owner = __self; } ++(*(s)->_lock).cnt; } while (0);
14450
14451
14452   do { if ((size_t) (((struct _IO_FILE_plus *) ((s)))->vtable->__xsputn) ((s), (((const unsigned char *) format)), ((lead_str_end - (const unsigned char *) format))) != (size_t) (lead_str_end - (const unsigned char *) format)) { done = -1; goto all_done; } done += (lead_str_end - (const unsigned char *) format); } while (0);
14453
14454
14455
14456   if (*f == '\0')
14457     goto all_done;
14458
14459
14460   do
14461     {
14462
14463
14464
14465
14466
14467
14468       static const int step0_jumps[30] = { &&do_form_unknown - &&do_form_unknown, &&do_flag_space - &&do_form_unknown, &&do_flag_plus - &&do_form_unknown, &&do_flag_minus - &&do_form_unknown, &&do_flag_hash - &&do_form_unknown, &&do_flag_zero - &&do_form_unknown, &&do_flag_quote - &&do_form_unknown, &&do_width_asterics - &&do_form_unknown, &&do_width - &&do_form_unknown, &&do_precision - &&do_form_unknown, &&do_mod_half - &&do_form_unknown, &&do_mod_long - &&do_form_unknown, &&do_mod_longlong - &&do_form_unknown, &&do_mod_size_t - &&do_form_unknown, &&do_form_percent - &&do_form_unknown, &&do_form_integer - &&do_form_unknown, &&do_form_unsigned - &&do_form_unknown, &&do_form_octal - &&do_form_unknown, &&do_form_hexa - &&do_form_unknown, &&do_form_float - &&do_form_unknown, &&do_form_character - &&do_form_unknown, &&do_form_string - &&do_form_unknown, &&do_form_pointer - &&do_form_unknown, &&do_form_number - &&do_form_unknown, &&do_form_strerror - &&do_form_unknown, &&do_form_wcharacter - &&do_form_unknown, &&do_form_floathex - &&do_form_unknown, &&do_mod_ptrdiff_t - &&do_form_unknown, &&do_mod_intmax_t - &&do_form_unknown, &&do_flag_i18n - &&do_form_unknown, }; static const int step1_jumps[30] = { &&do_form_unknown - &&do_form_unknown, &&do_form_unknown - &&do_form_unknown, &&do_form_unknown - &&do_form_unknown, &&do_form_unknown - &&do_form_unknown, &&do_form_unknown - &&do_form_unknown, &&do_form_unknown - &&do_form_unknown, &&do_form_unknown - &&do_form_unknown, &&do_form_unknown - &&do_form_unknown, &&do_form_unknown - &&do_form_unknown, &&do_precision - &&do_form_unknown, &&do_mod_half - &&do_form_unknown, &&do_mod_long - &&do_form_unknown, &&do_mod_longlong - &&do_form_unknown, &&do_mod_size_t - &&do_form_unknown, &&do_form_percent - &&do_form_unknown, &&do_form_integer - &&do_form_unknown, &&do_form_unsigned - &&do_form_unknown, &&do_form_octal - &&do_form_unknown, &&do_form_hexa - &&do_form_unknown, &&do_form_float - &&do_form_unknown, &&do_form_character - &&do_form_unknown, &&do_form_string - &&do_form_unknown, &&do_form_pointer - &&do_form_unknown, &&do_form_number - &&do_form_unknown, &&do_form_strerror - &&do_form_unknown, &&do_form_wcharacter - &&do_form_unknown, &&do_form_floathex - &&do_form_unknown, &&do_mod_ptrdiff_t - &&do_form_unknown, &&do_mod_intmax_t - &&do_form_unknown, &&do_form_unknown - &&do_form_unknown }; static const int step2_jumps[30] = { &&do_form_unknown - &&do_form_unknown, &&do_form_unknown - &&do_form_unknown, &&do_form_unknown - &&do_form_unknown, &&do_form_unknown - &&do_form_unknown, &&do_form_unknown - &&do_form_unknown, &&do_form_unknown - &&do_form_unknown, &&do_form_unknown - &&do_form_unknown, &&do_form_unknown - &&do_form_unknown, &&do_form_unknown - &&do_form_unknown, &&do_form_unknown - &&do_form_unknown, &&do_mod_half - &&do_form_unknown, &&do_mod_long - &&do_form_unknown, &&do_mod_longlong - &&do_form_unknown, &&do_mod_size_t - &&do_form_unknown, &&do_form_percent - &&do_form_unknown, &&do_form_integer - &&do_form_unknown, &&do_form_unsigned - &&do_form_unknown, &&do_form_octal - &&do_form_unknown, &&do_form_hexa - &&do_form_unknown, &&do_form_float - &&do_form_unknown, &&do_form_character - &&do_form_unknown, &&do_form_string - &&do_form_unknown, &&do_form_pointer - &&do_form_unknown, &&do_form_number - &&do_form_unknown, &&do_form_strerror - &&do_form_unknown, &&do_form_wcharacter - &&do_form_unknown, &&do_form_floathex - &&do_form_unknown, &&do_mod_ptrdiff_t - &&do_form_unknown, &&do_mod_intmax_t - &&do_form_unknown, &&do_form_unknown - &&do_form_unknown }; static const int step3a_jumps[30] = { &&do_form_unknown - &&do_form_unknown, &&do_form_unknown - &&do_form_unknown, &&do_form_unknown - &&do_form_unknown, &&do_form_unknown - &&do_form_unknown, &&do_form_unknown - &&do_form_unknown, &&do_form_unknown - &&do_form_unknown, &&do_form_unknown - &&do_form_unknown, &&do_form_unknown - &&do_form_unknown, &&do_form_unknown - &&do_form_unknown, &&do_form_unknown - &&do_form_unknown, &&do_mod_halfhalf - &&do_form_unknown, &&do_form_unknown - &&do_form_unknown, &&do_form_unknown - &&do_form_unknown, &&do_form_unknown - &&do_form_unknown, &&do_form_percent - &&do_form_unknown, &&do_form_integer - &&do_form_unknown, &&do_form_unsigned - &&do_form_unknown, &&do_form_octal - &&do_form_unknown, &&do_form_hexa - &&do_form_unknown, &&do_form_unknown - &&do_form_unknown, &&do_form_unknown - &&do_form_unknown, &&do_form_unknown - &&do_form_unknown, &&do_form_unknown - &&do_form_unknown, &&do_form_number - &&do_form_unknown, &&do_form_unknown - &&do_form_unknown, &&do_form_unknown - &&do_form_unknown, &&do_form_unknown - &&do_form_unknown, &&do_form_unknown - &&do_form_unknown, &&do_form_unknown - &&do_form_unknown, &&do_form_unknown - &&do_form_unknown }; static const int step3b_jumps[30] = { &&do_form_unknown - &&do_form_unknown, &&do_form_unknown - &&do_form_unknown, &&do_form_unknown - &&do_form_unknown, &&do_form_unknown - &&do_form_unknown, &&do_form_unknown - &&do_form_unknown, &&do_form_unknown - &&do_form_unknown, &&do_form_unknown - &&do_form_unknown, &&do_form_unknown - &&do_form_unknown, &&do_form_unknown - &&do_form_unknown, &&do_form_unknown - &&do_form_unknown, &&do_form_unknown - &&do_form_unknown, &&do_mod_longlong - &&do_form_unknown, &&do_form_unknown - &&do_form_unknown, &&do_form_unknown - &&do_form_unknown, &&do_form_percent - &&do_form_unknown, &&do_form_integer - &&do_form_unknown, &&do_form_unsigned - &&do_form_unknown, &&do_form_octal - &&do_form_unknown, &&do_form_hexa - &&do_form_unknown, &&do_form_float - &&do_form_unknown, &&do_form_character - &&do_form_unknown, &&do_form_string - &&do_form_unknown, &&do_form_pointer - &&do_form_unknown, &&do_form_number - &&do_form_unknown, &&do_form_strerror - &&do_form_unknown, &&do_form_wcharacter - &&do_form_unknown, &&do_form_floathex - &&do_form_unknown, &&do_form_unknown - &&do_form_unknown, &&do_form_unknown - &&do_form_unknown, &&do_form_unknown - &&do_form_unknown };
14469       static const int step4_jumps[30] = { &&do_form_unknown - &&do_form_unknown, &&do_form_unknown - &&do_form_unknown, &&do_form_unknown - &&do_form_unknown, &&do_form_unknown - &&do_form_unknown, &&do_form_unknown - &&do_form_unknown, &&do_form_unknown - &&do_form_unknown, &&do_form_unknown - &&do_form_unknown, &&do_form_unknown - &&do_form_unknown, &&do_form_unknown - &&do_form_unknown, &&do_form_unknown - &&do_form_unknown, &&do_form_unknown - &&do_form_unknown, &&do_form_unknown - &&do_form_unknown, &&do_form_unknown - &&do_form_unknown, &&do_form_unknown - &&do_form_unknown, &&do_form_percent - &&do_form_unknown, &&do_form_integer - &&do_form_unknown, &&do_form_unsigned - &&do_form_unknown, &&do_form_octal - &&do_form_unknown, &&do_form_hexa - &&do_form_unknown, &&do_form_float - &&do_form_unknown, &&do_form_character - &&do_form_unknown, &&do_form_string - &&do_form_unknown, &&do_form_pointer - &&do_form_unknown, &&do_form_number - &&do_form_unknown, &&do_form_strerror - &&do_form_unknown, &&do_form_wcharacter - &&do_form_unknown, &&do_form_floathex - &&do_form_unknown, &&do_form_unknown - &&do_form_unknown, &&do_form_unknown - &&do_form_unknown, &&do_form_unknown - &&do_form_unknown };
14470
14471       union printf_arg *args_value;
14472       int is_negative;
14473       union
14474       {
14475  unsigned long long int longlong;
14476  unsigned long int word;
14477       } number;
14478       int base;
14479       union printf_arg the_arg;
14480       char *string;
14481       int alt = 0;
14482       int space = 0;
14483       int left = 0;
14484       int showsign = 0;
14485       int group = 0;
14486       int is_long_double = 0;
14487       int is_short = 0;
14488       int is_long = 0;
14489       int is_char = 0;
14490       int width = 0;
14491       int prec = -1;
14492
14493
14494       int use_outdigits = 0;
14495       unsigned char pad = ' ';
14496       char spec;
14497
14498       workstart = ((void *)0);
14499       workend = &work_buffer[sizeof (work_buffer) / sizeof (char)];
14500
14501
14502       do { int offset; void * ptr; spec = (*++f); offset = ((spec) < ' ' || (spec) > 'z') ? &&do_form_unknown - &&do_form_unknown : step0_jumps[(jump_table[(int) (spec) - ' '])]; ptr = &&do_form_unknown + offset; goto *ptr; } while (0);
14503
14504
14505     do_flag_space:
14506       space = 1;
14507       do { int offset; void * ptr; spec = (*++f); offset = ((spec) < ' ' || (spec) > 'z') ? &&do_form_unknown - &&do_form_unknown : step0_jumps[(jump_table[(int) (spec) - ' '])]; ptr = &&do_form_unknown + offset; goto *ptr; } while (0);
14508
14509
14510     do_flag_plus:
14511       showsign = 1;
14512       do { int offset; void * ptr; spec = (*++f); offset = ((spec) < ' ' || (spec) > 'z') ? &&do_form_unknown - &&do_form_unknown : step0_jumps[(jump_table[(int) (spec) - ' '])]; ptr = &&do_form_unknown + offset; goto *ptr; } while (0);
14513
14514
14515     do_flag_minus:
14516       left = 1;
14517       pad = ' ';
14518       do { int offset; void * ptr; spec = (*++f); offset = ((spec) < ' ' || (spec) > 'z') ? &&do_form_unknown - &&do_form_unknown : step0_jumps[(jump_table[(int) (spec) - ' '])]; ptr = &&do_form_unknown + offset; goto *ptr; } while (0);
14519
14520
14521     do_flag_hash:
14522       alt = 1;
14523       do { int offset; void * ptr; spec = (*++f); offset = ((spec) < ' ' || (spec) > 'z') ? &&do_form_unknown - &&do_form_unknown : step0_jumps[(jump_table[(int) (spec) - ' '])]; ptr = &&do_form_unknown + offset; goto *ptr; } while (0);
14524
14525
14526     do_flag_zero:
14527       if (!left)
14528  pad = '0';
14529       do { int offset; void * ptr; spec = (*++f); offset = ((spec) < ' ' || (spec) > 'z') ? &&do_form_unknown - &&do_form_unknown : step0_jumps[(jump_table[(int) (spec) - ' '])]; ptr = &&do_form_unknown + offset; goto *ptr; } while (0);
14530
14531
14532     do_flag_quote:
14533       group = 1;
14534
14535       if (grouping == (const char *) -1)
14536  {
14537
14538
14539
14540
14541    thousands_sep = ((((__locale_t) (__libc_tsd_LOCALE))->__locales[__LC_NUMERIC])->values[((int) (__THOUSANDS_SEP) & 0xffff)].string);
14542
14543
14544    grouping = ((((__locale_t) (__libc_tsd_LOCALE))->__locales[__LC_NUMERIC])->values[((int) (__GROUPING) & 0xffff)].string);
14545    if (*grouping == '\0' || *grouping == 127
14546
14547
14548
14549        || *thousands_sep == '\0'
14550
14551        )
14552      grouping = ((void *)0);
14553  }
14554       do { int offset; void * ptr; spec = (*++f); offset = ((spec) < ' ' || (spec) > 'z') ? &&do_form_unknown - &&do_form_unknown : step0_jumps[(jump_table[(int) (spec) - ' '])]; ptr = &&do_form_unknown + offset; goto *ptr; } while (0);
14555
14556     do_flag_i18n:
14557       use_outdigits = 1;
14558       do { int offset; void * ptr; spec = (*++f); offset = ((spec) < ' ' || (spec) > 'z') ? &&do_form_unknown - &&do_form_unknown : step0_jumps[(jump_table[(int) (spec) - ' '])]; ptr = &&do_form_unknown + offset; goto *ptr; } while (0);
14559
14560
14561     do_width_asterics:
14562       {
14563  const unsigned char *tmp;
14564
14565  tmp = ++f;
14566  if (((unsigned int) ((*tmp) - '0') < 10) && read_int (&tmp) && *tmp == '$')
14567
14568    goto do_positional;
14569
14570  width = __builtin_va_arg(ap,int);
14571
14572
14573  if (width < 0)
14574    {
14575      width = -width;
14576      pad = ' ';
14577      left = 1;
14578    }
14579
14580  if (width + 32 >= (int) (sizeof (work_buffer)
14581      / sizeof (work_buffer[0])))
14582    {
14583
14584
14585      if (__libc_use_alloca ((width + 32) * sizeof (char)))
14586        workend = ((char *) __builtin_alloca ((width + 32) * sizeof (char))
14587     + (width + 32));
14588      else
14589        {
14590   workstart = (char *) malloc ((width + 32) * sizeof (char));
14591   if (workstart == ((void *)0))
14592     {
14593       done = -1;
14594       goto all_done;
14595     }
14596   workend = workstart + (width + 32);
14597        }
14598    }
14599       }
14600       do { int offset; void * ptr; spec = (*f); offset = ((spec) < ' ' || (spec) > 'z') ? &&do_form_unknown - &&do_form_unknown : step1_jumps[(jump_table[(int) (spec) - ' '])]; ptr = &&do_form_unknown + offset; goto *ptr; } while (0);
14601
14602
14603     do_width:
14604       width = read_int (&f);
14605
14606       if (width + 32 >= (int) (sizeof (work_buffer) / sizeof (work_buffer[0])))
14607  {
14608
14609
14610    if (__libc_use_alloca ((width + 32) * sizeof (char)))
14611      workend = ((char *) __builtin_alloca ((width + 32) * sizeof (char))
14612          + (width + 32));
14613    else
14614      {
14615        workstart = (char *) malloc ((width + 32) * sizeof (char));
14616        if (workstart == ((void *)0))
14617   {
14618     done = -1;
14619     goto all_done;
14620   }
14621        workend = workstart + (width + 32);
14622      }
14623  }
14624       if (*f == '$')
14625
14626  goto do_positional;
14627       do { int offset; void * ptr; spec = (*f); offset = ((spec) < ' ' || (spec) > 'z') ? &&do_form_unknown - &&do_form_unknown : step1_jumps[(jump_table[(int) (spec) - ' '])]; ptr = &&do_form_unknown + offset; goto *ptr; } while (0);
14628
14629     do_precision:
14630       ++f;
14631       if (*f == '*')
14632  {
14633    const unsigned char *tmp;
14634
14635    tmp = ++f;
14636    if (((unsigned int) ((*tmp) - '0') < 10) && read_int (&tmp) > 0 && *tmp == '$')
14637
14638      goto do_positional;
14639
14640    prec = __builtin_va_arg(ap,int);
14641
14642
14643    if (prec < 0)
14644      prec = -1;
14645  }
14646       else if (((unsigned int) ((*f) - '0') < 10))
14647  prec = read_int (&f);
14648       else
14649  prec = 0;
14650       if (prec > width
14651    && prec + 32 > (int)(sizeof (work_buffer) / sizeof (work_buffer[0])))
14652  {
14653    if (__libc_use_alloca ((prec + 32) * sizeof (char)))
14654      workend = ((char *) __builtin_alloca ((prec + 32) * sizeof (char)))
14655         + (prec + 32);
14656    else
14657      {
14658        workstart = (char *) malloc ((prec + 32) * sizeof (char));
14659        if (workstart == ((void *)0))
14660   {
14661     done = -1;
14662     goto all_done;
14663   }
14664        workend = workstart + (prec + 32);
14665      }
14666  }
14667       do { int offset; void * ptr; spec = (*f); offset = ((spec) < ' ' || (spec) > 'z') ? &&do_form_unknown - &&do_form_unknown : step2_jumps[(jump_table[(int) (spec) - ' '])]; ptr = &&do_form_unknown + offset; goto *ptr; } while (0);
14668
14669
14670     do_mod_half:
14671       is_short = 1;
14672       do { int offset; void * ptr; spec = (*++f); offset = ((spec) < ' ' || (spec) > 'z') ? &&do_form_unknown - &&do_form_unknown : step3a_jumps[(jump_table[(int) (spec) - ' '])]; ptr = &&do_form_unknown + offset; goto *ptr; } while (0);
14673
14674
14675     do_mod_halfhalf:
14676       is_short = 0;
14677       is_char = 1;
14678       do { int offset; void * ptr; spec = (*++f); offset = ((spec) < ' ' || (spec) > 'z') ? &&do_form_unknown - &&do_form_unknown : step4_jumps[(jump_table[(int) (spec) - ' '])]; ptr = &&do_form_unknown + offset; goto *ptr; } while (0);
14679
14680
14681     do_mod_long:
14682       is_long = 1;
14683       do { int offset; void * ptr; spec = (*++f); offset = ((spec) < ' ' || (spec) > 'z') ? &&do_form_unknown - &&do_form_unknown : step3b_jumps[(jump_table[(int) (spec) - ' '])]; ptr = &&do_form_unknown + offset; goto *ptr; } while (0);
14684
14685
14686
14687     do_mod_longlong:
14688       is_long_double = 1;
14689       is_long = 1;
14690       do { int offset; void * ptr; spec = (*++f); offset = ((spec) < ' ' || (spec) > 'z') ? &&do_form_unknown - &&do_form_unknown : step4_jumps[(jump_table[(int) (spec) - ' '])]; ptr = &&do_form_unknown + offset; goto *ptr; } while (0);
14691
14692     do_mod_size_t:
14693       is_long_double = sizeof (size_t) > sizeof (unsigned long int);
14694       is_long = sizeof (size_t) > sizeof (unsigned int);
14695       do { int offset; void * ptr; spec = (*++f); offset = ((spec) < ' ' || (spec) > 'z') ? &&do_form_unknown - &&do_form_unknown : step4_jumps[(jump_table[(int) (spec) - ' '])]; ptr = &&do_form_unknown + offset; goto *ptr; } while (0);
14696
14697     do_mod_ptrdiff_t:
14698       is_long_double = sizeof (ptrdiff_t) > sizeof (unsigned long int);
14699       is_long = sizeof (ptrdiff_t) > sizeof (unsigned int);
14700       do { int offset; void * ptr; spec = (*++f); offset = ((spec) < ' ' || (spec) > 'z') ? &&do_form_unknown - &&do_form_unknown : step4_jumps[(jump_table[(int) (spec) - ' '])]; ptr = &&do_form_unknown + offset; goto *ptr; } while (0);
14701
14702     do_mod_intmax_t:
14703       is_long_double = sizeof (intmax_t) > sizeof (unsigned long int);
14704       is_long = sizeof (intmax_t) > sizeof (unsigned int);
14705       do { int offset; void * ptr; spec = (*++f); offset = ((spec) < ' ' || (spec) > 'z') ? &&do_form_unknown - &&do_form_unknown : step4_jumps[(jump_table[(int) (spec) - ' '])]; ptr = &&do_form_unknown + offset; goto *ptr; } while (0);
14706
14707
14708       while (1)
14709  {
14710    do_form_percent: do { register const int outc = ('%'); if ((__builtin_expect (((s)->_IO_write_ptr >= (s)->_IO_write_end), 0) ? __overflow (s, (unsigned char) (outc)) : (unsigned char) (*(s)->_IO_write_ptr++ = (outc))) == (-1)) { done = -1; goto all_done; } else ++done; } while (0); break; do_form_integer: base = 10; if (is_long_double) { long long int signed_number; if (((struct printf_spec *) ((void *)0)) == ((void *)0)) signed_number = __builtin_va_arg(ap,long long int); else signed_number = args_value[((struct printf_spec *) ((void *)0))->data_arg].pa_long_long_int; is_negative = signed_number < 0; number.longlong = is_negative ? (- signed_number) : signed_number; goto do_longlong_number; } else { long int signed_number; if (((struct printf_spec *) ((void *)0)) == ((void *)0)) { if (0) signed_number = __builtin_va_arg(ap,long int); else if (is_char) signed_number = (signed char) __builtin_va_arg(ap,unsigned int); else if (!is_short) signed_number = __builtin_va_arg(ap,int); else signed_number = (short int) __builtin_va_arg(ap,unsigned int); } else if (0) signed_number = args_value[((struct printf_spec *) ((void *)0))->data_arg].pa_long_int; else if (is_char) signed_number = (signed char) args_value[((struct printf_spec *) ((void *)0))->data_arg].pa_u_int; else if (!is_short) signed_number = args_value[((struct printf_spec *) ((void *)0))->data_arg].pa_int; else signed_number = (short int) args_value[((struct printf_spec *) ((void *)0))->data_arg].pa_u_int; is_negative = signed_number < 0; number.word = is_negative ? (- signed_number) : signed_number; goto do_number; } do_form_unsigned: base = 10; goto do_unsigned_number; do_form_octal: base = 8; goto do_unsigned_number; do_form_hexa: base = 16; do_unsigned_number: is_negative = 0; showsign = 0; space = 0; if (is_long_double) { if (((struct printf_spec *) ((void *)0)) == ((void *)0)) number.longlong = __builtin_va_arg(ap,unsigned long long int); else number.longlong = args_value[((struct printf_spec *) ((void *)0))->data_arg].pa_u_long_long_int; do_longlong_number: if (prec < 0) prec = 1; else pad = ' '; if (prec == 0 && number.longlong == 0) { string = workend; if (base == 8 && alt) *--string = '0'; } else { string = _itoa (number.longlong, workend, base, spec == 'X'); if (group && grouping) string = group_number (string, workend, grouping, thousands_sep); if (use_outdigits && base == 10) string = _i18n_number_rewrite (string, workend); } number.word = number.longlong != 0; } else { if (((struct printf_spec *) ((void *)0)) == ((void *)0)) { if (0) number.word = __builtin_va_arg(ap,unsigned long int); else if (is_char) number.word = (unsigned char) __builtin_va_arg(ap,unsigned int); else if (!is_short) number.word = __builtin_va_arg(ap,unsigned int); else number.word = (unsigned short int) __builtin_va_arg(ap,unsigned int); } else if (0) number.word = args_value[((struct printf_spec *) ((void *)0))->data_arg].pa_u_long_int; else if (is_char) number.word = (unsigned char) args_value[((struct printf_spec *) ((void *)0))->data_arg].pa_u_int; else if (!is_short) number.word = args_value[((struct printf_spec *) ((void *)0))->data_arg].pa_u_int; else number.word = (unsigned short int) args_value[((struct printf_spec *) ((void *)0))->data_arg].pa_u_int; do_number: if (prec < 0) prec = 1; else pad = ' '; if (prec == 0 && number.word == 0) { string = workend; if (base == 8 && alt) *--string = '0'; } else { string = _itoa_word (number.word, workend, base, spec == 'X'); if (group && grouping) string = group_number (string, workend, grouping, thousands_sep); if (use_outdigits && base == 10) string = _i18n_number_rewrite (string, workend); } } if (prec <= workend - string && number.word != 0 && alt && base == 8) *--string = '0'; prec = (((0)>(prec - (workend - string)))?(0):(prec - (workend - string))); if (!left) { width -= workend - string + prec; if (number.word != 0 && alt && base == 16) width -= 2; if (is_negative || showsign || space) --width; if (pad == ' ') { if (width > 0) done += _IO_padn_internal (s, (' '), width); width = 0; } if (is_negative) do { register const int outc = ('-'); if ((__builtin_expect (((s)->_IO_write_ptr >= (s)->_IO_write_end), 0) ? __overflow (s, (unsigned char) (outc)) : (unsigned char) (*(s)->_IO_write_ptr++ = (outc))) == (-1)) { done = -1; goto all_done; } else ++done; } while (0); else if (showsign) do { register const int outc = ('+'); if ((__builtin_expect (((s)->_IO_write_ptr >= (s)->_IO_write_end), 0) ? __overflow (s, (unsigned char) (outc)) : (unsigned char) (*(s)->_IO_write_ptr++ = (outc))) == (-1)) { done = -1; goto all_done; } else ++done; } while (0); else if (space) do { register const int outc = (' '); if ((__builtin_expect (((s)->_IO_write_ptr >= (s)->_IO_write_end), 0) ? __overflow (s, (unsigned char) (outc)) : (unsigned char) (*(s)->_IO_write_ptr++ = (outc))) == (-1)) { done = -1; goto all_done; } else ++done; } while (0); if (number.word != 0 && alt && base == 16) { do { register const int outc = ('0'); if ((__builtin_expect (((s)->_IO_write_ptr >= (s)->_IO_write_end), 0) ? __overflow (s, (unsigned char) (outc)) : (unsigned char) (*(s)->_IO_write_ptr++ = (outc))) == (-1)) { done = -1; goto all_done; } else ++done; } while (0); do { register const int outc = (spec); if ((__builtin_expect (((s)->_IO_write_ptr >= (s)->_IO_write_end), 0) ? __overflow (s, (unsigned char) (outc)) : (unsigned char) (*(s)->_IO_write_ptr++ = (outc))) == (-1)) { done = -1; goto all_done; } else ++done; } while (0); } width += prec; if (width > 0) done += _IO_padn_internal (s, ('0'), width); do { if ((size_t) (((struct _IO_FILE_plus *) ((s)))->vtable->__xsputn) ((s), ((string)), ((workend - string))) != (size_t) (workend - string)) { done = -1; goto all_done; } done += (workend - string); } while (0); break; } else { if (is_negative) { do { register const int outc = ('-'); if ((__builtin_expect (((s)->_IO_write_ptr >= (s)->_IO_write_end), 0) ? __overflow (s, (unsigned char) (outc)) : (unsigned char) (*(s)->_IO_write_ptr++ = (outc))) == (-1)) { done = -1; goto all_done; } else ++done; } while (0); --width; } else if (showsign) { do { register const int outc = ('+'); if ((__builtin_expect (((s)->_IO_write_ptr >= (s)->_IO_write_end), 0) ? __overflow (s, (unsigned char) (outc)) : (unsigned char) (*(s)->_IO_write_ptr++ = (outc))) == (-1)) { done = -1; goto all_done; } else ++done; } while (0); --width; } else if (space) { do { register const int outc = (' '); if ((__builtin_expect (((s)->_IO_write_ptr >= (s)->_IO_write_end), 0) ? __overflow (s, (unsigned char) (outc)) : (unsigned char) (*(s)->_IO_write_ptr++ = (outc))) == (-1)) { done = -1; goto all_done; } else ++done; } while (0); --width; } if (number.word != 0 && alt && base == 16) { do { register const int outc = ('0'); if ((__builtin_expect (((s)->_IO_write_ptr >= (s)->_IO_write_end), 0) ? __overflow (s, (unsigned char) (outc)) : (unsigned char) (*(s)->_IO_write_ptr++ = (outc))) == (-1)) { done = -1; goto all_done; } else ++done; } while (0); do { register const int outc = (spec); if ((__builtin_expect (((s)->_IO_write_ptr >= (s)->_IO_write_end), 0) ? __overflow (s, (unsigned char) (outc)) : (unsigned char) (*(s)->_IO_write_ptr++ = (outc))) == (-1)) { done = -1; goto all_done; } else ++done; } while (0); width -= 2; } width -= workend - string + prec; if (prec > 0) { int temp = width; width = prec; if (width > 0) done += _IO_padn_internal (s, ('0'), width);; width = temp; } do { if ((size_t) (((struct _IO_FILE_plus *) ((s)))->vtable->__xsputn) ((s), ((string)), ((workend - string))) != (size_t) (workend - string)) { done = -1; goto all_done; } done += (workend - string); } while (0); if (width > 0) done += _IO_padn_internal (s, (' '), width); break; } do_form_float: { const void *ptr; int function_done; if (((struct printf_spec *) ((void *)0)) == ((void *)0)) { if (0) is_long_double = 0; struct printf_info info = { .prec = prec, .width = width, .spec = spec, .is_long_double = is_long_double, .is_short = is_short, .is_long = is_long, .alt = alt, .space = space, .left = left, .showsign = showsign, .group = group, .pad = pad, .extra = 0, .i18n = use_outdigits, .wide = sizeof (char) != 1 }; if (is_long_double) the_arg.pa_long_double = __builtin_va_arg(ap,long double); else the_arg.pa_double = __builtin_va_arg(ap,double); ptr = (const void *) &the_arg; function_done = __printf_fp (s, &info, &ptr); } else { ptr = (const void *) &args_value[((struct printf_spec *) ((void *)0))->data_arg]; if (0) { ((struct printf_spec *) ((void *)0))->data_arg_type = PA_DOUBLE; ((struct printf_spec *) ((void *)0))->info.is_long_double = 0; } function_done = __printf_fp (s, &((struct printf_spec *) ((void *)0))->info, &ptr); } if (function_done < 0) { done = -1; goto all_done; } done += function_done; } break; do_form_floathex: { const void *ptr; int function_done; if (((struct printf_spec *) ((void *)0)) == ((void *)0)) { if (0) is_long_double = 0; struct printf_info info = { .prec = prec, .width = width, .spec = spec, .is_long_double = is_long_double, .is_short = is_short, .is_long = is_long, .alt = alt, .space = space, .left = left, .showsign = showsign, .group = group, .pad = pad, .extra = 0, .wide = sizeof (char) != 1 }; if (is_long_double) the_arg.pa_long_double = __builtin_va_arg(ap,long double); else the_arg.pa_double = __builtin_va_arg(ap,double); ptr = (const void *) &the_arg; function_done = __printf_fphex (s, &info, &ptr); } else { ptr = (const void *) &args_value[((struct printf_spec *) ((void *)0))->data_arg]; if (0) ((struct printf_spec *) ((void *)0))->info.is_long_double = 0; function_done = __printf_fphex (s, &((struct printf_spec *) ((void *)0))->info, &ptr); } if (function_done < 0) { done = -1; goto all_done; } done += function_done; } break; do_form_pointer: { const void *ptr; if (((struct printf_spec *) ((void *)0)) == ((void *)0)) ptr = __builtin_va_arg(ap,void *); else ptr = args_value[((struct printf_spec *) ((void *)0))->data_arg].pa_pointer; if (ptr != ((void *)0)) { base = 16; number.word = (unsigned long int) ptr; is_negative = 0; alt = 1; group = 0; spec = 'x'; goto do_number; } else { string = (char *) "(nil)"; if (prec < 5) prec = 5; is_long = 0; goto do_print_string; } } do_form_number: if (s->_flags2 & 4) { if (! readonly_format) { extern int __readonly_area (const void *, size_t) __attribute__ ((visibility ("hidden"))); readonly_format = __readonly_area (format, ((strlen (format) + 1) * sizeof (char))); } if (readonly_format < 0) __libc_fatal ("*** %n in writable segment detected ***\n"); } if (((struct printf_spec *) ((void *)0)) == ((void *)0)) { if (is_long_double) *(long long int *) __builtin_va_arg(ap,void *) = done; else if (0) *(long int *) __builtin_va_arg(ap,void *) = done; else if (is_char) *(char *) __builtin_va_arg(ap,void *) = done; else if (!is_short) *(int *) __builtin_va_arg(ap,void *) = done; else *(short int *) __builtin_va_arg(ap,void *) = done; } else if (is_long_double) *(long long int *) args_value[((struct printf_spec *) ((void *)0))->data_arg].pa_pointer = done; else if (0) *(long int *) args_value[((struct printf_spec *) ((void *)0))->data_arg].pa_pointer = done; else if (is_char) *(char *) args_value[((struct printf_spec *) ((void *)0))->data_arg].pa_pointer = done; else if (!is_short) *(int *) args_value[((struct printf_spec *) ((void *)0))->data_arg].pa_pointer = done; else *(short int *) args_value[((struct printf_spec *) ((void *)0))->data_arg].pa_pointer = done; break; do_form_strerror: string = (char *) __strerror_r (save_errno, (char *) work_buffer, sizeof work_buffer); is_long = 0; goto do_print_string;
14711    do_form_character: if (is_long) goto do_form_wcharacter; --width; if (!left) if (width > 0) done += _IO_padn_internal (s, (' '), width); if (((struct printf_spec *) ((void *)0)) == ((void *)0)) do { register const int outc = ((unsigned char) __builtin_va_arg(ap,int)); if ((__builtin_expect (((s)->_IO_write_ptr >= (s)->_IO_write_end), 0) ? __overflow (s, (unsigned char) (outc)) : (unsigned char) (*(s)->_IO_write_ptr++ = (outc))) == (-1)) { done = -1; goto all_done; } else ++done; } while (0); else do { register const int outc = ((unsigned char) args_value[((struct printf_spec *) ((void *)0))->data_arg].pa_int); if ((__builtin_expect (((s)->_IO_write_ptr >= (s)->_IO_write_end), 0) ? __overflow (s, (unsigned char) (outc)) : (unsigned char) (*(s)->_IO_write_ptr++ = (outc))) == (-1)) { done = -1; goto all_done; } else ++done; } while (0); if (left) if (width > 0) done += _IO_padn_internal (s, (' '), width); break; do_form_wcharacter: { char buf[(((uint32_t) (((__locale_t) (__libc_tsd_LOCALE))->__locales[__LC_CTYPE])->values[((int) (_NL_CTYPE_MB_CUR_MAX) & 0xffff)].word))]; mbstate_t mbstate; size_t len; memset (&mbstate, '\0', sizeof (mbstate_t)); len = __wcrtomb (buf, (((struct printf_spec *) ((void *)0)) == ((void *)0) ? __builtin_va_arg(ap,wchar_t) : args_value[((struct printf_spec *) ((void *)0))->data_arg].pa_wchar), &mbstate); if (len == (size_t) -1) { done = -1; goto all_done; } width -= len; if (!left) if (width > 0) done += _IO_padn_internal (s, (' '), width); do { if ((size_t) (((struct _IO_FILE_plus *) ((s)))->vtable->__xsputn) ((s), ((buf)), ((len))) != (size_t) (len)) { done = -1; goto all_done; } done += (len); } while (0); if (left) if (width > 0) done += _IO_padn_internal (s, (' '), width); } break; do_form_string: { size_t len; int string_malloced; if (((struct printf_spec *) ((void *)0)) == ((void *)0)) string = (char *) __builtin_va_arg(ap,const char *); else string = (char *) args_value[((struct printf_spec *) ((void *)0))->data_arg].pa_string; do_print_string: string_malloced = 0; if (string == ((void *)0)) { if (prec == -1 || prec >= (int) sizeof (null) - 1) { string = (char *) null; len = sizeof (null) - 1; } else { string = (char *) ""; len = 0; } } else if (!is_long && spec != 'S') { if (prec != -1) { if (((uint32_t) (((__locale_t) (__libc_tsd_LOCALE))->__locales[__LC_CTYPE])->values[((int) (_NL_CTYPE_MB_CUR_MAX) & 0xffff)].word) == 1) len = __strnlen (string, prec); else { wchar_t ignore[prec]; const char *str2 = string; mbstate_t ps; memset (&ps, '\0', sizeof (ps)); if (__mbsnrtowcs (ignore, &str2, prec, prec, &ps) == (size_t) -1) { done = -1; goto all_done; } if (str2 == ((void *)0)) len = strlen (string); else len = str2 - string - (ps.__count & 7); } } else len = strlen (string); } else { const wchar_t *s2 = (const wchar_t *) string; mbstate_t mbstate; memset (&mbstate, '\0', sizeof (mbstate_t)); if (prec >= 0) { if (__libc_use_alloca (prec)) string = (char *) __builtin_alloca (prec); else if ((string = (char *) malloc (prec)) == ((void *)0)) { done = -1; goto all_done; } else string_malloced = 1; len = __wcsrtombs (string, &s2, prec, &mbstate); } else { len = __wcsrtombs (((void *)0), &s2, 0, &mbstate); if (len != (size_t) -1) { ((((&mbstate)->__count == 0)) ? (void) (0) : (__assert_fail ("((&mbstate)->__count == 0)", "vfprintf.c", 1559, __PRETTY_FUNCTION__), (void) (0))); s2 = (const wchar_t *) string; if (__libc_use_alloca (len + 1)) string = (char *) __builtin_alloca (len + 1); else if ((string = (char *) malloc (len + 1)) == ((void *)0)) { done = -1; goto all_done; } else string_malloced = 1; (void) __wcsrtombs (string, &s2, len + 1, &mbstate); } } if (len == (size_t) -1) { done = -1; goto all_done; } } if ((width -= len) < 0) { do { if ((size_t) (((struct _IO_FILE_plus *) ((s)))->vtable->__xsputn) ((s), ((string)), ((len))) != (size_t) (len)) { done = -1; goto all_done; } done += (len); } while (0); break; } if (!left) if (width > 0) done += _IO_padn_internal (s, (' '), width); do { if ((size_t) (((struct _IO_FILE_plus *) ((s)))->vtable->__xsputn) ((s), ((string)), ((len))) != (size_t) (len)) { done = -1; goto all_done; } done += (len); } while (0); if (left) if (width > 0) done += _IO_padn_internal (s, (' '), width); if (__builtin_expect (string_malloced, 0)) free (string); } break;;
14712
14713  do_form_unknown:
14714    if (spec == '\0')
14715      {
14716
14717        done = -1;
14718        goto all_done;
14719      }
14720
14721
14722
14723    goto do_positional;
14724  }
14725
14726
14727       ++nspecs_done;
14728
14729       if (__builtin_expect (workstart != ((void *)0), 0))
14730  free (workstart);
14731       workstart = ((void *)0);
14732
14733
14734
14735
14736
14737       f = __find_specmb ((end_of_spec = ++f), &mbstate);
14738
14739
14740
14741       do { if ((size_t) (((struct _IO_FILE_plus *) ((s)))->vtable->__xsputn) ((s), ((end_of_spec)), ((f - end_of_spec))) != (size_t) (f - end_of_spec)) { done = -1; goto all_done; } done += (f - end_of_spec); } while (0);
14742     }
14743   while (*f != '\0');
14744
14745
14746   goto all_done;
14747
14748
14749 do_positional:
14750   {
14751
14752
14753     size_t nspecs = 0;
14754     size_t nspecs_max = 32;
14755     struct printf_spec *specs
14756       = __builtin_alloca (nspecs_max * sizeof (struct printf_spec));
14757
14758
14759
14760
14761     size_t nargs = 0;
14762     int *args_type;
14763     union printf_arg *args_value = ((void *)0);
14764
14765
14766
14767
14768     size_t max_ref_arg = 0;
14769
14770
14771     size_t cnt;
14772
14773
14774     if (grouping == (const char *) -1)
14775       {
14776
14777
14778
14779
14780  thousands_sep = ((((__locale_t) (__libc_tsd_LOCALE))->__locales[__LC_NUMERIC])->values[((int) (__THOUSANDS_SEP) & 0xffff)].string);
14781
14782
14783  grouping = ((((__locale_t) (__libc_tsd_LOCALE))->__locales[__LC_NUMERIC])->values[((int) (__GROUPING) & 0xffff)].string);
14784  if (*grouping == '\0' || *grouping == 127)
14785    grouping = ((void *)0);
14786       }
14787
14788     for (f = lead_str_end; *f != '\0'; f = specs[nspecs++].next_fmt)
14789       {
14790  if (nspecs >= nspecs_max)
14791    {
14792
14793      struct printf_spec *old = specs;
14794
14795      nspecs_max *= 2;
14796      specs = __builtin_alloca (nspecs_max * sizeof (struct printf_spec));
14797
14798      if (specs == &old[nspecs])
14799
14800
14801        nspecs_max += nspecs_max / 2;
14802      else
14803        {
14804
14805   memcpy (specs, old, nspecs * sizeof (struct printf_spec));
14806   if (old == &specs[nspecs])
14807
14808
14809
14810     nspecs_max += nspecs_max / 2;
14811        }
14812    }
14813
14814
14815
14816
14817
14818  nargs += __parse_one_specmb (f, nargs, &specs[nspecs], &max_ref_arg,
14819          &mbstate);
14820
14821       }
14822
14823
14824     nargs = (((nargs)>(max_ref_arg))?(nargs):(max_ref_arg));
14825
14826
14827     args_type = __builtin_alloca (nargs * sizeof (int));
14828     memset (args_type, s->_flags2 & 4 ? '\xff' : '\0',
14829      nargs * sizeof (int));
14830     args_value = __builtin_alloca (nargs * sizeof (union printf_arg));
14831
14832
14833
14834
14835
14836
14837     for (cnt = 0; cnt < nspecs; ++cnt)
14838       {
14839
14840  if (specs[cnt].width_arg != -1)
14841    args_type[specs[cnt].width_arg] = PA_INT;
14842
14843
14844  if (specs[cnt].prec_arg != -1)
14845    args_type[specs[cnt].prec_arg] = PA_INT;
14846
14847  switch (specs[cnt].ndata_args)
14848    {
14849    case 0:
14850      break;
14851    case 1:
14852      args_type[specs[cnt].data_arg] = specs[cnt].data_arg_type;
14853      break;
14854    default:
14855
14856
14857
14858      (void) (*__printf_arginfo_table[specs[cnt].info.spec])
14859        (&specs[cnt].info,
14860         specs[cnt].ndata_args, &args_type[specs[cnt].data_arg]);
14861      break;
14862    }
14863       }
14864
14865
14866
14867     for (cnt = 0; cnt < nargs; ++cnt)
14868       switch (args_type[cnt])
14869  {
14870
14871
14872
14873
14874
14875  case PA_CHAR: args_value[cnt].pa_int = __builtin_va_arg(ap_save,int); break;
14876  case PA_WCHAR: args_value[cnt].pa_wchar = __builtin_va_arg(ap_save,wint_t); break;
14877  case PA_INT|(1 << 10): args_value[cnt].pa_int = __builtin_va_arg(ap_save,int); break;
14878  case PA_INT: args_value[cnt].pa_int = __builtin_va_arg(ap_save,int); break;
14879  case PA_INT|(1 << 9): args_value[cnt].pa_long_int = __builtin_va_arg(ap_save,long int); break;
14880  case PA_INT|(1 << 8): args_value[cnt].pa_long_long_int = __builtin_va_arg(ap_save,long long int); break;
14881  case PA_FLOAT: args_value[cnt].pa_double = __builtin_va_arg(ap_save,double); break;
14882  case PA_DOUBLE: args_value[cnt].pa_double = __builtin_va_arg(ap_save,double); break;
14883  case PA_DOUBLE|(1 << 8):
14884    if (0)
14885      {
14886        args_value[cnt].pa_double = __builtin_va_arg(ap_save,double);
14887        args_type[cnt] &= ~(1 << 8);
14888      }
14889    else
14890      args_value[cnt].pa_long_double = __builtin_va_arg(ap_save,long double);
14891    break;
14892  case PA_STRING: args_value[cnt].pa_string = __builtin_va_arg(ap_save,const char *); break;
14893  case PA_WSTRING: args_value[cnt].pa_wstring = __builtin_va_arg(ap_save,const wchar_t *); break;
14894  case PA_POINTER: args_value[cnt].pa_pointer = __builtin_va_arg(ap_save,void *); break;
14895
14896  default:
14897    if ((args_type[cnt] & (1 << 11)) != 0)
14898      args_value[cnt].pa_pointer = __builtin_va_arg(ap_save,void *);
14899    else
14900      args_value[cnt].pa_long_double = 0.0;
14901    break;
14902  case -1:
14903
14904
14905    ((s->_flags2 & 4) ? (void) (0) : (__assert_fail ("s->_flags2 & 4", "vfprintf.c", 1753, __PRETTY_FUNCTION__), (void) (0)));
14906    __libc_fatal ("*** invalid %N$ use detected ***\n");
14907  }
14908
14909
14910     for (; (size_t) nspecs_done < nspecs; ++nspecs_done)
14911       {
14912 # 1768 "vfprintf.c"
14913  static const int step4_jumps[30] = { &&do2_form_unknown - &&do_form_unknown, &&do2_form_unknown - &&do_form_unknown, &&do2_form_unknown - &&do_form_unknown, &&do2_form_unknown - &&do_form_unknown, &&do2_form_unknown - &&do_form_unknown, &&do2_form_unknown - &&do_form_unknown, &&do2_form_unknown - &&do_form_unknown, &&do2_form_unknown - &&do_form_unknown, &&do2_form_unknown - &&do_form_unknown, &&do2_form_unknown - &&do_form_unknown, &&do2_form_unknown - &&do_form_unknown, &&do2_form_unknown - &&do_form_unknown, &&do2_form_unknown - &&do_form_unknown, &&do2_form_unknown - &&do_form_unknown, &&do2_form_percent - &&do_form_unknown, &&do2_form_integer - &&do_form_unknown, &&do2_form_unsigned - &&do_form_unknown, &&do2_form_octal - &&do_form_unknown, &&do2_form_hexa - &&do_form_unknown, &&do2_form_float - &&do_form_unknown, &&do2_form_character - &&do_form_unknown, &&do2_form_string - &&do_form_unknown, &&do2_form_pointer - &&do_form_unknown, &&do2_form_number - &&do_form_unknown, &&do2_form_strerror - &&do_form_unknown, &&do2_form_wcharacter - &&do_form_unknown, &&do2_form_floathex - &&do_form_unknown, &&do2_form_unknown - &&do_form_unknown, &&do2_form_unknown - &&do_form_unknown, &&do2_form_unknown - &&do_form_unknown };
14914
14915  int is_negative;
14916  union
14917  {
14918    unsigned long long int longlong;
14919    unsigned long int word;
14920  } number;
14921  int base;
14922  union printf_arg the_arg;
14923  char *string;
14924
14925
14926  int alt = specs[nspecs_done].info.alt;
14927  int space = specs[nspecs_done].info.space;
14928  int left = specs[nspecs_done].info.left;
14929  int showsign = specs[nspecs_done].info.showsign;
14930  int group = specs[nspecs_done].info.group;
14931  int is_long_double = specs[nspecs_done].info.is_long_double;
14932  int is_short = specs[nspecs_done].info.is_short;
14933  int is_char = specs[nspecs_done].info.is_char;
14934  int is_long = specs[nspecs_done].info.is_long;
14935  int width = specs[nspecs_done].info.width;
14936  int prec = specs[nspecs_done].info.prec;
14937  int use_outdigits = specs[nspecs_done].info.i18n;
14938  char pad = specs[nspecs_done].info.pad;
14939  char spec = specs[nspecs_done].info.spec;
14940  char *workstart = ((void *)0);
14941
14942
14943  if (specs[nspecs_done].width_arg != -1)
14944    {
14945
14946      specs[nspecs_done].info.width =
14947        args_value[specs[nspecs_done].width_arg].pa_int;
14948
14949      if (specs[nspecs_done].info.width < 0)
14950
14951
14952        {
14953   specs[nspecs_done].info.width *= -1;
14954   left = specs[nspecs_done].info.left = 1;
14955        }
14956      width = specs[nspecs_done].info.width;
14957    }
14958
14959  if (specs[nspecs_done].prec_arg != -1)
14960    {
14961
14962      specs[nspecs_done].info.prec =
14963        args_value[specs[nspecs_done].prec_arg].pa_int;
14964
14965      if (specs[nspecs_done].info.prec < 0)
14966
14967
14968        specs[nspecs_done].info.prec = -1;
14969
14970      prec = specs[nspecs_done].info.prec;
14971    }
14972
14973
14974  if ((((prec)>(width))?(prec):(width)) + 32 > (int) (sizeof (work_buffer)
14975          / sizeof (char)))
14976    {
14977      if (__libc_use_alloca (((((prec)>(width))?(prec):(width)) + 32)
14978        * sizeof (char)))
14979        workend = ((char *) __builtin_alloca (((((prec)>(width))?(prec):(width)) + 32) * sizeof (char))
14980
14981     + ((((prec)>(width))?(prec):(width)) + 32));
14982      else
14983        {
14984   workstart = (char *) malloc (((((prec)>(width))?(prec):(width)) + 32)
14985             * sizeof (char));
14986   workend = workstart + ((((prec)>(width))?(prec):(width)) + 32);
14987        }
14988    }
14989
14990
14991  while (1)
14992    {
14993      do { int offset; void * ptr; spec = (spec); offset = ((spec) < ' ' || (spec) > 'z') ? &&do2_form_unknown - &&do_form_unknown : step4_jumps[(jump_table[(int) (spec) - ' '])]; ptr = &&do_form_unknown + offset; goto *ptr; } while (0);
14994
14995      do2_form_percent: do { register const int outc = ('%'); if ((__builtin_expect (((s)->_IO_write_ptr >= (s)->_IO_write_end), 0) ? __overflow (s, (unsigned char) (outc)) : (unsigned char) (*(s)->_IO_write_ptr++ = (outc))) == (-1)) { done = -1; goto all_done; } else ++done; } while (0); break; do2_form_integer: base = 10; if (is_long_double) { long long int signed_number; if ((&specs[nspecs_done]) == ((void *)0)) signed_number = __builtin_va_arg(ap,long long int); else signed_number = args_value[(&specs[nspecs_done])->data_arg].pa_long_long_int; is_negative = signed_number < 0; number.longlong = is_negative ? (- signed_number) : signed_number; goto do2_longlong_number; } else { long int signed_number; if ((&specs[nspecs_done]) == ((void *)0)) { if (0) signed_number = __builtin_va_arg(ap,long int); else if (is_char) signed_number = (signed char) __builtin_va_arg(ap,unsigned int); else if (!is_short) signed_number = __builtin_va_arg(ap,int); else signed_number = (short int) __builtin_va_arg(ap,unsigned int); } else if (0) signed_number = args_value[(&specs[nspecs_done])->data_arg].pa_long_int; else if (is_char) signed_number = (signed char) args_value[(&specs[nspecs_done])->data_arg].pa_u_int; else if (!is_short) signed_number = args_value[(&specs[nspecs_done])->data_arg].pa_int; else signed_number = (short int) args_value[(&specs[nspecs_done])->data_arg].pa_u_int; is_negative = signed_number < 0; number.word = is_negative ? (- signed_number) : signed_number; goto do2_number; } do2_form_unsigned: base = 10; goto do2_unsigned_number; do2_form_octal: base = 8; goto do2_unsigned_number; do2_form_hexa: base = 16; do2_unsigned_number: is_negative = 0; showsign = 0; space = 0; if (is_long_double) { if ((&specs[nspecs_done]) == ((void *)0)) number.longlong = __builtin_va_arg(ap,unsigned long long int); else number.longlong = args_value[(&specs[nspecs_done])->data_arg].pa_u_long_long_int; do2_longlong_number: if (prec < 0) prec = 1; else pad = ' '; if (prec == 0 && number.longlong == 0) { string = workend; if (base == 8 && alt) *--string = '0'; } else { string = _itoa (number.longlong, workend, base, spec == 'X'); if (group && grouping) string = group_number (string, workend, grouping, thousands_sep); if (use_outdigits && base == 10) string = _i18n_number_rewrite (string, workend); } number.word = number.longlong != 0; } else { if ((&specs[nspecs_done]) == ((void *)0)) { if (0) number.word = __builtin_va_arg(ap,unsigned long int); else if (is_char) number.word = (unsigned char) __builtin_va_arg(ap,unsigned int); else if (!is_short) number.word = __builtin_va_arg(ap,unsigned int); else number.word = (unsigned short int) __builtin_va_arg(ap,unsigned int); } else if (0) number.word = args_value[(&specs[nspecs_done])->data_arg].pa_u_long_int; else if (is_char) number.word = (unsigned char) args_value[(&specs[nspecs_done])->data_arg].pa_u_int; else if (!is_short) number.word = args_value[(&specs[nspecs_done])->data_arg].pa_u_int; else number.word = (unsigned short int) args_value[(&specs[nspecs_done])->data_arg].pa_u_int; do2_number: if (prec < 0) prec = 1; else pad = ' '; if (prec == 0 && number.word == 0) { string = workend; if (base == 8 && alt) *--string = '0'; } else { string = _itoa_word (number.word, workend, base, spec == 'X'); if (group && grouping) string = group_number (string, workend, grouping, thousands_sep); if (use_outdigits && base == 10) string = _i18n_number_rewrite (string, workend); } } if (prec <= workend - string && number.word != 0 && alt && base == 8) *--string = '0'; prec = (((0)>(prec - (workend - string)))?(0):(prec - (workend - string))); if (!left) { width -= workend - string + prec; if (number.word != 0 && alt && base == 16) width -= 2; if (is_negative || showsign || space) --width; if (pad == ' ') { if (width > 0) done += _IO_padn_internal (s, (' '), width); width = 0; } if (is_negative) do { register const int outc = ('-'); if ((__builtin_expect (((s)->_IO_write_ptr >= (s)->_IO_write_end), 0) ? __overflow (s, (unsigned char) (outc)) : (unsigned char) (*(s)->_IO_write_ptr++ = (outc))) == (-1)) { done = -1; goto all_done; } else ++done; } while (0); else if (showsign) do { register const int outc = ('+'); if ((__builtin_expect (((s)->_IO_write_ptr >= (s)->_IO_write_end), 0) ? __overflow (s, (unsigned char) (outc)) : (unsigned char) (*(s)->_IO_write_ptr++ = (outc))) == (-1)) { done = -1; goto all_done; } else ++done; } while (0); else if (space) do { register const int outc = (' '); if ((__builtin_expect (((s)->_IO_write_ptr >= (s)->_IO_write_end), 0) ? __overflow (s, (unsigned char) (outc)) : (unsigned char) (*(s)->_IO_write_ptr++ = (outc))) == (-1)) { done = -1; goto all_done; } else ++done; } while (0); if (number.word != 0 && alt && base == 16) { do { register const int outc = ('0'); if ((__builtin_expect (((s)->_IO_write_ptr >= (s)->_IO_write_end), 0) ? __overflow (s, (unsigned char) (outc)) : (unsigned char) (*(s)->_IO_write_ptr++ = (outc))) == (-1)) { done = -1; goto all_done; } else ++done; } while (0); do { register const int outc = (spec); if ((__builtin_expect (((s)->_IO_write_ptr >= (s)->_IO_write_end), 0) ? __overflow (s, (unsigned char) (outc)) : (unsigned char) (*(s)->_IO_write_ptr++ = (outc))) == (-1)) { done = -1; goto all_done; } else ++done; } while (0); } width += prec; if (width > 0) done += _IO_padn_internal (s, ('0'), width); do { if ((size_t) (((struct _IO_FILE_plus *) ((s)))->vtable->__xsputn) ((s), ((string)), ((workend - string))) != (size_t) (workend - string)) { done = -1; goto all_done; } done += (workend - string); } while (0); break; } else { if (is_negative) { do { register const int outc = ('-'); if ((__builtin_expect (((s)->_IO_write_ptr >= (s)->_IO_write_end), 0) ? __overflow (s, (unsigned char) (outc)) : (unsigned char) (*(s)->_IO_write_ptr++ = (outc))) == (-1)) { done = -1; goto all_done; } else ++done; } while (0); --width; } else if (showsign) { do { register const int outc = ('+'); if ((__builtin_expect (((s)->_IO_write_ptr >= (s)->_IO_write_end), 0) ? __overflow (s, (unsigned char) (outc)) : (unsigned char) (*(s)->_IO_write_ptr++ = (outc))) == (-1)) { done = -1; goto all_done; } else ++done; } while (0); --width; } else if (space) { do { register const int outc = (' '); if ((__builtin_expect (((s)->_IO_write_ptr >= (s)->_IO_write_end), 0) ? __overflow (s, (unsigned char) (outc)) : (unsigned char) (*(s)->_IO_write_ptr++ = (outc))) == (-1)) { done = -1; goto all_done; } else ++done; } while (0); --width; } if (number.word != 0 && alt && base == 16) { do { register const int outc = ('0'); if ((__builtin_expect (((s)->_IO_write_ptr >= (s)->_IO_write_end), 0) ? __overflow (s, (unsigned char) (outc)) : (unsigned char) (*(s)->_IO_write_ptr++ = (outc))) == (-1)) { done = -1; goto all_done; } else ++done; } while (0); do { register const int outc = (spec); if ((__builtin_expect (((s)->_IO_write_ptr >= (s)->_IO_write_end), 0) ? __overflow (s, (unsigned char) (outc)) : (unsigned char) (*(s)->_IO_write_ptr++ = (outc))) == (-1)) { done = -1; goto all_done; } else ++done; } while (0); width -= 2; } width -= workend - string + prec; if (prec > 0) { int temp = width; width = prec; if (width > 0) done += _IO_padn_internal (s, ('0'), width);; width = temp; } do { if ((size_t) (((struct _IO_FILE_plus *) ((s)))->vtable->__xsputn) ((s), ((string)), ((workend - string))) != (size_t) (workend - string)) { done = -1; goto all_done; } done += (workend - string); } while (0); if (width > 0) done += _IO_padn_internal (s, (' '), width); break; } do2_form_float: { const void *ptr; int function_done; if ((&specs[nspecs_done]) == ((void *)0)) { if (0) is_long_double = 0; struct printf_info info = { .prec = prec, .width = width, .spec = spec, .is_long_double = is_long_double, .is_short = is_short, .is_long = is_long, .alt = alt, .space = space, .left = left, .showsign = showsign, .group = group, .pad = pad, .extra = 0, .i18n = use_outdigits, .wide = sizeof (char) != 1 }; if (is_long_double) the_arg.pa_long_double = __builtin_va_arg(ap,long double); else the_arg.pa_double = __builtin_va_arg(ap,double); ptr = (const void *) &the_arg; function_done = __printf_fp (s, &info, &ptr); } else { ptr = (const void *) &args_value[(&specs[nspecs_done])->data_arg]; if (0) { (&specs[nspecs_done])->data_arg_type = PA_DOUBLE; (&specs[nspecs_done])->info.is_long_double = 0; } function_done = __printf_fp (s, &(&specs[nspecs_done])->info, &ptr); } if (function_done < 0) { done = -1; goto all_done; } done += function_done; } break; do2_form_floathex: { const void *ptr; int function_done; if ((&specs[nspecs_done]) == ((void *)0)) { if (0) is_long_double = 0; struct printf_info info = { .prec = prec, .width = width, .spec = spec, .is_long_double = is_long_double, .is_short = is_short, .is_long = is_long, .alt = alt, .space = space, .left = left, .showsign = showsign, .group = group, .pad = pad, .extra = 0, .wide = sizeof (char) != 1 }; if (is_long_double) the_arg.pa_long_double = __builtin_va_arg(ap,long double); else the_arg.pa_double = __builtin_va_arg(ap,double); ptr = (const void *) &the_arg; function_done = __printf_fphex (s, &info, &ptr); } else { ptr = (const void *) &args_value[(&specs[nspecs_done])->data_arg]; if (0) (&specs[nspecs_done])->info.is_long_double = 0; function_done = __printf_fphex (s, &(&specs[nspecs_done])->info, &ptr); } if (function_done < 0) { done = -1; goto all_done; } done += function_done; } break; do2_form_pointer: { const void *ptr; if ((&specs[nspecs_done]) == ((void *)0)) ptr = __builtin_va_arg(ap,void *); else ptr = args_value[(&specs[nspecs_done])->data_arg].pa_pointer; if (ptr != ((void *)0)) { base = 16; number.word = (unsigned long int) ptr; is_negative = 0; alt = 1; group = 0; spec = 'x'; goto do2_number; } else { string = (char *) "(nil)"; if (prec < 5) prec = 5; is_long = 0; goto do2_print_string; } } do2_form_number: if (s->_flags2 & 4) { if (! readonly_format) { extern int __readonly_area (const void *, size_t) __attribute__ ((visibility ("hidden"))); readonly_format = __readonly_area (format, ((strlen (format) + 1) * sizeof (char))); } if (readonly_format < 0) __libc_fatal ("*** %n in writable segment detected ***\n"); } if ((&specs[nspecs_done]) == ((void *)0)) { if (is_long_double) *(long long int *) __builtin_va_arg(ap,void *) = done; else if (0) *(long int *) __builtin_va_arg(ap,void *) = done; else if (is_char) *(char *) __builtin_va_arg(ap,void *) = done; else if (!is_short) *(int *) __builtin_va_arg(ap,void *) = done; else *(short int *) __builtin_va_arg(ap,void *) = done; } else if (is_long_double) *(long long int *) args_value[(&specs[nspecs_done])->data_arg].pa_pointer = done; else if (0) *(long int *) args_value[(&specs[nspecs_done])->data_arg].pa_pointer = done; else if (is_char) *(char *) args_value[(&specs[nspecs_done])->data_arg].pa_pointer = done; else if (!is_short) *(int *) args_value[(&specs[nspecs_done])->data_arg].pa_pointer = done; else *(short int *) args_value[(&specs[nspecs_done])->data_arg].pa_pointer = done; break; do2_form_strerror: string = (char *) __strerror_r (save_errno, (char *) work_buffer, sizeof work_buffer); is_long = 0; goto do2_print_string;
14996      do2_form_character: if (is_long) goto do2_form_wcharacter; --width; if (!left) if (width > 0) done += _IO_padn_internal (s, (' '), width); if ((&specs[nspecs_done]) == ((void *)0)) do { register const int outc = ((unsigned char) __builtin_va_arg(ap,int)); if ((__builtin_expect (((s)->_IO_write_ptr >= (s)->_IO_write_end), 0) ? __overflow (s, (unsigned char) (outc)) : (unsigned char) (*(s)->_IO_write_ptr++ = (outc))) == (-1)) { done = -1; goto all_done; } else ++done; } while (0); else do { register const int outc = ((unsigned char) args_value[(&specs[nspecs_done])->data_arg].pa_int); if ((__builtin_expect (((s)->_IO_write_ptr >= (s)->_IO_write_end), 0) ? __overflow (s, (unsigned char) (outc)) : (unsigned char) (*(s)->_IO_write_ptr++ = (outc))) == (-1)) { done = -1; goto all_done; } else ++done; } while (0); if (left) if (width > 0) done += _IO_padn_internal (s, (' '), width); break; do2_form_wcharacter: { char buf[(((uint32_t) (((__locale_t) (__libc_tsd_LOCALE))->__locales[__LC_CTYPE])->values[((int) (_NL_CTYPE_MB_CUR_MAX) & 0xffff)].word))]; mbstate_t mbstate; size_t len; memset (&mbstate, '\0', sizeof (mbstate_t)); len = __wcrtomb (buf, ((&specs[nspecs_done]) == ((void *)0) ? __builtin_va_arg(ap,wchar_t) : args_value[(&specs[nspecs_done])->data_arg].pa_wchar), &mbstate); if (len == (size_t) -1) { done = -1; goto all_done; } width -= len; if (!left) if (width > 0) done += _IO_padn_internal (s, (' '), width); do { if ((size_t) (((struct _IO_FILE_plus *) ((s)))->vtable->__xsputn) ((s), ((buf)), ((len))) != (size_t) (len)) { done = -1; goto all_done; } done += (len); } while (0); if (left) if (width > 0) done += _IO_padn_internal (s, (' '), width); } break; do2_form_string: { size_t len; int string_malloced; if ((&specs[nspecs_done]) == ((void *)0)) string = (char *) __builtin_va_arg(ap,const char *); else string = (char *) args_value[(&specs[nspecs_done])->data_arg].pa_string; do2_print_string: string_malloced = 0; if (string == ((void *)0)) { if (prec == -1 || prec >= (int) sizeof (null) - 1) { string = (char *) null; len = sizeof (null) - 1; } else { string = (char *) ""; len = 0; } } else if (!is_long && spec != 'S') { if (prec != -1) { if (((uint32_t) (((__locale_t) (__libc_tsd_LOCALE))->__locales[__LC_CTYPE])->values[((int) (_NL_CTYPE_MB_CUR_MAX) & 0xffff)].word) == 1) len = __strnlen (string, prec); else { wchar_t ignore[prec]; const char *str2 = string; mbstate_t ps; memset (&ps, '\0', sizeof (ps)); if (__mbsnrtowcs (ignore, &str2, prec, prec, &ps) == (size_t) -1) { done = -1; goto all_done; } if (str2 == ((void *)0)) len = strlen (string); else len = str2 - string - (ps.__count & 7); } } else len = strlen (string); } else { const wchar_t *s2 = (const wchar_t *) string; mbstate_t mbstate; memset (&mbstate, '\0', sizeof (mbstate_t)); if (prec >= 0) { if (__libc_use_alloca (prec)) string = (char *) __builtin_alloca (prec); else if ((string = (char *) malloc (prec)) == ((void *)0)) { done = -1; goto all_done; } else string_malloced = 1; len = __wcsrtombs (string, &s2, prec, &mbstate); } else { len = __wcsrtombs (((void *)0), &s2, 0, &mbstate); if (len != (size_t) -1) { ((((&mbstate)->__count == 0)) ? (void) (0) : (__assert_fail ("((&mbstate)->__count == 0)", "vfprintf.c", 1851, __PRETTY_FUNCTION__), (void) (0))); s2 = (const wchar_t *) string; if (__libc_use_alloca (len + 1)) string = (char *) __builtin_alloca (len + 1); else if ((string = (char *) malloc (len + 1)) == ((void *)0)) { done = -1; goto all_done; } else string_malloced = 1; (void) __wcsrtombs (string, &s2, len + 1, &mbstate); } } if (len == (size_t) -1) { done = -1; goto all_done; } } if ((width -= len) < 0) { do { if ((size_t) (((struct _IO_FILE_plus *) ((s)))->vtable->__xsputn) ((s), ((string)), ((len))) != (size_t) (len)) { done = -1; goto all_done; } done += (len); } while (0); break; } if (!left) if (width > 0) done += _IO_padn_internal (s, (' '), width); do { if ((size_t) (((struct _IO_FILE_plus *) ((s)))->vtable->__xsputn) ((s), ((string)), ((len))) != (size_t) (len)) { done = -1; goto all_done; } done += (len); } while (0); if (left) if (width > 0) done += _IO_padn_internal (s, (' '), width); if (__builtin_expect (string_malloced, 0)) free (string); } break;;
14997
14998    do2_form_unknown:
14999      {
15000        extern printf_function **__printf_function_table;
15001        int function_done;
15002        printf_function *function;
15003        unsigned int i;
15004        const void **ptr;
15005
15006        function =
15007   (__printf_function_table == ((void *)0) ? ((void *)0) :
15008    __printf_function_table[specs[nspecs_done].info.spec]);
15009
15010        if (function == ((void *)0))
15011   function = &printf_unknown;
15012
15013        ptr = __builtin_alloca (specs[nspecs_done].ndata_args * sizeof (const void *));
15014
15015
15016
15017        for (i = 0; i < specs[nspecs_done].ndata_args; ++i)
15018   ptr[i] = &args_value[specs[nspecs_done].data_arg + i];
15019
15020
15021        function_done = (*function) (s, &specs[nspecs_done].info, ptr);
15022
15023
15024
15025        if (function_done < 0)
15026   {
15027     done = -1;
15028     goto all_done;
15029   }
15030
15031        done += function_done;
15032      }
15033      break;
15034    }
15035
15036  if (__builtin_expect (workstart != ((void *)0), 0))
15037    free (workstart);
15038  workstart = ((void *)0);
15039
15040
15041  do { if ((size_t) (((struct _IO_FILE_plus *) ((s)))->vtable->__xsputn) ((s), ((specs[nspecs_done].end_of_fmt)), ((specs[nspecs_done].next_fmt - specs[nspecs_done].end_of_fmt))) != (size_t) (specs[nspecs_done].next_fmt - specs[nspecs_done].end_of_fmt)) { done = -1; goto all_done; } done += (specs[nspecs_done].next_fmt - specs[nspecs_done].end_of_fmt); } while (0);
15042
15043
15044       }
15045   }
15046
15047 all_done:
15048   if (__builtin_expect (workstart != ((void *)0), 0))
15049     free (workstart);
15050
15051   if (((s)->_flags & 0x8000) == 0) do { if (--(*(s)->_lock).cnt == 0) { (*(s)->_lock).owner = ((void *)0); __lll_mutex_unlock(&((*(s)->_lock).lock)); } } while (0);
15052   if (_avail) { ({ __typeof (__libc_pthread_functions.ptr__pthread_cleanup_pop_restore) __p; __p = __libc_pthread_functions.ptr__pthread_cleanup_pop_restore; (void) (__p); __p (&_buffer, 0); }); } else if (0) _buffer.__routine (_buffer.__arg); };
15053
15054   return done;
15055 }
15056
15057
15058
15059 static int
15060 printf_unknown (_IO_FILE *s, const struct printf_info *info,
15061   const void *const *args)
15062
15063 {
15064   int done = 0;
15065   char work_buffer[(((info->width)>(info->spec))?(info->width):(info->spec)) + 32];
15066   char *const workend
15067     = &work_buffer[sizeof (work_buffer) / sizeof (char)];
15068   register char *w;
15069
15070   do { register const int outc = ('%'); if ((__builtin_expect (((s)->_IO_write_ptr >= (s)->_IO_write_end), 0) ? __overflow (s, (unsigned char) (outc)) : (unsigned char) (*(s)->_IO_write_ptr++ = (outc))) == (-1)) { done = -1; goto all_done; } else ++done; } while (0);
15071
15072   if (info->alt)
15073     do { register const int outc = ('#'); if ((__builtin_expect (((s)->_IO_write_ptr >= (s)->_IO_write_end), 0) ? __overflow (s, (unsigned char) (outc)) : (unsigned char) (*(s)->_IO_write_ptr++ = (outc))) == (-1)) { done = -1; goto all_done; } else ++done; } while (0);
15074   if (info->group)
15075     do { register const int outc = ('\''); if ((__builtin_expect (((s)->_IO_write_ptr >= (s)->_IO_write_end), 0) ? __overflow (s, (unsigned char) (outc)) : (unsigned char) (*(s)->_IO_write_ptr++ = (outc))) == (-1)) { done = -1; goto all_done; } else ++done; } while (0);
15076   if (info->showsign)
15077     do { register const int outc = ('+'); if ((__builtin_expect (((s)->_IO_write_ptr >= (s)->_IO_write_end), 0) ? __overflow (s, (unsigned char) (outc)) : (unsigned char) (*(s)->_IO_write_ptr++ = (outc))) == (-1)) { done = -1; goto all_done; } else ++done; } while (0);
15078   else if (info->space)
15079     do { register const int outc = (' '); if ((__builtin_expect (((s)->_IO_write_ptr >= (s)->_IO_write_end), 0) ? __overflow (s, (unsigned char) (outc)) : (unsigned char) (*(s)->_IO_write_ptr++ = (outc))) == (-1)) { done = -1; goto all_done; } else ++done; } while (0);
15080   if (info->left)
15081     do { register const int outc = ('-'); if ((__builtin_expect (((s)->_IO_write_ptr >= (s)->_IO_write_end), 0) ? __overflow (s, (unsigned char) (outc)) : (unsigned char) (*(s)->_IO_write_ptr++ = (outc))) == (-1)) { done = -1; goto all_done; } else ++done; } while (0);
15082   if (info->pad == '0')
15083     do { register const int outc = ('0'); if ((__builtin_expect (((s)->_IO_write_ptr >= (s)->_IO_write_end), 0) ? __overflow (s, (unsigned char) (outc)) : (unsigned char) (*(s)->_IO_write_ptr++ = (outc))) == (-1)) { done = -1; goto all_done; } else ++done; } while (0);
15084   if (info->i18n)
15085     do { register const int outc = ('I'); if ((__builtin_expect (((s)->_IO_write_ptr >= (s)->_IO_write_end), 0) ? __overflow (s, (unsigned char) (outc)) : (unsigned char) (*(s)->_IO_write_ptr++ = (outc))) == (-1)) { done = -1; goto all_done; } else ++done; } while (0);
15086
15087   if (info->width != 0)
15088     {
15089       w = _itoa_word (info->width, workend, 10, 0);
15090       while (w < workend)
15091  do { register const int outc = (*w++); if ((__builtin_expect (((s)->_IO_write_ptr >= (s)->_IO_write_end), 0) ? __overflow (s, (unsigned char) (outc)) : (unsigned char) (*(s)->_IO_write_ptr++ = (outc))) == (-1)) { done = -1; goto all_done; } else ++done; } while (0);
15092     }
15093
15094   if (info->prec != -1)
15095     {
15096       do { register const int outc = ('.'); if ((__builtin_expect (((s)->_IO_write_ptr >= (s)->_IO_write_end), 0) ? __overflow (s, (unsigned char) (outc)) : (unsigned char) (*(s)->_IO_write_ptr++ = (outc))) == (-1)) { done = -1; goto all_done; } else ++done; } while (0);
15097       w = _itoa_word (info->prec, workend, 10, 0);
15098       while (w < workend)
15099  do { register const int outc = (*w++); if ((__builtin_expect (((s)->_IO_write_ptr >= (s)->_IO_write_end), 0) ? __overflow (s, (unsigned char) (outc)) : (unsigned char) (*(s)->_IO_write_ptr++ = (outc))) == (-1)) { done = -1; goto all_done; } else ++done; } while (0);
15100     }
15101
15102   if (info->spec != '\0')
15103     do { register const int outc = (info->spec); if ((__builtin_expect (((s)->_IO_write_ptr >= (s)->_IO_write_end), 0) ? __overflow (s, (unsigned char) (outc)) : (unsigned char) (*(s)->_IO_write_ptr++ = (outc))) == (-1)) { done = -1; goto all_done; } else ++done; } while (0);
15104
15105  all_done:
15106   return done;
15107 }
15108
15109
15110
15111 static char *
15112
15113 group_number (char *w, char *rear_ptr, const char *grouping,
15114
15115
15116
15117        const char *thousands_sep
15118
15119        )
15120 {
15121   int len;
15122   char *src, *s;
15123
15124   int tlen = strlen (thousands_sep);
15125
15126
15127
15128
15129   if (*grouping == 127 || *grouping <= 0)
15130
15131     return w;
15132
15133   len = *grouping++;
15134
15135
15136   src = (char *) __builtin_alloca ((rear_ptr - w) * sizeof (char));
15137   s = (char *) __builtin_mempcpy (src, w, (rear_ptr - w) * sizeof (char));
15138
15139   w = rear_ptr;
15140
15141
15142   while (s > src)
15143     {
15144       *--w = *--s;
15145
15146       if (--len == 0 && s > src)
15147  {
15148
15149
15150
15151
15152    int cnt = tlen;
15153    do
15154      *--w = thousands_sep[--cnt];
15155    while (cnt > 0);
15156
15157
15158    if (*grouping == 127
15159
15160      || *grouping < 0
15161
15162      )
15163      {
15164
15165
15166        do
15167   *--w = *--s;
15168        while (s > src);
15169        break;
15170      }
15171    else if (*grouping != '\0')
15172
15173      len = *grouping++;
15174    else
15175      len = grouping[-1];
15176  }
15177     }
15178   return w;
15179 }
15180
15181
15182 struct helper_file
15183   {
15184     struct _IO_FILE_plus _f;
15185
15186
15187
15188     _IO_FILE *_put_stream;
15189
15190     _IO_lock_t lock;
15191
15192   };
15193
15194 static int
15195 _IO_helper_overflow (_IO_FILE *s, int c)
15196 {
15197   _IO_FILE *target = ((struct helper_file*) s)->_put_stream;
15198 # 2062 "vfprintf.c"
15199   int used = s->_IO_write_ptr - s->_IO_write_base;
15200   if (used)
15201     {
15202       size_t written = (((struct _IO_FILE_plus *) (target))->vtable->__xsputn) (target, s->_IO_write_base, used);
15203       s->_IO_write_ptr -= written;
15204     }
15205
15206   return (__builtin_expect (((s)->_IO_write_ptr >= (s)->_IO_write_end), 0) ? __overflow (s, (unsigned char) (c)) : (unsigned char) (*(s)->_IO_write_ptr++ = (c)));
15207 }
15208 # 2095 "vfprintf.c"
15209 static const struct _IO_jump_t _IO_helper_jumps =
15210 {
15211   0, 0,
15212   _IO_default_finish_internal,
15213   _IO_helper_overflow,
15214   _IO_default_underflow,
15215   _IO_default_uflow_internal,
15216   _IO_default_pbackfail_internal,
15217   _IO_default_xsputn_internal,
15218   _IO_default_xsgetn_internal,
15219   _IO_default_seekoff,
15220   _IO_default_seekpos,
15221   _IO_default_setbuf,
15222   _IO_default_sync,
15223   _IO_default_doallocate_internal,
15224   _IO_default_read,
15225   _IO_default_write,
15226   _IO_default_seek,
15227   ((_IO_close_t) _IO_default_sync),
15228   _IO_default_stat
15229 };
15230
15231
15232 static int
15233
15234 buffered_vfprintf (register _IO_FILE *s, const char *format,
15235      __gnuc_va_list args)
15236 {
15237   char buf[8192];
15238   struct helper_file helper;
15239   register _IO_FILE *hp = (_IO_FILE *) &helper._f;
15240   int result, to_flush;
15241
15242
15243
15244   if (0 == 0 && ({ int __result = (-1); if (__result < 0 && ! (0)) { if ((s)->_mode == 0) (s)->_mode = -1; __result = (s)->_mode; } else if (__builtin_constant_p (-1) && (-1) == 0) __result = (0) ? -1 : (s)->_mode; else __result = _IO_fwide (s, __result); __result; }) != -1) return -1;
15245
15246
15247
15248   helper._put_stream = s;
15249
15250
15251
15252
15253
15254   ((hp)->_IO_write_base = (hp)->_IO_write_ptr = buf, (hp)->_IO_write_end = (buf + sizeof buf));
15255   hp->_mode = -1;
15256
15257   hp->_flags = 0xFBAD0000|4|0x8000;
15258
15259
15260
15261
15262   hp->_lock = ((void *)0);
15263
15264   hp->_flags2 = s->_flags2;
15265   (&helper._f)->vtable = (struct _IO_jump_t *) &_IO_helper_jumps;
15266
15267
15268
15269   result = _IO_vfprintf_internal (hp, format, args);
15270
15271
15272
15273
15274
15275   { struct _pthread_cleanup_buffer _buffer; int _avail; if (1) { _avail = __libc_pthread_functions_init; if (_avail) { ({ __typeof (__libc_pthread_functions.ptr__pthread_cleanup_push_defer) __p; __p = __libc_pthread_functions.ptr__pthread_cleanup_push_defer; (void) (__p); __p (&_buffer, (void (*) (void *)) &_IO_funlockfile, s); }); } else { _buffer.__routine = ((void (*) (void *)) &_IO_funlockfile); _buffer.__arg = (s); } } else { _avail = 0; };
15276   if (((s)->_flags & 0x8000) == 0) do { void *__self = ({ struct pthread *__self; __self = __get_cr27(); __self - 1; }); if ((*(s)->_lock).owner != __self) { __lll_mutex_lock (&((*(s)->_lock).lock)); (*(s)->_lock).owner = __self; } ++(*(s)->_lock).cnt; } while (0);
15277 # 2174 "vfprintf.c"
15278   if ((to_flush = hp->_IO_write_ptr - hp->_IO_write_base) > 0)
15279     {
15280       if ((int) (((struct _IO_FILE_plus *) (s))->vtable->__xsputn) (s, hp->_IO_write_base, to_flush) != to_flush)
15281  result = -1;
15282     }
15283
15284
15285
15286   if (((s)->_flags & 0x8000) == 0) do { if (--(*(s)->_lock).cnt == 0) { (*(s)->_lock).owner = ((void *)0); __lll_mutex_unlock(&((*(s)->_lock).lock)); } } while (0);
15287   if (_avail) { ({ __typeof (__libc_pthread_functions.ptr__pthread_cleanup_pop_restore) __p; __p = __libc_pthread_functions.ptr__pthread_cleanup_pop_restore; (void) (__p); __p (&_buffer, 0); }); } else if (0) _buffer.__routine (_buffer.__arg); };
15288
15289   return result;
15290 }
15291
15292
15293
15294
15295
15296
15297 extern __typeof (_IO_vfprintf_internal) vfprintf __attribute__ ((alias ("_IO_vfprintf_internal")));;
15298 extern __typeof (vfprintf) __EI_vfprintf __asm__("" "vfprintf"); extern __typeof (vfprintf) __EI_vfprintf __attribute__((alias ("" "__GI_vfprintf")));
15299 extern __typeof (_IO_vfprintf_internal) _IO_vfprintf __attribute__ ((alias ("_IO_vfprintf_internal")));;