]>
Commit | Line | Data |
---|---|---|
bd3239d2 MF |
1 | # 1 "fxprintf.c" |
2 | # 1 "<command-line>" | |
3 | # 1 "./../include/libc-symbols.h" 1 | |
4 | # 55 "./../include/libc-symbols.h" | |
5 | # 1 "/var/tmp/portage/sys-libs/glibc-2.15-r3/work/build-default-armv5te-iwmmxt-linux-gnueabi-nptl/config.h" 1 | |
6 | # 56 "./../include/libc-symbols.h" 2 | |
7 | # 815 "./../include/libc-symbols.h" | |
8 | # 1 "../sysdeps/wordsize-32/symbol-hacks.h" 1 | |
9 | # 816 "./../include/libc-symbols.h" 2 | |
10 | # 1 "<command-line>" 2 | |
11 | # 1 "fxprintf.c" | |
12 | # 20 "fxprintf.c" | |
13 | # 1 "../include/assert.h" 1 | |
14 | # 1 "../assert/assert.h" 1 | |
15 | # 37 "../assert/assert.h" | |
16 | # 1 "../include/features.h" 1 | |
17 | # 358 "../include/features.h" | |
18 | # 1 "../include/sys/cdefs.h" 1 | |
19 | ||
20 | ||
21 | # 1 "../misc/sys/cdefs.h" 1 | |
22 | # 378 "../misc/sys/cdefs.h" | |
23 | # 1 "../sysdeps/wordsize-32/bits/wordsize.h" 1 | |
24 | # 379 "../misc/sys/cdefs.h" 2 | |
25 | # 4 "../include/sys/cdefs.h" 2 | |
26 | ||
27 | ||
28 | ||
29 | ||
30 | ||
31 | ||
32 | ||
33 | extern void __chk_fail (void) __attribute__ ((__noreturn__)); | |
34 | ||
35 | ||
36 | # 359 "../include/features.h" 2 | |
37 | # 382 "../include/features.h" | |
38 | # 1 "../include/gnu/stubs.h" 1 | |
39 | # 383 "../include/features.h" 2 | |
40 | # 38 "../assert/assert.h" 2 | |
41 | # 66 "../assert/assert.h" | |
42 | ||
43 | ||
44 | ||
45 | extern void __assert_fail (__const char *__assertion, __const char *__file, | |
46 | unsigned int __line, __const char *__function) | |
47 | __attribute__ ((__nothrow__ )) __attribute__ ((__noreturn__)); | |
48 | ||
49 | ||
50 | extern void __assert_perror_fail (int __errnum, __const char *__file, | |
51 | unsigned int __line, | |
52 | __const char *__function) | |
53 | __attribute__ ((__nothrow__ )) __attribute__ ((__noreturn__)); | |
54 | ||
55 | ||
56 | ||
57 | ||
58 | extern void __assert (const char *__assertion, const char *__file, int __line) | |
59 | __attribute__ ((__nothrow__ )) __attribute__ ((__noreturn__)); | |
60 | ||
61 | ||
62 | ||
63 | # 2 "../include/assert.h" 2 | |
64 | ||
65 | ||
66 | ||
67 | ||
68 | extern void __assert_fail (__const char *__assertion, __const char *__file, | |
69 | unsigned int __line, __const char *__function) | |
70 | __attribute__ ((__nothrow__ )) __attribute__ ((__noreturn__)); | |
71 | ||
72 | ||
73 | extern void __assert_perror_fail (int __errnum, __const char *__file, | |
74 | unsigned int __line, | |
75 | __const char *__function) | |
76 | __attribute__ ((__nothrow__ )) __attribute__ ((__noreturn__)); | |
77 | ||
78 | ||
79 | extern void __assert_fail_base (const char *fmt, const char *assertion, | |
80 | const char *file, unsigned int line, | |
81 | const char *function) | |
82 | __attribute__ ((__nothrow__ )) __attribute__ ((__noreturn__)); | |
83 | ||
84 | ||
85 | ||
86 | ||
87 | # 21 "fxprintf.c" 2 | |
88 | # 1 "../include/ctype.h" 1 | |
89 | ||
90 | ||
91 | ||
92 | extern void __ctype_init (void); | |
93 | ||
94 | ||
95 | extern int __isctype (int __c, int __mask); | |
96 | # 18 "../include/ctype.h" | |
97 | # 1 "../include/../locale/localeinfo.h" 1 | |
98 | # 24 "../include/../locale/localeinfo.h" | |
99 | # 1 "/usr/lib/gcc/armv5te-iwmmxt-linux-gnueabi/4.7.3/include/stddef.h" 1 3 4 | |
100 | # 150 "/usr/lib/gcc/armv5te-iwmmxt-linux-gnueabi/4.7.3/include/stddef.h" 3 4 | |
101 | typedef int ptrdiff_t; | |
102 | # 213 "/usr/lib/gcc/armv5te-iwmmxt-linux-gnueabi/4.7.3/include/stddef.h" 3 4 | |
103 | typedef unsigned int size_t; | |
104 | # 325 "/usr/lib/gcc/armv5te-iwmmxt-linux-gnueabi/4.7.3/include/stddef.h" 3 4 | |
105 | typedef unsigned int wchar_t; | |
106 | # 25 "../include/../locale/localeinfo.h" 2 | |
107 | # 1 "../include/langinfo.h" 1 | |
108 | ||
109 | ||
110 | # 1 "../locale/langinfo.h" 1 | |
111 | # 24 "../locale/langinfo.h" | |
112 | # 1 "../include/nl_types.h" 1 | |
113 | # 1 "../catgets/nl_types.h" 1 | |
114 | # 31 "../catgets/nl_types.h" | |
115 | ||
116 | ||
117 | ||
118 | typedef void *nl_catd; | |
119 | ||
120 | ||
121 | typedef int nl_item; | |
122 | ||
123 | ||
124 | ||
125 | ||
126 | ||
127 | extern nl_catd catopen (__const char *__cat_name, int __flag) ; | |
128 | ||
129 | ||
130 | ||
131 | extern char *catgets (nl_catd __catalog, int __set, int __number, | |
132 | __const char *__string) __attribute__ ((__nothrow__ )) ; | |
133 | ||
134 | ||
135 | extern int catclose (nl_catd __catalog) __attribute__ ((__nothrow__ )) ; | |
136 | ||
137 | ||
138 | # 1 "../include/nl_types.h" 2 | |
139 | # 25 "../locale/langinfo.h" 2 | |
140 | ||
141 | # 1 "../include/bits/locale.h" 1 | |
142 | # 1 "../locale/bits/locale.h" 1 | |
143 | # 27 "../locale/bits/locale.h" | |
144 | enum | |
145 | { | |
146 | __LC_CTYPE = 0, | |
147 | __LC_NUMERIC = 1, | |
148 | __LC_TIME = 2, | |
149 | __LC_COLLATE = 3, | |
150 | __LC_MONETARY = 4, | |
151 | __LC_MESSAGES = 5, | |
152 | __LC_ALL = 6, | |
153 | __LC_PAPER = 7, | |
154 | __LC_NAME = 8, | |
155 | __LC_ADDRESS = 9, | |
156 | __LC_TELEPHONE = 10, | |
157 | __LC_MEASUREMENT = 11, | |
158 | __LC_IDENTIFICATION = 12 | |
159 | }; | |
160 | # 1 "../include/bits/locale.h" 2 | |
161 | # 27 "../locale/langinfo.h" 2 | |
162 | ||
163 | ||
164 | ||
165 | # 42 "../locale/langinfo.h" | |
166 | enum | |
167 | { | |
168 | ||
169 | ||
170 | ||
171 | ABDAY_1 = (((__LC_TIME) << 16) | (0)), | |
172 | ||
173 | ABDAY_2, | |
174 | ||
175 | ABDAY_3, | |
176 | ||
177 | ABDAY_4, | |
178 | ||
179 | ABDAY_5, | |
180 | ||
181 | ABDAY_6, | |
182 | ||
183 | ABDAY_7, | |
184 | ||
185 | ||
186 | ||
187 | DAY_1, | |
188 | ||
189 | DAY_2, | |
190 | ||
191 | DAY_3, | |
192 | ||
193 | DAY_4, | |
194 | ||
195 | DAY_5, | |
196 | ||
197 | DAY_6, | |
198 | ||
199 | DAY_7, | |
200 | ||
201 | ||
202 | ||
203 | ABMON_1, | |
204 | ||
205 | ABMON_2, | |
206 | ||
207 | ABMON_3, | |
208 | ||
209 | ABMON_4, | |
210 | ||
211 | ABMON_5, | |
212 | ||
213 | ABMON_6, | |
214 | ||
215 | ABMON_7, | |
216 | ||
217 | ABMON_8, | |
218 | ||
219 | ABMON_9, | |
220 | ||
221 | ABMON_10, | |
222 | ||
223 | ABMON_11, | |
224 | ||
225 | ABMON_12, | |
226 | ||
227 | ||
228 | ||
229 | MON_1, | |
230 | ||
231 | MON_2, | |
232 | ||
233 | MON_3, | |
234 | ||
235 | MON_4, | |
236 | ||
237 | MON_5, | |
238 | ||
239 | MON_6, | |
240 | ||
241 | MON_7, | |
242 | ||
243 | MON_8, | |
244 | ||
245 | MON_9, | |
246 | ||
247 | MON_10, | |
248 | ||
249 | MON_11, | |
250 | ||
251 | MON_12, | |
252 | ||
253 | ||
254 | AM_STR, | |
255 | ||
256 | PM_STR, | |
257 | ||
258 | ||
259 | D_T_FMT, | |
260 | ||
261 | D_FMT, | |
262 | ||
263 | T_FMT, | |
264 | ||
265 | T_FMT_AMPM, | |
266 | ||
267 | ||
268 | ERA, | |
269 | ||
270 | __ERA_YEAR, | |
271 | ||
272 | ||
273 | ||
274 | ERA_D_FMT, | |
275 | ||
276 | ALT_DIGITS, | |
277 | ||
278 | ERA_D_T_FMT, | |
279 | ||
280 | ERA_T_FMT, | |
281 | ||
282 | ||
283 | _NL_TIME_ERA_NUM_ENTRIES, | |
284 | _NL_TIME_ERA_ENTRIES, | |
285 | ||
286 | _NL_WABDAY_1, | |
287 | _NL_WABDAY_2, | |
288 | _NL_WABDAY_3, | |
289 | _NL_WABDAY_4, | |
290 | _NL_WABDAY_5, | |
291 | _NL_WABDAY_6, | |
292 | _NL_WABDAY_7, | |
293 | ||
294 | ||
295 | _NL_WDAY_1, | |
296 | _NL_WDAY_2, | |
297 | _NL_WDAY_3, | |
298 | _NL_WDAY_4, | |
299 | _NL_WDAY_5, | |
300 | _NL_WDAY_6, | |
301 | _NL_WDAY_7, | |
302 | ||
303 | ||
304 | _NL_WABMON_1, | |
305 | _NL_WABMON_2, | |
306 | _NL_WABMON_3, | |
307 | _NL_WABMON_4, | |
308 | _NL_WABMON_5, | |
309 | _NL_WABMON_6, | |
310 | _NL_WABMON_7, | |
311 | _NL_WABMON_8, | |
312 | _NL_WABMON_9, | |
313 | _NL_WABMON_10, | |
314 | _NL_WABMON_11, | |
315 | _NL_WABMON_12, | |
316 | ||
317 | ||
318 | _NL_WMON_1, | |
319 | _NL_WMON_2, | |
320 | _NL_WMON_3, | |
321 | _NL_WMON_4, | |
322 | _NL_WMON_5, | |
323 | _NL_WMON_6, | |
324 | _NL_WMON_7, | |
325 | _NL_WMON_8, | |
326 | _NL_WMON_9, | |
327 | _NL_WMON_10, | |
328 | _NL_WMON_11, | |
329 | _NL_WMON_12, | |
330 | ||
331 | _NL_WAM_STR, | |
332 | _NL_WPM_STR, | |
333 | ||
334 | _NL_WD_T_FMT, | |
335 | _NL_WD_FMT, | |
336 | _NL_WT_FMT, | |
337 | _NL_WT_FMT_AMPM, | |
338 | ||
339 | _NL_WERA_YEAR, | |
340 | _NL_WERA_D_FMT, | |
341 | _NL_WALT_DIGITS, | |
342 | _NL_WERA_D_T_FMT, | |
343 | _NL_WERA_T_FMT, | |
344 | ||
345 | _NL_TIME_WEEK_NDAYS, | |
346 | _NL_TIME_WEEK_1STDAY, | |
347 | _NL_TIME_WEEK_1STWEEK, | |
348 | _NL_TIME_FIRST_WEEKDAY, | |
349 | _NL_TIME_FIRST_WORKDAY, | |
350 | _NL_TIME_CAL_DIRECTION, | |
351 | _NL_TIME_TIMEZONE, | |
352 | ||
353 | _DATE_FMT, | |
354 | ||
355 | _NL_W_DATE_FMT, | |
356 | ||
357 | _NL_TIME_CODESET, | |
358 | ||
359 | _NL_NUM_LC_TIME, | |
360 | ||
361 | ||
362 | ||
363 | ||
364 | _NL_COLLATE_NRULES = (((__LC_COLLATE) << 16) | (0)), | |
365 | _NL_COLLATE_RULESETS, | |
366 | _NL_COLLATE_TABLEMB, | |
367 | _NL_COLLATE_WEIGHTMB, | |
368 | _NL_COLLATE_EXTRAMB, | |
369 | _NL_COLLATE_INDIRECTMB, | |
370 | _NL_COLLATE_GAP1, | |
371 | _NL_COLLATE_GAP2, | |
372 | _NL_COLLATE_GAP3, | |
373 | _NL_COLLATE_TABLEWC, | |
374 | _NL_COLLATE_WEIGHTWC, | |
375 | _NL_COLLATE_EXTRAWC, | |
376 | _NL_COLLATE_INDIRECTWC, | |
377 | _NL_COLLATE_SYMB_HASH_SIZEMB, | |
378 | _NL_COLLATE_SYMB_TABLEMB, | |
379 | _NL_COLLATE_SYMB_EXTRAMB, | |
380 | _NL_COLLATE_COLLSEQMB, | |
381 | _NL_COLLATE_COLLSEQWC, | |
382 | _NL_COLLATE_CODESET, | |
383 | _NL_NUM_LC_COLLATE, | |
384 | ||
385 | ||
386 | ||
387 | ||
388 | _NL_CTYPE_CLASS = (((__LC_CTYPE) << 16) | (0)), | |
389 | _NL_CTYPE_TOUPPER, | |
390 | _NL_CTYPE_GAP1, | |
391 | _NL_CTYPE_TOLOWER, | |
392 | _NL_CTYPE_GAP2, | |
393 | _NL_CTYPE_CLASS32, | |
394 | _NL_CTYPE_GAP3, | |
395 | _NL_CTYPE_GAP4, | |
396 | _NL_CTYPE_GAP5, | |
397 | _NL_CTYPE_GAP6, | |
398 | _NL_CTYPE_CLASS_NAMES, | |
399 | _NL_CTYPE_MAP_NAMES, | |
400 | _NL_CTYPE_WIDTH, | |
401 | _NL_CTYPE_MB_CUR_MAX, | |
402 | _NL_CTYPE_CODESET_NAME, | |
403 | CODESET = _NL_CTYPE_CODESET_NAME, | |
404 | ||
405 | _NL_CTYPE_TOUPPER32, | |
406 | _NL_CTYPE_TOLOWER32, | |
407 | _NL_CTYPE_CLASS_OFFSET, | |
408 | _NL_CTYPE_MAP_OFFSET, | |
409 | _NL_CTYPE_INDIGITS_MB_LEN, | |
410 | _NL_CTYPE_INDIGITS0_MB, | |
411 | _NL_CTYPE_INDIGITS1_MB, | |
412 | _NL_CTYPE_INDIGITS2_MB, | |
413 | _NL_CTYPE_INDIGITS3_MB, | |
414 | _NL_CTYPE_INDIGITS4_MB, | |
415 | _NL_CTYPE_INDIGITS5_MB, | |
416 | _NL_CTYPE_INDIGITS6_MB, | |
417 | _NL_CTYPE_INDIGITS7_MB, | |
418 | _NL_CTYPE_INDIGITS8_MB, | |
419 | _NL_CTYPE_INDIGITS9_MB, | |
420 | _NL_CTYPE_INDIGITS_WC_LEN, | |
421 | _NL_CTYPE_INDIGITS0_WC, | |
422 | _NL_CTYPE_INDIGITS1_WC, | |
423 | _NL_CTYPE_INDIGITS2_WC, | |
424 | _NL_CTYPE_INDIGITS3_WC, | |
425 | _NL_CTYPE_INDIGITS4_WC, | |
426 | _NL_CTYPE_INDIGITS5_WC, | |
427 | _NL_CTYPE_INDIGITS6_WC, | |
428 | _NL_CTYPE_INDIGITS7_WC, | |
429 | _NL_CTYPE_INDIGITS8_WC, | |
430 | _NL_CTYPE_INDIGITS9_WC, | |
431 | _NL_CTYPE_OUTDIGIT0_MB, | |
432 | _NL_CTYPE_OUTDIGIT1_MB, | |
433 | _NL_CTYPE_OUTDIGIT2_MB, | |
434 | _NL_CTYPE_OUTDIGIT3_MB, | |
435 | _NL_CTYPE_OUTDIGIT4_MB, | |
436 | _NL_CTYPE_OUTDIGIT5_MB, | |
437 | _NL_CTYPE_OUTDIGIT6_MB, | |
438 | _NL_CTYPE_OUTDIGIT7_MB, | |
439 | _NL_CTYPE_OUTDIGIT8_MB, | |
440 | _NL_CTYPE_OUTDIGIT9_MB, | |
441 | _NL_CTYPE_OUTDIGIT0_WC, | |
442 | _NL_CTYPE_OUTDIGIT1_WC, | |
443 | _NL_CTYPE_OUTDIGIT2_WC, | |
444 | _NL_CTYPE_OUTDIGIT3_WC, | |
445 | _NL_CTYPE_OUTDIGIT4_WC, | |
446 | _NL_CTYPE_OUTDIGIT5_WC, | |
447 | _NL_CTYPE_OUTDIGIT6_WC, | |
448 | _NL_CTYPE_OUTDIGIT7_WC, | |
449 | _NL_CTYPE_OUTDIGIT8_WC, | |
450 | _NL_CTYPE_OUTDIGIT9_WC, | |
451 | _NL_CTYPE_TRANSLIT_TAB_SIZE, | |
452 | _NL_CTYPE_TRANSLIT_FROM_IDX, | |
453 | _NL_CTYPE_TRANSLIT_FROM_TBL, | |
454 | _NL_CTYPE_TRANSLIT_TO_IDX, | |
455 | _NL_CTYPE_TRANSLIT_TO_TBL, | |
456 | _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN, | |
457 | _NL_CTYPE_TRANSLIT_DEFAULT_MISSING, | |
458 | _NL_CTYPE_TRANSLIT_IGNORE_LEN, | |
459 | _NL_CTYPE_TRANSLIT_IGNORE, | |
460 | _NL_CTYPE_MAP_TO_NONASCII, | |
461 | _NL_CTYPE_NONASCII_CASE, | |
462 | _NL_CTYPE_EXTRA_MAP_1, | |
463 | _NL_CTYPE_EXTRA_MAP_2, | |
464 | _NL_CTYPE_EXTRA_MAP_3, | |
465 | _NL_CTYPE_EXTRA_MAP_4, | |
466 | _NL_CTYPE_EXTRA_MAP_5, | |
467 | _NL_CTYPE_EXTRA_MAP_6, | |
468 | _NL_CTYPE_EXTRA_MAP_7, | |
469 | _NL_CTYPE_EXTRA_MAP_8, | |
470 | _NL_CTYPE_EXTRA_MAP_9, | |
471 | _NL_CTYPE_EXTRA_MAP_10, | |
472 | _NL_CTYPE_EXTRA_MAP_11, | |
473 | _NL_CTYPE_EXTRA_MAP_12, | |
474 | _NL_CTYPE_EXTRA_MAP_13, | |
475 | _NL_CTYPE_EXTRA_MAP_14, | |
476 | _NL_NUM_LC_CTYPE, | |
477 | ||
478 | ||
479 | ||
480 | ||
481 | __INT_CURR_SYMBOL = (((__LC_MONETARY) << 16) | (0)), | |
482 | ||
483 | ||
484 | ||
485 | __CURRENCY_SYMBOL, | |
486 | ||
487 | ||
488 | ||
489 | __MON_DECIMAL_POINT, | |
490 | ||
491 | ||
492 | ||
493 | __MON_THOUSANDS_SEP, | |
494 | ||
495 | ||
496 | ||
497 | __MON_GROUPING, | |
498 | ||
499 | ||
500 | ||
501 | __POSITIVE_SIGN, | |
502 | ||
503 | ||
504 | ||
505 | __NEGATIVE_SIGN, | |
506 | ||
507 | ||
508 | ||
509 | __INT_FRAC_DIGITS, | |
510 | ||
511 | ||
512 | ||
513 | __FRAC_DIGITS, | |
514 | ||
515 | ||
516 | ||
517 | __P_CS_PRECEDES, | |
518 | ||
519 | ||
520 | ||
521 | __P_SEP_BY_SPACE, | |
522 | ||
523 | ||
524 | ||
525 | __N_CS_PRECEDES, | |
526 | ||
527 | ||
528 | ||
529 | __N_SEP_BY_SPACE, | |
530 | ||
531 | ||
532 | ||
533 | __P_SIGN_POSN, | |
534 | ||
535 | ||
536 | ||
537 | __N_SIGN_POSN, | |
538 | ||
539 | ||
540 | ||
541 | _NL_MONETARY_CRNCYSTR, | |
542 | ||
543 | __INT_P_CS_PRECEDES, | |
544 | ||
545 | ||
546 | ||
547 | __INT_P_SEP_BY_SPACE, | |
548 | ||
549 | ||
550 | ||
551 | __INT_N_CS_PRECEDES, | |
552 | ||
553 | ||
554 | ||
555 | __INT_N_SEP_BY_SPACE, | |
556 | ||
557 | ||
558 | ||
559 | __INT_P_SIGN_POSN, | |
560 | ||
561 | ||
562 | ||
563 | __INT_N_SIGN_POSN, | |
564 | ||
565 | ||
566 | ||
567 | _NL_MONETARY_DUO_INT_CURR_SYMBOL, | |
568 | _NL_MONETARY_DUO_CURRENCY_SYMBOL, | |
569 | _NL_MONETARY_DUO_INT_FRAC_DIGITS, | |
570 | _NL_MONETARY_DUO_FRAC_DIGITS, | |
571 | _NL_MONETARY_DUO_P_CS_PRECEDES, | |
572 | _NL_MONETARY_DUO_P_SEP_BY_SPACE, | |
573 | _NL_MONETARY_DUO_N_CS_PRECEDES, | |
574 | _NL_MONETARY_DUO_N_SEP_BY_SPACE, | |
575 | _NL_MONETARY_DUO_INT_P_CS_PRECEDES, | |
576 | _NL_MONETARY_DUO_INT_P_SEP_BY_SPACE, | |
577 | _NL_MONETARY_DUO_INT_N_CS_PRECEDES, | |
578 | _NL_MONETARY_DUO_INT_N_SEP_BY_SPACE, | |
579 | _NL_MONETARY_DUO_P_SIGN_POSN, | |
580 | _NL_MONETARY_DUO_N_SIGN_POSN, | |
581 | _NL_MONETARY_DUO_INT_P_SIGN_POSN, | |
582 | _NL_MONETARY_DUO_INT_N_SIGN_POSN, | |
583 | _NL_MONETARY_UNO_VALID_FROM, | |
584 | _NL_MONETARY_UNO_VALID_TO, | |
585 | _NL_MONETARY_DUO_VALID_FROM, | |
586 | _NL_MONETARY_DUO_VALID_TO, | |
587 | _NL_MONETARY_CONVERSION_RATE, | |
588 | _NL_MONETARY_DECIMAL_POINT_WC, | |
589 | _NL_MONETARY_THOUSANDS_SEP_WC, | |
590 | _NL_MONETARY_CODESET, | |
591 | _NL_NUM_LC_MONETARY, | |
592 | ||
593 | ||
594 | ||
595 | __DECIMAL_POINT = (((__LC_NUMERIC) << 16) | (0)), | |
596 | ||
597 | ||
598 | ||
599 | RADIXCHAR = __DECIMAL_POINT, | |
600 | ||
601 | __THOUSANDS_SEP, | |
602 | ||
603 | ||
604 | ||
605 | THOUSEP = __THOUSANDS_SEP, | |
606 | ||
607 | __GROUPING, | |
608 | ||
609 | ||
610 | ||
611 | _NL_NUMERIC_DECIMAL_POINT_WC, | |
612 | _NL_NUMERIC_THOUSANDS_SEP_WC, | |
613 | _NL_NUMERIC_CODESET, | |
614 | _NL_NUM_LC_NUMERIC, | |
615 | ||
616 | __YESEXPR = (((__LC_MESSAGES) << 16) | (0)), | |
617 | ||
618 | __NOEXPR, | |
619 | ||
620 | __YESSTR, | |
621 | ||
622 | ||
623 | ||
624 | __NOSTR, | |
625 | ||
626 | ||
627 | ||
628 | _NL_MESSAGES_CODESET, | |
629 | _NL_NUM_LC_MESSAGES, | |
630 | ||
631 | _NL_PAPER_HEIGHT = (((__LC_PAPER) << 16) | (0)), | |
632 | _NL_PAPER_WIDTH, | |
633 | _NL_PAPER_CODESET, | |
634 | _NL_NUM_LC_PAPER, | |
635 | ||
636 | _NL_NAME_NAME_FMT = (((__LC_NAME) << 16) | (0)), | |
637 | _NL_NAME_NAME_GEN, | |
638 | _NL_NAME_NAME_MR, | |
639 | _NL_NAME_NAME_MRS, | |
640 | _NL_NAME_NAME_MISS, | |
641 | _NL_NAME_NAME_MS, | |
642 | _NL_NAME_CODESET, | |
643 | _NL_NUM_LC_NAME, | |
644 | ||
645 | _NL_ADDRESS_POSTAL_FMT = (((__LC_ADDRESS) << 16) | (0)), | |
646 | _NL_ADDRESS_COUNTRY_NAME, | |
647 | _NL_ADDRESS_COUNTRY_POST, | |
648 | _NL_ADDRESS_COUNTRY_AB2, | |
649 | _NL_ADDRESS_COUNTRY_AB3, | |
650 | _NL_ADDRESS_COUNTRY_CAR, | |
651 | _NL_ADDRESS_COUNTRY_NUM, | |
652 | _NL_ADDRESS_COUNTRY_ISBN, | |
653 | _NL_ADDRESS_LANG_NAME, | |
654 | _NL_ADDRESS_LANG_AB, | |
655 | _NL_ADDRESS_LANG_TERM, | |
656 | _NL_ADDRESS_LANG_LIB, | |
657 | _NL_ADDRESS_CODESET, | |
658 | _NL_NUM_LC_ADDRESS, | |
659 | ||
660 | _NL_TELEPHONE_TEL_INT_FMT = (((__LC_TELEPHONE) << 16) | (0)), | |
661 | _NL_TELEPHONE_TEL_DOM_FMT, | |
662 | _NL_TELEPHONE_INT_SELECT, | |
663 | _NL_TELEPHONE_INT_PREFIX, | |
664 | _NL_TELEPHONE_CODESET, | |
665 | _NL_NUM_LC_TELEPHONE, | |
666 | ||
667 | _NL_MEASUREMENT_MEASUREMENT = (((__LC_MEASUREMENT) << 16) | (0)), | |
668 | _NL_MEASUREMENT_CODESET, | |
669 | _NL_NUM_LC_MEASUREMENT, | |
670 | ||
671 | _NL_IDENTIFICATION_TITLE = (((__LC_IDENTIFICATION) << 16) | (0)), | |
672 | _NL_IDENTIFICATION_SOURCE, | |
673 | _NL_IDENTIFICATION_ADDRESS, | |
674 | _NL_IDENTIFICATION_CONTACT, | |
675 | _NL_IDENTIFICATION_EMAIL, | |
676 | _NL_IDENTIFICATION_TEL, | |
677 | _NL_IDENTIFICATION_FAX, | |
678 | _NL_IDENTIFICATION_LANGUAGE, | |
679 | _NL_IDENTIFICATION_TERRITORY, | |
680 | _NL_IDENTIFICATION_AUDIENCE, | |
681 | _NL_IDENTIFICATION_APPLICATION, | |
682 | _NL_IDENTIFICATION_ABBREVIATION, | |
683 | _NL_IDENTIFICATION_REVISION, | |
684 | _NL_IDENTIFICATION_DATE, | |
685 | _NL_IDENTIFICATION_CATEGORY, | |
686 | _NL_IDENTIFICATION_CODESET, | |
687 | _NL_NUM_LC_IDENTIFICATION, | |
688 | ||
689 | ||
690 | _NL_NUM | |
691 | }; | |
692 | # 584 "../locale/langinfo.h" | |
693 | extern char *nl_langinfo (nl_item __item) __attribute__ ((__nothrow__ )); | |
694 | ||
695 | ||
696 | ||
697 | ||
698 | ||
699 | ||
700 | ||
701 | # 1 "../include/xlocale.h" 1 | |
702 | # 1 "../locale/xlocale.h" 1 | |
703 | # 28 "../locale/xlocale.h" | |
704 | typedef struct __locale_struct | |
705 | { | |
706 | ||
707 | struct __locale_data *__locales[13]; | |
708 | ||
709 | ||
710 | const unsigned short int *__ctype_b; | |
711 | const int *__ctype_tolower; | |
712 | const int *__ctype_toupper; | |
713 | ||
714 | ||
715 | const char *__names[13]; | |
716 | } *__locale_t; | |
717 | ||
718 | ||
719 | typedef __locale_t locale_t; | |
720 | # 1 "../include/xlocale.h" 2 | |
721 | # 593 "../locale/langinfo.h" 2 | |
722 | ||
723 | ||
724 | extern char *nl_langinfo_l (nl_item __item, __locale_t __l); | |
725 | ||
726 | ||
727 | ||
728 | # 4 "../include/langinfo.h" 2 | |
729 | ||
730 | ||
731 | ||
732 | extern __typeof (nl_langinfo_l) __nl_langinfo_l; | |
733 | ||
734 | # 26 "../include/../locale/localeinfo.h" 2 | |
735 | # 1 "../include/limits.h" 1 | |
736 | # 125 "../include/limits.h" | |
737 | # 1 "/usr/lib/gcc/armv5te-iwmmxt-linux-gnueabi/4.7.3/include-fixed/limits.h" 1 3 4 | |
738 | # 126 "../include/limits.h" 2 | |
739 | # 145 "../include/limits.h" | |
740 | # 1 "../include/bits/posix1_lim.h" 1 | |
741 | # 1 "../posix/bits/posix1_lim.h" 1 | |
742 | # 157 "../posix/bits/posix1_lim.h" | |
743 | # 1 "../nptl/sysdeps/unix/sysv/linux/bits/local_lim.h" 1 | |
744 | # 39 "../nptl/sysdeps/unix/sysv/linux/bits/local_lim.h" | |
745 | # 1 "/usr/include/linux/limits.h" 1 3 4 | |
746 | # 40 "../nptl/sysdeps/unix/sysv/linux/bits/local_lim.h" 2 | |
747 | # 158 "../posix/bits/posix1_lim.h" 2 | |
748 | # 1 "../include/bits/posix1_lim.h" 2 | |
749 | # 146 "../include/limits.h" 2 | |
750 | ||
751 | ||
752 | ||
753 | # 1 "../include/bits/posix2_lim.h" 1 | |
754 | # 1 "../posix/bits/posix2_lim.h" 1 | |
755 | # 1 "../include/bits/posix2_lim.h" 2 | |
756 | # 150 "../include/limits.h" 2 | |
757 | ||
758 | ||
759 | ||
760 | # 1 "../include/bits/xopen_lim.h" 1 | |
761 | # 34 "../include/bits/xopen_lim.h" | |
762 | # 1 "/var/tmp/portage/sys-libs/glibc-2.15-r3/work/build-default-armv5te-iwmmxt-linux-gnueabi-nptl/bits/stdio_lim.h" 1 | |
763 | # 35 "../include/bits/xopen_lim.h" 2 | |
764 | # 154 "../include/limits.h" 2 | |
765 | # 27 "../include/../locale/localeinfo.h" 2 | |
766 | # 1 "../include/locale.h" 1 | |
767 | ||
768 | # 1 "../locale/locale.h" 1 | |
769 | # 29 "../locale/locale.h" | |
770 | # 1 "/usr/lib/gcc/armv5te-iwmmxt-linux-gnueabi/4.7.3/include/stddef.h" 1 3 4 | |
771 | # 30 "../locale/locale.h" 2 | |
772 | # 1 "../include/bits/locale.h" 1 | |
773 | # 1 "../locale/bits/locale.h" 1 | |
774 | # 1 "../include/bits/locale.h" 2 | |
775 | # 31 "../locale/locale.h" 2 | |
776 | ||
777 | ||
778 | # 51 "../locale/locale.h" | |
779 | ||
780 | ||
781 | ||
782 | struct lconv | |
783 | { | |
784 | ||
785 | ||
786 | char *decimal_point; | |
787 | char *thousands_sep; | |
788 | ||
789 | ||
790 | ||
791 | ||
792 | ||
793 | char *grouping; | |
794 | ||
795 | ||
796 | ||
797 | ||
798 | ||
799 | char *int_curr_symbol; | |
800 | char *currency_symbol; | |
801 | char *mon_decimal_point; | |
802 | char *mon_thousands_sep; | |
803 | char *mon_grouping; | |
804 | char *positive_sign; | |
805 | char *negative_sign; | |
806 | char int_frac_digits; | |
807 | char frac_digits; | |
808 | ||
809 | char p_cs_precedes; | |
810 | ||
811 | char p_sep_by_space; | |
812 | ||
813 | char n_cs_precedes; | |
814 | ||
815 | char n_sep_by_space; | |
816 | ||
817 | ||
818 | ||
819 | ||
820 | ||
821 | ||
822 | char p_sign_posn; | |
823 | char n_sign_posn; | |
824 | ||
825 | ||
826 | char int_p_cs_precedes; | |
827 | ||
828 | char int_p_sep_by_space; | |
829 | ||
830 | char int_n_cs_precedes; | |
831 | ||
832 | char int_n_sep_by_space; | |
833 | ||
834 | ||
835 | ||
836 | ||
837 | ||
838 | ||
839 | char int_p_sign_posn; | |
840 | char int_n_sign_posn; | |
841 | # 121 "../locale/locale.h" | |
842 | }; | |
843 | ||
844 | ||
845 | ||
846 | extern char *setlocale (int __category, __const char *__locale) __attribute__ ((__nothrow__ )); | |
847 | ||
848 | ||
849 | extern struct lconv *localeconv (void) __attribute__ ((__nothrow__ )); | |
850 | ||
851 | ||
852 | # 146 "../locale/locale.h" | |
853 | # 1 "../include/xlocale.h" 1 | |
854 | # 147 "../locale/locale.h" 2 | |
855 | ||
856 | ||
857 | ||
858 | ||
859 | ||
860 | extern __locale_t newlocale (int __category_mask, __const char *__locale, | |
861 | __locale_t __base) __attribute__ ((__nothrow__ )); | |
862 | # 187 "../locale/locale.h" | |
863 | extern __locale_t duplocale (__locale_t __dataset) __attribute__ ((__nothrow__ )); | |
864 | ||
865 | ||
866 | ||
867 | extern void freelocale (__locale_t __dataset) __attribute__ ((__nothrow__ )); | |
868 | ||
869 | ||
870 | ||
871 | ||
872 | ||
873 | ||
874 | extern __locale_t uselocale (__locale_t __dataset) __attribute__ ((__nothrow__ )); | |
875 | ||
876 | ||
877 | ||
878 | ||
879 | ||
880 | ||
881 | ||
882 | ||
883 | # 3 "../include/locale.h" 2 | |
884 | ||
885 | extern __typeof (uselocale) __uselocale; | |
886 | ||
887 | ||
888 | ||
889 | ||
890 | ||
891 | ||
892 | ||
893 | extern struct loaded_l10nfile *_nl_locale_file_list[] ; | |
894 | ||
895 | ||
896 | extern const struct __locale_struct _nl_C_locobj ; | |
897 | ||
898 | ||
899 | ||
900 | extern struct lconv *__localeconv (void); | |
901 | ||
902 | ||
903 | extern const char *__current_locale_name (int category) ; | |
904 | # 28 "../include/../locale/localeinfo.h" 2 | |
905 | # 1 "../include/time.h" 1 | |
906 | ||
907 | ||
908 | ||
909 | ||
910 | # 1 "../time/time.h" 1 | |
911 | # 30 "../time/time.h" | |
912 | ||
913 | ||
914 | ||
915 | ||
916 | ||
917 | ||
918 | ||
919 | ||
920 | # 1 "/usr/lib/gcc/armv5te-iwmmxt-linux-gnueabi/4.7.3/include/stddef.h" 1 3 4 | |
921 | # 39 "../time/time.h" 2 | |
922 | ||
923 | ||
924 | ||
925 | # 1 "../sysdeps/unix/sysv/linux/bits/time.h" 1 | |
926 | # 27 "../sysdeps/unix/sysv/linux/bits/time.h" | |
927 | # 1 "../bits/types.h" 1 | |
928 | # 28 "../bits/types.h" | |
929 | # 1 "../sysdeps/wordsize-32/bits/wordsize.h" 1 | |
930 | # 29 "../bits/types.h" 2 | |
931 | ||
932 | ||
933 | typedef unsigned char __u_char; | |
934 | typedef unsigned short int __u_short; | |
935 | typedef unsigned int __u_int; | |
936 | typedef unsigned long int __u_long; | |
937 | ||
938 | ||
939 | typedef signed char __int8_t; | |
940 | typedef unsigned char __uint8_t; | |
941 | typedef signed short int __int16_t; | |
942 | typedef unsigned short int __uint16_t; | |
943 | typedef signed int __int32_t; | |
944 | typedef unsigned int __uint32_t; | |
945 | ||
946 | ||
947 | ||
948 | ||
949 | __extension__ typedef signed long long int __int64_t; | |
950 | __extension__ typedef unsigned long long int __uint64_t; | |
951 | ||
952 | ||
953 | ||
954 | ||
955 | ||
956 | ||
957 | ||
958 | __extension__ typedef long long int __quad_t; | |
959 | __extension__ typedef unsigned long long int __u_quad_t; | |
960 | # 131 "../bits/types.h" | |
961 | # 1 "../bits/typesizes.h" 1 | |
962 | # 132 "../bits/types.h" 2 | |
963 | ||
964 | ||
965 | __extension__ typedef __u_quad_t __dev_t; | |
966 | __extension__ typedef unsigned int __uid_t; | |
967 | __extension__ typedef unsigned int __gid_t; | |
968 | __extension__ typedef unsigned long int __ino_t; | |
969 | __extension__ typedef __u_quad_t __ino64_t; | |
970 | __extension__ typedef unsigned int __mode_t; | |
971 | __extension__ typedef unsigned int __nlink_t; | |
972 | __extension__ typedef long int __off_t; | |
973 | __extension__ typedef __quad_t __off64_t; | |
974 | __extension__ typedef int __pid_t; | |
975 | __extension__ typedef struct { int __val[2]; } __fsid_t; | |
976 | __extension__ typedef long int __clock_t; | |
977 | __extension__ typedef unsigned long int __rlim_t; | |
978 | __extension__ typedef __u_quad_t __rlim64_t; | |
979 | __extension__ typedef unsigned int __id_t; | |
980 | __extension__ typedef long int __time_t; | |
981 | __extension__ typedef unsigned int __useconds_t; | |
982 | __extension__ typedef long int __suseconds_t; | |
983 | ||
984 | __extension__ typedef int __daddr_t; | |
985 | __extension__ typedef long int __swblk_t; | |
986 | __extension__ typedef int __key_t; | |
987 | ||
988 | ||
989 | __extension__ typedef int __clockid_t; | |
990 | ||
991 | ||
992 | __extension__ typedef void * __timer_t; | |
993 | ||
994 | ||
995 | __extension__ typedef long int __blksize_t; | |
996 | ||
997 | ||
998 | ||
999 | ||
1000 | __extension__ typedef long int __blkcnt_t; | |
1001 | __extension__ typedef __quad_t __blkcnt64_t; | |
1002 | ||
1003 | ||
1004 | __extension__ typedef unsigned long int __fsblkcnt_t; | |
1005 | __extension__ typedef __u_quad_t __fsblkcnt64_t; | |
1006 | ||
1007 | ||
1008 | __extension__ typedef unsigned long int __fsfilcnt_t; | |
1009 | __extension__ typedef __u_quad_t __fsfilcnt64_t; | |
1010 | ||
1011 | __extension__ typedef int __ssize_t; | |
1012 | ||
1013 | ||
1014 | ||
1015 | typedef __off64_t __loff_t; | |
1016 | typedef __quad_t *__qaddr_t; | |
1017 | typedef char *__caddr_t; | |
1018 | ||
1019 | ||
1020 | __extension__ typedef int __intptr_t; | |
1021 | ||
1022 | ||
1023 | __extension__ typedef unsigned int __socklen_t; | |
1024 | # 28 "../sysdeps/unix/sysv/linux/bits/time.h" 2 | |
1025 | ||
1026 | ||
1027 | ||
1028 | struct timeval | |
1029 | { | |
1030 | __time_t tv_sec; | |
1031 | __suseconds_t tv_usec; | |
1032 | }; | |
1033 | # 86 "../sysdeps/unix/sysv/linux/bits/time.h" | |
1034 | # 1 "../sysdeps/unix/sysv/linux/bits/timex.h" 1 | |
1035 | # 24 "../sysdeps/unix/sysv/linux/bits/timex.h" | |
1036 | struct timex | |
1037 | { | |
1038 | unsigned int modes; | |
1039 | long int offset; | |
1040 | long int freq; | |
1041 | long int maxerror; | |
1042 | long int esterror; | |
1043 | int status; | |
1044 | long int constant; | |
1045 | long int precision; | |
1046 | long int tolerance; | |
1047 | struct timeval time; | |
1048 | long int tick; | |
1049 | ||
1050 | long int ppsfreq; | |
1051 | long int jitter; | |
1052 | int shift; | |
1053 | long int stabil; | |
1054 | long int jitcnt; | |
1055 | long int calcnt; | |
1056 | long int errcnt; | |
1057 | long int stbcnt; | |
1058 | ||
1059 | int tai; | |
1060 | ||
1061 | ||
1062 | int :32; int :32; int :32; int :32; | |
1063 | int :32; int :32; int :32; int :32; | |
1064 | int :32; int :32; int :32; | |
1065 | }; | |
1066 | # 87 "../sysdeps/unix/sysv/linux/bits/time.h" 2 | |
1067 | ||
1068 | ||
1069 | ||
1070 | ||
1071 | extern int clock_adjtime (__clockid_t __clock_id, struct timex *__utx) __attribute__ ((__nothrow__ )); | |
1072 | ||
1073 | ||
1074 | # 43 "../time/time.h" 2 | |
1075 | # 58 "../time/time.h" | |
1076 | ||
1077 | ||
1078 | typedef __clock_t clock_t; | |
1079 | ||
1080 | ||
1081 | ||
1082 | # 74 "../time/time.h" | |
1083 | ||
1084 | ||
1085 | typedef __time_t time_t; | |
1086 | ||
1087 | ||
1088 | ||
1089 | # 92 "../time/time.h" | |
1090 | typedef __clockid_t clockid_t; | |
1091 | # 104 "../time/time.h" | |
1092 | typedef __timer_t timer_t; | |
1093 | # 120 "../time/time.h" | |
1094 | struct timespec | |
1095 | { | |
1096 | __time_t tv_sec; | |
1097 | long int tv_nsec; | |
1098 | }; | |
1099 | ||
1100 | ||
1101 | ||
1102 | ||
1103 | ||
1104 | ||
1105 | ||
1106 | ||
1107 | struct tm | |
1108 | { | |
1109 | int tm_sec; | |
1110 | int tm_min; | |
1111 | int tm_hour; | |
1112 | int tm_mday; | |
1113 | int tm_mon; | |
1114 | int tm_year; | |
1115 | int tm_wday; | |
1116 | int tm_yday; | |
1117 | int tm_isdst; | |
1118 | ||
1119 | ||
1120 | long int tm_gmtoff; | |
1121 | __const char *tm_zone; | |
1122 | ||
1123 | ||
1124 | ||
1125 | ||
1126 | }; | |
1127 | ||
1128 | ||
1129 | ||
1130 | ||
1131 | ||
1132 | ||
1133 | ||
1134 | ||
1135 | struct itimerspec | |
1136 | { | |
1137 | struct timespec it_interval; | |
1138 | struct timespec it_value; | |
1139 | }; | |
1140 | ||
1141 | ||
1142 | struct sigevent; | |
1143 | ||
1144 | ||
1145 | ||
1146 | ||
1147 | ||
1148 | typedef __pid_t pid_t; | |
1149 | ||
1150 | ||
1151 | ||
1152 | ||
1153 | ||
1154 | ||
1155 | ||
1156 | ||
1157 | extern clock_t clock (void) __attribute__ ((__nothrow__ )); | |
1158 | ||
1159 | ||
1160 | extern time_t time (time_t *__timer) __attribute__ ((__nothrow__ )); | |
1161 | ||
1162 | ||
1163 | extern double difftime (time_t __time1, time_t __time0) | |
1164 | __attribute__ ((__nothrow__ )) __attribute__ ((__const__)); | |
1165 | ||
1166 | ||
1167 | extern time_t mktime (struct tm *__tp) __attribute__ ((__nothrow__ )); | |
1168 | ||
1169 | ||
1170 | ||
1171 | ||
1172 | ||
1173 | extern size_t strftime (char *__restrict __s, size_t __maxsize, | |
1174 | __const char *__restrict __format, | |
1175 | __const struct tm *__restrict __tp) __attribute__ ((__nothrow__ )); | |
1176 | ||
1177 | ||
1178 | ||
1179 | ||
1180 | ||
1181 | extern char *strptime (__const char *__restrict __s, | |
1182 | __const char *__restrict __fmt, struct tm *__tp) | |
1183 | __attribute__ ((__nothrow__ )); | |
1184 | ||
1185 | ||
1186 | ||
1187 | ||
1188 | ||
1189 | # 1 "../include/xlocale.h" 1 | |
1190 | # 216 "../time/time.h" 2 | |
1191 | ||
1192 | extern size_t strftime_l (char *__restrict __s, size_t __maxsize, | |
1193 | __const char *__restrict __format, | |
1194 | __const struct tm *__restrict __tp, | |
1195 | __locale_t __loc) __attribute__ ((__nothrow__ )); | |
1196 | ||
1197 | ||
1198 | ||
1199 | extern char *strptime_l (__const char *__restrict __s, | |
1200 | __const char *__restrict __fmt, struct tm *__tp, | |
1201 | __locale_t __loc) __attribute__ ((__nothrow__ )); | |
1202 | ||
1203 | ||
1204 | ||
1205 | ||
1206 | ||
1207 | ||
1208 | extern struct tm *gmtime (__const time_t *__timer) __attribute__ ((__nothrow__ )); | |
1209 | ||
1210 | ||
1211 | ||
1212 | extern struct tm *localtime (__const time_t *__timer) __attribute__ ((__nothrow__ )); | |
1213 | ||
1214 | ||
1215 | ||
1216 | ||
1217 | ||
1218 | extern struct tm *gmtime_r (__const time_t *__restrict __timer, | |
1219 | struct tm *__restrict __tp) __attribute__ ((__nothrow__ )); | |
1220 | ||
1221 | ||
1222 | ||
1223 | extern struct tm *localtime_r (__const time_t *__restrict __timer, | |
1224 | struct tm *__restrict __tp) __attribute__ ((__nothrow__ )); | |
1225 | ||
1226 | ||
1227 | ||
1228 | ||
1229 | ||
1230 | extern char *asctime (__const struct tm *__tp) __attribute__ ((__nothrow__ )); | |
1231 | ||
1232 | ||
1233 | extern char *ctime (__const time_t *__timer) __attribute__ ((__nothrow__ )); | |
1234 | ||
1235 | ||
1236 | ||
1237 | ||
1238 | ||
1239 | ||
1240 | ||
1241 | extern char *asctime_r (__const struct tm *__restrict __tp, | |
1242 | char *__restrict __buf) __attribute__ ((__nothrow__ )); | |
1243 | ||
1244 | ||
1245 | extern char *ctime_r (__const time_t *__restrict __timer, | |
1246 | char *__restrict __buf) __attribute__ ((__nothrow__ )); | |
1247 | ||
1248 | ||
1249 | ||
1250 | ||
1251 | extern char *__tzname[2]; | |
1252 | extern int __daylight; | |
1253 | extern long int __timezone; | |
1254 | ||
1255 | ||
1256 | ||
1257 | ||
1258 | extern char *tzname[2]; | |
1259 | ||
1260 | ||
1261 | ||
1262 | extern void tzset (void) __attribute__ ((__nothrow__ )); | |
1263 | ||
1264 | ||
1265 | ||
1266 | extern int daylight; | |
1267 | extern long int timezone; | |
1268 | ||
1269 | ||
1270 | ||
1271 | ||
1272 | ||
1273 | extern int stime (__const time_t *__when) __attribute__ ((__nothrow__ )); | |
1274 | # 313 "../time/time.h" | |
1275 | extern time_t timegm (struct tm *__tp) __attribute__ ((__nothrow__ )); | |
1276 | ||
1277 | ||
1278 | extern time_t timelocal (struct tm *__tp) __attribute__ ((__nothrow__ )); | |
1279 | ||
1280 | ||
1281 | extern int dysize (int __year) __attribute__ ((__nothrow__ )) __attribute__ ((__const__)); | |
1282 | # 328 "../time/time.h" | |
1283 | extern int nanosleep (__const struct timespec *__requested_time, | |
1284 | struct timespec *__remaining); | |
1285 | ||
1286 | ||
1287 | ||
1288 | extern int clock_getres (clockid_t __clock_id, struct timespec *__res) __attribute__ ((__nothrow__ )); | |
1289 | ||
1290 | ||
1291 | extern int clock_gettime (clockid_t __clock_id, struct timespec *__tp) __attribute__ ((__nothrow__ )); | |
1292 | ||
1293 | ||
1294 | extern int clock_settime (clockid_t __clock_id, __const struct timespec *__tp) | |
1295 | __attribute__ ((__nothrow__ )); | |
1296 | ||
1297 | ||
1298 | ||
1299 | ||
1300 | ||
1301 | ||
1302 | extern int clock_nanosleep (clockid_t __clock_id, int __flags, | |
1303 | __const struct timespec *__req, | |
1304 | struct timespec *__rem); | |
1305 | ||
1306 | ||
1307 | extern int clock_getcpuclockid (pid_t __pid, clockid_t *__clock_id) __attribute__ ((__nothrow__ )); | |
1308 | ||
1309 | ||
1310 | ||
1311 | ||
1312 | extern int timer_create (clockid_t __clock_id, | |
1313 | struct sigevent *__restrict __evp, | |
1314 | timer_t *__restrict __timerid) __attribute__ ((__nothrow__ )); | |
1315 | ||
1316 | ||
1317 | extern int timer_delete (timer_t __timerid) __attribute__ ((__nothrow__ )); | |
1318 | ||
1319 | ||
1320 | extern int timer_settime (timer_t __timerid, int __flags, | |
1321 | __const struct itimerspec *__restrict __value, | |
1322 | struct itimerspec *__restrict __ovalue) __attribute__ ((__nothrow__ )); | |
1323 | ||
1324 | ||
1325 | extern int timer_gettime (timer_t __timerid, struct itimerspec *__value) | |
1326 | __attribute__ ((__nothrow__ )); | |
1327 | ||
1328 | ||
1329 | extern int timer_getoverrun (timer_t __timerid) __attribute__ ((__nothrow__ )); | |
1330 | # 390 "../time/time.h" | |
1331 | extern int getdate_err; | |
1332 | # 399 "../time/time.h" | |
1333 | extern struct tm *getdate (__const char *__string); | |
1334 | # 413 "../time/time.h" | |
1335 | extern int getdate_r (__const char *__restrict __string, | |
1336 | struct tm *__restrict __resbufp); | |
1337 | ||
1338 | ||
1339 | ||
1340 | # 6 "../include/time.h" 2 | |
1341 | # 1 "../include/xlocale.h" 1 | |
1342 | # 7 "../include/time.h" 2 | |
1343 | ||
1344 | ||
1345 | ||
1346 | extern __typeof (strftime_l) __strftime_l; | |
1347 | ||
1348 | extern __typeof (strptime_l) __strptime_l; | |
1349 | ||
1350 | ||
1351 | ||
1352 | ||
1353 | ||
1354 | ||
1355 | ||
1356 | ||
1357 | ||
1358 | ||
1359 | ||
1360 | ||
1361 | struct tm; | |
1362 | ||
1363 | ||
1364 | extern const unsigned short int __mon_yday[2][13] ; | |
1365 | ||
1366 | ||
1367 | extern struct tm _tmbuf ; | |
1368 | ||
1369 | ||
1370 | extern char *__tzstring (const char *string); | |
1371 | ||
1372 | ||
1373 | extern size_t __tzname_cur_max ; | |
1374 | ||
1375 | ||
1376 | extern int __use_tzfile ; | |
1377 | ||
1378 | extern void __tzfile_read (const char *file, size_t extra, | |
1379 | char **extrap); | |
1380 | extern void __tzfile_compute (time_t timer, int use_localtime, | |
1381 | long int *leap_correct, int *leap_hit, | |
1382 | struct tm *tp); | |
1383 | extern void __tzfile_default (const char *std, const char *dst, | |
1384 | long int stdoff, long int dstoff); | |
1385 | extern void __tzset_parse_tz (const char *tz); | |
1386 | extern void __tz_compute (time_t timer, struct tm *tm, int use_localtime) | |
1387 | __attribute__ ((__nothrow__ )) ; | |
1388 | ||
1389 | ||
1390 | ||
1391 | ||
1392 | extern time_t __mktime_internal (struct tm *__tp, | |
1393 | struct tm *(*__func) (const time_t *, | |
1394 | struct tm *), | |
1395 | time_t *__offset); | |
1396 | extern struct tm *__localtime_r (__const time_t *__timer, | |
1397 | struct tm *__tp) ; | |
1398 | ||
1399 | extern struct tm *__gmtime_r (__const time_t *__restrict __timer, | |
1400 | struct tm *__restrict __tp); | |
1401 | ||
1402 | ||
1403 | ||
1404 | ||
1405 | ||
1406 | ||
1407 | extern int __offtime (__const time_t *__timer, | |
1408 | long int __offset, | |
1409 | struct tm *__tp); | |
1410 | ||
1411 | extern char *__asctime_r (__const struct tm *__tp, char *__buf); | |
1412 | extern void __tzset (void); | |
1413 | ||
1414 | ||
1415 | extern struct tm *__tz_convert (const time_t *timer, int use_localtime, struct tm *tp); | |
1416 | ||
1417 | ||
1418 | ||
1419 | extern long int __tzname_max (void); | |
1420 | ||
1421 | extern int __nanosleep (__const struct timespec *__requested_time, | |
1422 | struct timespec *__remaining); | |
1423 | ||
1424 | extern int __nanosleep_nocancel (__const struct timespec *__requested_time, | |
1425 | struct timespec *__remaining) | |
1426 | ; | |
1427 | extern int __getdate_r (__const char *__string, struct tm *__resbufp); | |
1428 | ||
1429 | ||
1430 | ||
1431 | extern int __getclktck (void); | |
1432 | ||
1433 | ||
1434 | ||
1435 | extern char * __strptime_internal (const char *rp, const char *fmt, | |
1436 | struct tm *tm, void *statep, | |
1437 | __locale_t locparam) | |
1438 | ; | |
1439 | ||
1440 | extern double __difftime (time_t time1, time_t time0); | |
1441 | # 113 "../include/time.h" | |
1442 | ||
1443 | # 29 "../include/../locale/localeinfo.h" 2 | |
1444 | # 1 "../sysdeps/generic/stdint.h" 1 | |
1445 | # 27 "../sysdeps/generic/stdint.h" | |
1446 | # 1 "../bits/wchar.h" 1 | |
1447 | # 28 "../sysdeps/generic/stdint.h" 2 | |
1448 | # 1 "../sysdeps/wordsize-32/bits/wordsize.h" 1 | |
1449 | # 29 "../sysdeps/generic/stdint.h" 2 | |
1450 | # 37 "../sysdeps/generic/stdint.h" | |
1451 | typedef signed char int8_t; | |
1452 | typedef short int int16_t; | |
1453 | typedef int int32_t; | |
1454 | ||
1455 | ||
1456 | ||
1457 | __extension__ | |
1458 | typedef long long int int64_t; | |
1459 | ||
1460 | ||
1461 | ||
1462 | ||
1463 | typedef unsigned char uint8_t; | |
1464 | typedef unsigned short int uint16_t; | |
1465 | ||
1466 | typedef unsigned int uint32_t; | |
1467 | ||
1468 | ||
1469 | ||
1470 | ||
1471 | ||
1472 | __extension__ | |
1473 | typedef unsigned long long int uint64_t; | |
1474 | ||
1475 | ||
1476 | ||
1477 | ||
1478 | ||
1479 | ||
1480 | typedef signed char int_least8_t; | |
1481 | typedef short int int_least16_t; | |
1482 | typedef int int_least32_t; | |
1483 | ||
1484 | ||
1485 | ||
1486 | __extension__ | |
1487 | typedef long long int int_least64_t; | |
1488 | ||
1489 | ||
1490 | ||
1491 | typedef unsigned char uint_least8_t; | |
1492 | typedef unsigned short int uint_least16_t; | |
1493 | typedef unsigned int uint_least32_t; | |
1494 | ||
1495 | ||
1496 | ||
1497 | __extension__ | |
1498 | typedef unsigned long long int uint_least64_t; | |
1499 | ||
1500 | ||
1501 | ||
1502 | ||
1503 | ||
1504 | ||
1505 | typedef signed char int_fast8_t; | |
1506 | ||
1507 | ||
1508 | ||
1509 | ||
1510 | ||
1511 | typedef int int_fast16_t; | |
1512 | typedef int int_fast32_t; | |
1513 | __extension__ | |
1514 | typedef long long int int_fast64_t; | |
1515 | ||
1516 | ||
1517 | ||
1518 | typedef unsigned char uint_fast8_t; | |
1519 | ||
1520 | ||
1521 | ||
1522 | ||
1523 | ||
1524 | typedef unsigned int uint_fast16_t; | |
1525 | typedef unsigned int uint_fast32_t; | |
1526 | __extension__ | |
1527 | typedef unsigned long long int uint_fast64_t; | |
1528 | # 126 "../sysdeps/generic/stdint.h" | |
1529 | typedef int intptr_t; | |
1530 | ||
1531 | ||
1532 | typedef unsigned int uintptr_t; | |
1533 | # 138 "../sysdeps/generic/stdint.h" | |
1534 | __extension__ | |
1535 | typedef long long int intmax_t; | |
1536 | __extension__ | |
1537 | typedef unsigned long long int uintmax_t; | |
1538 | # 30 "../include/../locale/localeinfo.h" 2 | |
1539 | # 1 "../include/sys/types.h" 1 | |
1540 | # 1 "../posix/sys/types.h" 1 | |
1541 | # 28 "../posix/sys/types.h" | |
1542 | ||
1543 | ||
1544 | ||
1545 | ||
1546 | ||
1547 | ||
1548 | typedef __u_char u_char; | |
1549 | typedef __u_short u_short; | |
1550 | typedef __u_int u_int; | |
1551 | typedef __u_long u_long; | |
1552 | typedef __quad_t quad_t; | |
1553 | typedef __u_quad_t u_quad_t; | |
1554 | typedef __fsid_t fsid_t; | |
1555 | ||
1556 | ||
1557 | ||
1558 | ||
1559 | typedef __loff_t loff_t; | |
1560 | ||
1561 | ||
1562 | ||
1563 | typedef __ino_t ino_t; | |
1564 | ||
1565 | ||
1566 | ||
1567 | ||
1568 | ||
1569 | ||
1570 | typedef __ino64_t ino64_t; | |
1571 | ||
1572 | ||
1573 | ||
1574 | ||
1575 | typedef __dev_t dev_t; | |
1576 | ||
1577 | ||
1578 | ||
1579 | ||
1580 | typedef __gid_t gid_t; | |
1581 | ||
1582 | ||
1583 | ||
1584 | ||
1585 | typedef __mode_t mode_t; | |
1586 | ||
1587 | ||
1588 | ||
1589 | ||
1590 | typedef __nlink_t nlink_t; | |
1591 | ||
1592 | ||
1593 | ||
1594 | ||
1595 | typedef __uid_t uid_t; | |
1596 | ||
1597 | ||
1598 | ||
1599 | ||
1600 | ||
1601 | typedef __off_t off_t; | |
1602 | ||
1603 | ||
1604 | ||
1605 | ||
1606 | ||
1607 | ||
1608 | typedef __off64_t off64_t; | |
1609 | # 105 "../posix/sys/types.h" | |
1610 | typedef __id_t id_t; | |
1611 | ||
1612 | ||
1613 | ||
1614 | ||
1615 | typedef __ssize_t ssize_t; | |
1616 | ||
1617 | ||
1618 | ||
1619 | ||
1620 | ||
1621 | typedef __daddr_t daddr_t; | |
1622 | typedef __caddr_t caddr_t; | |
1623 | ||
1624 | ||
1625 | ||
1626 | ||
1627 | ||
1628 | typedef __key_t key_t; | |
1629 | # 137 "../posix/sys/types.h" | |
1630 | typedef __useconds_t useconds_t; | |
1631 | ||
1632 | ||
1633 | ||
1634 | typedef __suseconds_t suseconds_t; | |
1635 | ||
1636 | ||
1637 | ||
1638 | ||
1639 | ||
1640 | # 1 "/usr/lib/gcc/armv5te-iwmmxt-linux-gnueabi/4.7.3/include/stddef.h" 1 3 4 | |
1641 | # 148 "../posix/sys/types.h" 2 | |
1642 | ||
1643 | ||
1644 | ||
1645 | typedef unsigned long int ulong; | |
1646 | typedef unsigned short int ushort; | |
1647 | typedef unsigned int uint; | |
1648 | # 201 "../posix/sys/types.h" | |
1649 | typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__))); | |
1650 | typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__))); | |
1651 | typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__))); | |
1652 | typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__))); | |
1653 | ||
1654 | typedef int register_t __attribute__ ((__mode__ (__word__))); | |
1655 | # 217 "../posix/sys/types.h" | |
1656 | # 1 "../include/endian.h" 1 | |
1657 | # 1 "../string/endian.h" 1 | |
1658 | # 37 "../string/endian.h" | |
1659 | # 1 "../ports/sysdeps/arm/bits/endian.h" 1 | |
1660 | # 38 "../string/endian.h" 2 | |
1661 | # 61 "../string/endian.h" | |
1662 | # 1 "../bits/byteswap.h" 1 | |
1663 | # 62 "../string/endian.h" 2 | |
1664 | # 2 "../include/endian.h" 2 | |
1665 | # 218 "../posix/sys/types.h" 2 | |
1666 | ||
1667 | ||
1668 | # 1 "../include/sys/select.h" 1 | |
1669 | ||
1670 | # 1 "../misc/sys/select.h" 1 | |
1671 | # 31 "../misc/sys/select.h" | |
1672 | # 1 "../bits/select.h" 1 | |
1673 | # 32 "../misc/sys/select.h" 2 | |
1674 | ||
1675 | ||
1676 | # 1 "../sysdeps/unix/sysv/linux/bits/sigset.h" 1 | |
1677 | # 24 "../sysdeps/unix/sysv/linux/bits/sigset.h" | |
1678 | typedef int __sig_atomic_t; | |
1679 | ||
1680 | ||
1681 | ||
1682 | ||
1683 | typedef struct | |
1684 | { | |
1685 | unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))]; | |
1686 | } __sigset_t; | |
1687 | # 35 "../misc/sys/select.h" 2 | |
1688 | ||
1689 | ||
1690 | ||
1691 | typedef __sigset_t sigset_t; | |
1692 | ||
1693 | ||
1694 | ||
1695 | ||
1696 | ||
1697 | ||
1698 | ||
1699 | # 1 "../sysdeps/unix/sysv/linux/bits/time.h" 1 | |
1700 | # 47 "../misc/sys/select.h" 2 | |
1701 | # 55 "../misc/sys/select.h" | |
1702 | typedef long int __fd_mask; | |
1703 | # 65 "../misc/sys/select.h" | |
1704 | typedef struct | |
1705 | { | |
1706 | ||
1707 | ||
1708 | ||
1709 | __fd_mask fds_bits[1024 / (8 * (int) sizeof (__fd_mask))]; | |
1710 | ||
1711 | ||
1712 | ||
1713 | ||
1714 | ||
1715 | } fd_set; | |
1716 | ||
1717 | ||
1718 | ||
1719 | ||
1720 | ||
1721 | ||
1722 | typedef __fd_mask fd_mask; | |
1723 | # 97 "../misc/sys/select.h" | |
1724 | ||
1725 | # 107 "../misc/sys/select.h" | |
1726 | extern int select (int __nfds, fd_set *__restrict __readfds, | |
1727 | fd_set *__restrict __writefds, | |
1728 | fd_set *__restrict __exceptfds, | |
1729 | struct timeval *__restrict __timeout); | |
1730 | # 119 "../misc/sys/select.h" | |
1731 | extern int pselect (int __nfds, fd_set *__restrict __readfds, | |
1732 | fd_set *__restrict __writefds, | |
1733 | fd_set *__restrict __exceptfds, | |
1734 | const struct timespec *__restrict __timeout, | |
1735 | const __sigset_t *__restrict __sigmask); | |
1736 | # 132 "../misc/sys/select.h" | |
1737 | ||
1738 | # 3 "../include/sys/select.h" 2 | |
1739 | ||
1740 | ||
1741 | extern int __pselect (int __nfds, fd_set *__readfds, | |
1742 | fd_set *__writefds, fd_set *__exceptfds, | |
1743 | const struct timespec *__timeout, | |
1744 | const __sigset_t *__sigmask); | |
1745 | ||
1746 | extern int __select (int __nfds, fd_set *__restrict __readfds, | |
1747 | fd_set *__restrict __writefds, | |
1748 | fd_set *__restrict __exceptfds, | |
1749 | struct timeval *__restrict __timeout); | |
1750 | ||
1751 | # 221 "../posix/sys/types.h" 2 | |
1752 | ||
1753 | ||
1754 | # 1 "../sysdeps/unix/sysv/linux/sys/sysmacros.h" 1 | |
1755 | # 30 "../sysdeps/unix/sysv/linux/sys/sysmacros.h" | |
1756 | ||
1757 | ||
1758 | __extension__ | |
1759 | extern unsigned int gnu_dev_major (unsigned long long int __dev) | |
1760 | __attribute__ ((__nothrow__ )) __attribute__ ((__const__)); | |
1761 | __extension__ | |
1762 | extern unsigned int gnu_dev_minor (unsigned long long int __dev) | |
1763 | __attribute__ ((__nothrow__ )) __attribute__ ((__const__)); | |
1764 | __extension__ | |
1765 | extern unsigned long long int gnu_dev_makedev (unsigned int __major, | |
1766 | unsigned int __minor) | |
1767 | __attribute__ ((__nothrow__ )) __attribute__ ((__const__)); | |
1768 | ||
1769 | ||
1770 | __extension__ extern __inline __attribute__ ((__const__)) unsigned int | |
1771 | __attribute__ ((__nothrow__ )) gnu_dev_major (unsigned long long int __dev) | |
1772 | { | |
1773 | return ((__dev >> 8) & 0xfff) | ((unsigned int) (__dev >> 32) & ~0xfff); | |
1774 | } | |
1775 | ||
1776 | __extension__ extern __inline __attribute__ ((__const__)) unsigned int | |
1777 | __attribute__ ((__nothrow__ )) gnu_dev_minor (unsigned long long int __dev) | |
1778 | { | |
1779 | return (__dev & 0xff) | ((unsigned int) (__dev >> 12) & ~0xff); | |
1780 | } | |
1781 | ||
1782 | __extension__ extern __inline __attribute__ ((__const__)) unsigned long long int | |
1783 | __attribute__ ((__nothrow__ )) gnu_dev_makedev (unsigned int __major, unsigned int __minor) | |
1784 | { | |
1785 | return ((__minor & 0xff) | ((__major & 0xfff) << 8) | |
1786 | | (((unsigned long long int) (__minor & ~0xff)) << 12) | |
1787 | | (((unsigned long long int) (__major & ~0xfff)) << 32)); | |
1788 | } | |
1789 | ||
1790 | ||
1791 | # 224 "../posix/sys/types.h" 2 | |
1792 | ||
1793 | ||
1794 | ||
1795 | ||
1796 | ||
1797 | typedef __blksize_t blksize_t; | |
1798 | ||
1799 | ||
1800 | ||
1801 | ||
1802 | ||
1803 | ||
1804 | typedef __blkcnt_t blkcnt_t; | |
1805 | ||
1806 | ||
1807 | ||
1808 | typedef __fsblkcnt_t fsblkcnt_t; | |
1809 | ||
1810 | ||
1811 | ||
1812 | typedef __fsfilcnt_t fsfilcnt_t; | |
1813 | # 263 "../posix/sys/types.h" | |
1814 | typedef __blkcnt64_t blkcnt64_t; | |
1815 | typedef __fsblkcnt64_t fsblkcnt64_t; | |
1816 | typedef __fsfilcnt64_t fsfilcnt64_t; | |
1817 | ||
1818 | ||
1819 | ||
1820 | ||
1821 | ||
1822 | # 1 "../ports/sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h" 1 | |
1823 | # 22 "../ports/sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h" | |
1824 | # 1 "../include/endian.h" 1 | |
1825 | # 23 "../ports/sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h" 2 | |
1826 | # 38 "../ports/sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h" | |
1827 | typedef unsigned long int pthread_t; | |
1828 | ||
1829 | ||
1830 | typedef union | |
1831 | { | |
1832 | char __size[36]; | |
1833 | long int __align; | |
1834 | } pthread_attr_t; | |
1835 | ||
1836 | ||
1837 | typedef struct __pthread_internal_slist | |
1838 | { | |
1839 | struct __pthread_internal_slist *__next; | |
1840 | } __pthread_slist_t; | |
1841 | ||
1842 | ||
1843 | ||
1844 | ||
1845 | typedef union | |
1846 | { | |
1847 | struct __pthread_mutex_s | |
1848 | { | |
1849 | int __lock; | |
1850 | unsigned int __count; | |
1851 | int __owner; | |
1852 | ||
1853 | ||
1854 | int __kind; | |
1855 | unsigned int __nusers; | |
1856 | __extension__ union | |
1857 | { | |
1858 | int __spins; | |
1859 | __pthread_slist_t __list; | |
1860 | }; | |
1861 | } __data; | |
1862 | char __size[24]; | |
1863 | long int __align; | |
1864 | } pthread_mutex_t; | |
1865 | ||
1866 | typedef union | |
1867 | { | |
1868 | char __size[4]; | |
1869 | long int __align; | |
1870 | } pthread_mutexattr_t; | |
1871 | ||
1872 | ||
1873 | ||
1874 | ||
1875 | typedef union | |
1876 | { | |
1877 | struct | |
1878 | { | |
1879 | int __lock; | |
1880 | unsigned int __futex; | |
1881 | __extension__ unsigned long long int __total_seq; | |
1882 | __extension__ unsigned long long int __wakeup_seq; | |
1883 | __extension__ unsigned long long int __woken_seq; | |
1884 | void *__mutex; | |
1885 | unsigned int __nwaiters; | |
1886 | unsigned int __broadcast_seq; | |
1887 | } __data; | |
1888 | char __size[48]; | |
1889 | __extension__ long long int __align; | |
1890 | } pthread_cond_t; | |
1891 | ||
1892 | typedef union | |
1893 | { | |
1894 | char __size[4]; | |
1895 | long int __align; | |
1896 | } pthread_condattr_t; | |
1897 | ||
1898 | ||
1899 | ||
1900 | typedef unsigned int pthread_key_t; | |
1901 | ||
1902 | ||
1903 | ||
1904 | typedef int pthread_once_t; | |
1905 | ||
1906 | ||
1907 | ||
1908 | ||
1909 | ||
1910 | typedef union | |
1911 | { | |
1912 | struct | |
1913 | { | |
1914 | int __lock; | |
1915 | unsigned int __nr_readers; | |
1916 | unsigned int __readers_wakeup; | |
1917 | unsigned int __writer_wakeup; | |
1918 | unsigned int __nr_readers_queued; | |
1919 | unsigned int __nr_writers_queued; | |
1920 | # 141 "../ports/sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h" | |
1921 | unsigned char __flags; | |
1922 | unsigned char __shared; | |
1923 | unsigned char __pad1; | |
1924 | unsigned char __pad2; | |
1925 | ||
1926 | int __writer; | |
1927 | } __data; | |
1928 | char __size[32]; | |
1929 | long int __align; | |
1930 | } pthread_rwlock_t; | |
1931 | ||
1932 | typedef union | |
1933 | { | |
1934 | char __size[8]; | |
1935 | long int __align; | |
1936 | } pthread_rwlockattr_t; | |
1937 | ||
1938 | ||
1939 | ||
1940 | ||
1941 | ||
1942 | typedef volatile int pthread_spinlock_t; | |
1943 | ||
1944 | ||
1945 | ||
1946 | ||
1947 | typedef union | |
1948 | { | |
1949 | char __size[20]; | |
1950 | long int __align; | |
1951 | } pthread_barrier_t; | |
1952 | ||
1953 | typedef union | |
1954 | { | |
1955 | char __size[4]; | |
1956 | int __align; | |
1957 | } pthread_barrierattr_t; | |
1958 | # 272 "../posix/sys/types.h" 2 | |
1959 | ||
1960 | ||
1961 | ||
1962 | # 1 "../include/sys/types.h" 2 | |
1963 | # 31 "../include/../locale/localeinfo.h" 2 | |
1964 | ||
1965 | # 1 "../intl/loadinfo.h" 1 | |
1966 | # 54 "../intl/loadinfo.h" | |
1967 | struct loaded_l10nfile | |
1968 | { | |
1969 | const char *filename; | |
1970 | int decided; | |
1971 | ||
1972 | const void *data; | |
1973 | ||
1974 | struct loaded_l10nfile *next; | |
1975 | struct loaded_l10nfile *successor[1]; | |
1976 | }; | |
1977 | ||
1978 | ||
1979 | ||
1980 | ||
1981 | ||
1982 | ||
1983 | extern const char *_nl_normalize_codeset (const char *codeset, size_t name_len) | |
1984 | ; | |
1985 | ||
1986 | extern struct loaded_l10nfile * | |
1987 | _nl_make_l10nflist (struct loaded_l10nfile **l10nfile_list, const char *dirlist, size_t dirlist_len, int mask, const char *language, const char *territory, const char *codeset, const char *normalized_codeset, const char *modifier, const char *filename, int do_allocate) | |
1988 | ||
1989 | ||
1990 | ||
1991 | ||
1992 | ||
1993 | ; | |
1994 | ||
1995 | ||
1996 | extern const char *_nl_expand_alias (const char *name); | |
1997 | ||
1998 | ||
1999 | ||
2000 | extern int _nl_explode_name (char *name, const char **language, const char **modifier, const char **territory, const char **codeset, const char **normalized_codeset) | |
2001 | ||
2002 | ||
2003 | ||
2004 | ; | |
2005 | # 33 "../include/../locale/localeinfo.h" 2 | |
2006 | # 51 "../include/../locale/localeinfo.h" | |
2007 | struct __locale_data | |
2008 | { | |
2009 | const char *name; | |
2010 | const char *filedata; | |
2011 | off_t filesize; | |
2012 | enum | |
2013 | { | |
2014 | ld_malloced, | |
2015 | ld_mapped, | |
2016 | ld_archive | |
2017 | } alloc; | |
2018 | ||
2019 | ||
2020 | ||
2021 | ||
2022 | struct | |
2023 | { | |
2024 | void (*cleanup) (struct __locale_data *) ; | |
2025 | union | |
2026 | { | |
2027 | void *data; | |
2028 | struct lc_time_data *time; | |
2029 | const struct gconv_fcts *ctype; | |
2030 | }; | |
2031 | } private; | |
2032 | ||
2033 | unsigned int usage_count; | |
2034 | ||
2035 | int use_translit; | |
2036 | ||
2037 | ||
2038 | unsigned int nstrings; | |
2039 | union locale_data_value | |
2040 | { | |
2041 | const uint32_t *wstr; | |
2042 | const char *string; | |
2043 | unsigned int word; | |
2044 | } | |
2045 | values []; | |
2046 | }; | |
2047 | ||
2048 | ||
2049 | enum coll_sort_rule | |
2050 | { | |
2051 | illegal_0__, | |
2052 | sort_forward, | |
2053 | sort_backward, | |
2054 | illegal_3__, | |
2055 | sort_position, | |
2056 | sort_forward_position, | |
2057 | sort_backward_position, | |
2058 | sort_mask | |
2059 | }; | |
2060 | ||
2061 | ||
2062 | enum value_type | |
2063 | { | |
2064 | none, | |
2065 | string, | |
2066 | stringarray, | |
2067 | byte, | |
2068 | bytearray, | |
2069 | word, | |
2070 | stringlist, | |
2071 | wordarray, | |
2072 | wstring, | |
2073 | wstringarray, | |
2074 | wstringlist | |
2075 | }; | |
2076 | # 131 "../include/../locale/localeinfo.h" | |
2077 | struct era_entry | |
2078 | { | |
2079 | uint32_t direction; | |
2080 | int32_t offset; | |
2081 | int32_t start_date[3]; | |
2082 | int32_t stop_date[3]; | |
2083 | const char *era_name; | |
2084 | const char *era_format; | |
2085 | const wchar_t *era_wname; | |
2086 | const wchar_t *era_wformat; | |
2087 | int absolute_direction; | |
2088 | ||
2089 | ||
2090 | ||
2091 | }; | |
2092 | ||
2093 | ||
2094 | ||
2095 | struct lc_time_data | |
2096 | { | |
2097 | struct era_entry *eras; | |
2098 | size_t num_eras; | |
2099 | int era_initialized; | |
2100 | ||
2101 | const char **alt_digits; | |
2102 | const wchar_t **walt_digits; | |
2103 | int alt_digits_initialized; | |
2104 | int walt_digits_initialized; | |
2105 | }; | |
2106 | ||
2107 | ||
2108 | ||
2109 | ||
2110 | enum | |
2111 | { | |
2112 | __TOW_toupper = 0, | |
2113 | __TOW_tolower = 1 | |
2114 | }; | |
2115 | # 181 "../include/../locale/localeinfo.h" | |
2116 | extern const union catnamestr_t | |
2117 | { | |
2118 | struct | |
2119 | { | |
2120 | ||
2121 | ||
2122 | # 1 "../include/../locale/categories.def" 1 | |
2123 | # 42 "../include/../locale/categories.def" | |
2124 | char | |
2125 | # 62 "../include/../locale/categories.def" | |
2126 | str62 | |
2127 | # 42 "../include/../locale/categories.def" | |
2128 | [sizeof ("LC_COLLATE")]; | |
2129 | # 68 "../include/../locale/categories.def" | |
2130 | char | |
2131 | # 137 "../include/../locale/categories.def" | |
2132 | str137 | |
2133 | # 68 "../include/../locale/categories.def" | |
2134 | [sizeof ("LC_CTYPE")]; | |
2135 | # 140 "../include/../locale/categories.def" | |
2136 | char | |
2137 | # 189 "../include/../locale/categories.def" | |
2138 | str189 | |
2139 | # 140 "../include/../locale/categories.def" | |
2140 | [sizeof ("LC_MONETARY")]; | |
2141 | # 192 "../include/../locale/categories.def" | |
2142 | char | |
2143 | # 203 "../include/../locale/categories.def" | |
2144 | str203 | |
2145 | # 192 "../include/../locale/categories.def" | |
2146 | [sizeof ("LC_NUMERIC")]; | |
2147 | # 206 "../include/../locale/categories.def" | |
2148 | char | |
2149 | # 251 "../include/../locale/categories.def" | |
2150 | str251 | |
2151 | # 206 "../include/../locale/categories.def" | |
2152 | [sizeof ("LC_TIME")]; | |
2153 | # 254 "../include/../locale/categories.def" | |
2154 | char | |
2155 | # 263 "../include/../locale/categories.def" | |
2156 | str263 | |
2157 | # 254 "../include/../locale/categories.def" | |
2158 | [sizeof ("LC_MESSAGES")]; | |
2159 | # 265 "../include/../locale/categories.def" | |
2160 | char | |
2161 | ||
2162 | ||
2163 | ||
2164 | ||
2165 | ||
2166 | ||
2167 | str272 | |
2168 | # 265 "../include/../locale/categories.def" | |
2169 | [sizeof ("LC_PAPER")]; | |
2170 | # 274 "../include/../locale/categories.def" | |
2171 | char | |
2172 | # 285 "../include/../locale/categories.def" | |
2173 | str285 | |
2174 | # 274 "../include/../locale/categories.def" | |
2175 | [sizeof ("LC_NAME")]; | |
2176 | # 287 "../include/../locale/categories.def" | |
2177 | char | |
2178 | # 304 "../include/../locale/categories.def" | |
2179 | str304 | |
2180 | # 287 "../include/../locale/categories.def" | |
2181 | [sizeof ("LC_ADDRESS")]; | |
2182 | # 306 "../include/../locale/categories.def" | |
2183 | char | |
2184 | # 315 "../include/../locale/categories.def" | |
2185 | str315 | |
2186 | # 306 "../include/../locale/categories.def" | |
2187 | [sizeof ("LC_TELEPHONE")]; | |
2188 | # 317 "../include/../locale/categories.def" | |
2189 | char | |
2190 | ||
2191 | ||
2192 | ||
2193 | ||
2194 | ||
2195 | str323 | |
2196 | # 317 "../include/../locale/categories.def" | |
2197 | [sizeof ("LC_MEASUREMENT")]; | |
2198 | ||
2199 | ||
2200 | ||
2201 | ||
2202 | ||
2203 | ||
2204 | ||
2205 | char | |
2206 | # 345 "../include/../locale/categories.def" | |
2207 | str345 | |
2208 | # 325 "../include/../locale/categories.def" | |
2209 | [sizeof ("LC_IDENTIFICATION")]; | |
2210 | # 188 "../include/../locale/localeinfo.h" 2 | |
2211 | ||
2212 | }; | |
2213 | char str[0]; | |
2214 | } _nl_category_names ; | |
2215 | extern const uint8_t _nl_category_name_idxs[13] ; | |
2216 | extern const uint8_t _nl_category_name_sizes[13] ; | |
2217 | ||
2218 | ||
2219 | extern const char _nl_C_name[] ; | |
2220 | extern const char _nl_POSIX_name[] ; | |
2221 | ||
2222 | ||
2223 | extern const char _nl_C_codeset[] ; | |
2224 | ||
2225 | ||
2226 | ||
2227 | ||
2228 | extern struct __locale_struct _nl_global_locale ; | |
2229 | ||
2230 | ||
2231 | ||
2232 | ||
2233 | # 1 "../bits/libc-tsd.h" 1 | |
2234 | # 45 "../bits/libc-tsd.h" | |
2235 | # 1 "../ports/sysdeps/arm/nptl/tls.h" 1 | |
2236 | # 23 "../ports/sysdeps/arm/nptl/tls.h" | |
2237 | # 1 "../sysdeps/unix/sysv/linux/dl-sysdep.h" 1 | |
2238 | # 20 "../sysdeps/unix/sysv/linux/dl-sysdep.h" | |
2239 | # 1 "../ports/sysdeps/arm/dl-sysdep.h" 1 | |
2240 | # 20 "../ports/sysdeps/arm/dl-sysdep.h" | |
2241 | # 1 "../sysdeps/generic/dl-sysdep.h" 1 | |
2242 | # 21 "../ports/sysdeps/arm/dl-sysdep.h" 2 | |
2243 | # 21 "../sysdeps/unix/sysv/linux/dl-sysdep.h" 2 | |
2244 | # 32 "../sysdeps/unix/sysv/linux/dl-sysdep.h" | |
2245 | extern int _dl_discover_osversion (void) ; | |
2246 | # 24 "../ports/sysdeps/arm/nptl/tls.h" 2 | |
2247 | ||
2248 | ||
2249 | # 1 "/usr/lib/gcc/armv5te-iwmmxt-linux-gnueabi/4.7.3/include/stdbool.h" 1 3 4 | |
2250 | # 27 "../ports/sysdeps/arm/nptl/tls.h" 2 | |
2251 | # 1 "/usr/lib/gcc/armv5te-iwmmxt-linux-gnueabi/4.7.3/include/stddef.h" 1 3 4 | |
2252 | # 28 "../ports/sysdeps/arm/nptl/tls.h" 2 | |
2253 | ||
2254 | ||
2255 | ||
2256 | typedef union dtv | |
2257 | { | |
2258 | size_t counter; | |
2259 | struct | |
2260 | { | |
2261 | void *val; | |
2262 | _Bool is_static; | |
2263 | } pointer; | |
2264 | } dtv_t; | |
2265 | # 49 "../ports/sysdeps/arm/nptl/tls.h" | |
2266 | # 1 "../ports/sysdeps/unix/sysv/linux/arm/eabi/sysdep.h" 1 | |
2267 | # 26 "../ports/sysdeps/unix/sysv/linux/arm/eabi/sysdep.h" | |
2268 | # 1 "../ports/sysdeps/unix/sysv/linux/arm/sysdep.h" 1 | |
2269 | # 26 "../ports/sysdeps/unix/sysv/linux/arm/sysdep.h" | |
2270 | # 1 "../ports/sysdeps/unix/arm/sysdep.h" 1 | |
2271 | # 20 "../ports/sysdeps/unix/arm/sysdep.h" | |
2272 | # 1 "../sysdeps/unix/sysdep.h" 1 | |
2273 | # 19 "../sysdeps/unix/sysdep.h" | |
2274 | # 1 "../sysdeps/generic/sysdep.h" 1 | |
2275 | # 133 "../sysdeps/generic/sysdep.h" | |
2276 | # 1 "../sysdeps/generic/dwarf2.h" 1 | |
2277 | # 40 "../sysdeps/generic/dwarf2.h" | |
2278 | enum dwarf_tag | |
2279 | { | |
2280 | DW_TAG_padding = 0x00, | |
2281 | DW_TAG_array_type = 0x01, | |
2282 | DW_TAG_class_type = 0x02, | |
2283 | DW_TAG_entry_point = 0x03, | |
2284 | DW_TAG_enumeration_type = 0x04, | |
2285 | DW_TAG_formal_parameter = 0x05, | |
2286 | DW_TAG_imported_declaration = 0x08, | |
2287 | DW_TAG_label = 0x0a, | |
2288 | DW_TAG_lexical_block = 0x0b, | |
2289 | DW_TAG_member = 0x0d, | |
2290 | DW_TAG_pointer_type = 0x0f, | |
2291 | DW_TAG_reference_type = 0x10, | |
2292 | DW_TAG_compile_unit = 0x11, | |
2293 | DW_TAG_string_type = 0x12, | |
2294 | DW_TAG_structure_type = 0x13, | |
2295 | DW_TAG_subroutine_type = 0x15, | |
2296 | DW_TAG_typedef = 0x16, | |
2297 | DW_TAG_union_type = 0x17, | |
2298 | DW_TAG_unspecified_parameters = 0x18, | |
2299 | DW_TAG_variant = 0x19, | |
2300 | DW_TAG_common_block = 0x1a, | |
2301 | DW_TAG_common_inclusion = 0x1b, | |
2302 | DW_TAG_inheritance = 0x1c, | |
2303 | DW_TAG_inlined_subroutine = 0x1d, | |
2304 | DW_TAG_module = 0x1e, | |
2305 | DW_TAG_ptr_to_member_type = 0x1f, | |
2306 | DW_TAG_set_type = 0x20, | |
2307 | DW_TAG_subrange_type = 0x21, | |
2308 | DW_TAG_with_stmt = 0x22, | |
2309 | DW_TAG_access_declaration = 0x23, | |
2310 | DW_TAG_base_type = 0x24, | |
2311 | DW_TAG_catch_block = 0x25, | |
2312 | DW_TAG_const_type = 0x26, | |
2313 | DW_TAG_constant = 0x27, | |
2314 | DW_TAG_enumerator = 0x28, | |
2315 | DW_TAG_file_type = 0x29, | |
2316 | DW_TAG_friend = 0x2a, | |
2317 | DW_TAG_namelist = 0x2b, | |
2318 | DW_TAG_namelist_item = 0x2c, | |
2319 | DW_TAG_packed_type = 0x2d, | |
2320 | DW_TAG_subprogram = 0x2e, | |
2321 | DW_TAG_template_type_param = 0x2f, | |
2322 | DW_TAG_template_value_param = 0x30, | |
2323 | DW_TAG_thrown_type = 0x31, | |
2324 | DW_TAG_try_block = 0x32, | |
2325 | DW_TAG_variant_part = 0x33, | |
2326 | DW_TAG_variable = 0x34, | |
2327 | DW_TAG_volatile_type = 0x35, | |
2328 | ||
2329 | DW_TAG_MIPS_loop = 0x4081, | |
2330 | ||
2331 | DW_TAG_format_label = 0x4101, | |
2332 | DW_TAG_function_template = 0x4102, | |
2333 | DW_TAG_class_template = 0x4103, | |
2334 | DW_TAG_GNU_BINCL = 0x4104, | |
2335 | DW_TAG_GNU_EINCL = 0x4105 | |
2336 | }; | |
2337 | # 108 "../sysdeps/generic/dwarf2.h" | |
2338 | enum dwarf_form | |
2339 | { | |
2340 | DW_FORM_addr = 0x01, | |
2341 | DW_FORM_block2 = 0x03, | |
2342 | DW_FORM_block4 = 0x04, | |
2343 | DW_FORM_data2 = 0x05, | |
2344 | DW_FORM_data4 = 0x06, | |
2345 | DW_FORM_data8 = 0x07, | |
2346 | DW_FORM_string = 0x08, | |
2347 | DW_FORM_block = 0x09, | |
2348 | DW_FORM_block1 = 0x0a, | |
2349 | DW_FORM_data1 = 0x0b, | |
2350 | DW_FORM_flag = 0x0c, | |
2351 | DW_FORM_sdata = 0x0d, | |
2352 | DW_FORM_strp = 0x0e, | |
2353 | DW_FORM_udata = 0x0f, | |
2354 | DW_FORM_ref_addr = 0x10, | |
2355 | DW_FORM_ref1 = 0x11, | |
2356 | DW_FORM_ref2 = 0x12, | |
2357 | DW_FORM_ref4 = 0x13, | |
2358 | DW_FORM_ref8 = 0x14, | |
2359 | DW_FORM_ref_udata = 0x15, | |
2360 | DW_FORM_indirect = 0x16 | |
2361 | }; | |
2362 | ||
2363 | ||
2364 | ||
2365 | enum dwarf_attribute | |
2366 | { | |
2367 | DW_AT_sibling = 0x01, | |
2368 | DW_AT_location = 0x02, | |
2369 | DW_AT_name = 0x03, | |
2370 | DW_AT_ordering = 0x09, | |
2371 | DW_AT_subscr_data = 0x0a, | |
2372 | DW_AT_byte_size = 0x0b, | |
2373 | DW_AT_bit_offset = 0x0c, | |
2374 | DW_AT_bit_size = 0x0d, | |
2375 | DW_AT_element_list = 0x0f, | |
2376 | DW_AT_stmt_list = 0x10, | |
2377 | DW_AT_low_pc = 0x11, | |
2378 | DW_AT_high_pc = 0x12, | |
2379 | DW_AT_language = 0x13, | |
2380 | DW_AT_member = 0x14, | |
2381 | DW_AT_discr = 0x15, | |
2382 | DW_AT_discr_value = 0x16, | |
2383 | DW_AT_visibility = 0x17, | |
2384 | DW_AT_import = 0x18, | |
2385 | DW_AT_string_length = 0x19, | |
2386 | DW_AT_common_reference = 0x1a, | |
2387 | DW_AT_comp_dir = 0x1b, | |
2388 | DW_AT_const_value = 0x1c, | |
2389 | DW_AT_containing_type = 0x1d, | |
2390 | DW_AT_default_value = 0x1e, | |
2391 | DW_AT_inline = 0x20, | |
2392 | DW_AT_is_optional = 0x21, | |
2393 | DW_AT_lower_bound = 0x22, | |
2394 | DW_AT_producer = 0x25, | |
2395 | DW_AT_prototyped = 0x27, | |
2396 | DW_AT_return_addr = 0x2a, | |
2397 | DW_AT_start_scope = 0x2c, | |
2398 | DW_AT_stride_size = 0x2e, | |
2399 | DW_AT_upper_bound = 0x2f, | |
2400 | DW_AT_abstract_origin = 0x31, | |
2401 | DW_AT_accessibility = 0x32, | |
2402 | DW_AT_address_class = 0x33, | |
2403 | DW_AT_artificial = 0x34, | |
2404 | DW_AT_base_types = 0x35, | |
2405 | DW_AT_calling_convention = 0x36, | |
2406 | DW_AT_count = 0x37, | |
2407 | DW_AT_data_member_location = 0x38, | |
2408 | DW_AT_decl_column = 0x39, | |
2409 | DW_AT_decl_file = 0x3a, | |
2410 | DW_AT_decl_line = 0x3b, | |
2411 | DW_AT_declaration = 0x3c, | |
2412 | DW_AT_discr_list = 0x3d, | |
2413 | DW_AT_encoding = 0x3e, | |
2414 | DW_AT_external = 0x3f, | |
2415 | DW_AT_frame_base = 0x40, | |
2416 | DW_AT_friend = 0x41, | |
2417 | DW_AT_identifier_case = 0x42, | |
2418 | DW_AT_macro_info = 0x43, | |
2419 | DW_AT_namelist_items = 0x44, | |
2420 | DW_AT_priority = 0x45, | |
2421 | DW_AT_segment = 0x46, | |
2422 | DW_AT_specification = 0x47, | |
2423 | DW_AT_static_link = 0x48, | |
2424 | DW_AT_type = 0x49, | |
2425 | DW_AT_use_location = 0x4a, | |
2426 | DW_AT_variable_parameter = 0x4b, | |
2427 | DW_AT_virtuality = 0x4c, | |
2428 | DW_AT_vtable_elem_location = 0x4d, | |
2429 | ||
2430 | DW_AT_MIPS_fde = 0x2001, | |
2431 | DW_AT_MIPS_loop_begin = 0x2002, | |
2432 | DW_AT_MIPS_tail_loop_begin = 0x2003, | |
2433 | DW_AT_MIPS_epilog_begin = 0x2004, | |
2434 | DW_AT_MIPS_loop_unroll_factor = 0x2005, | |
2435 | DW_AT_MIPS_software_pipeline_depth = 0x2006, | |
2436 | DW_AT_MIPS_linkage_name = 0x2007, | |
2437 | DW_AT_MIPS_stride = 0x2008, | |
2438 | DW_AT_MIPS_abstract_name = 0x2009, | |
2439 | DW_AT_MIPS_clone_origin = 0x200a, | |
2440 | DW_AT_MIPS_has_inlines = 0x200b, | |
2441 | ||
2442 | DW_AT_sf_names = 0x2101, | |
2443 | DW_AT_src_info = 0x2102, | |
2444 | DW_AT_mac_info = 0x2103, | |
2445 | DW_AT_src_coords = 0x2104, | |
2446 | DW_AT_body_begin = 0x2105, | |
2447 | DW_AT_body_end = 0x2106 | |
2448 | }; | |
2449 | ||
2450 | ||
2451 | ||
2452 | ||
2453 | ||
2454 | ||
2455 | enum dwarf_location_atom | |
2456 | { | |
2457 | DW_OP_addr = 0x03, | |
2458 | DW_OP_deref = 0x06, | |
2459 | DW_OP_const1u = 0x08, | |
2460 | DW_OP_const1s = 0x09, | |
2461 | DW_OP_const2u = 0x0a, | |
2462 | DW_OP_const2s = 0x0b, | |
2463 | DW_OP_const4u = 0x0c, | |
2464 | DW_OP_const4s = 0x0d, | |
2465 | DW_OP_const8u = 0x0e, | |
2466 | DW_OP_const8s = 0x0f, | |
2467 | DW_OP_constu = 0x10, | |
2468 | DW_OP_consts = 0x11, | |
2469 | DW_OP_dup = 0x12, | |
2470 | DW_OP_drop = 0x13, | |
2471 | DW_OP_over = 0x14, | |
2472 | DW_OP_pick = 0x15, | |
2473 | DW_OP_swap = 0x16, | |
2474 | DW_OP_rot = 0x17, | |
2475 | DW_OP_xderef = 0x18, | |
2476 | DW_OP_abs = 0x19, | |
2477 | DW_OP_and = 0x1a, | |
2478 | DW_OP_div = 0x1b, | |
2479 | DW_OP_minus = 0x1c, | |
2480 | DW_OP_mod = 0x1d, | |
2481 | DW_OP_mul = 0x1e, | |
2482 | DW_OP_neg = 0x1f, | |
2483 | DW_OP_not = 0x20, | |
2484 | DW_OP_or = 0x21, | |
2485 | DW_OP_plus = 0x22, | |
2486 | DW_OP_plus_uconst = 0x23, | |
2487 | DW_OP_shl = 0x24, | |
2488 | DW_OP_shr = 0x25, | |
2489 | DW_OP_shra = 0x26, | |
2490 | DW_OP_xor = 0x27, | |
2491 | DW_OP_bra = 0x28, | |
2492 | DW_OP_eq = 0x29, | |
2493 | DW_OP_ge = 0x2a, | |
2494 | DW_OP_gt = 0x2b, | |
2495 | DW_OP_le = 0x2c, | |
2496 | DW_OP_lt = 0x2d, | |
2497 | DW_OP_ne = 0x2e, | |
2498 | DW_OP_skip = 0x2f, | |
2499 | DW_OP_lit0 = 0x30, | |
2500 | DW_OP_lit1 = 0x31, | |
2501 | DW_OP_lit2 = 0x32, | |
2502 | DW_OP_lit3 = 0x33, | |
2503 | DW_OP_lit4 = 0x34, | |
2504 | DW_OP_lit5 = 0x35, | |
2505 | DW_OP_lit6 = 0x36, | |
2506 | DW_OP_lit7 = 0x37, | |
2507 | DW_OP_lit8 = 0x38, | |
2508 | DW_OP_lit9 = 0x39, | |
2509 | DW_OP_lit10 = 0x3a, | |
2510 | DW_OP_lit11 = 0x3b, | |
2511 | DW_OP_lit12 = 0x3c, | |
2512 | DW_OP_lit13 = 0x3d, | |
2513 | DW_OP_lit14 = 0x3e, | |
2514 | DW_OP_lit15 = 0x3f, | |
2515 | DW_OP_lit16 = 0x40, | |
2516 | DW_OP_lit17 = 0x41, | |
2517 | DW_OP_lit18 = 0x42, | |
2518 | DW_OP_lit19 = 0x43, | |
2519 | DW_OP_lit20 = 0x44, | |
2520 | DW_OP_lit21 = 0x45, | |
2521 | DW_OP_lit22 = 0x46, | |
2522 | DW_OP_lit23 = 0x47, | |
2523 | DW_OP_lit24 = 0x48, | |
2524 | DW_OP_lit25 = 0x49, | |
2525 | DW_OP_lit26 = 0x4a, | |
2526 | DW_OP_lit27 = 0x4b, | |
2527 | DW_OP_lit28 = 0x4c, | |
2528 | DW_OP_lit29 = 0x4d, | |
2529 | DW_OP_lit30 = 0x4e, | |
2530 | DW_OP_lit31 = 0x4f, | |
2531 | DW_OP_reg0 = 0x50, | |
2532 | DW_OP_reg1 = 0x51, | |
2533 | DW_OP_reg2 = 0x52, | |
2534 | DW_OP_reg3 = 0x53, | |
2535 | DW_OP_reg4 = 0x54, | |
2536 | DW_OP_reg5 = 0x55, | |
2537 | DW_OP_reg6 = 0x56, | |
2538 | DW_OP_reg7 = 0x57, | |
2539 | DW_OP_reg8 = 0x58, | |
2540 | DW_OP_reg9 = 0x59, | |
2541 | DW_OP_reg10 = 0x5a, | |
2542 | DW_OP_reg11 = 0x5b, | |
2543 | DW_OP_reg12 = 0x5c, | |
2544 | DW_OP_reg13 = 0x5d, | |
2545 | DW_OP_reg14 = 0x5e, | |
2546 | DW_OP_reg15 = 0x5f, | |
2547 | DW_OP_reg16 = 0x60, | |
2548 | DW_OP_reg17 = 0x61, | |
2549 | DW_OP_reg18 = 0x62, | |
2550 | DW_OP_reg19 = 0x63, | |
2551 | DW_OP_reg20 = 0x64, | |
2552 | DW_OP_reg21 = 0x65, | |
2553 | DW_OP_reg22 = 0x66, | |
2554 | DW_OP_reg23 = 0x67, | |
2555 | DW_OP_reg24 = 0x68, | |
2556 | DW_OP_reg25 = 0x69, | |
2557 | DW_OP_reg26 = 0x6a, | |
2558 | DW_OP_reg27 = 0x6b, | |
2559 | DW_OP_reg28 = 0x6c, | |
2560 | DW_OP_reg29 = 0x6d, | |
2561 | DW_OP_reg30 = 0x6e, | |
2562 | DW_OP_reg31 = 0x6f, | |
2563 | DW_OP_breg0 = 0x70, | |
2564 | DW_OP_breg1 = 0x71, | |
2565 | DW_OP_breg2 = 0x72, | |
2566 | DW_OP_breg3 = 0x73, | |
2567 | DW_OP_breg4 = 0x74, | |
2568 | DW_OP_breg5 = 0x75, | |
2569 | DW_OP_breg6 = 0x76, | |
2570 | DW_OP_breg7 = 0x77, | |
2571 | DW_OP_breg8 = 0x78, | |
2572 | DW_OP_breg9 = 0x79, | |
2573 | DW_OP_breg10 = 0x7a, | |
2574 | DW_OP_breg11 = 0x7b, | |
2575 | DW_OP_breg12 = 0x7c, | |
2576 | DW_OP_breg13 = 0x7d, | |
2577 | DW_OP_breg14 = 0x7e, | |
2578 | DW_OP_breg15 = 0x7f, | |
2579 | DW_OP_breg16 = 0x80, | |
2580 | DW_OP_breg17 = 0x81, | |
2581 | DW_OP_breg18 = 0x82, | |
2582 | DW_OP_breg19 = 0x83, | |
2583 | DW_OP_breg20 = 0x84, | |
2584 | DW_OP_breg21 = 0x85, | |
2585 | DW_OP_breg22 = 0x86, | |
2586 | DW_OP_breg23 = 0x87, | |
2587 | DW_OP_breg24 = 0x88, | |
2588 | DW_OP_breg25 = 0x89, | |
2589 | DW_OP_breg26 = 0x8a, | |
2590 | DW_OP_breg27 = 0x8b, | |
2591 | DW_OP_breg28 = 0x8c, | |
2592 | DW_OP_breg29 = 0x8d, | |
2593 | DW_OP_breg30 = 0x8e, | |
2594 | DW_OP_breg31 = 0x8f, | |
2595 | DW_OP_regx = 0x90, | |
2596 | DW_OP_fbreg = 0x91, | |
2597 | DW_OP_bregx = 0x92, | |
2598 | DW_OP_piece = 0x93, | |
2599 | DW_OP_deref_size = 0x94, | |
2600 | DW_OP_xderef_size = 0x95, | |
2601 | DW_OP_nop = 0x96 | |
2602 | }; | |
2603 | ||
2604 | ||
2605 | ||
2606 | ||
2607 | ||
2608 | ||
2609 | enum dwarf_type | |
2610 | { | |
2611 | DW_ATE_void = 0x0, | |
2612 | DW_ATE_address = 0x1, | |
2613 | DW_ATE_boolean = 0x2, | |
2614 | DW_ATE_complex_float = 0x3, | |
2615 | DW_ATE_float = 0x4, | |
2616 | DW_ATE_signed = 0x5, | |
2617 | DW_ATE_signed_char = 0x6, | |
2618 | DW_ATE_unsigned = 0x7, | |
2619 | DW_ATE_unsigned_char = 0x8 | |
2620 | }; | |
2621 | ||
2622 | ||
2623 | ||
2624 | ||
2625 | ||
2626 | enum dwarf_array_dim_ordering | |
2627 | { | |
2628 | DW_ORD_row_major = 0, | |
2629 | DW_ORD_col_major = 1 | |
2630 | }; | |
2631 | ||
2632 | ||
2633 | enum dwarf_access_attribute | |
2634 | { | |
2635 | DW_ACCESS_public = 1, | |
2636 | DW_ACCESS_protected = 2, | |
2637 | DW_ACCESS_private = 3 | |
2638 | }; | |
2639 | ||
2640 | ||
2641 | enum dwarf_visibility_attribute | |
2642 | { | |
2643 | DW_VIS_local = 1, | |
2644 | DW_VIS_exported = 2, | |
2645 | DW_VIS_qualified = 3 | |
2646 | }; | |
2647 | ||
2648 | ||
2649 | enum dwarf_virtuality_attribute | |
2650 | { | |
2651 | DW_VIRTUALITY_none = 0, | |
2652 | DW_VIRTUALITY_virtual = 1, | |
2653 | DW_VIRTUALITY_pure_virtual = 2 | |
2654 | }; | |
2655 | ||
2656 | ||
2657 | enum dwarf_id_case | |
2658 | { | |
2659 | DW_ID_case_sensitive = 0, | |
2660 | DW_ID_up_case = 1, | |
2661 | DW_ID_down_case = 2, | |
2662 | DW_ID_case_insensitive = 3 | |
2663 | }; | |
2664 | ||
2665 | ||
2666 | enum dwarf_calling_convention | |
2667 | { | |
2668 | DW_CC_normal = 0x1, | |
2669 | DW_CC_program = 0x2, | |
2670 | DW_CC_nocall = 0x3 | |
2671 | }; | |
2672 | ||
2673 | ||
2674 | ||
2675 | ||
2676 | ||
2677 | enum dwarf_inline_attribute | |
2678 | { | |
2679 | DW_INL_not_inlined = 0, | |
2680 | DW_INL_inlined = 1, | |
2681 | DW_INL_declared_not_inlined = 2, | |
2682 | DW_INL_declared_inlined = 3 | |
2683 | }; | |
2684 | ||
2685 | ||
2686 | enum dwarf_discrim_list | |
2687 | { | |
2688 | DW_DSC_label = 0, | |
2689 | DW_DSC_range = 1 | |
2690 | }; | |
2691 | ||
2692 | ||
2693 | enum dwarf_line_number_ops | |
2694 | { | |
2695 | DW_LNS_extended_op = 0, | |
2696 | DW_LNS_copy = 1, | |
2697 | DW_LNS_advance_pc = 2, | |
2698 | DW_LNS_advance_line = 3, | |
2699 | DW_LNS_set_file = 4, | |
2700 | DW_LNS_set_column = 5, | |
2701 | DW_LNS_negate_stmt = 6, | |
2702 | DW_LNS_set_basic_block = 7, | |
2703 | DW_LNS_const_add_pc = 8, | |
2704 | DW_LNS_fixed_advance_pc = 9 | |
2705 | }; | |
2706 | ||
2707 | ||
2708 | enum dwarf_line_number_x_ops | |
2709 | { | |
2710 | DW_LNE_end_sequence = 1, | |
2711 | DW_LNE_set_address = 2, | |
2712 | DW_LNE_define_file = 3 | |
2713 | }; | |
2714 | ||
2715 | ||
2716 | enum dwarf_call_frame_info | |
2717 | { | |
2718 | DW_CFA_advance_loc = 0x40, | |
2719 | DW_CFA_offset = 0x80, | |
2720 | DW_CFA_restore = 0xc0, | |
2721 | DW_CFA_nop = 0x00, | |
2722 | DW_CFA_set_loc = 0x01, | |
2723 | DW_CFA_advance_loc1 = 0x02, | |
2724 | DW_CFA_advance_loc2 = 0x03, | |
2725 | DW_CFA_advance_loc4 = 0x04, | |
2726 | DW_CFA_offset_extended = 0x05, | |
2727 | DW_CFA_restore_extended = 0x06, | |
2728 | DW_CFA_undefined = 0x07, | |
2729 | DW_CFA_same_value = 0x08, | |
2730 | DW_CFA_register = 0x09, | |
2731 | DW_CFA_remember_state = 0x0a, | |
2732 | DW_CFA_restore_state = 0x0b, | |
2733 | DW_CFA_def_cfa = 0x0c, | |
2734 | DW_CFA_def_cfa_register = 0x0d, | |
2735 | DW_CFA_def_cfa_offset = 0x0e, | |
2736 | DW_CFA_def_cfa_expression = 0x0f, | |
2737 | DW_CFA_expression = 0x10, | |
2738 | ||
2739 | DW_CFA_offset_extended_sf = 0x11, | |
2740 | DW_CFA_def_cfa_sf = 0x12, | |
2741 | DW_CFA_def_cfa_offset_sf = 0x13, | |
2742 | ||
2743 | ||
2744 | DW_CFA_MIPS_advance_loc8 = 0x1d, | |
2745 | ||
2746 | ||
2747 | DW_CFA_GNU_window_save = 0x2d, | |
2748 | DW_CFA_GNU_args_size = 0x2e, | |
2749 | DW_CFA_GNU_negative_offset_extended = 0x2f | |
2750 | }; | |
2751 | # 536 "../sysdeps/generic/dwarf2.h" | |
2752 | enum dwarf_source_language | |
2753 | { | |
2754 | DW_LANG_C89 = 0x0001, | |
2755 | DW_LANG_C = 0x0002, | |
2756 | DW_LANG_Ada83 = 0x0003, | |
2757 | DW_LANG_C_plus_plus = 0x0004, | |
2758 | DW_LANG_Cobol74 = 0x0005, | |
2759 | DW_LANG_Cobol85 = 0x0006, | |
2760 | DW_LANG_Fortran77 = 0x0007, | |
2761 | DW_LANG_Fortran90 = 0x0008, | |
2762 | DW_LANG_Pascal83 = 0x0009, | |
2763 | DW_LANG_Modula2 = 0x000a, | |
2764 | DW_LANG_Java = 0x000b, | |
2765 | DW_LANG_Mips_Assembler = 0x8001 | |
2766 | }; | |
2767 | ||
2768 | ||
2769 | ||
2770 | ||
2771 | ||
2772 | ||
2773 | ||
2774 | enum dwarf_macinfo_record_type | |
2775 | { | |
2776 | DW_MACINFO_define = 1, | |
2777 | DW_MACINFO_undef = 2, | |
2778 | DW_MACINFO_start_file = 3, | |
2779 | DW_MACINFO_end_file = 4, | |
2780 | DW_MACINFO_vendor_ext = 255 | |
2781 | }; | |
2782 | # 133 "../sysdeps/generic/sysdep.h" 2 | |
2783 | # 20 "../sysdeps/unix/sysdep.h" 2 | |
2784 | ||
2785 | # 1 "../sysdeps/unix/sysv/linux/sys/syscall.h" 1 | |
2786 | # 25 "../sysdeps/unix/sysv/linux/sys/syscall.h" | |
2787 | # 1 "/usr/include/asm/unistd.h" 1 3 4 | |
2788 | # 26 "../sysdeps/unix/sysv/linux/sys/syscall.h" 2 | |
2789 | # 22 "../sysdeps/unix/sysdep.h" 2 | |
2790 | # 21 "../ports/sysdeps/unix/arm/sysdep.h" 2 | |
2791 | # 1 "../ports/sysdeps/arm/sysdep.h" 1 | |
2792 | # 20 "../ports/sysdeps/arm/sysdep.h" | |
2793 | # 1 "../sysdeps/generic/sysdep.h" 1 | |
2794 | # 21 "../ports/sysdeps/arm/sysdep.h" 2 | |
2795 | # 22 "../ports/sysdeps/unix/arm/sysdep.h" 2 | |
2796 | # 27 "../ports/sysdeps/unix/sysv/linux/arm/sysdep.h" 2 | |
2797 | ||
2798 | ||
2799 | # 1 "../sysdeps/unix/sysv/linux/dl-sysdep.h" 1 | |
2800 | # 20 "../sysdeps/unix/sysv/linux/dl-sysdep.h" | |
2801 | # 1 "../ports/sysdeps/arm/dl-sysdep.h" 1 | |
2802 | # 20 "../ports/sysdeps/arm/dl-sysdep.h" | |
2803 | # 1 "../sysdeps/generic/dl-sysdep.h" 1 | |
2804 | # 21 "../ports/sysdeps/arm/dl-sysdep.h" 2 | |
2805 | # 21 "../sysdeps/unix/sysv/linux/dl-sysdep.h" 2 | |
2806 | # 32 "../sysdeps/unix/sysv/linux/dl-sysdep.h" | |
2807 | extern int _dl_discover_osversion (void) ; | |
2808 | # 30 "../ports/sysdeps/unix/sysv/linux/arm/sysdep.h" 2 | |
2809 | ||
2810 | # 1 "../ports/sysdeps/arm/nptl/tls.h" 1 | |
2811 | # 32 "../ports/sysdeps/unix/sysv/linux/arm/sysdep.h" 2 | |
2812 | ||
2813 | ||
2814 | ||
2815 | # 1 "../include/errno.h" 1 | |
2816 | ||
2817 | ||
2818 | # 1 "../stdlib/errno.h" 1 | |
2819 | # 32 "../stdlib/errno.h" | |
2820 | ||
2821 | ||
2822 | ||
2823 | ||
2824 | # 1 "../sysdeps/unix/sysv/linux/bits/errno.h" 1 | |
2825 | # 25 "../sysdeps/unix/sysv/linux/bits/errno.h" | |
2826 | # 1 "/usr/include/linux/errno.h" 1 3 4 | |
2827 | # 1 "/usr/include/asm/errno.h" 1 3 4 | |
2828 | # 1 "/usr/include/asm-generic/errno.h" 1 3 4 | |
2829 | ||
2830 | ||
2831 | ||
2832 | # 1 "/usr/include/asm-generic/errno-base.h" 1 3 4 | |
2833 | # 5 "/usr/include/asm-generic/errno.h" 2 3 4 | |
2834 | # 1 "/usr/include/asm/errno.h" 2 3 4 | |
2835 | # 1 "/usr/include/linux/errno.h" 2 3 4 | |
2836 | # 26 "../sysdeps/unix/sysv/linux/bits/errno.h" 2 | |
2837 | # 47 "../sysdeps/unix/sysv/linux/bits/errno.h" | |
2838 | extern int *__errno_location (void) __attribute__ ((__nothrow__ )) __attribute__ ((__const__)); | |
2839 | # 37 "../stdlib/errno.h" 2 | |
2840 | # 55 "../stdlib/errno.h" | |
2841 | extern char *program_invocation_name, *program_invocation_short_name; | |
2842 | ||
2843 | ||
2844 | ||
2845 | ||
2846 | # 69 "../stdlib/errno.h" | |
2847 | typedef int error_t; | |
2848 | # 4 "../include/errno.h" 2 | |
2849 | # 30 "../include/errno.h" | |
2850 | extern __thread int __libc_errno __attribute__ ((tls_model ("initial-exec"))); | |
2851 | ||
2852 | ||
2853 | ||
2854 | ||
2855 | ||
2856 | ||
2857 | extern int *__errno_location (void) __attribute__ ((__nothrow__ )) __attribute__ ((__const__)) | |
2858 | ||
2859 | ||
2860 | ||
2861 | ; | |
2862 | ||
2863 | # 36 "../ports/sysdeps/unix/sysv/linux/arm/sysdep.h" 2 | |
2864 | # 27 "../ports/sysdeps/unix/sysv/linux/arm/eabi/sysdep.h" 2 | |
2865 | # 50 "../ports/sysdeps/arm/nptl/tls.h" 2 | |
2866 | ||
2867 | ||
2868 | ||
2869 | ||
2870 | ||
2871 | # 1 "../nptl/descr.h" 1 | |
2872 | # 23 "../nptl/descr.h" | |
2873 | # 1 "../include/limits.h" 1 | |
2874 | # 145 "../include/limits.h" | |
2875 | # 1 "../include/bits/posix1_lim.h" 1 | |
2876 | # 146 "../include/limits.h" 2 | |
2877 | ||
2878 | ||
2879 | ||
2880 | # 1 "../include/bits/posix2_lim.h" 1 | |
2881 | # 150 "../include/limits.h" 2 | |
2882 | # 24 "../nptl/descr.h" 2 | |
2883 | # 1 "../include/sched.h" 1 | |
2884 | ||
2885 | # 1 "../posix/sched.h" 1 | |
2886 | # 30 "../posix/sched.h" | |
2887 | # 1 "/usr/lib/gcc/armv5te-iwmmxt-linux-gnueabi/4.7.3/include/stddef.h" 1 3 4 | |
2888 | # 31 "../posix/sched.h" 2 | |
2889 | # 43 "../posix/sched.h" | |
2890 | # 1 "../sysdeps/unix/sysv/linux/bits/sched.h" 1 | |
2891 | # 74 "../sysdeps/unix/sysv/linux/bits/sched.h" | |
2892 | struct sched_param | |
2893 | { | |
2894 | int __sched_priority; | |
2895 | }; | |
2896 | ||
2897 | ||
2898 | ||
2899 | ||
2900 | ||
2901 | extern int clone (int (*__fn) (void *__arg), void *__child_stack, | |
2902 | int __flags, void *__arg, ...) __attribute__ ((__nothrow__ )); | |
2903 | ||
2904 | ||
2905 | extern int unshare (int __flags) __attribute__ ((__nothrow__ )); | |
2906 | ||
2907 | ||
2908 | extern int sched_getcpu (void) __attribute__ ((__nothrow__ )); | |
2909 | ||
2910 | ||
2911 | extern int setns (int __fd, int __nstype) __attribute__ ((__nothrow__ )); | |
2912 | ||
2913 | ||
2914 | ||
2915 | ||
2916 | ||
2917 | ||
2918 | ||
2919 | ||
2920 | ||
2921 | ||
2922 | ||
2923 | struct __sched_param | |
2924 | { | |
2925 | int __sched_priority; | |
2926 | }; | |
2927 | # 120 "../sysdeps/unix/sysv/linux/bits/sched.h" | |
2928 | typedef unsigned long int __cpu_mask; | |
2929 | ||
2930 | ||
2931 | ||
2932 | ||
2933 | ||
2934 | ||
2935 | typedef struct | |
2936 | { | |
2937 | __cpu_mask __bits[1024 / (8 * sizeof (__cpu_mask))]; | |
2938 | } cpu_set_t; | |
2939 | # 203 "../sysdeps/unix/sysv/linux/bits/sched.h" | |
2940 | ||
2941 | ||
2942 | extern int __sched_cpucount (size_t __setsize, const cpu_set_t *__setp) | |
2943 | __attribute__ ((__nothrow__ )); | |
2944 | extern cpu_set_t *__sched_cpualloc (size_t __count) __attribute__ ((__nothrow__ )) ; | |
2945 | extern void __sched_cpufree (cpu_set_t *__set) __attribute__ ((__nothrow__ )); | |
2946 | ||
2947 | ||
2948 | # 44 "../posix/sched.h" 2 | |
2949 | ||
2950 | ||
2951 | ||
2952 | ||
2953 | ||
2954 | ||
2955 | ||
2956 | extern int sched_setparam (__pid_t __pid, __const struct sched_param *__param) | |
2957 | __attribute__ ((__nothrow__ )); | |
2958 | ||
2959 | ||
2960 | extern int sched_getparam (__pid_t __pid, struct sched_param *__param) __attribute__ ((__nothrow__ )); | |
2961 | ||
2962 | ||
2963 | extern int sched_setscheduler (__pid_t __pid, int __policy, | |
2964 | __const struct sched_param *__param) __attribute__ ((__nothrow__ )); | |
2965 | ||
2966 | ||
2967 | extern int sched_getscheduler (__pid_t __pid) __attribute__ ((__nothrow__ )); | |
2968 | ||
2969 | ||
2970 | extern int sched_yield (void) __attribute__ ((__nothrow__ )); | |
2971 | ||
2972 | ||
2973 | extern int sched_get_priority_max (int __algorithm) __attribute__ ((__nothrow__ )); | |
2974 | ||
2975 | ||
2976 | extern int sched_get_priority_min (int __algorithm) __attribute__ ((__nothrow__ )); | |
2977 | ||
2978 | ||
2979 | extern int sched_rr_get_interval (__pid_t __pid, struct timespec *__t) __attribute__ ((__nothrow__ )); | |
2980 | # 118 "../posix/sched.h" | |
2981 | extern int sched_setaffinity (__pid_t __pid, size_t __cpusetsize, | |
2982 | __const cpu_set_t *__cpuset) __attribute__ ((__nothrow__ )); | |
2983 | ||
2984 | ||
2985 | extern int sched_getaffinity (__pid_t __pid, size_t __cpusetsize, | |
2986 | cpu_set_t *__cpuset) __attribute__ ((__nothrow__ )); | |
2987 | ||
2988 | ||
2989 | ||
2990 | # 3 "../include/sched.h" 2 | |
2991 | ||
2992 | ||
2993 | extern int __sched_setparam (__pid_t __pid, | |
2994 | __const struct sched_param *__param); | |
2995 | extern int __sched_getparam (__pid_t __pid, struct sched_param *__param); | |
2996 | extern int __sched_setscheduler (__pid_t __pid, int __policy, | |
2997 | __const struct sched_param *__param); | |
2998 | ||
2999 | extern int __sched_getscheduler (__pid_t __pid); | |
3000 | extern int __sched_yield (void); | |
3001 | ||
3002 | extern int __sched_get_priority_max (int __algorithm); | |
3003 | extern int __sched_get_priority_min (int __algorithm); | |
3004 | extern int __sched_rr_get_interval (__pid_t __pid, struct timespec *__t); | |
3005 | ||
3006 | ||
3007 | extern int __clone (int (*__fn) (void *__arg), void *__child_stack, | |
3008 | int __flags, void *__arg, ...); | |
3009 | extern int __clone2 (int (*__fn) (void *__arg), void *__child_stack_base, | |
3010 | size_t __child_stack_size, int __flags, void *__arg, ...); | |
3011 | # 25 "../nptl/descr.h" 2 | |
3012 | # 1 "../include/setjmp.h" 1 | |
3013 | ||
3014 | # 1 "../setjmp/setjmp.h" 1 | |
3015 | # 28 "../setjmp/setjmp.h" | |
3016 | ||
3017 | ||
3018 | # 1 "../ports/sysdeps/arm/eabi/bits/setjmp.h" 1 | |
3019 | # 35 "../ports/sysdeps/arm/eabi/bits/setjmp.h" | |
3020 | typedef int __jmp_buf[64] __attribute__((__aligned__ (8))); | |
3021 | # 31 "../setjmp/setjmp.h" 2 | |
3022 | # 1 "../sysdeps/unix/sysv/linux/bits/sigset.h" 1 | |
3023 | # 32 "../setjmp/setjmp.h" 2 | |
3024 | ||
3025 | ||
3026 | ||
3027 | struct __jmp_buf_tag | |
3028 | { | |
3029 | ||
3030 | ||
3031 | ||
3032 | ||
3033 | __jmp_buf __jmpbuf; | |
3034 | int __mask_was_saved; | |
3035 | __sigset_t __saved_mask; | |
3036 | }; | |
3037 | ||
3038 | ||
3039 | ||
3040 | ||
3041 | typedef struct __jmp_buf_tag jmp_buf[1]; | |
3042 | ||
3043 | ||
3044 | ||
3045 | extern int setjmp (jmp_buf __env) __attribute__ ((__nothrow__)); | |
3046 | ||
3047 | ||
3048 | ||
3049 | ||
3050 | ||
3051 | ||
3052 | extern int __sigsetjmp (struct __jmp_buf_tag __env[1], int __savemask) __attribute__ ((__nothrow__)); | |
3053 | ||
3054 | ||
3055 | ||
3056 | ||
3057 | extern int _setjmp (struct __jmp_buf_tag __env[1]) __attribute__ ((__nothrow__)); | |
3058 | # 78 "../setjmp/setjmp.h" | |
3059 | ||
3060 | ||
3061 | ||
3062 | ||
3063 | extern void longjmp (struct __jmp_buf_tag __env[1], int __val) | |
3064 | __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__)); | |
3065 | ||
3066 | ||
3067 | ||
3068 | ||
3069 | ||
3070 | ||
3071 | ||
3072 | extern void _longjmp (struct __jmp_buf_tag __env[1], int __val) | |
3073 | __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__)); | |
3074 | ||
3075 | ||
3076 | ||
3077 | ||
3078 | ||
3079 | ||
3080 | ||
3081 | typedef struct __jmp_buf_tag sigjmp_buf[1]; | |
3082 | # 110 "../setjmp/setjmp.h" | |
3083 | extern void siglongjmp (sigjmp_buf __env, int __val) | |
3084 | __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__)); | |
3085 | # 120 "../setjmp/setjmp.h" | |
3086 | ||
3087 | # 3 "../include/setjmp.h" 2 | |
3088 | ||
3089 | ||
3090 | ||
3091 | ||
3092 | extern void __longjmp (__jmp_buf __env, int __val) | |
3093 | __attribute__ ((__noreturn__)); | |
3094 | ||
3095 | ||
3096 | ||
3097 | ||
3098 | ||
3099 | extern int __sigjmp_save (jmp_buf __env, int __savemask); | |
3100 | ||
3101 | extern void _longjmp_unwind (jmp_buf env, int val); | |
3102 | ||
3103 | extern void __libc_siglongjmp (sigjmp_buf env, int val) | |
3104 | __attribute__ ((noreturn)); | |
3105 | extern void __libc_longjmp (sigjmp_buf env, int val) | |
3106 | __attribute__ ((noreturn)); | |
3107 | ||
3108 | ||
3109 | ||
3110 | ||
3111 | # 26 "../nptl/descr.h" 2 | |
3112 | ||
3113 | # 1 "../include/sys/types.h" 1 | |
3114 | # 28 "../nptl/descr.h" 2 | |
3115 | # 1 "../sysdeps/generic/hp-timing.h" 1 | |
3116 | # 71 "../sysdeps/generic/hp-timing.h" | |
3117 | typedef int hp_timing_t; | |
3118 | # 29 "../nptl/descr.h" 2 | |
3119 | ||
3120 | # 1 "../nptl/sysdeps/pthread/list.h" 1 | |
3121 | # 35 "../nptl/sysdeps/pthread/list.h" | |
3122 | typedef struct list_head | |
3123 | { | |
3124 | struct list_head *next; | |
3125 | struct list_head *prev; | |
3126 | } list_t; | |
3127 | # 31 "../nptl/descr.h" 2 | |
3128 | # 1 "../ports/sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h" 1 | |
3129 | # 23 "../ports/sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h" | |
3130 | # 1 "../sysdeps/unix/sysv/linux/sys/param.h" 1 | |
3131 | # 27 "../sysdeps/unix/sysv/linux/sys/param.h" | |
3132 | # 1 "../include/limits.h" 1 | |
3133 | # 145 "../include/limits.h" | |
3134 | # 1 "../include/bits/posix1_lim.h" 1 | |
3135 | # 146 "../include/limits.h" 2 | |
3136 | ||
3137 | ||
3138 | ||
3139 | # 1 "../include/bits/posix2_lim.h" 1 | |
3140 | # 150 "../include/limits.h" 2 | |
3141 | # 28 "../sysdeps/unix/sysv/linux/sys/param.h" 2 | |
3142 | ||
3143 | # 1 "/usr/include/linux/param.h" 1 3 4 | |
3144 | ||
3145 | ||
3146 | ||
3147 | # 1 "/usr/include/asm/param.h" 1 3 4 | |
3148 | # 1 "/usr/include/asm-generic/param.h" 1 3 4 | |
3149 | # 1 "/usr/include/asm/param.h" 2 3 4 | |
3150 | # 5 "/usr/include/linux/param.h" 2 3 4 | |
3151 | # 30 "../sysdeps/unix/sysv/linux/sys/param.h" 2 | |
3152 | # 53 "../sysdeps/unix/sysv/linux/sys/param.h" | |
3153 | # 1 "../include/sys/types.h" 1 | |
3154 | # 54 "../sysdeps/unix/sysv/linux/sys/param.h" 2 | |
3155 | # 24 "../ports/sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h" 2 | |
3156 | ||
3157 | # 1 "../include/atomic.h" 1 | |
3158 | # 49 "../include/atomic.h" | |
3159 | # 1 "../include/stdlib.h" 1 | |
3160 | ||
3161 | ||
3162 | ||
3163 | ||
3164 | ||
3165 | ||
3166 | # 1 "/usr/lib/gcc/armv5te-iwmmxt-linux-gnueabi/4.7.3/include/stddef.h" 1 3 4 | |
3167 | # 8 "../include/stdlib.h" 2 | |
3168 | # 1 "../stdlib/stdlib.h" 1 | |
3169 | # 33 "../stdlib/stdlib.h" | |
3170 | # 1 "/usr/lib/gcc/armv5te-iwmmxt-linux-gnueabi/4.7.3/include/stddef.h" 1 3 4 | |
3171 | # 34 "../stdlib/stdlib.h" 2 | |
3172 | ||
3173 | ||
3174 | ||
3175 | ||
3176 | ||
3177 | ||
3178 | ||
3179 | ||
3180 | # 1 "../sysdeps/unix/sysv/linux/bits/waitflags.h" 1 | |
3181 | # 43 "../stdlib/stdlib.h" 2 | |
3182 | # 1 "../bits/waitstatus.h" 1 | |
3183 | # 65 "../bits/waitstatus.h" | |
3184 | # 1 "../include/endian.h" 1 | |
3185 | # 66 "../bits/waitstatus.h" 2 | |
3186 | ||
3187 | union wait | |
3188 | { | |
3189 | int w_status; | |
3190 | struct | |
3191 | { | |
3192 | ||
3193 | unsigned int __w_termsig:7; | |
3194 | unsigned int __w_coredump:1; | |
3195 | unsigned int __w_retcode:8; | |
3196 | unsigned int:16; | |
3197 | ||
3198 | ||
3199 | ||
3200 | ||
3201 | ||
3202 | ||
3203 | ||
3204 | } __wait_terminated; | |
3205 | struct | |
3206 | { | |
3207 | ||
3208 | unsigned int __w_stopval:8; | |
3209 | unsigned int __w_stopsig:8; | |
3210 | unsigned int:16; | |
3211 | ||
3212 | ||
3213 | ||
3214 | ||
3215 | ||
3216 | ||
3217 | } __wait_stopped; | |
3218 | }; | |
3219 | # 44 "../stdlib/stdlib.h" 2 | |
3220 | # 68 "../stdlib/stdlib.h" | |
3221 | typedef union | |
3222 | { | |
3223 | union wait *__uptr; | |
3224 | int *__iptr; | |
3225 | } __WAIT_STATUS __attribute__ ((__transparent_union__)); | |
3226 | # 96 "../stdlib/stdlib.h" | |
3227 | ||
3228 | ||
3229 | typedef struct | |
3230 | { | |
3231 | int quot; | |
3232 | int rem; | |
3233 | } div_t; | |
3234 | ||
3235 | ||
3236 | ||
3237 | typedef struct | |
3238 | { | |
3239 | long int quot; | |
3240 | long int rem; | |
3241 | } ldiv_t; | |
3242 | ||
3243 | ||
3244 | ||
3245 | ||
3246 | ||
3247 | ||
3248 | ||
3249 | __extension__ typedef struct | |
3250 | { | |
3251 | long long int quot; | |
3252 | long long int rem; | |
3253 | } lldiv_t; | |
3254 | ||
3255 | ||
3256 | # 140 "../stdlib/stdlib.h" | |
3257 | extern size_t __ctype_get_mb_cur_max (void) __attribute__ ((__nothrow__ )) ; | |
3258 | ||
3259 | ||
3260 | ||
3261 | ||
3262 | extern double atof (__const char *__nptr) | |
3263 | __attribute__ ((__nothrow__ )) __attribute__ ((__pure__)) ; | |
3264 | ||
3265 | extern int atoi (__const char *__nptr) | |
3266 | __attribute__ ((__nothrow__ )) __attribute__ ((__pure__)) ; | |
3267 | ||
3268 | extern long int atol (__const char *__nptr) | |
3269 | __attribute__ ((__nothrow__ )) __attribute__ ((__pure__)) ; | |
3270 | ||
3271 | ||
3272 | ||
3273 | ||
3274 | ||
3275 | __extension__ extern long long int atoll (__const char *__nptr) | |
3276 | __attribute__ ((__nothrow__ )) __attribute__ ((__pure__)) ; | |
3277 | ||
3278 | ||
3279 | ||
3280 | ||
3281 | ||
3282 | extern double strtod (__const char *__restrict __nptr, | |
3283 | char **__restrict __endptr) | |
3284 | __attribute__ ((__nothrow__ )) ; | |
3285 | ||
3286 | ||
3287 | ||
3288 | ||
3289 | ||
3290 | extern float strtof (__const char *__restrict __nptr, | |
3291 | char **__restrict __endptr) __attribute__ ((__nothrow__ )) ; | |
3292 | ||
3293 | extern long double strtold (__const char *__restrict __nptr, | |
3294 | char **__restrict __endptr) | |
3295 | __attribute__ ((__nothrow__ )) ; | |
3296 | ||
3297 | ||
3298 | ||
3299 | ||
3300 | ||
3301 | extern long int strtol (__const char *__restrict __nptr, | |
3302 | char **__restrict __endptr, int __base) | |
3303 | __attribute__ ((__nothrow__ )) ; | |
3304 | ||
3305 | extern unsigned long int strtoul (__const char *__restrict __nptr, | |
3306 | char **__restrict __endptr, int __base) | |
3307 | __attribute__ ((__nothrow__ )) ; | |
3308 | ||
3309 | ||
3310 | ||
3311 | ||
3312 | __extension__ | |
3313 | extern long long int strtoq (__const char *__restrict __nptr, | |
3314 | char **__restrict __endptr, int __base) | |
3315 | __attribute__ ((__nothrow__ )) ; | |
3316 | ||
3317 | __extension__ | |
3318 | extern unsigned long long int strtouq (__const char *__restrict __nptr, | |
3319 | char **__restrict __endptr, int __base) | |
3320 | __attribute__ ((__nothrow__ )) ; | |
3321 | ||
3322 | ||
3323 | ||
3324 | ||
3325 | ||
3326 | __extension__ | |
3327 | extern long long int strtoll (__const char *__restrict __nptr, | |
3328 | char **__restrict __endptr, int __base) | |
3329 | __attribute__ ((__nothrow__ )) ; | |
3330 | ||
3331 | __extension__ | |
3332 | extern unsigned long long int strtoull (__const char *__restrict __nptr, | |
3333 | char **__restrict __endptr, int __base) | |
3334 | __attribute__ ((__nothrow__ )) ; | |
3335 | ||
3336 | # 236 "../stdlib/stdlib.h" | |
3337 | # 1 "../include/xlocale.h" 1 | |
3338 | # 237 "../stdlib/stdlib.h" 2 | |
3339 | ||
3340 | ||
3341 | ||
3342 | extern long int strtol_l (__const char *__restrict __nptr, | |
3343 | char **__restrict __endptr, int __base, | |
3344 | __locale_t __loc) __attribute__ ((__nothrow__ )) ; | |
3345 | ||
3346 | extern unsigned long int strtoul_l (__const char *__restrict __nptr, | |
3347 | char **__restrict __endptr, | |
3348 | int __base, __locale_t __loc) | |
3349 | __attribute__ ((__nothrow__ )) ; | |
3350 | ||
3351 | __extension__ | |
3352 | extern long long int strtoll_l (__const char *__restrict __nptr, | |
3353 | char **__restrict __endptr, int __base, | |
3354 | __locale_t __loc) | |
3355 | __attribute__ ((__nothrow__ )) ; | |
3356 | ||
3357 | __extension__ | |
3358 | extern unsigned long long int strtoull_l (__const char *__restrict __nptr, | |
3359 | char **__restrict __endptr, | |
3360 | int __base, __locale_t __loc) | |
3361 | __attribute__ ((__nothrow__ )) ; | |
3362 | ||
3363 | extern double strtod_l (__const char *__restrict __nptr, | |
3364 | char **__restrict __endptr, __locale_t __loc) | |
3365 | __attribute__ ((__nothrow__ )) ; | |
3366 | ||
3367 | extern float strtof_l (__const char *__restrict __nptr, | |
3368 | char **__restrict __endptr, __locale_t __loc) | |
3369 | __attribute__ ((__nothrow__ )) ; | |
3370 | ||
3371 | extern long double strtold_l (__const char *__restrict __nptr, | |
3372 | char **__restrict __endptr, | |
3373 | __locale_t __loc) | |
3374 | __attribute__ ((__nothrow__ )) ; | |
3375 | ||
3376 | ||
3377 | ||
3378 | ||
3379 | ||
3380 | extern __inline double | |
3381 | __attribute__ ((__nothrow__ )) atof (__const char *__nptr) | |
3382 | { | |
3383 | return strtod (__nptr, (char **) ((void *)0)); | |
3384 | } | |
3385 | extern __inline int | |
3386 | __attribute__ ((__nothrow__ )) atoi (__const char *__nptr) | |
3387 | { | |
3388 | return (int) strtol (__nptr, (char **) ((void *)0), 10); | |
3389 | } | |
3390 | extern __inline long int | |
3391 | __attribute__ ((__nothrow__ )) atol (__const char *__nptr) | |
3392 | { | |
3393 | return strtol (__nptr, (char **) ((void *)0), 10); | |
3394 | } | |
3395 | ||
3396 | ||
3397 | ||
3398 | ||
3399 | __extension__ extern __inline long long int | |
3400 | __attribute__ ((__nothrow__ )) atoll (__const char *__nptr) | |
3401 | { | |
3402 | return strtoll (__nptr, (char **) ((void *)0), 10); | |
3403 | } | |
3404 | ||
3405 | # 311 "../stdlib/stdlib.h" | |
3406 | extern char *l64a (long int __n) __attribute__ ((__nothrow__ )) ; | |
3407 | ||
3408 | ||
3409 | extern long int a64l (__const char *__s) | |
3410 | __attribute__ ((__nothrow__ )) __attribute__ ((__pure__)) ; | |
3411 | ||
3412 | ||
3413 | ||
3414 | ||
3415 | # 1 "../include/sys/types.h" 1 | |
3416 | # 321 "../stdlib/stdlib.h" 2 | |
3417 | ||
3418 | ||
3419 | ||
3420 | ||
3421 | ||
3422 | ||
3423 | extern long int random (void) __attribute__ ((__nothrow__ )); | |
3424 | ||
3425 | ||
3426 | extern void srandom (unsigned int __seed) __attribute__ ((__nothrow__ )); | |
3427 | ||
3428 | ||
3429 | ||
3430 | ||
3431 | ||
3432 | extern char *initstate (unsigned int __seed, char *__statebuf, | |
3433 | size_t __statelen) __attribute__ ((__nothrow__ )) ; | |
3434 | ||
3435 | ||
3436 | ||
3437 | extern char *setstate (char *__statebuf) __attribute__ ((__nothrow__ )) ; | |
3438 | ||
3439 | ||
3440 | ||
3441 | ||
3442 | ||
3443 | ||
3444 | ||
3445 | struct random_data | |
3446 | { | |
3447 | int32_t *fptr; | |
3448 | int32_t *rptr; | |
3449 | int32_t *state; | |
3450 | int rand_type; | |
3451 | int rand_deg; | |
3452 | int rand_sep; | |
3453 | int32_t *end_ptr; | |
3454 | }; | |
3455 | ||
3456 | extern int random_r (struct random_data *__restrict __buf, | |
3457 | int32_t *__restrict __result) __attribute__ ((__nothrow__ )) ; | |
3458 | ||
3459 | extern int srandom_r (unsigned int __seed, struct random_data *__buf) | |
3460 | __attribute__ ((__nothrow__ )) ; | |
3461 | ||
3462 | extern int initstate_r (unsigned int __seed, char *__restrict __statebuf, | |
3463 | size_t __statelen, | |
3464 | struct random_data *__restrict __buf) | |
3465 | __attribute__ ((__nothrow__ )) ; | |
3466 | ||
3467 | extern int setstate_r (char *__restrict __statebuf, | |
3468 | struct random_data *__restrict __buf) | |
3469 | __attribute__ ((__nothrow__ )) ; | |
3470 | ||
3471 | ||
3472 | ||
3473 | ||
3474 | ||
3475 | ||
3476 | extern int rand (void) __attribute__ ((__nothrow__ )); | |
3477 | ||
3478 | extern void srand (unsigned int __seed) __attribute__ ((__nothrow__ )); | |
3479 | ||
3480 | ||
3481 | ||
3482 | ||
3483 | extern int rand_r (unsigned int *__seed) __attribute__ ((__nothrow__ )); | |
3484 | ||
3485 | ||
3486 | ||
3487 | ||
3488 | ||
3489 | ||
3490 | ||
3491 | extern double drand48 (void) __attribute__ ((__nothrow__ )); | |
3492 | extern double erand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__ )) ; | |
3493 | ||
3494 | ||
3495 | extern long int lrand48 (void) __attribute__ ((__nothrow__ )); | |
3496 | extern long int nrand48 (unsigned short int __xsubi[3]) | |
3497 | __attribute__ ((__nothrow__ )) ; | |
3498 | ||
3499 | ||
3500 | extern long int mrand48 (void) __attribute__ ((__nothrow__ )); | |
3501 | extern long int jrand48 (unsigned short int __xsubi[3]) | |
3502 | __attribute__ ((__nothrow__ )) ; | |
3503 | ||
3504 | ||
3505 | extern void srand48 (long int __seedval) __attribute__ ((__nothrow__ )); | |
3506 | extern unsigned short int *seed48 (unsigned short int __seed16v[3]) | |
3507 | __attribute__ ((__nothrow__ )) ; | |
3508 | extern void lcong48 (unsigned short int __param[7]) __attribute__ ((__nothrow__ )) ; | |
3509 | ||
3510 | ||
3511 | ||
3512 | ||
3513 | ||
3514 | struct drand48_data | |
3515 | { | |
3516 | unsigned short int __x[3]; | |
3517 | unsigned short int __old_x[3]; | |
3518 | unsigned short int __c; | |
3519 | unsigned short int __init; | |
3520 | unsigned long long int __a; | |
3521 | }; | |
3522 | ||
3523 | ||
3524 | extern int drand48_r (struct drand48_data *__restrict __buffer, | |
3525 | double *__restrict __result) __attribute__ ((__nothrow__ )) ; | |
3526 | extern int erand48_r (unsigned short int __xsubi[3], | |
3527 | struct drand48_data *__restrict __buffer, | |
3528 | double *__restrict __result) __attribute__ ((__nothrow__ )) ; | |
3529 | ||
3530 | ||
3531 | extern int lrand48_r (struct drand48_data *__restrict __buffer, | |
3532 | long int *__restrict __result) | |
3533 | __attribute__ ((__nothrow__ )) ; | |
3534 | extern int nrand48_r (unsigned short int __xsubi[3], | |
3535 | struct drand48_data *__restrict __buffer, | |
3536 | long int *__restrict __result) | |
3537 | __attribute__ ((__nothrow__ )) ; | |
3538 | ||
3539 | ||
3540 | extern int mrand48_r (struct drand48_data *__restrict __buffer, | |
3541 | long int *__restrict __result) | |
3542 | __attribute__ ((__nothrow__ )) ; | |
3543 | extern int jrand48_r (unsigned short int __xsubi[3], | |
3544 | struct drand48_data *__restrict __buffer, | |
3545 | long int *__restrict __result) | |
3546 | __attribute__ ((__nothrow__ )) ; | |
3547 | ||
3548 | ||
3549 | extern int srand48_r (long int __seedval, struct drand48_data *__buffer) | |
3550 | __attribute__ ((__nothrow__ )) ; | |
3551 | ||
3552 | extern int seed48_r (unsigned short int __seed16v[3], | |
3553 | struct drand48_data *__buffer) __attribute__ ((__nothrow__ )) ; | |
3554 | ||
3555 | extern int lcong48_r (unsigned short int __param[7], | |
3556 | struct drand48_data *__buffer) | |
3557 | __attribute__ ((__nothrow__ )) ; | |
3558 | ||
3559 | ||
3560 | ||
3561 | ||
3562 | ||
3563 | ||
3564 | ||
3565 | ||
3566 | ||
3567 | extern void *malloc (size_t __size) __attribute__ ((__nothrow__ )) __attribute__ ((__malloc__)) ; | |
3568 | ||
3569 | extern void *calloc (size_t __nmemb, size_t __size) | |
3570 | __attribute__ ((__nothrow__ )) __attribute__ ((__malloc__)) ; | |
3571 | ||
3572 | ||
3573 | ||
3574 | ||
3575 | ||
3576 | ||
3577 | ||
3578 | ||
3579 | ||
3580 | ||
3581 | extern void *realloc (void *__ptr, size_t __size) | |
3582 | __attribute__ ((__nothrow__ )) __attribute__ ((__warn_unused_result__)); | |
3583 | ||
3584 | extern void free (void *__ptr) __attribute__ ((__nothrow__ )); | |
3585 | ||
3586 | ||
3587 | ||
3588 | ||
3589 | extern void cfree (void *__ptr) __attribute__ ((__nothrow__ )); | |
3590 | ||
3591 | ||
3592 | ||
3593 | # 1 "../include/alloca.h" 1 | |
3594 | ||
3595 | ||
3596 | # 1 "../stdlib/alloca.h" 1 | |
3597 | # 25 "../stdlib/alloca.h" | |
3598 | # 1 "/usr/lib/gcc/armv5te-iwmmxt-linux-gnueabi/4.7.3/include/stddef.h" 1 3 4 | |
3599 | # 26 "../stdlib/alloca.h" 2 | |
3600 | ||
3601 | ||
3602 | ||
3603 | ||
3604 | ||
3605 | ||
3606 | ||
3607 | extern void *alloca (size_t __size) __attribute__ ((__nothrow__ )); | |
3608 | ||
3609 | ||
3610 | ||
3611 | ||
3612 | ||
3613 | ||
3614 | # 4 "../include/alloca.h" 2 | |
3615 | # 1 "../ports/sysdeps/arm/stackinfo.h" 1 | |
3616 | # 25 "../ports/sysdeps/arm/stackinfo.h" | |
3617 | # 1 "../include/elf.h" 1 | |
3618 | ||
3619 | # 1 "../elf/elf.h" 1 | |
3620 | # 26 "../elf/elf.h" | |
3621 | ||
3622 | ||
3623 | ||
3624 | ||
3625 | ||
3626 | ||
3627 | ||
3628 | typedef uint16_t Elf32_Half; | |
3629 | typedef uint16_t Elf64_Half; | |
3630 | ||
3631 | ||
3632 | typedef uint32_t Elf32_Word; | |
3633 | typedef int32_t Elf32_Sword; | |
3634 | typedef uint32_t Elf64_Word; | |
3635 | typedef int32_t Elf64_Sword; | |
3636 | ||
3637 | ||
3638 | typedef uint64_t Elf32_Xword; | |
3639 | typedef int64_t Elf32_Sxword; | |
3640 | typedef uint64_t Elf64_Xword; | |
3641 | typedef int64_t Elf64_Sxword; | |
3642 | ||
3643 | ||
3644 | typedef uint32_t Elf32_Addr; | |
3645 | typedef uint64_t Elf64_Addr; | |
3646 | ||
3647 | ||
3648 | typedef uint32_t Elf32_Off; | |
3649 | typedef uint64_t Elf64_Off; | |
3650 | ||
3651 | ||
3652 | typedef uint16_t Elf32_Section; | |
3653 | typedef uint16_t Elf64_Section; | |
3654 | ||
3655 | ||
3656 | typedef Elf32_Half Elf32_Versym; | |
3657 | typedef Elf64_Half Elf64_Versym; | |
3658 | ||
3659 | ||
3660 | ||
3661 | ||
3662 | ||
3663 | ||
3664 | typedef struct | |
3665 | { | |
3666 | unsigned char e_ident[(16)]; | |
3667 | Elf32_Half e_type; | |
3668 | Elf32_Half e_machine; | |
3669 | Elf32_Word e_version; | |
3670 | Elf32_Addr e_entry; | |
3671 | Elf32_Off e_phoff; | |
3672 | Elf32_Off e_shoff; | |
3673 | Elf32_Word e_flags; | |
3674 | Elf32_Half e_ehsize; | |
3675 | Elf32_Half e_phentsize; | |
3676 | Elf32_Half e_phnum; | |
3677 | Elf32_Half e_shentsize; | |
3678 | Elf32_Half e_shnum; | |
3679 | Elf32_Half e_shstrndx; | |
3680 | } Elf32_Ehdr; | |
3681 | ||
3682 | typedef struct | |
3683 | { | |
3684 | unsigned char e_ident[(16)]; | |
3685 | Elf64_Half e_type; | |
3686 | Elf64_Half e_machine; | |
3687 | Elf64_Word e_version; | |
3688 | Elf64_Addr e_entry; | |
3689 | Elf64_Off e_phoff; | |
3690 | Elf64_Off e_shoff; | |
3691 | Elf64_Word e_flags; | |
3692 | Elf64_Half e_ehsize; | |
3693 | Elf64_Half e_phentsize; | |
3694 | Elf64_Half e_phnum; | |
3695 | Elf64_Half e_shentsize; | |
3696 | Elf64_Half e_shnum; | |
3697 | Elf64_Half e_shstrndx; | |
3698 | } Elf64_Ehdr; | |
3699 | # 270 "../elf/elf.h" | |
3700 | typedef struct | |
3701 | { | |
3702 | Elf32_Word sh_name; | |
3703 | Elf32_Word sh_type; | |
3704 | Elf32_Word sh_flags; | |
3705 | Elf32_Addr sh_addr; | |
3706 | Elf32_Off sh_offset; | |
3707 | Elf32_Word sh_size; | |
3708 | Elf32_Word sh_link; | |
3709 | Elf32_Word sh_info; | |
3710 | Elf32_Word sh_addralign; | |
3711 | Elf32_Word sh_entsize; | |
3712 | } Elf32_Shdr; | |
3713 | ||
3714 | typedef struct | |
3715 | { | |
3716 | Elf64_Word sh_name; | |
3717 | Elf64_Word sh_type; | |
3718 | Elf64_Xword sh_flags; | |
3719 | Elf64_Addr sh_addr; | |
3720 | Elf64_Off sh_offset; | |
3721 | Elf64_Xword sh_size; | |
3722 | Elf64_Word sh_link; | |
3723 | Elf64_Word sh_info; | |
3724 | Elf64_Xword sh_addralign; | |
3725 | Elf64_Xword sh_entsize; | |
3726 | } Elf64_Shdr; | |
3727 | # 379 "../elf/elf.h" | |
3728 | typedef struct | |
3729 | { | |
3730 | Elf32_Word st_name; | |
3731 | Elf32_Addr st_value; | |
3732 | Elf32_Word st_size; | |
3733 | unsigned char st_info; | |
3734 | unsigned char st_other; | |
3735 | Elf32_Section st_shndx; | |
3736 | } Elf32_Sym; | |
3737 | ||
3738 | typedef struct | |
3739 | { | |
3740 | Elf64_Word st_name; | |
3741 | unsigned char st_info; | |
3742 | unsigned char st_other; | |
3743 | Elf64_Section st_shndx; | |
3744 | Elf64_Addr st_value; | |
3745 | Elf64_Xword st_size; | |
3746 | } Elf64_Sym; | |
3747 | ||
3748 | ||
3749 | ||
3750 | ||
3751 | typedef struct | |
3752 | { | |
3753 | Elf32_Half si_boundto; | |
3754 | Elf32_Half si_flags; | |
3755 | } Elf32_Syminfo; | |
3756 | ||
3757 | typedef struct | |
3758 | { | |
3759 | Elf64_Half si_boundto; | |
3760 | Elf64_Half si_flags; | |
3761 | } Elf64_Syminfo; | |
3762 | # 494 "../elf/elf.h" | |
3763 | typedef struct | |
3764 | { | |
3765 | Elf32_Addr r_offset; | |
3766 | Elf32_Word r_info; | |
3767 | } Elf32_Rel; | |
3768 | ||
3769 | ||
3770 | ||
3771 | ||
3772 | ||
3773 | ||
3774 | typedef struct | |
3775 | { | |
3776 | Elf64_Addr r_offset; | |
3777 | Elf64_Xword r_info; | |
3778 | } Elf64_Rel; | |
3779 | ||
3780 | ||
3781 | ||
3782 | typedef struct | |
3783 | { | |
3784 | Elf32_Addr r_offset; | |
3785 | Elf32_Word r_info; | |
3786 | Elf32_Sword r_addend; | |
3787 | } Elf32_Rela; | |
3788 | ||
3789 | typedef struct | |
3790 | { | |
3791 | Elf64_Addr r_offset; | |
3792 | Elf64_Xword r_info; | |
3793 | Elf64_Sxword r_addend; | |
3794 | } Elf64_Rela; | |
3795 | # 539 "../elf/elf.h" | |
3796 | typedef struct | |
3797 | { | |
3798 | Elf32_Word p_type; | |
3799 | Elf32_Off p_offset; | |
3800 | Elf32_Addr p_vaddr; | |
3801 | Elf32_Addr p_paddr; | |
3802 | Elf32_Word p_filesz; | |
3803 | Elf32_Word p_memsz; | |
3804 | Elf32_Word p_flags; | |
3805 | Elf32_Word p_align; | |
3806 | } Elf32_Phdr; | |
3807 | ||
3808 | typedef struct | |
3809 | { | |
3810 | Elf64_Word p_type; | |
3811 | Elf64_Word p_flags; | |
3812 | Elf64_Off p_offset; | |
3813 | Elf64_Addr p_vaddr; | |
3814 | Elf64_Addr p_paddr; | |
3815 | Elf64_Xword p_filesz; | |
3816 | Elf64_Xword p_memsz; | |
3817 | Elf64_Xword p_align; | |
3818 | } Elf64_Phdr; | |
3819 | # 646 "../elf/elf.h" | |
3820 | typedef struct | |
3821 | { | |
3822 | Elf32_Sword d_tag; | |
3823 | union | |
3824 | { | |
3825 | Elf32_Word d_val; | |
3826 | Elf32_Addr d_ptr; | |
3827 | } d_un; | |
3828 | } Elf32_Dyn; | |
3829 | ||
3830 | typedef struct | |
3831 | { | |
3832 | Elf64_Sxword d_tag; | |
3833 | union | |
3834 | { | |
3835 | Elf64_Xword d_val; | |
3836 | Elf64_Addr d_ptr; | |
3837 | } d_un; | |
3838 | } Elf64_Dyn; | |
3839 | # 813 "../elf/elf.h" | |
3840 | typedef struct | |
3841 | { | |
3842 | Elf32_Half vd_version; | |
3843 | Elf32_Half vd_flags; | |
3844 | Elf32_Half vd_ndx; | |
3845 | Elf32_Half vd_cnt; | |
3846 | Elf32_Word vd_hash; | |
3847 | Elf32_Word vd_aux; | |
3848 | Elf32_Word vd_next; | |
3849 | ||
3850 | } Elf32_Verdef; | |
3851 | ||
3852 | typedef struct | |
3853 | { | |
3854 | Elf64_Half vd_version; | |
3855 | Elf64_Half vd_flags; | |
3856 | Elf64_Half vd_ndx; | |
3857 | Elf64_Half vd_cnt; | |
3858 | Elf64_Word vd_hash; | |
3859 | Elf64_Word vd_aux; | |
3860 | Elf64_Word vd_next; | |
3861 | ||
3862 | } Elf64_Verdef; | |
3863 | # 855 "../elf/elf.h" | |
3864 | typedef struct | |
3865 | { | |
3866 | Elf32_Word vda_name; | |
3867 | Elf32_Word vda_next; | |
3868 | ||
3869 | } Elf32_Verdaux; | |
3870 | ||
3871 | typedef struct | |
3872 | { | |
3873 | Elf64_Word vda_name; | |
3874 | Elf64_Word vda_next; | |
3875 | ||
3876 | } Elf64_Verdaux; | |
3877 | ||
3878 | ||
3879 | ||
3880 | ||
3881 | typedef struct | |
3882 | { | |
3883 | Elf32_Half vn_version; | |
3884 | Elf32_Half vn_cnt; | |
3885 | Elf32_Word vn_file; | |
3886 | ||
3887 | Elf32_Word vn_aux; | |
3888 | Elf32_Word vn_next; | |
3889 | ||
3890 | } Elf32_Verneed; | |
3891 | ||
3892 | typedef struct | |
3893 | { | |
3894 | Elf64_Half vn_version; | |
3895 | Elf64_Half vn_cnt; | |
3896 | Elf64_Word vn_file; | |
3897 | ||
3898 | Elf64_Word vn_aux; | |
3899 | Elf64_Word vn_next; | |
3900 | ||
3901 | } Elf64_Verneed; | |
3902 | # 902 "../elf/elf.h" | |
3903 | typedef struct | |
3904 | { | |
3905 | Elf32_Word vna_hash; | |
3906 | Elf32_Half vna_flags; | |
3907 | Elf32_Half vna_other; | |
3908 | Elf32_Word vna_name; | |
3909 | Elf32_Word vna_next; | |
3910 | ||
3911 | } Elf32_Vernaux; | |
3912 | ||
3913 | typedef struct | |
3914 | { | |
3915 | Elf64_Word vna_hash; | |
3916 | Elf64_Half vna_flags; | |
3917 | Elf64_Half vna_other; | |
3918 | Elf64_Word vna_name; | |
3919 | Elf64_Word vna_next; | |
3920 | ||
3921 | } Elf64_Vernaux; | |
3922 | # 936 "../elf/elf.h" | |
3923 | typedef struct | |
3924 | { | |
3925 | uint32_t a_type; | |
3926 | union | |
3927 | { | |
3928 | uint32_t a_val; | |
3929 | ||
3930 | ||
3931 | ||
3932 | } a_un; | |
3933 | } Elf32_auxv_t; | |
3934 | ||
3935 | typedef struct | |
3936 | { | |
3937 | uint64_t a_type; | |
3938 | union | |
3939 | { | |
3940 | uint64_t a_val; | |
3941 | ||
3942 | ||
3943 | ||
3944 | } a_un; | |
3945 | } Elf64_auxv_t; | |
3946 | # 1020 "../elf/elf.h" | |
3947 | typedef struct | |
3948 | { | |
3949 | Elf32_Word n_namesz; | |
3950 | Elf32_Word n_descsz; | |
3951 | Elf32_Word n_type; | |
3952 | } Elf32_Nhdr; | |
3953 | ||
3954 | typedef struct | |
3955 | { | |
3956 | Elf64_Word n_namesz; | |
3957 | Elf64_Word n_descsz; | |
3958 | Elf64_Word n_type; | |
3959 | } Elf64_Nhdr; | |
3960 | # 1084 "../elf/elf.h" | |
3961 | typedef struct | |
3962 | { | |
3963 | Elf32_Xword m_value; | |
3964 | Elf32_Word m_info; | |
3965 | Elf32_Word m_poffset; | |
3966 | Elf32_Half m_repeat; | |
3967 | Elf32_Half m_stride; | |
3968 | } Elf32_Move; | |
3969 | ||
3970 | typedef struct | |
3971 | { | |
3972 | Elf64_Xword m_value; | |
3973 | Elf64_Xword m_info; | |
3974 | Elf64_Xword m_poffset; | |
3975 | Elf64_Half m_repeat; | |
3976 | Elf64_Half m_stride; | |
3977 | } Elf64_Move; | |
3978 | # 1466 "../elf/elf.h" | |
3979 | typedef union | |
3980 | { | |
3981 | struct | |
3982 | { | |
3983 | Elf32_Word gt_current_g_value; | |
3984 | Elf32_Word gt_unused; | |
3985 | } gt_header; | |
3986 | struct | |
3987 | { | |
3988 | Elf32_Word gt_g_value; | |
3989 | Elf32_Word gt_bytes; | |
3990 | } gt_entry; | |
3991 | } Elf32_gptab; | |
3992 | ||
3993 | ||
3994 | ||
3995 | typedef struct | |
3996 | { | |
3997 | Elf32_Word ri_gprmask; | |
3998 | Elf32_Word ri_cprmask[4]; | |
3999 | Elf32_Sword ri_gp_value; | |
4000 | } Elf32_RegInfo; | |
4001 | ||
4002 | ||
4003 | ||
4004 | typedef struct | |
4005 | { | |
4006 | unsigned char kind; | |
4007 | ||
4008 | unsigned char size; | |
4009 | Elf32_Section section; | |
4010 | ||
4011 | Elf32_Word info; | |
4012 | } Elf_Options; | |
4013 | # 1542 "../elf/elf.h" | |
4014 | typedef struct | |
4015 | { | |
4016 | Elf32_Word hwp_flags1; | |
4017 | Elf32_Word hwp_flags2; | |
4018 | } Elf_Options_Hw; | |
4019 | # 1703 "../elf/elf.h" | |
4020 | typedef struct | |
4021 | { | |
4022 | Elf32_Word l_name; | |
4023 | Elf32_Word l_time_stamp; | |
4024 | Elf32_Word l_checksum; | |
4025 | Elf32_Word l_version; | |
4026 | Elf32_Word l_flags; | |
4027 | } Elf32_Lib; | |
4028 | ||
4029 | typedef struct | |
4030 | { | |
4031 | Elf64_Word l_name; | |
4032 | Elf64_Word l_time_stamp; | |
4033 | Elf64_Word l_checksum; | |
4034 | Elf64_Word l_version; | |
4035 | Elf64_Word l_flags; | |
4036 | } Elf64_Lib; | |
4037 | # 1734 "../elf/elf.h" | |
4038 | typedef Elf32_Addr Elf32_Conflict; | |
4039 | # 2807 "../elf/elf.h" | |
4040 | ||
4041 | # 3 "../include/elf.h" 2 | |
4042 | ||
4043 | ||
4044 | # 1 "../sysdeps/generic/dl-dtprocnum.h" 1 | |
4045 | # 6 "../include/elf.h" 2 | |
4046 | # 26 "../ports/sysdeps/arm/stackinfo.h" 2 | |
4047 | # 5 "../include/alloca.h" 2 | |
4048 | ||
4049 | ||
4050 | ||
4051 | ||
4052 | extern void *__alloca (size_t __size); | |
4053 | ||
4054 | ||
4055 | ||
4056 | ||
4057 | ||
4058 | extern int __libc_use_alloca (size_t size) __attribute__ ((const)); | |
4059 | extern int __libc_alloca_cutoff (size_t size) __attribute__ ((const)); | |
4060 | ||
4061 | ||
4062 | ||
4063 | ||
4064 | # 1 "../nptl/sysdeps/pthread/allocalim.h" 1 | |
4065 | # 20 "../nptl/sysdeps/pthread/allocalim.h" | |
4066 | # 1 "../include/alloca.h" 1 | |
4067 | # 21 "../nptl/sysdeps/pthread/allocalim.h" 2 | |
4068 | # 1 "../include/limits.h" 1 | |
4069 | # 145 "../include/limits.h" | |
4070 | # 1 "../include/bits/posix1_lim.h" 1 | |
4071 | # 146 "../include/limits.h" 2 | |
4072 | ||
4073 | ||
4074 | ||
4075 | # 1 "../include/bits/posix2_lim.h" 1 | |
4076 | # 150 "../include/limits.h" 2 | |
4077 | # 22 "../nptl/sysdeps/pthread/allocalim.h" 2 | |
4078 | ||
4079 | ||
4080 | extern int | |
4081 | __inline __attribute__ ((__always_inline__)) | |
4082 | __libc_use_alloca (size_t size) | |
4083 | { | |
4084 | return (__builtin_expect (size <= 16384 / 4, 1) | |
4085 | || __builtin_expect (__libc_alloca_cutoff (size), 1)); | |
4086 | } | |
4087 | # 22 "../include/alloca.h" 2 | |
4088 | # 498 "../stdlib/stdlib.h" 2 | |
4089 | ||
4090 | ||
4091 | ||
4092 | ||
4093 | ||
4094 | extern void *valloc (size_t __size) __attribute__ ((__nothrow__ )) __attribute__ ((__malloc__)) ; | |
4095 | ||
4096 | ||
4097 | ||
4098 | ||
4099 | extern int posix_memalign (void **__memptr, size_t __alignment, size_t __size) | |
4100 | __attribute__ ((__nothrow__ )) ; | |
4101 | ||
4102 | ||
4103 | ||
4104 | ||
4105 | extern void abort (void) __attribute__ ((__nothrow__ )) __attribute__ ((__noreturn__)); | |
4106 | ||
4107 | ||
4108 | ||
4109 | extern int atexit (void (*__func) (void)) __attribute__ ((__nothrow__ )) ; | |
4110 | # 528 "../stdlib/stdlib.h" | |
4111 | extern int at_quick_exit (void (*__func) (void)) __attribute__ ((__nothrow__ )) ; | |
4112 | ||
4113 | ||
4114 | ||
4115 | ||
4116 | ||
4117 | ||
4118 | ||
4119 | extern int on_exit (void (*__func) (int __status, void *__arg), void *__arg) | |
4120 | __attribute__ ((__nothrow__ )) ; | |
4121 | ||
4122 | ||
4123 | ||
4124 | ||
4125 | ||
4126 | ||
4127 | extern void exit (int __status) __attribute__ ((__nothrow__ )) __attribute__ ((__noreturn__)); | |
4128 | ||
4129 | ||
4130 | ||
4131 | ||
4132 | ||
4133 | ||
4134 | ||
4135 | extern void quick_exit (int __status) __attribute__ ((__nothrow__ )) __attribute__ ((__noreturn__)); | |
4136 | ||
4137 | ||
4138 | ||
4139 | ||
4140 | ||
4141 | ||
4142 | ||
4143 | extern void _Exit (int __status) __attribute__ ((__nothrow__ )) __attribute__ ((__noreturn__)); | |
4144 | ||
4145 | ||
4146 | ||
4147 | ||
4148 | ||
4149 | ||
4150 | extern char *getenv (__const char *__name) __attribute__ ((__nothrow__ )) ; | |
4151 | ||
4152 | ||
4153 | ||
4154 | ||
4155 | extern char *__secure_getenv (__const char *__name) | |
4156 | __attribute__ ((__nothrow__ )) ; | |
4157 | ||
4158 | ||
4159 | ||
4160 | ||
4161 | ||
4162 | extern int putenv (char *__string) __attribute__ ((__nothrow__ )) ; | |
4163 | ||
4164 | ||
4165 | ||
4166 | ||
4167 | ||
4168 | extern int setenv (__const char *__name, __const char *__value, int __replace) | |
4169 | __attribute__ ((__nothrow__ )) ; | |
4170 | ||
4171 | ||
4172 | extern int unsetenv (__const char *__name) __attribute__ ((__nothrow__ )) ; | |
4173 | ||
4174 | ||
4175 | ||
4176 | ||
4177 | ||
4178 | ||
4179 | extern int clearenv (void) __attribute__ ((__nothrow__ )); | |
4180 | # 606 "../stdlib/stdlib.h" | |
4181 | extern char *mktemp (char *__template) __attribute__ ((__nothrow__ )) ; | |
4182 | # 620 "../stdlib/stdlib.h" | |
4183 | extern int mkstemp (char *__template) ; | |
4184 | # 630 "../stdlib/stdlib.h" | |
4185 | extern int mkstemp64 (char *__template) ; | |
4186 | # 642 "../stdlib/stdlib.h" | |
4187 | extern int mkstemps (char *__template, int __suffixlen) ; | |
4188 | # 652 "../stdlib/stdlib.h" | |
4189 | extern int mkstemps64 (char *__template, int __suffixlen) | |
4190 | ; | |
4191 | # 663 "../stdlib/stdlib.h" | |
4192 | extern char *mkdtemp (char *__template) __attribute__ ((__nothrow__ )) ; | |
4193 | # 674 "../stdlib/stdlib.h" | |
4194 | extern int mkostemp (char *__template, int __flags) ; | |
4195 | # 684 "../stdlib/stdlib.h" | |
4196 | extern int mkostemp64 (char *__template, int __flags) ; | |
4197 | # 694 "../stdlib/stdlib.h" | |
4198 | extern int mkostemps (char *__template, int __suffixlen, int __flags) | |
4199 | ; | |
4200 | # 706 "../stdlib/stdlib.h" | |
4201 | extern int mkostemps64 (char *__template, int __suffixlen, int __flags) | |
4202 | ; | |
4203 | ||
4204 | ||
4205 | ||
4206 | ||
4207 | ||
4208 | ||
4209 | ||
4210 | ||
4211 | ||
4212 | extern int system (__const char *__command) ; | |
4213 | ||
4214 | ||
4215 | ||
4216 | ||
4217 | ||
4218 | ||
4219 | extern char *canonicalize_file_name (__const char *__name) | |
4220 | __attribute__ ((__nothrow__ )) ; | |
4221 | # 734 "../stdlib/stdlib.h" | |
4222 | extern char *realpath (__const char *__restrict __name, | |
4223 | char *__restrict __resolved) __attribute__ ((__nothrow__ )) ; | |
4224 | ||
4225 | ||
4226 | ||
4227 | ||
4228 | ||
4229 | ||
4230 | typedef int (*__compar_fn_t) (__const void *, __const void *); | |
4231 | ||
4232 | ||
4233 | typedef __compar_fn_t comparison_fn_t; | |
4234 | ||
4235 | ||
4236 | ||
4237 | typedef int (*__compar_d_fn_t) (__const void *, __const void *, void *); | |
4238 | ||
4239 | ||
4240 | ||
4241 | ||
4242 | ||
4243 | extern void *bsearch (__const void *__key, __const void *__base, | |
4244 | size_t __nmemb, size_t __size, __compar_fn_t __compar) | |
4245 | ; | |
4246 | ||
4247 | ||
4248 | ||
4249 | extern void qsort (void *__base, size_t __nmemb, size_t __size, | |
4250 | __compar_fn_t __compar) ; | |
4251 | ||
4252 | extern void qsort_r (void *__base, size_t __nmemb, size_t __size, | |
4253 | __compar_d_fn_t __compar, void *__arg) | |
4254 | ; | |
4255 | ||
4256 | ||
4257 | ||
4258 | ||
4259 | extern int abs (int __x) __attribute__ ((__nothrow__ )) __attribute__ ((__const__)) ; | |
4260 | extern long int labs (long int __x) __attribute__ ((__nothrow__ )) __attribute__ ((__const__)) ; | |
4261 | ||
4262 | ||
4263 | ||
4264 | __extension__ extern long long int llabs (long long int __x) | |
4265 | __attribute__ ((__nothrow__ )) __attribute__ ((__const__)) ; | |
4266 | ||
4267 | ||
4268 | ||
4269 | ||
4270 | ||
4271 | ||
4272 | ||
4273 | extern div_t div (int __numer, int __denom) | |
4274 | __attribute__ ((__nothrow__ )) __attribute__ ((__const__)) ; | |
4275 | extern ldiv_t ldiv (long int __numer, long int __denom) | |
4276 | __attribute__ ((__nothrow__ )) __attribute__ ((__const__)) ; | |
4277 | ||
4278 | ||
4279 | ||
4280 | ||
4281 | __extension__ extern lldiv_t lldiv (long long int __numer, | |
4282 | long long int __denom) | |
4283 | __attribute__ ((__nothrow__ )) __attribute__ ((__const__)) ; | |
4284 | ||
4285 | # 808 "../stdlib/stdlib.h" | |
4286 | extern char *ecvt (double __value, int __ndigit, int *__restrict __decpt, | |
4287 | int *__restrict __sign) __attribute__ ((__nothrow__ )) ; | |
4288 | ||
4289 | ||
4290 | ||
4291 | ||
4292 | extern char *fcvt (double __value, int __ndigit, int *__restrict __decpt, | |
4293 | int *__restrict __sign) __attribute__ ((__nothrow__ )) ; | |
4294 | ||
4295 | ||
4296 | ||
4297 | ||
4298 | extern char *gcvt (double __value, int __ndigit, char *__buf) | |
4299 | __attribute__ ((__nothrow__ )) ; | |
4300 | ||
4301 | ||
4302 | ||
4303 | ||
4304 | extern char *qecvt (long double __value, int __ndigit, | |
4305 | int *__restrict __decpt, int *__restrict __sign) | |
4306 | __attribute__ ((__nothrow__ )) ; | |
4307 | extern char *qfcvt (long double __value, int __ndigit, | |
4308 | int *__restrict __decpt, int *__restrict __sign) | |
4309 | __attribute__ ((__nothrow__ )) ; | |
4310 | extern char *qgcvt (long double __value, int __ndigit, char *__buf) | |
4311 | __attribute__ ((__nothrow__ )) ; | |
4312 | ||
4313 | ||
4314 | ||
4315 | ||
4316 | extern int ecvt_r (double __value, int __ndigit, int *__restrict __decpt, | |
4317 | int *__restrict __sign, char *__restrict __buf, | |
4318 | size_t __len) __attribute__ ((__nothrow__ )) ; | |
4319 | extern int fcvt_r (double __value, int __ndigit, int *__restrict __decpt, | |
4320 | int *__restrict __sign, char *__restrict __buf, | |
4321 | size_t __len) __attribute__ ((__nothrow__ )) ; | |
4322 | ||
4323 | extern int qecvt_r (long double __value, int __ndigit, | |
4324 | int *__restrict __decpt, int *__restrict __sign, | |
4325 | char *__restrict __buf, size_t __len) | |
4326 | __attribute__ ((__nothrow__ )) ; | |
4327 | extern int qfcvt_r (long double __value, int __ndigit, | |
4328 | int *__restrict __decpt, int *__restrict __sign, | |
4329 | char *__restrict __buf, size_t __len) | |
4330 | __attribute__ ((__nothrow__ )) ; | |
4331 | ||
4332 | ||
4333 | ||
4334 | ||
4335 | ||
4336 | ||
4337 | ||
4338 | extern int mblen (__const char *__s, size_t __n) __attribute__ ((__nothrow__ )) ; | |
4339 | ||
4340 | ||
4341 | extern int mbtowc (wchar_t *__restrict __pwc, | |
4342 | __const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__ )) ; | |
4343 | ||
4344 | ||
4345 | extern int wctomb (char *__s, wchar_t __wchar) __attribute__ ((__nothrow__ )) ; | |
4346 | ||
4347 | ||
4348 | ||
4349 | extern size_t mbstowcs (wchar_t *__restrict __pwcs, | |
4350 | __const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__ )); | |
4351 | ||
4352 | extern size_t wcstombs (char *__restrict __s, | |
4353 | __const wchar_t *__restrict __pwcs, size_t __n) | |
4354 | __attribute__ ((__nothrow__ )); | |
4355 | ||
4356 | ||
4357 | ||
4358 | ||
4359 | ||
4360 | ||
4361 | ||
4362 | ||
4363 | extern int rpmatch (__const char *__response) __attribute__ ((__nothrow__ )) ; | |
4364 | # 896 "../stdlib/stdlib.h" | |
4365 | extern int getsubopt (char **__restrict __optionp, | |
4366 | char *__const *__restrict __tokens, | |
4367 | char **__restrict __valuep) | |
4368 | __attribute__ ((__nothrow__ )) ; | |
4369 | ||
4370 | ||
4371 | ||
4372 | ||
4373 | ||
4374 | extern void setkey (__const char *__key) __attribute__ ((__nothrow__ )) ; | |
4375 | ||
4376 | ||
4377 | ||
4378 | ||
4379 | ||
4380 | ||
4381 | ||
4382 | extern int posix_openpt (int __oflag) ; | |
4383 | ||
4384 | ||
4385 | ||
4386 | ||
4387 | ||
4388 | ||
4389 | ||
4390 | extern int grantpt (int __fd) __attribute__ ((__nothrow__ )); | |
4391 | ||
4392 | ||
4393 | ||
4394 | extern int unlockpt (int __fd) __attribute__ ((__nothrow__ )); | |
4395 | ||
4396 | ||
4397 | ||
4398 | ||
4399 | extern char *ptsname (int __fd) __attribute__ ((__nothrow__ )) ; | |
4400 | ||
4401 | ||
4402 | ||
4403 | ||
4404 | ||
4405 | ||
4406 | extern int ptsname_r (int __fd, char *__buf, size_t __buflen) | |
4407 | __attribute__ ((__nothrow__ )) ; | |
4408 | ||
4409 | ||
4410 | extern int getpt (void); | |
4411 | ||
4412 | ||
4413 | ||
4414 | ||
4415 | ||
4416 | ||
4417 | extern int getloadavg (double __loadavg[], int __nelem) | |
4418 | __attribute__ ((__nothrow__ )) ; | |
4419 | # 964 "../stdlib/stdlib.h" | |
4420 | ||
4421 | # 9 "../include/stdlib.h" 2 | |
4422 | ||
4423 | ||
4424 | ||
4425 | ||
4426 | # 1 "../include/sys/stat.h" 1 | |
4427 | ||
4428 | # 1 "../io/sys/stat.h" 1 | |
4429 | # 105 "../io/sys/stat.h" | |
4430 | ||
4431 | ||
4432 | # 1 "../sysdeps/unix/sysv/linux/bits/stat.h" 1 | |
4433 | # 39 "../sysdeps/unix/sysv/linux/bits/stat.h" | |
4434 | struct stat | |
4435 | { | |
4436 | __dev_t st_dev; | |
4437 | unsigned short int __pad1; | |
4438 | ||
4439 | __ino_t st_ino; | |
4440 | ||
4441 | ||
4442 | ||
4443 | __mode_t st_mode; | |
4444 | __nlink_t st_nlink; | |
4445 | __uid_t st_uid; | |
4446 | __gid_t st_gid; | |
4447 | __dev_t st_rdev; | |
4448 | unsigned short int __pad2; | |
4449 | ||
4450 | __off_t st_size; | |
4451 | ||
4452 | ||
4453 | ||
4454 | __blksize_t st_blksize; | |
4455 | ||
4456 | ||
4457 | __blkcnt_t st_blocks; | |
4458 | # 73 "../sysdeps/unix/sysv/linux/bits/stat.h" | |
4459 | struct timespec st_atim; | |
4460 | struct timespec st_mtim; | |
4461 | struct timespec st_ctim; | |
4462 | # 88 "../sysdeps/unix/sysv/linux/bits/stat.h" | |
4463 | unsigned long int __unused4; | |
4464 | unsigned long int __unused5; | |
4465 | ||
4466 | ||
4467 | ||
4468 | }; | |
4469 | ||
4470 | ||
4471 | struct stat64 | |
4472 | { | |
4473 | __dev_t st_dev; | |
4474 | unsigned int __pad1; | |
4475 | ||
4476 | __ino_t __st_ino; | |
4477 | __mode_t st_mode; | |
4478 | __nlink_t st_nlink; | |
4479 | __uid_t st_uid; | |
4480 | __gid_t st_gid; | |
4481 | __dev_t st_rdev; | |
4482 | unsigned int __pad2; | |
4483 | __off64_t st_size; | |
4484 | __blksize_t st_blksize; | |
4485 | ||
4486 | __blkcnt64_t st_blocks; | |
4487 | ||
4488 | ||
4489 | ||
4490 | ||
4491 | ||
4492 | ||
4493 | ||
4494 | struct timespec st_atim; | |
4495 | struct timespec st_mtim; | |
4496 | struct timespec st_ctim; | |
4497 | # 130 "../sysdeps/unix/sysv/linux/bits/stat.h" | |
4498 | __ino64_t st_ino; | |
4499 | }; | |
4500 | # 108 "../io/sys/stat.h" 2 | |
4501 | # 211 "../io/sys/stat.h" | |
4502 | extern int stat (__const char *__restrict __file, | |
4503 | struct stat *__restrict __buf) __attribute__ ((__nothrow__ )) ; | |
4504 | ||
4505 | ||
4506 | ||
4507 | extern int fstat (int __fd, struct stat *__buf) __attribute__ ((__nothrow__ )) ; | |
4508 | # 230 "../io/sys/stat.h" | |
4509 | extern int stat64 (__const char *__restrict __file, | |
4510 | struct stat64 *__restrict __buf) __attribute__ ((__nothrow__ )) ; | |
4511 | extern int fstat64 (int __fd, struct stat64 *__buf) __attribute__ ((__nothrow__ )) ; | |
4512 | ||
4513 | ||
4514 | ||
4515 | ||
4516 | ||
4517 | ||
4518 | ||
4519 | extern int fstatat (int __fd, __const char *__restrict __file, | |
4520 | struct stat *__restrict __buf, int __flag) | |
4521 | __attribute__ ((__nothrow__ )) ; | |
4522 | # 255 "../io/sys/stat.h" | |
4523 | extern int fstatat64 (int __fd, __const char *__restrict __file, | |
4524 | struct stat64 *__restrict __buf, int __flag) | |
4525 | __attribute__ ((__nothrow__ )) ; | |
4526 | ||
4527 | ||
4528 | ||
4529 | ||
4530 | ||
4531 | ||
4532 | ||
4533 | extern int lstat (__const char *__restrict __file, | |
4534 | struct stat *__restrict __buf) __attribute__ ((__nothrow__ )) ; | |
4535 | # 278 "../io/sys/stat.h" | |
4536 | extern int lstat64 (__const char *__restrict __file, | |
4537 | struct stat64 *__restrict __buf) | |
4538 | __attribute__ ((__nothrow__ )) ; | |
4539 | ||
4540 | ||
4541 | ||
4542 | ||
4543 | ||
4544 | extern int chmod (__const char *__file, __mode_t __mode) | |
4545 | __attribute__ ((__nothrow__ )) ; | |
4546 | ||
4547 | ||
4548 | ||
4549 | ||
4550 | ||
4551 | extern int lchmod (__const char *__file, __mode_t __mode) | |
4552 | __attribute__ ((__nothrow__ )) ; | |
4553 | ||
4554 | ||
4555 | ||
4556 | ||
4557 | extern int fchmod (int __fd, __mode_t __mode) __attribute__ ((__nothrow__ )); | |
4558 | ||
4559 | ||
4560 | ||
4561 | ||
4562 | ||
4563 | extern int fchmodat (int __fd, __const char *__file, __mode_t __mode, | |
4564 | int __flag) | |
4565 | __attribute__ ((__nothrow__ )) ; | |
4566 | ||
4567 | ||
4568 | ||
4569 | ||
4570 | ||
4571 | ||
4572 | extern __mode_t umask (__mode_t __mask) __attribute__ ((__nothrow__ )); | |
4573 | ||
4574 | ||
4575 | ||
4576 | ||
4577 | extern __mode_t getumask (void) __attribute__ ((__nothrow__ )); | |
4578 | ||
4579 | ||
4580 | ||
4581 | extern int mkdir (__const char *__path, __mode_t __mode) | |
4582 | __attribute__ ((__nothrow__ )) ; | |
4583 | ||
4584 | ||
4585 | ||
4586 | ||
4587 | ||
4588 | extern int mkdirat (int __fd, __const char *__path, __mode_t __mode) | |
4589 | __attribute__ ((__nothrow__ )) ; | |
4590 | ||
4591 | ||
4592 | ||
4593 | ||
4594 | ||
4595 | ||
4596 | extern int mknod (__const char *__path, __mode_t __mode, __dev_t __dev) | |
4597 | __attribute__ ((__nothrow__ )) ; | |
4598 | ||
4599 | ||
4600 | ||
4601 | ||
4602 | ||
4603 | extern int mknodat (int __fd, __const char *__path, __mode_t __mode, | |
4604 | __dev_t __dev) __attribute__ ((__nothrow__ )) ; | |
4605 | ||
4606 | ||
4607 | ||
4608 | ||
4609 | ||
4610 | extern int mkfifo (__const char *__path, __mode_t __mode) | |
4611 | __attribute__ ((__nothrow__ )) ; | |
4612 | ||
4613 | ||
4614 | ||
4615 | ||
4616 | ||
4617 | extern int mkfifoat (int __fd, __const char *__path, __mode_t __mode) | |
4618 | __attribute__ ((__nothrow__ )) ; | |
4619 | ||
4620 | ||
4621 | ||
4622 | ||
4623 | ||
4624 | extern int utimensat (int __fd, __const char *__path, | |
4625 | __const struct timespec __times[2], | |
4626 | int __flags) | |
4627 | __attribute__ ((__nothrow__ )) ; | |
4628 | ||
4629 | ||
4630 | ||
4631 | ||
4632 | extern int futimens (int __fd, __const struct timespec __times[2]) __attribute__ ((__nothrow__ )); | |
4633 | # 401 "../io/sys/stat.h" | |
4634 | extern int __fxstat (int __ver, int __fildes, struct stat *__stat_buf) | |
4635 | __attribute__ ((__nothrow__ )) ; | |
4636 | extern int __xstat (int __ver, __const char *__filename, | |
4637 | struct stat *__stat_buf) __attribute__ ((__nothrow__ )) ; | |
4638 | extern int __lxstat (int __ver, __const char *__filename, | |
4639 | struct stat *__stat_buf) __attribute__ ((__nothrow__ )) ; | |
4640 | extern int __fxstatat (int __ver, int __fildes, __const char *__filename, | |
4641 | struct stat *__stat_buf, int __flag) | |
4642 | __attribute__ ((__nothrow__ )) ; | |
4643 | # 434 "../io/sys/stat.h" | |
4644 | extern int __fxstat64 (int __ver, int __fildes, struct stat64 *__stat_buf) | |
4645 | __attribute__ ((__nothrow__ )) ; | |
4646 | extern int __xstat64 (int __ver, __const char *__filename, | |
4647 | struct stat64 *__stat_buf) __attribute__ ((__nothrow__ )) ; | |
4648 | extern int __lxstat64 (int __ver, __const char *__filename, | |
4649 | struct stat64 *__stat_buf) __attribute__ ((__nothrow__ )) ; | |
4650 | extern int __fxstatat64 (int __ver, int __fildes, __const char *__filename, | |
4651 | struct stat64 *__stat_buf, int __flag) | |
4652 | __attribute__ ((__nothrow__ )) ; | |
4653 | ||
4654 | extern int __xmknod (int __ver, __const char *__path, __mode_t __mode, | |
4655 | __dev_t *__dev) __attribute__ ((__nothrow__ )) ; | |
4656 | ||
4657 | extern int __xmknodat (int __ver, int __fd, __const char *__path, | |
4658 | __mode_t __mode, __dev_t *__dev) | |
4659 | __attribute__ ((__nothrow__ )) ; | |
4660 | ||
4661 | ||
4662 | ||
4663 | ||
4664 | extern __inline int | |
4665 | __attribute__ ((__nothrow__ )) stat (__const char *__path, struct stat *__statbuf) | |
4666 | { | |
4667 | return __xstat (3, __path, __statbuf); | |
4668 | } | |
4669 | ||
4670 | ||
4671 | extern __inline int | |
4672 | __attribute__ ((__nothrow__ )) lstat (__const char *__path, struct stat *__statbuf) | |
4673 | { | |
4674 | return __lxstat (3, __path, __statbuf); | |
4675 | } | |
4676 | ||
4677 | ||
4678 | extern __inline int | |
4679 | __attribute__ ((__nothrow__ )) fstat (int __fd, struct stat *__statbuf) | |
4680 | { | |
4681 | return __fxstat (3, __fd, __statbuf); | |
4682 | } | |
4683 | ||
4684 | ||
4685 | extern __inline int | |
4686 | __attribute__ ((__nothrow__ )) fstatat (int __fd, __const char *__filename, struct stat *__statbuf, int __flag) | |
4687 | ||
4688 | { | |
4689 | return __fxstatat (3, __fd, __filename, __statbuf, __flag); | |
4690 | } | |
4691 | ||
4692 | ||
4693 | ||
4694 | extern __inline int | |
4695 | __attribute__ ((__nothrow__ )) mknod (__const char *__path, __mode_t __mode, __dev_t __dev) | |
4696 | { | |
4697 | return __xmknod (1, __path, __mode, &__dev); | |
4698 | } | |
4699 | ||
4700 | ||
4701 | ||
4702 | extern __inline int | |
4703 | __attribute__ ((__nothrow__ )) mknodat (int __fd, __const char *__path, __mode_t __mode, __dev_t __dev) | |
4704 | ||
4705 | { | |
4706 | return __xmknodat (1, __fd, __path, __mode, &__dev); | |
4707 | } | |
4708 | ||
4709 | ||
4710 | ||
4711 | ||
4712 | ||
4713 | extern __inline int | |
4714 | __attribute__ ((__nothrow__ )) stat64 (__const char *__path, struct stat64 *__statbuf) | |
4715 | { | |
4716 | return __xstat64 (3, __path, __statbuf); | |
4717 | } | |
4718 | ||
4719 | ||
4720 | extern __inline int | |
4721 | __attribute__ ((__nothrow__ )) lstat64 (__const char *__path, struct stat64 *__statbuf) | |
4722 | { | |
4723 | return __lxstat64 (3, __path, __statbuf); | |
4724 | } | |
4725 | ||
4726 | ||
4727 | extern __inline int | |
4728 | __attribute__ ((__nothrow__ )) fstat64 (int __fd, struct stat64 *__statbuf) | |
4729 | { | |
4730 | return __fxstat64 (3, __fd, __statbuf); | |
4731 | } | |
4732 | ||
4733 | ||
4734 | extern __inline int | |
4735 | __attribute__ ((__nothrow__ )) fstatat64 (int __fd, __const char *__filename, struct stat64 *__statbuf, int __flag) | |
4736 | ||
4737 | { | |
4738 | return __fxstatat64 (3, __fd, __filename, __statbuf, __flag); | |
4739 | } | |
4740 | ||
4741 | ||
4742 | ||
4743 | ||
4744 | ||
4745 | ||
4746 | ||
4747 | # 3 "../include/sys/stat.h" 2 | |
4748 | ||
4749 | ||
4750 | extern int __stat (__const char *__file, struct stat *__buf); | |
4751 | extern int __fstat (int __fd, struct stat *__buf); | |
4752 | extern int __lstat (__const char *__file, struct stat *__buf); | |
4753 | extern int __chmod (__const char *__file, __mode_t __mode); | |
4754 | extern int __fchmod (int __fd, __mode_t __mode); | |
4755 | extern __mode_t __umask (__mode_t __mask); | |
4756 | extern int __mkdir (__const char *__path, __mode_t __mode); | |
4757 | extern int __mknod (__const char *__path, | |
4758 | __mode_t __mode, __dev_t __dev); | |
4759 | ||
4760 | ||
4761 | ||
4762 | ||
4763 | ||
4764 | ||
4765 | ||
4766 | ||
4767 | extern __inline__ int __stat (__const char *__path, struct stat *__statbuf) | |
4768 | { | |
4769 | return __xstat (3, __path, __statbuf); | |
4770 | } | |
4771 | ||
4772 | extern __inline__ int __mknod (__const char *__path, __mode_t __mode, | |
4773 | __dev_t __dev) | |
4774 | { | |
4775 | return __xmknod (1, __path, __mode, &__dev); | |
4776 | } | |
4777 | ||
4778 | ||
4779 | ||
4780 | ||
4781 | # 14 "../include/stdlib.h" 2 | |
4782 | ||
4783 | ||
4784 | ||
4785 | ||
4786 | extern __typeof (strtol_l) __strtol_l; | |
4787 | extern __typeof (strtoul_l) __strtoul_l; | |
4788 | extern __typeof (strtoll_l) __strtoll_l; | |
4789 | extern __typeof (strtoull_l) __strtoull_l; | |
4790 | extern __typeof (strtod_l) __strtod_l; | |
4791 | extern __typeof (strtof_l) __strtof_l; | |
4792 | extern __typeof (strtold_l) __strtold_l; | |
4793 | ||
4794 | ||
4795 | ||
4796 | ||
4797 | ||
4798 | ||
4799 | ||
4800 | ||
4801 | ||
4802 | ||
4803 | ||
4804 | ||
4805 | ||
4806 | ||
4807 | ||
4808 | ||
4809 | ||
4810 | ||
4811 | extern long int __random (void); | |
4812 | extern void __srandom (unsigned int __seed); | |
4813 | extern char *__initstate (unsigned int __seed, char *__statebuf, | |
4814 | size_t __statelen); | |
4815 | extern char *__setstate (char *__statebuf); | |
4816 | extern int __random_r (struct random_data *__buf, int32_t *__result); | |
4817 | extern int __srandom_r (unsigned int __seed, struct random_data *__buf); | |
4818 | extern int __initstate_r (unsigned int __seed, char *__statebuf, | |
4819 | size_t __statelen, struct random_data *__buf); | |
4820 | extern int __setstate_r (char *__statebuf, struct random_data *__buf); | |
4821 | extern int __rand_r (unsigned int *__seed); | |
4822 | extern int __erand48_r (unsigned short int __xsubi[3], | |
4823 | struct drand48_data *__buffer, double *__result); | |
4824 | extern int __nrand48_r (unsigned short int __xsubi[3], | |
4825 | struct drand48_data *__buffer, | |
4826 | long int *__result); | |
4827 | extern int __jrand48_r (unsigned short int __xsubi[3], | |
4828 | struct drand48_data *__buffer, | |
4829 | long int *__result); | |
4830 | extern int __srand48_r (long int __seedval, | |
4831 | struct drand48_data *__buffer); | |
4832 | extern int __seed48_r (unsigned short int __seed16v[3], | |
4833 | struct drand48_data *__buffer); | |
4834 | extern int __lcong48_r (unsigned short int __param[7], | |
4835 | struct drand48_data *__buffer); | |
4836 | ||
4837 | ||
4838 | extern int __drand48_iterate (unsigned short int __xsubi[3], | |
4839 | struct drand48_data *__buffer); | |
4840 | ||
4841 | ||
4842 | extern struct drand48_data __libc_drand48_data ; | |
4843 | ||
4844 | extern int __setenv (__const char *__name, __const char *__value, | |
4845 | int __replace); | |
4846 | extern int __unsetenv (__const char *__name); | |
4847 | extern int __clearenv (void); | |
4848 | extern char *__canonicalize_file_name (__const char *__name); | |
4849 | extern char *__realpath (__const char *__name, char *__resolved); | |
4850 | extern int __ptsname_r (int __fd, char *__buf, size_t __buflen); | |
4851 | ||
4852 | extern int __ptsname_internal (int fd, char *buf, size_t buflen, | |
4853 | struct stat64 *stp); | |
4854 | ||
4855 | extern int __getpt (void); | |
4856 | extern int __posix_openpt (int __oflag); | |
4857 | ||
4858 | extern int __add_to_environ (const char *name, const char *value, | |
4859 | const char *combines, int replace); | |
4860 | ||
4861 | extern void _quicksort (void *const pbase, size_t total_elems, | |
4862 | size_t size, __compar_d_fn_t cmp, void *arg); | |
4863 | ||
4864 | extern int __on_exit (void (*__func) (int __status, void *__arg), void *__arg); | |
4865 | ||
4866 | extern int __cxa_atexit (void (*func) (void *), void *arg, void *d); | |
4867 | extern int __cxa_atexit_internal (void (*func) (void *), void *arg, void *d) | |
4868 | ; | |
4869 | ||
4870 | extern void __cxa_finalize (void *d); | |
4871 | ||
4872 | extern int __posix_memalign (void **memptr, size_t alignment, size_t size); | |
4873 | ||
4874 | extern void *__libc_memalign (size_t alignment, size_t size) | |
4875 | __attribute__ ((__malloc__)); | |
4876 | ||
4877 | extern int __libc_system (const char *line); | |
4878 | ||
4879 | ||
4880 | extern double __strtod_internal (__const char *__restrict __nptr, | |
4881 | char **__restrict __endptr, int __group) | |
4882 | __attribute__ ((__nothrow__ )) ; | |
4883 | extern float __strtof_internal (__const char *__restrict __nptr, | |
4884 | char **__restrict __endptr, int __group) | |
4885 | __attribute__ ((__nothrow__ )) ; | |
4886 | extern long double __strtold_internal (__const char *__restrict __nptr, | |
4887 | char **__restrict __endptr, | |
4888 | int __group) | |
4889 | __attribute__ ((__nothrow__ )) ; | |
4890 | extern long int __strtol_internal (__const char *__restrict __nptr, | |
4891 | char **__restrict __endptr, | |
4892 | int __base, int __group) | |
4893 | __attribute__ ((__nothrow__ )) ; | |
4894 | extern unsigned long int __strtoul_internal (__const char *__restrict __nptr, | |
4895 | char **__restrict __endptr, | |
4896 | int __base, int __group) | |
4897 | __attribute__ ((__nothrow__ )) ; | |
4898 | __extension__ | |
4899 | extern long long int __strtoll_internal (__const char *__restrict __nptr, | |
4900 | char **__restrict __endptr, | |
4901 | int __base, int __group) | |
4902 | __attribute__ ((__nothrow__ )) ; | |
4903 | __extension__ | |
4904 | extern unsigned long long int __strtoull_internal (__const char * | |
4905 | __restrict __nptr, | |
4906 | char **__restrict __endptr, | |
4907 | int __base, int __group) | |
4908 | __attribute__ ((__nothrow__ )) ; | |
4909 | ||
4910 | ||
4911 | ||
4912 | ||
4913 | ||
4914 | ||
4915 | ||
4916 | ||
4917 | extern double ____strtod_l_internal (__const char *__restrict __nptr, | |
4918 | char **__restrict __endptr, int __group, | |
4919 | __locale_t __loc); | |
4920 | extern float ____strtof_l_internal (__const char *__restrict __nptr, | |
4921 | char **__restrict __endptr, int __group, | |
4922 | __locale_t __loc); | |
4923 | extern long double ____strtold_l_internal (__const char *__restrict __nptr, | |
4924 | char **__restrict __endptr, | |
4925 | int __group, __locale_t __loc); | |
4926 | extern long int ____strtol_l_internal (__const char *__restrict __nptr, | |
4927 | char **__restrict __endptr, | |
4928 | int __base, int __group, | |
4929 | __locale_t __loc); | |
4930 | extern unsigned long int ____strtoul_l_internal (__const char * | |
4931 | __restrict __nptr, | |
4932 | char **__restrict __endptr, | |
4933 | int __base, int __group, | |
4934 | __locale_t __loc); | |
4935 | __extension__ | |
4936 | extern long long int ____strtoll_l_internal (__const char *__restrict __nptr, | |
4937 | char **__restrict __endptr, | |
4938 | int __base, int __group, | |
4939 | __locale_t __loc); | |
4940 | __extension__ | |
4941 | extern unsigned long long int ____strtoull_l_internal (__const char * | |
4942 | __restrict __nptr, | |
4943 | char ** | |
4944 | __restrict __endptr, | |
4945 | int __base, int __group, | |
4946 | __locale_t __loc); | |
4947 | ||
4948 | ||
4949 | ||
4950 | ||
4951 | ||
4952 | ||
4953 | ||
4954 | ||
4955 | ||
4956 | ||
4957 | ||
4958 | ||
4959 | ||
4960 | ||
4961 | ||
4962 | ||
4963 | ||
4964 | extern char *__ecvt (double __value, int __ndigit, int *__restrict __decpt, | |
4965 | int *__restrict __sign); | |
4966 | extern char *__fcvt (double __value, int __ndigit, int *__restrict __decpt, | |
4967 | int *__restrict __sign); | |
4968 | extern char *__gcvt (double __value, int __ndigit, char *__buf); | |
4969 | extern int __ecvt_r (double __value, int __ndigit, int *__restrict __decpt, | |
4970 | int *__restrict __sign, char *__restrict __buf, | |
4971 | size_t __len); | |
4972 | extern int __fcvt_r (double __value, int __ndigit, int *__restrict __decpt, | |
4973 | int *__restrict __sign, char *__restrict __buf, | |
4974 | size_t __len); | |
4975 | extern char *__qecvt (long double __value, int __ndigit, | |
4976 | int *__restrict __decpt, int *__restrict __sign); | |
4977 | extern char *__qfcvt (long double __value, int __ndigit, | |
4978 | int *__restrict __decpt, int *__restrict __sign); | |
4979 | extern char *__qgcvt (long double __value, int __ndigit, char *__buf); | |
4980 | extern int __qecvt_r (long double __value, int __ndigit, | |
4981 | int *__restrict __decpt, int *__restrict __sign, | |
4982 | char *__restrict __buf, size_t __len); | |
4983 | extern int __qfcvt_r (long double __value, int __ndigit, | |
4984 | int *__restrict __decpt, int *__restrict __sign, | |
4985 | char *__restrict __buf, size_t __len); | |
4986 | # 226 "../include/stdlib.h" | |
4987 | extern void *__default_morecore (ptrdiff_t) __attribute__ ((__nothrow__ )); | |
4988 | ||
4989 | ||
4990 | struct abort_msg_s | |
4991 | { | |
4992 | unsigned int size; | |
4993 | char msg[0]; | |
4994 | }; | |
4995 | extern struct abort_msg_s *__abort_msg; | |
4996 | ||
4997 | ||
4998 | ||
4999 | # 50 "../include/atomic.h" 2 | |
5000 | ||
5001 | # 1 "../ports/sysdeps/unix/sysv/linux/arm/nptl/bits/atomic.h" 1 | |
5002 | # 23 "../ports/sysdeps/unix/sysv/linux/arm/nptl/bits/atomic.h" | |
5003 | typedef int8_t atomic8_t; | |
5004 | typedef uint8_t uatomic8_t; | |
5005 | typedef int_fast8_t atomic_fast8_t; | |
5006 | typedef uint_fast8_t uatomic_fast8_t; | |
5007 | ||
5008 | typedef int32_t atomic32_t; | |
5009 | typedef uint32_t uatomic32_t; | |
5010 | typedef int_fast32_t atomic_fast32_t; | |
5011 | typedef uint_fast32_t uatomic_fast32_t; | |
5012 | ||
5013 | typedef intptr_t atomicptr_t; | |
5014 | typedef uintptr_t uatomicptr_t; | |
5015 | typedef intmax_t atomic_max_t; | |
5016 | typedef uintmax_t uatomic_max_t; | |
5017 | ||
5018 | void __arm_link_error (void); | |
5019 | # 52 "../include/atomic.h" 2 | |
5020 | # 26 "../ports/sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h" 2 | |
5021 | ||
5022 | # 1 "../ports/sysdeps/unix/sysv/linux/arm/kernel-features.h" 1 | |
5023 | # 60 "../ports/sysdeps/unix/sysv/linux/arm/kernel-features.h" | |
5024 | # 1 "../sysdeps/unix/sysv/linux/kernel-features.h" 1 | |
5025 | # 61 "../ports/sysdeps/unix/sysv/linux/arm/kernel-features.h" 2 | |
5026 | # 28 "../ports/sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h" 2 | |
5027 | # 146 "../ports/sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h" | |
5028 | extern void __lll_lock_wait_private (int *futex) ; | |
5029 | extern void __lll_lock_wait (int *futex, int private) ; | |
5030 | extern int __lll_robust_lock_wait (int *futex, int private) ; | |
5031 | # 192 "../ports/sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h" | |
5032 | extern int __lll_timedlock_wait (int *futex, const struct timespec *, | |
5033 | int private) ; | |
5034 | extern int __lll_robust_timedlock_wait (int *futex, const struct timespec *, | |
5035 | int private) ; | |
5036 | # 272 "../ports/sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h" | |
5037 | extern int __lll_timedwait_tid (int *, const struct timespec *) | |
5038 | ; | |
5039 | # 32 "../nptl/descr.h" 2 | |
5040 | # 1 "../ports/sysdeps/arm/nptl/pthreaddef.h" 1 | |
5041 | # 33 "../nptl/descr.h" 2 | |
5042 | # 1 "../sysdeps/unix/sysv/linux/dl-sysdep.h" 1 | |
5043 | # 20 "../sysdeps/unix/sysv/linux/dl-sysdep.h" | |
5044 | # 1 "../ports/sysdeps/arm/dl-sysdep.h" 1 | |
5045 | # 20 "../ports/sysdeps/arm/dl-sysdep.h" | |
5046 | # 1 "../sysdeps/generic/dl-sysdep.h" 1 | |
5047 | # 21 "../ports/sysdeps/arm/dl-sysdep.h" 2 | |
5048 | # 21 "../sysdeps/unix/sysv/linux/dl-sysdep.h" 2 | |
5049 | # 32 "../sysdeps/unix/sysv/linux/dl-sysdep.h" | |
5050 | extern int _dl_discover_osversion (void) ; | |
5051 | # 34 "../nptl/descr.h" 2 | |
5052 | # 1 "../nptl/../nptl_db/thread_db.h" 1 | |
5053 | # 26 "../nptl/../nptl_db/thread_db.h" | |
5054 | # 1 "../include/pthread.h" 1 | |
5055 | # 1 "../nptl/sysdeps/pthread/pthread.h" 1 | |
5056 | # 24 "../nptl/sysdeps/pthread/pthread.h" | |
5057 | # 1 "../include/endian.h" 1 | |
5058 | # 25 "../nptl/sysdeps/pthread/pthread.h" 2 | |
5059 | ||
5060 | ||
5061 | ||
5062 | ||
5063 | ||
5064 | # 1 "../sysdeps/wordsize-32/bits/wordsize.h" 1 | |
5065 | # 31 "../nptl/sysdeps/pthread/pthread.h" 2 | |
5066 | ||
5067 | ||
5068 | ||
5069 | enum | |
5070 | { | |
5071 | PTHREAD_CREATE_JOINABLE, | |
5072 | ||
5073 | PTHREAD_CREATE_DETACHED | |
5074 | ||
5075 | }; | |
5076 | ||
5077 | ||
5078 | ||
5079 | enum | |
5080 | { | |
5081 | PTHREAD_MUTEX_TIMED_NP, | |
5082 | PTHREAD_MUTEX_RECURSIVE_NP, | |
5083 | PTHREAD_MUTEX_ERRORCHECK_NP, | |
5084 | PTHREAD_MUTEX_ADAPTIVE_NP | |
5085 | ||
5086 | , | |
5087 | PTHREAD_MUTEX_NORMAL = PTHREAD_MUTEX_TIMED_NP, | |
5088 | PTHREAD_MUTEX_RECURSIVE = PTHREAD_MUTEX_RECURSIVE_NP, | |
5089 | PTHREAD_MUTEX_ERRORCHECK = PTHREAD_MUTEX_ERRORCHECK_NP, | |
5090 | PTHREAD_MUTEX_DEFAULT = PTHREAD_MUTEX_NORMAL | |
5091 | ||
5092 | ||
5093 | ||
5094 | , PTHREAD_MUTEX_FAST_NP = PTHREAD_MUTEX_TIMED_NP | |
5095 | ||
5096 | }; | |
5097 | ||
5098 | ||
5099 | ||
5100 | ||
5101 | enum | |
5102 | { | |
5103 | PTHREAD_MUTEX_STALLED, | |
5104 | PTHREAD_MUTEX_STALLED_NP = PTHREAD_MUTEX_STALLED, | |
5105 | PTHREAD_MUTEX_ROBUST, | |
5106 | PTHREAD_MUTEX_ROBUST_NP = PTHREAD_MUTEX_ROBUST | |
5107 | }; | |
5108 | ||
5109 | ||
5110 | ||
5111 | ||
5112 | ||
5113 | enum | |
5114 | { | |
5115 | PTHREAD_PRIO_NONE, | |
5116 | PTHREAD_PRIO_INHERIT, | |
5117 | PTHREAD_PRIO_PROTECT | |
5118 | }; | |
5119 | # 115 "../nptl/sysdeps/pthread/pthread.h" | |
5120 | enum | |
5121 | { | |
5122 | PTHREAD_RWLOCK_PREFER_READER_NP, | |
5123 | PTHREAD_RWLOCK_PREFER_WRITER_NP, | |
5124 | PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP, | |
5125 | PTHREAD_RWLOCK_DEFAULT_NP = PTHREAD_RWLOCK_PREFER_READER_NP | |
5126 | }; | |
5127 | # 147 "../nptl/sysdeps/pthread/pthread.h" | |
5128 | enum | |
5129 | { | |
5130 | PTHREAD_INHERIT_SCHED, | |
5131 | ||
5132 | PTHREAD_EXPLICIT_SCHED | |
5133 | ||
5134 | }; | |
5135 | ||
5136 | ||
5137 | ||
5138 | enum | |
5139 | { | |
5140 | PTHREAD_SCOPE_SYSTEM, | |
5141 | ||
5142 | PTHREAD_SCOPE_PROCESS | |
5143 | ||
5144 | }; | |
5145 | ||
5146 | ||
5147 | ||
5148 | enum | |
5149 | { | |
5150 | PTHREAD_PROCESS_PRIVATE, | |
5151 | ||
5152 | PTHREAD_PROCESS_SHARED | |
5153 | ||
5154 | }; | |
5155 | # 182 "../nptl/sysdeps/pthread/pthread.h" | |
5156 | struct _pthread_cleanup_buffer | |
5157 | { | |
5158 | void (*__routine) (void *); | |
5159 | void *__arg; | |
5160 | int __canceltype; | |
5161 | struct _pthread_cleanup_buffer *__prev; | |
5162 | }; | |
5163 | ||
5164 | ||
5165 | enum | |
5166 | { | |
5167 | PTHREAD_CANCEL_ENABLE, | |
5168 | ||
5169 | PTHREAD_CANCEL_DISABLE | |
5170 | ||
5171 | }; | |
5172 | enum | |
5173 | { | |
5174 | PTHREAD_CANCEL_DEFERRED, | |
5175 | ||
5176 | PTHREAD_CANCEL_ASYNCHRONOUS | |
5177 | ||
5178 | }; | |
5179 | # 220 "../nptl/sysdeps/pthread/pthread.h" | |
5180 | ||
5181 | ||
5182 | ||
5183 | ||
5184 | ||
5185 | extern int pthread_create (pthread_t *__restrict __newthread, | |
5186 | __const pthread_attr_t *__restrict __attr, | |
5187 | void *(*__start_routine) (void *), | |
5188 | void *__restrict __arg) __attribute__ ((__nothrow__)) ; | |
5189 | ||
5190 | ||
5191 | ||
5192 | ||
5193 | ||
5194 | extern void pthread_exit (void *__retval) __attribute__ ((__noreturn__)); | |
5195 | ||
5196 | ||
5197 | ||
5198 | ||
5199 | ||
5200 | ||
5201 | ||
5202 | extern int pthread_join (pthread_t __th, void **__thread_return); | |
5203 | ||
5204 | ||
5205 | ||
5206 | ||
5207 | extern int pthread_tryjoin_np (pthread_t __th, void **__thread_return) __attribute__ ((__nothrow__ )); | |
5208 | ||
5209 | ||
5210 | ||
5211 | ||
5212 | ||
5213 | ||
5214 | ||
5215 | extern int pthread_timedjoin_np (pthread_t __th, void **__thread_return, | |
5216 | __const struct timespec *__abstime); | |
5217 | ||
5218 | ||
5219 | ||
5220 | ||
5221 | ||
5222 | ||
5223 | extern int pthread_detach (pthread_t __th) __attribute__ ((__nothrow__ )); | |
5224 | ||
5225 | ||
5226 | ||
5227 | extern pthread_t pthread_self (void) __attribute__ ((__nothrow__ )) __attribute__ ((__const__)); | |
5228 | ||
5229 | ||
5230 | extern int pthread_equal (pthread_t __thread1, pthread_t __thread2) __attribute__ ((__nothrow__ )); | |
5231 | ||
5232 | ||
5233 | ||
5234 | ||
5235 | ||
5236 | ||
5237 | ||
5238 | extern int pthread_attr_init (pthread_attr_t *__attr) __attribute__ ((__nothrow__ )) ; | |
5239 | ||
5240 | ||
5241 | extern int pthread_attr_destroy (pthread_attr_t *__attr) | |
5242 | __attribute__ ((__nothrow__ )) ; | |
5243 | ||
5244 | ||
5245 | extern int pthread_attr_getdetachstate (__const pthread_attr_t *__attr, | |
5246 | int *__detachstate) | |
5247 | __attribute__ ((__nothrow__ )) ; | |
5248 | ||
5249 | ||
5250 | extern int pthread_attr_setdetachstate (pthread_attr_t *__attr, | |
5251 | int __detachstate) | |
5252 | __attribute__ ((__nothrow__ )) ; | |
5253 | ||
5254 | ||
5255 | ||
5256 | extern int pthread_attr_getguardsize (__const pthread_attr_t *__attr, | |
5257 | size_t *__guardsize) | |
5258 | __attribute__ ((__nothrow__ )) ; | |
5259 | ||
5260 | ||
5261 | extern int pthread_attr_setguardsize (pthread_attr_t *__attr, | |
5262 | size_t __guardsize) | |
5263 | __attribute__ ((__nothrow__ )) ; | |
5264 | ||
5265 | ||
5266 | ||
5267 | extern int pthread_attr_getschedparam (__const pthread_attr_t *__restrict | |
5268 | __attr, | |
5269 | struct sched_param *__restrict __param) | |
5270 | __attribute__ ((__nothrow__ )) ; | |
5271 | ||
5272 | ||
5273 | extern int pthread_attr_setschedparam (pthread_attr_t *__restrict __attr, | |
5274 | __const struct sched_param *__restrict | |
5275 | __param) __attribute__ ((__nothrow__ )) ; | |
5276 | ||
5277 | ||
5278 | extern int pthread_attr_getschedpolicy (__const pthread_attr_t *__restrict | |
5279 | __attr, int *__restrict __policy) | |
5280 | __attribute__ ((__nothrow__ )) ; | |
5281 | ||
5282 | ||
5283 | extern int pthread_attr_setschedpolicy (pthread_attr_t *__attr, int __policy) | |
5284 | __attribute__ ((__nothrow__ )) ; | |
5285 | ||
5286 | ||
5287 | extern int pthread_attr_getinheritsched (__const pthread_attr_t *__restrict | |
5288 | __attr, int *__restrict __inherit) | |
5289 | __attribute__ ((__nothrow__ )) ; | |
5290 | ||
5291 | ||
5292 | extern int pthread_attr_setinheritsched (pthread_attr_t *__attr, | |
5293 | int __inherit) | |
5294 | __attribute__ ((__nothrow__ )) ; | |
5295 | ||
5296 | ||
5297 | ||
5298 | extern int pthread_attr_getscope (__const pthread_attr_t *__restrict __attr, | |
5299 | int *__restrict __scope) | |
5300 | __attribute__ ((__nothrow__ )) ; | |
5301 | ||
5302 | ||
5303 | extern int pthread_attr_setscope (pthread_attr_t *__attr, int __scope) | |
5304 | __attribute__ ((__nothrow__ )) ; | |
5305 | ||
5306 | ||
5307 | extern int pthread_attr_getstackaddr (__const pthread_attr_t *__restrict | |
5308 | __attr, void **__restrict __stackaddr) | |
5309 | __attribute__ ((__nothrow__ )) __attribute__ ((__deprecated__)); | |
5310 | ||
5311 | ||
5312 | ||
5313 | ||
5314 | ||
5315 | extern int pthread_attr_setstackaddr (pthread_attr_t *__attr, | |
5316 | void *__stackaddr) | |
5317 | __attribute__ ((__nothrow__ )) __attribute__ ((__deprecated__)); | |
5318 | ||
5319 | ||
5320 | extern int pthread_attr_getstacksize (__const pthread_attr_t *__restrict | |
5321 | __attr, size_t *__restrict __stacksize) | |
5322 | __attribute__ ((__nothrow__ )) ; | |
5323 | ||
5324 | ||
5325 | ||
5326 | ||
5327 | extern int pthread_attr_setstacksize (pthread_attr_t *__attr, | |
5328 | size_t __stacksize) | |
5329 | __attribute__ ((__nothrow__ )) ; | |
5330 | ||
5331 | ||
5332 | ||
5333 | extern int pthread_attr_getstack (__const pthread_attr_t *__restrict __attr, | |
5334 | void **__restrict __stackaddr, | |
5335 | size_t *__restrict __stacksize) | |
5336 | __attribute__ ((__nothrow__ )) ; | |
5337 | ||
5338 | ||
5339 | ||
5340 | ||
5341 | extern int pthread_attr_setstack (pthread_attr_t *__attr, void *__stackaddr, | |
5342 | size_t __stacksize) __attribute__ ((__nothrow__ )) ; | |
5343 | ||
5344 | ||
5345 | ||
5346 | ||
5347 | ||
5348 | extern int pthread_attr_setaffinity_np (pthread_attr_t *__attr, | |
5349 | size_t __cpusetsize, | |
5350 | __const cpu_set_t *__cpuset) | |
5351 | __attribute__ ((__nothrow__ )) ; | |
5352 | ||
5353 | ||
5354 | ||
5355 | extern int pthread_attr_getaffinity_np (__const pthread_attr_t *__attr, | |
5356 | size_t __cpusetsize, | |
5357 | cpu_set_t *__cpuset) | |
5358 | __attribute__ ((__nothrow__ )) ; | |
5359 | ||
5360 | ||
5361 | ||
5362 | ||
5363 | ||
5364 | extern int pthread_getattr_np (pthread_t __th, pthread_attr_t *__attr) | |
5365 | __attribute__ ((__nothrow__ )) ; | |
5366 | ||
5367 | ||
5368 | ||
5369 | ||
5370 | ||
5371 | ||
5372 | ||
5373 | extern int pthread_setschedparam (pthread_t __target_thread, int __policy, | |
5374 | __const struct sched_param *__param) | |
5375 | __attribute__ ((__nothrow__ )) ; | |
5376 | ||
5377 | ||
5378 | extern int pthread_getschedparam (pthread_t __target_thread, | |
5379 | int *__restrict __policy, | |
5380 | struct sched_param *__restrict __param) | |
5381 | __attribute__ ((__nothrow__ )) ; | |
5382 | ||
5383 | ||
5384 | extern int pthread_setschedprio (pthread_t __target_thread, int __prio) | |
5385 | __attribute__ ((__nothrow__ )); | |
5386 | ||
5387 | ||
5388 | ||
5389 | ||
5390 | extern int pthread_getname_np (pthread_t __target_thread, char *__buf, | |
5391 | size_t __buflen) | |
5392 | __attribute__ ((__nothrow__ )) ; | |
5393 | ||
5394 | ||
5395 | extern int pthread_setname_np (pthread_t __target_thread, __const char *__name) | |
5396 | __attribute__ ((__nothrow__ )) ; | |
5397 | ||
5398 | ||
5399 | ||
5400 | ||
5401 | ||
5402 | extern int pthread_getconcurrency (void) __attribute__ ((__nothrow__ )); | |
5403 | ||
5404 | ||
5405 | extern int pthread_setconcurrency (int __level) __attribute__ ((__nothrow__ )); | |
5406 | ||
5407 | ||
5408 | ||
5409 | ||
5410 | ||
5411 | ||
5412 | ||
5413 | extern int pthread_yield (void) __attribute__ ((__nothrow__ )); | |
5414 | ||
5415 | ||
5416 | ||
5417 | ||
5418 | extern int pthread_setaffinity_np (pthread_t __th, size_t __cpusetsize, | |
5419 | __const cpu_set_t *__cpuset) | |
5420 | __attribute__ ((__nothrow__ )) ; | |
5421 | ||
5422 | ||
5423 | extern int pthread_getaffinity_np (pthread_t __th, size_t __cpusetsize, | |
5424 | cpu_set_t *__cpuset) | |
5425 | __attribute__ ((__nothrow__ )) ; | |
5426 | # 478 "../nptl/sysdeps/pthread/pthread.h" | |
5427 | extern int pthread_once (pthread_once_t *__once_control, | |
5428 | void (*__init_routine) (void)) ; | |
5429 | # 490 "../nptl/sysdeps/pthread/pthread.h" | |
5430 | extern int pthread_setcancelstate (int __state, int *__oldstate); | |
5431 | ||
5432 | ||
5433 | ||
5434 | extern int pthread_setcanceltype (int __type, int *__oldtype); | |
5435 | ||
5436 | ||
5437 | extern int pthread_cancel (pthread_t __th); | |
5438 | ||
5439 | ||
5440 | ||
5441 | ||
5442 | extern void pthread_testcancel (void); | |
5443 | ||
5444 | ||
5445 | ||
5446 | ||
5447 | typedef struct | |
5448 | { | |
5449 | struct | |
5450 | { | |
5451 | __jmp_buf __cancel_jmp_buf; | |
5452 | int __mask_was_saved; | |
5453 | } __cancel_jmp_buf[1]; | |
5454 | void *__pad[4]; | |
5455 | } __pthread_unwind_buf_t __attribute__ ((__aligned__)); | |
5456 | # 524 "../nptl/sysdeps/pthread/pthread.h" | |
5457 | struct __pthread_cleanup_frame | |
5458 | { | |
5459 | void (*__cancel_routine) (void *); | |
5460 | void *__cancel_arg; | |
5461 | int __do_it; | |
5462 | int __cancel_type; | |
5463 | }; | |
5464 | # 664 "../nptl/sysdeps/pthread/pthread.h" | |
5465 | extern void __pthread_register_cancel (__pthread_unwind_buf_t *__buf) | |
5466 | ; | |
5467 | # 676 "../nptl/sysdeps/pthread/pthread.h" | |
5468 | extern void __pthread_unregister_cancel (__pthread_unwind_buf_t *__buf) | |
5469 | ; | |
5470 | # 699 "../nptl/sysdeps/pthread/pthread.h" | |
5471 | extern void __pthread_register_cancel_defer (__pthread_unwind_buf_t *__buf) | |
5472 | ; | |
5473 | # 712 "../nptl/sysdeps/pthread/pthread.h" | |
5474 | extern void __pthread_unregister_cancel_restore (__pthread_unwind_buf_t *__buf) | |
5475 | ; | |
5476 | ||
5477 | ||
5478 | ||
5479 | extern void __pthread_unwind_next (__pthread_unwind_buf_t *__buf) | |
5480 | __attribute__ ((__noreturn__)) | |
5481 | ||
5482 | __attribute__ ((__weak__)) | |
5483 | ||
5484 | ; | |
5485 | ||
5486 | ||
5487 | ||
5488 | struct __jmp_buf_tag; | |
5489 | extern int __sigsetjmp (struct __jmp_buf_tag *__env, int __savemask) __attribute__ ((__nothrow__ )); | |
5490 | ||
5491 | ||
5492 | ||
5493 | ||
5494 | ||
5495 | extern int pthread_mutex_init (pthread_mutex_t *__mutex, | |
5496 | __const pthread_mutexattr_t *__mutexattr) | |
5497 | __attribute__ ((__nothrow__ )) ; | |
5498 | ||
5499 | ||
5500 | extern int pthread_mutex_destroy (pthread_mutex_t *__mutex) | |
5501 | __attribute__ ((__nothrow__ )) ; | |
5502 | ||
5503 | ||
5504 | extern int pthread_mutex_trylock (pthread_mutex_t *__mutex) | |
5505 | __attribute__ ((__nothrow__)) ; | |
5506 | ||
5507 | ||
5508 | extern int pthread_mutex_lock (pthread_mutex_t *__mutex) | |
5509 | __attribute__ ((__nothrow__)) ; | |
5510 | ||
5511 | ||
5512 | ||
5513 | extern int pthread_mutex_timedlock (pthread_mutex_t *__restrict __mutex, | |
5514 | __const struct timespec *__restrict | |
5515 | __abstime) __attribute__ ((__nothrow__)) ; | |
5516 | ||
5517 | ||
5518 | ||
5519 | extern int pthread_mutex_unlock (pthread_mutex_t *__mutex) | |
5520 | __attribute__ ((__nothrow__)) ; | |
5521 | ||
5522 | ||
5523 | ||
5524 | extern int pthread_mutex_getprioceiling (__const pthread_mutex_t * | |
5525 | __restrict __mutex, | |
5526 | int *__restrict __prioceiling) | |
5527 | __attribute__ ((__nothrow__ )) ; | |
5528 | ||
5529 | ||
5530 | ||
5531 | extern int pthread_mutex_setprioceiling (pthread_mutex_t *__restrict __mutex, | |
5532 | int __prioceiling, | |
5533 | int *__restrict __old_ceiling) | |
5534 | __attribute__ ((__nothrow__ )) ; | |
5535 | ||
5536 | ||
5537 | ||
5538 | ||
5539 | extern int pthread_mutex_consistent (pthread_mutex_t *__mutex) | |
5540 | __attribute__ ((__nothrow__ )) ; | |
5541 | ||
5542 | extern int pthread_mutex_consistent_np (pthread_mutex_t *__mutex) | |
5543 | __attribute__ ((__nothrow__ )) ; | |
5544 | # 790 "../nptl/sysdeps/pthread/pthread.h" | |
5545 | extern int pthread_mutexattr_init (pthread_mutexattr_t *__attr) | |
5546 | __attribute__ ((__nothrow__ )) ; | |
5547 | ||
5548 | ||
5549 | extern int pthread_mutexattr_destroy (pthread_mutexattr_t *__attr) | |
5550 | __attribute__ ((__nothrow__ )) ; | |
5551 | ||
5552 | ||
5553 | extern int pthread_mutexattr_getpshared (__const pthread_mutexattr_t * | |
5554 | __restrict __attr, | |
5555 | int *__restrict __pshared) | |
5556 | __attribute__ ((__nothrow__ )) ; | |
5557 | ||
5558 | ||
5559 | extern int pthread_mutexattr_setpshared (pthread_mutexattr_t *__attr, | |
5560 | int __pshared) | |
5561 | __attribute__ ((__nothrow__ )) ; | |
5562 | ||
5563 | ||
5564 | ||
5565 | extern int pthread_mutexattr_gettype (__const pthread_mutexattr_t *__restrict | |
5566 | __attr, int *__restrict __kind) | |
5567 | __attribute__ ((__nothrow__ )) ; | |
5568 | ||
5569 | ||
5570 | ||
5571 | ||
5572 | extern int pthread_mutexattr_settype (pthread_mutexattr_t *__attr, int __kind) | |
5573 | __attribute__ ((__nothrow__ )) ; | |
5574 | ||
5575 | ||
5576 | ||
5577 | extern int pthread_mutexattr_getprotocol (__const pthread_mutexattr_t * | |
5578 | __restrict __attr, | |
5579 | int *__restrict __protocol) | |
5580 | __attribute__ ((__nothrow__ )) ; | |
5581 | ||
5582 | ||
5583 | ||
5584 | extern int pthread_mutexattr_setprotocol (pthread_mutexattr_t *__attr, | |
5585 | int __protocol) | |
5586 | __attribute__ ((__nothrow__ )) ; | |
5587 | ||
5588 | ||
5589 | extern int pthread_mutexattr_getprioceiling (__const pthread_mutexattr_t * | |
5590 | __restrict __attr, | |
5591 | int *__restrict __prioceiling) | |
5592 | __attribute__ ((__nothrow__ )) ; | |
5593 | ||
5594 | ||
5595 | extern int pthread_mutexattr_setprioceiling (pthread_mutexattr_t *__attr, | |
5596 | int __prioceiling) | |
5597 | __attribute__ ((__nothrow__ )) ; | |
5598 | ||
5599 | ||
5600 | ||
5601 | extern int pthread_mutexattr_getrobust (__const pthread_mutexattr_t *__attr, | |
5602 | int *__robustness) | |
5603 | __attribute__ ((__nothrow__ )) ; | |
5604 | ||
5605 | extern int pthread_mutexattr_getrobust_np (__const pthread_mutexattr_t *__attr, | |
5606 | int *__robustness) | |
5607 | __attribute__ ((__nothrow__ )) ; | |
5608 | ||
5609 | ||
5610 | ||
5611 | extern int pthread_mutexattr_setrobust (pthread_mutexattr_t *__attr, | |
5612 | int __robustness) | |
5613 | __attribute__ ((__nothrow__ )) ; | |
5614 | ||
5615 | extern int pthread_mutexattr_setrobust_np (pthread_mutexattr_t *__attr, | |
5616 | int __robustness) | |
5617 | __attribute__ ((__nothrow__ )) ; | |
5618 | # 872 "../nptl/sysdeps/pthread/pthread.h" | |
5619 | extern int pthread_rwlock_init (pthread_rwlock_t *__restrict __rwlock, | |
5620 | __const pthread_rwlockattr_t *__restrict | |
5621 | __attr) __attribute__ ((__nothrow__ )) ; | |
5622 | ||
5623 | ||
5624 | extern int pthread_rwlock_destroy (pthread_rwlock_t *__rwlock) | |
5625 | __attribute__ ((__nothrow__ )) ; | |
5626 | ||
5627 | ||
5628 | extern int pthread_rwlock_rdlock (pthread_rwlock_t *__rwlock) | |
5629 | __attribute__ ((__nothrow__)) ; | |
5630 | ||
5631 | ||
5632 | extern int pthread_rwlock_tryrdlock (pthread_rwlock_t *__rwlock) | |
5633 | __attribute__ ((__nothrow__)) ; | |
5634 | ||
5635 | ||
5636 | ||
5637 | extern int pthread_rwlock_timedrdlock (pthread_rwlock_t *__restrict __rwlock, | |
5638 | __const struct timespec *__restrict | |
5639 | __abstime) __attribute__ ((__nothrow__)) ; | |
5640 | ||
5641 | ||
5642 | ||
5643 | extern int pthread_rwlock_wrlock (pthread_rwlock_t *__rwlock) | |
5644 | __attribute__ ((__nothrow__)) ; | |
5645 | ||
5646 | ||
5647 | extern int pthread_rwlock_trywrlock (pthread_rwlock_t *__rwlock) | |
5648 | __attribute__ ((__nothrow__)) ; | |
5649 | ||
5650 | ||
5651 | ||
5652 | extern int pthread_rwlock_timedwrlock (pthread_rwlock_t *__restrict __rwlock, | |
5653 | __const struct timespec *__restrict | |
5654 | __abstime) __attribute__ ((__nothrow__)) ; | |
5655 | ||
5656 | ||
5657 | ||
5658 | extern int pthread_rwlock_unlock (pthread_rwlock_t *__rwlock) | |
5659 | __attribute__ ((__nothrow__)) ; | |
5660 | ||
5661 | ||
5662 | ||
5663 | ||
5664 | ||
5665 | extern int pthread_rwlockattr_init (pthread_rwlockattr_t *__attr) | |
5666 | __attribute__ ((__nothrow__ )) ; | |
5667 | ||
5668 | ||
5669 | extern int pthread_rwlockattr_destroy (pthread_rwlockattr_t *__attr) | |
5670 | __attribute__ ((__nothrow__ )) ; | |
5671 | ||
5672 | ||
5673 | extern int pthread_rwlockattr_getpshared (__const pthread_rwlockattr_t * | |
5674 | __restrict __attr, | |
5675 | int *__restrict __pshared) | |
5676 | __attribute__ ((__nothrow__ )) ; | |
5677 | ||
5678 | ||
5679 | extern int pthread_rwlockattr_setpshared (pthread_rwlockattr_t *__attr, | |
5680 | int __pshared) | |
5681 | __attribute__ ((__nothrow__ )) ; | |
5682 | ||
5683 | ||
5684 | extern int pthread_rwlockattr_getkind_np (__const pthread_rwlockattr_t * | |
5685 | __restrict __attr, | |
5686 | int *__restrict __pref) | |
5687 | __attribute__ ((__nothrow__ )) ; | |
5688 | ||
5689 | ||
5690 | extern int pthread_rwlockattr_setkind_np (pthread_rwlockattr_t *__attr, | |
5691 | int __pref) __attribute__ ((__nothrow__ )) ; | |
5692 | ||
5693 | ||
5694 | ||
5695 | ||
5696 | ||
5697 | ||
5698 | ||
5699 | extern int pthread_cond_init (pthread_cond_t *__restrict __cond, | |
5700 | __const pthread_condattr_t *__restrict | |
5701 | __cond_attr) __attribute__ ((__nothrow__ )) ; | |
5702 | ||
5703 | ||
5704 | extern int pthread_cond_destroy (pthread_cond_t *__cond) | |
5705 | __attribute__ ((__nothrow__ )) ; | |
5706 | ||
5707 | ||
5708 | extern int pthread_cond_signal (pthread_cond_t *__cond) | |
5709 | __attribute__ ((__nothrow__)) ; | |
5710 | ||
5711 | ||
5712 | extern int pthread_cond_broadcast (pthread_cond_t *__cond) | |
5713 | __attribute__ ((__nothrow__)) ; | |
5714 | ||
5715 | ||
5716 | ||
5717 | ||
5718 | ||
5719 | ||
5720 | extern int pthread_cond_wait (pthread_cond_t *__restrict __cond, | |
5721 | pthread_mutex_t *__restrict __mutex) | |
5722 | ; | |
5723 | # 984 "../nptl/sysdeps/pthread/pthread.h" | |
5724 | extern int pthread_cond_timedwait (pthread_cond_t *__restrict __cond, | |
5725 | pthread_mutex_t *__restrict __mutex, | |
5726 | __const struct timespec *__restrict | |
5727 | __abstime) ; | |
5728 | ||
5729 | ||
5730 | ||
5731 | ||
5732 | extern int pthread_condattr_init (pthread_condattr_t *__attr) | |
5733 | __attribute__ ((__nothrow__ )) ; | |
5734 | ||
5735 | ||
5736 | extern int pthread_condattr_destroy (pthread_condattr_t *__attr) | |
5737 | __attribute__ ((__nothrow__ )) ; | |
5738 | ||
5739 | ||
5740 | extern int pthread_condattr_getpshared (__const pthread_condattr_t * | |
5741 | __restrict __attr, | |
5742 | int *__restrict __pshared) | |
5743 | __attribute__ ((__nothrow__ )) ; | |
5744 | ||
5745 | ||
5746 | extern int pthread_condattr_setpshared (pthread_condattr_t *__attr, | |
5747 | int __pshared) __attribute__ ((__nothrow__ )) ; | |
5748 | ||
5749 | ||
5750 | ||
5751 | extern int pthread_condattr_getclock (__const pthread_condattr_t * | |
5752 | __restrict __attr, | |
5753 | __clockid_t *__restrict __clock_id) | |
5754 | __attribute__ ((__nothrow__ )) ; | |
5755 | ||
5756 | ||
5757 | extern int pthread_condattr_setclock (pthread_condattr_t *__attr, | |
5758 | __clockid_t __clock_id) | |
5759 | __attribute__ ((__nothrow__ )) ; | |
5760 | # 1028 "../nptl/sysdeps/pthread/pthread.h" | |
5761 | extern int pthread_spin_init (pthread_spinlock_t *__lock, int __pshared) | |
5762 | __attribute__ ((__nothrow__ )) ; | |
5763 | ||
5764 | ||
5765 | extern int pthread_spin_destroy (pthread_spinlock_t *__lock) | |
5766 | __attribute__ ((__nothrow__ )) ; | |
5767 | ||
5768 | ||
5769 | extern int pthread_spin_lock (pthread_spinlock_t *__lock) | |
5770 | __attribute__ ((__nothrow__)) ; | |
5771 | ||
5772 | ||
5773 | extern int pthread_spin_trylock (pthread_spinlock_t *__lock) | |
5774 | __attribute__ ((__nothrow__)) ; | |
5775 | ||
5776 | ||
5777 | extern int pthread_spin_unlock (pthread_spinlock_t *__lock) | |
5778 | __attribute__ ((__nothrow__)) ; | |
5779 | ||
5780 | ||
5781 | ||
5782 | ||
5783 | ||
5784 | ||
5785 | extern int pthread_barrier_init (pthread_barrier_t *__restrict __barrier, | |
5786 | __const pthread_barrierattr_t *__restrict | |
5787 | __attr, unsigned int __count) | |
5788 | __attribute__ ((__nothrow__ )) ; | |
5789 | ||
5790 | ||
5791 | extern int pthread_barrier_destroy (pthread_barrier_t *__barrier) | |
5792 | __attribute__ ((__nothrow__ )) ; | |
5793 | ||
5794 | ||
5795 | extern int pthread_barrier_wait (pthread_barrier_t *__barrier) | |
5796 | __attribute__ ((__nothrow__)) ; | |
5797 | ||
5798 | ||
5799 | ||
5800 | extern int pthread_barrierattr_init (pthread_barrierattr_t *__attr) | |
5801 | __attribute__ ((__nothrow__ )) ; | |
5802 | ||
5803 | ||
5804 | extern int pthread_barrierattr_destroy (pthread_barrierattr_t *__attr) | |
5805 | __attribute__ ((__nothrow__ )) ; | |
5806 | ||
5807 | ||
5808 | extern int pthread_barrierattr_getpshared (__const pthread_barrierattr_t * | |
5809 | __restrict __attr, | |
5810 | int *__restrict __pshared) | |
5811 | __attribute__ ((__nothrow__ )) ; | |
5812 | ||
5813 | ||
5814 | extern int pthread_barrierattr_setpshared (pthread_barrierattr_t *__attr, | |
5815 | int __pshared) | |
5816 | __attribute__ ((__nothrow__ )) ; | |
5817 | # 1095 "../nptl/sysdeps/pthread/pthread.h" | |
5818 | extern int pthread_key_create (pthread_key_t *__key, | |
5819 | void (*__destr_function) (void *)) | |
5820 | __attribute__ ((__nothrow__ )) ; | |
5821 | ||
5822 | ||
5823 | extern int pthread_key_delete (pthread_key_t __key) __attribute__ ((__nothrow__ )); | |
5824 | ||
5825 | ||
5826 | extern void *pthread_getspecific (pthread_key_t __key) __attribute__ ((__nothrow__ )); | |
5827 | ||
5828 | ||
5829 | extern int pthread_setspecific (pthread_key_t __key, | |
5830 | __const void *__pointer) __attribute__ ((__nothrow__ )) ; | |
5831 | ||
5832 | ||
5833 | ||
5834 | ||
5835 | extern int pthread_getcpuclockid (pthread_t __thread_id, | |
5836 | __clockid_t *__clock_id) | |
5837 | __attribute__ ((__nothrow__ )) ; | |
5838 | # 1129 "../nptl/sysdeps/pthread/pthread.h" | |
5839 | extern int pthread_atfork (void (*__prepare) (void), | |
5840 | void (*__parent) (void), | |
5841 | void (*__child) (void)) __attribute__ ((__nothrow__ )); | |
5842 | ||
5843 | ||
5844 | ||
5845 | ||
5846 | extern __inline int | |
5847 | __attribute__ ((__nothrow__ )) pthread_equal (pthread_t __thread1, pthread_t __thread2) | |
5848 | { | |
5849 | return __thread1 == __thread2; | |
5850 | } | |
5851 | ||
5852 | ||
5853 | ||
5854 | # 2 "../include/pthread.h" 2 | |
5855 | ||
5856 | ||
5857 | extern void __pthread_initialize (void) __attribute__ ((weak)); | |
5858 | # 27 "../nptl/../nptl_db/thread_db.h" 2 | |
5859 | ||
5860 | # 1 "../include/sys/types.h" 1 | |
5861 | # 29 "../nptl/../nptl_db/thread_db.h" 2 | |
5862 | # 1 "../ports/sysdeps/unix/sysv/linux/arm/sys/procfs.h" 1 | |
5863 | # 32 "../ports/sysdeps/unix/sysv/linux/arm/sys/procfs.h" | |
5864 | # 1 "../include/sys/time.h" 1 | |
5865 | ||
5866 | # 1 "../time/sys/time.h" 1 | |
5867 | # 29 "../time/sys/time.h" | |
5868 | # 1 "../sysdeps/unix/sysv/linux/bits/time.h" 1 | |
5869 | # 30 "../time/sys/time.h" 2 | |
5870 | # 39 "../time/sys/time.h" | |
5871 | ||
5872 | # 57 "../time/sys/time.h" | |
5873 | struct timezone | |
5874 | { | |
5875 | int tz_minuteswest; | |
5876 | int tz_dsttime; | |
5877 | }; | |
5878 | ||
5879 | typedef struct timezone *__restrict __timezone_ptr_t; | |
5880 | # 73 "../time/sys/time.h" | |
5881 | extern int gettimeofday (struct timeval *__restrict __tv, | |
5882 | __timezone_ptr_t __tz) __attribute__ ((__nothrow__ )) ; | |
5883 | ||
5884 | ||
5885 | ||
5886 | ||
5887 | extern int settimeofday (__const struct timeval *__tv, | |
5888 | __const struct timezone *__tz) | |
5889 | __attribute__ ((__nothrow__ )) ; | |
5890 | ||
5891 | ||
5892 | ||
5893 | ||
5894 | ||
5895 | extern int adjtime (__const struct timeval *__delta, | |
5896 | struct timeval *__olddelta) __attribute__ ((__nothrow__ )); | |
5897 | ||
5898 | ||
5899 | ||
5900 | ||
5901 | enum __itimer_which | |
5902 | { | |
5903 | ||
5904 | ITIMER_REAL = 0, | |
5905 | ||
5906 | ||
5907 | ITIMER_VIRTUAL = 1, | |
5908 | ||
5909 | ||
5910 | ||
5911 | ITIMER_PROF = 2 | |
5912 | ||
5913 | }; | |
5914 | ||
5915 | ||
5916 | ||
5917 | struct itimerval | |
5918 | { | |
5919 | ||
5920 | struct timeval it_interval; | |
5921 | ||
5922 | struct timeval it_value; | |
5923 | }; | |
5924 | ||
5925 | ||
5926 | ||
5927 | ||
5928 | typedef enum __itimer_which __itimer_which_t; | |
5929 | ||
5930 | ||
5931 | ||
5932 | ||
5933 | ||
5934 | ||
5935 | extern int getitimer (__itimer_which_t __which, | |
5936 | struct itimerval *__value) __attribute__ ((__nothrow__ )); | |
5937 | ||
5938 | ||
5939 | ||
5940 | ||
5941 | extern int setitimer (__itimer_which_t __which, | |
5942 | __const struct itimerval *__restrict __new, | |
5943 | struct itimerval *__restrict __old) __attribute__ ((__nothrow__ )); | |
5944 | ||
5945 | ||
5946 | ||
5947 | ||
5948 | extern int utimes (__const char *__file, __const struct timeval __tvp[2]) | |
5949 | __attribute__ ((__nothrow__ )) ; | |
5950 | ||
5951 | ||
5952 | ||
5953 | extern int lutimes (__const char *__file, __const struct timeval __tvp[2]) | |
5954 | __attribute__ ((__nothrow__ )) ; | |
5955 | ||
5956 | ||
5957 | extern int futimes (int __fd, __const struct timeval __tvp[2]) __attribute__ ((__nothrow__ )); | |
5958 | ||
5959 | ||
5960 | ||
5961 | ||
5962 | ||
5963 | ||
5964 | extern int futimesat (int __fd, __const char *__file, | |
5965 | __const struct timeval __tvp[2]) __attribute__ ((__nothrow__ )); | |
5966 | # 191 "../time/sys/time.h" | |
5967 | ||
5968 | # 3 "../include/sys/time.h" 2 | |
5969 | ||
5970 | ||
5971 | extern int __gettimeofday (struct timeval *__tv, | |
5972 | struct timezone *__tz); | |
5973 | extern int __gettimeofday_internal (struct timeval *__tv, | |
5974 | struct timezone *__tz) | |
5975 | ; | |
5976 | extern int __settimeofday (__const struct timeval *__tv, | |
5977 | __const struct timezone *__tz) | |
5978 | ; | |
5979 | extern int __adjtime (__const struct timeval *__delta, | |
5980 | struct timeval *__olddelta); | |
5981 | extern int __getitimer (enum __itimer_which __which, | |
5982 | struct itimerval *__value); | |
5983 | extern int __setitimer (enum __itimer_which __which, | |
5984 | __const struct itimerval *__restrict __new, | |
5985 | struct itimerval *__restrict __old) | |
5986 | ; | |
5987 | extern int __utimes (__const char *__file, const struct timeval __tvp[2]) | |
5988 | ; | |
5989 | extern int __futimes (int fd, __const struct timeval tvp[2]) ; | |
5990 | # 33 "../ports/sysdeps/unix/sysv/linux/arm/sys/procfs.h" 2 | |
5991 | # 1 "../include/sys/types.h" 1 | |
5992 | # 34 "../ports/sysdeps/unix/sysv/linux/arm/sys/procfs.h" 2 | |
5993 | # 1 "../ports/sysdeps/unix/sysv/linux/arm/sys/user.h" 1 | |
5994 | # 26 "../ports/sysdeps/unix/sysv/linux/arm/sys/user.h" | |
5995 | struct user_fpregs | |
5996 | { | |
5997 | struct fp_reg | |
5998 | { | |
5999 | unsigned int sign1:1; | |
6000 | unsigned int unused:15; | |
6001 | unsigned int sign2:1; | |
6002 | unsigned int exponent:14; | |
6003 | unsigned int j:1; | |
6004 | unsigned int mantissa1:31; | |
6005 | unsigned int mantissa0:32; | |
6006 | } fpregs[8]; | |
6007 | unsigned int fpsr:32; | |
6008 | unsigned int fpcr:32; | |
6009 | unsigned char ftype[8]; | |
6010 | unsigned int init_flag; | |
6011 | }; | |
6012 | ||
6013 | struct user_regs | |
6014 | { | |
6015 | unsigned long int uregs[18]; | |
6016 | }; | |
6017 | ||
6018 | struct user | |
6019 | { | |
6020 | struct user_regs regs; | |
6021 | int u_fpvalid; | |
6022 | ||
6023 | unsigned long int u_tsize; | |
6024 | unsigned long int u_dsize; | |
6025 | unsigned long int u_ssize; | |
6026 | ||
6027 | unsigned long start_code; | |
6028 | unsigned long start_stack; | |
6029 | ||
6030 | long int signal; | |
6031 | int reserved; | |
6032 | struct user_regs *u_ar0; | |
6033 | ||
6034 | unsigned long magic; | |
6035 | char u_comm[32]; | |
6036 | int u_debugreg[8]; | |
6037 | struct user_fpregs u_fp; | |
6038 | struct user_fpregs *u_fp0; | |
6039 | }; | |
6040 | # 35 "../ports/sysdeps/unix/sysv/linux/arm/sys/procfs.h" 2 | |
6041 | ||
6042 | ||
6043 | ||
6044 | ||
6045 | typedef unsigned long elf_greg_t; | |
6046 | ||
6047 | ||
6048 | ||
6049 | ||
6050 | ||
6051 | ||
6052 | typedef elf_greg_t elf_gregset_t[(sizeof (struct user_regs) / sizeof(elf_greg_t))]; | |
6053 | ||
6054 | ||
6055 | typedef struct user_fpregs elf_fpregset_t; | |
6056 | ||
6057 | ||
6058 | struct elf_siginfo | |
6059 | { | |
6060 | int si_signo; | |
6061 | int si_code; | |
6062 | int si_errno; | |
6063 | }; | |
6064 | # 66 "../ports/sysdeps/unix/sysv/linux/arm/sys/procfs.h" | |
6065 | struct elf_prstatus | |
6066 | { | |
6067 | struct elf_siginfo pr_info; | |
6068 | short int pr_cursig; | |
6069 | unsigned long int pr_sigpend; | |
6070 | unsigned long int pr_sighold; | |
6071 | __pid_t pr_pid; | |
6072 | __pid_t pr_ppid; | |
6073 | __pid_t pr_pgrp; | |
6074 | __pid_t pr_sid; | |
6075 | struct timeval pr_utime; | |
6076 | struct timeval pr_stime; | |
6077 | struct timeval pr_cutime; | |
6078 | struct timeval pr_cstime; | |
6079 | elf_gregset_t pr_reg; | |
6080 | int pr_fpvalid; | |
6081 | }; | |
6082 | ||
6083 | ||
6084 | ||
6085 | ||
6086 | struct elf_prpsinfo | |
6087 | { | |
6088 | char pr_state; | |
6089 | char pr_sname; | |
6090 | char pr_zomb; | |
6091 | char pr_nice; | |
6092 | unsigned long int pr_flag; | |
6093 | unsigned short int pr_uid; | |
6094 | unsigned short int pr_gid; | |
6095 | int pr_pid, pr_ppid, pr_pgrp, pr_sid; | |
6096 | ||
6097 | char pr_fname[16]; | |
6098 | char pr_psargs[(80)]; | |
6099 | }; | |
6100 | ||
6101 | ||
6102 | ||
6103 | ||
6104 | ||
6105 | ||
6106 | typedef void *psaddr_t; | |
6107 | ||
6108 | ||
6109 | typedef elf_gregset_t prgregset_t; | |
6110 | typedef elf_fpregset_t prfpregset_t; | |
6111 | ||
6112 | ||
6113 | ||
6114 | typedef __pid_t lwpid_t; | |
6115 | ||
6116 | ||
6117 | typedef struct elf_prstatus prstatus_t; | |
6118 | typedef struct elf_prpsinfo prpsinfo_t; | |
6119 | ||
6120 | ||
6121 | # 30 "../nptl/../nptl_db/thread_db.h" 2 | |
6122 | ||
6123 | ||
6124 | ||
6125 | typedef enum | |
6126 | { | |
6127 | TD_OK, | |
6128 | TD_ERR, | |
6129 | TD_NOTHR, | |
6130 | TD_NOSV, | |
6131 | TD_NOLWP, | |
6132 | TD_BADPH, | |
6133 | TD_BADTH, | |
6134 | TD_BADSH, | |
6135 | TD_BADTA, | |
6136 | TD_BADKEY, | |
6137 | TD_NOMSG, | |
6138 | TD_NOFPREGS, | |
6139 | TD_NOLIBTHREAD, | |
6140 | TD_NOEVENT, | |
6141 | TD_NOCAPAB, | |
6142 | TD_DBERR, | |
6143 | TD_NOAPLIC, | |
6144 | TD_NOTSD, | |
6145 | TD_MALLOC, | |
6146 | TD_PARTIALREG, | |
6147 | TD_NOXREGS, | |
6148 | TD_TLSDEFER, | |
6149 | TD_NOTALLOC = TD_TLSDEFER, | |
6150 | TD_VERSION, | |
6151 | TD_NOTLS | |
6152 | } td_err_e; | |
6153 | ||
6154 | ||
6155 | ||
6156 | ||
6157 | typedef enum | |
6158 | { | |
6159 | TD_THR_ANY_STATE, | |
6160 | TD_THR_UNKNOWN, | |
6161 | TD_THR_STOPPED, | |
6162 | TD_THR_RUN, | |
6163 | TD_THR_ACTIVE, | |
6164 | TD_THR_ZOMBIE, | |
6165 | TD_THR_SLEEP, | |
6166 | TD_THR_STOPPED_ASLEEP | |
6167 | } td_thr_state_e; | |
6168 | ||
6169 | ||
6170 | ||
6171 | typedef enum | |
6172 | { | |
6173 | TD_THR_ANY_TYPE, | |
6174 | TD_THR_USER, | |
6175 | TD_THR_SYSTEM | |
6176 | } td_thr_type_e; | |
6177 | ||
6178 | ||
6179 | ||
6180 | ||
6181 | ||
6182 | typedef struct td_thragent td_thragent_t; | |
6183 | ||
6184 | ||
6185 | typedef struct td_thrhandle | |
6186 | { | |
6187 | td_thragent_t *th_ta_p; | |
6188 | psaddr_t th_unique; | |
6189 | } td_thrhandle_t; | |
6190 | ||
6191 | ||
6192 | ||
6193 | struct link_map; | |
6194 | # 116 "../nptl/../nptl_db/thread_db.h" | |
6195 | typedef struct td_thr_events | |
6196 | { | |
6197 | uint32_t event_bits[2]; | |
6198 | } td_thr_events_t; | |
6199 | # 155 "../nptl/../nptl_db/thread_db.h" | |
6200 | typedef enum | |
6201 | { | |
6202 | TD_ALL_EVENTS, | |
6203 | TD_EVENT_NONE = TD_ALL_EVENTS, | |
6204 | TD_READY, | |
6205 | TD_SLEEP, | |
6206 | TD_SWITCHTO, | |
6207 | TD_SWITCHFROM, | |
6208 | TD_LOCK_TRY, | |
6209 | TD_CATCHSIG, | |
6210 | TD_IDLE, | |
6211 | TD_CREATE, | |
6212 | TD_DEATH, | |
6213 | TD_PREEMPT, | |
6214 | TD_PRI_INHERIT, | |
6215 | TD_REAP, | |
6216 | TD_CONCURRENCY, | |
6217 | TD_TIMEOUT, | |
6218 | TD_MIN_EVENT_NUM = TD_READY, | |
6219 | TD_MAX_EVENT_NUM = TD_TIMEOUT, | |
6220 | TD_EVENTS_ENABLE = 31 | |
6221 | } td_event_e; | |
6222 | ||
6223 | ||
6224 | typedef enum | |
6225 | { | |
6226 | NOTIFY_BPT, | |
6227 | NOTIFY_AUTOBPT, | |
6228 | ||
6229 | NOTIFY_SYSCALL | |
6230 | } td_notify_e; | |
6231 | ||
6232 | ||
6233 | typedef struct td_notify | |
6234 | { | |
6235 | td_notify_e type; | |
6236 | union | |
6237 | { | |
6238 | psaddr_t bptaddr; | |
6239 | int syscallno; | |
6240 | } u; | |
6241 | } td_notify_t; | |
6242 | ||
6243 | ||
6244 | typedef struct td_event_msg | |
6245 | { | |
6246 | td_event_e event; | |
6247 | const td_thrhandle_t *th_p; | |
6248 | union | |
6249 | { | |
6250 | ||
6251 | ||
6252 | ||
6253 | uintptr_t data; | |
6254 | } msg; | |
6255 | } td_event_msg_t; | |
6256 | ||
6257 | ||
6258 | typedef struct | |
6259 | { | |
6260 | td_thr_events_t eventmask; | |
6261 | td_event_e eventnum; | |
6262 | void *eventdata; | |
6263 | } td_eventbuf_t; | |
6264 | ||
6265 | ||
6266 | ||
6267 | typedef struct td_ta_stats | |
6268 | { | |
6269 | int nthreads; | |
6270 | int r_concurrency; | |
6271 | int nrunnable_num; | |
6272 | int nrunnable_den; | |
6273 | int a_concurrency_num; | |
6274 | int a_concurrency_den; | |
6275 | int nlwps_num; | |
6276 | ||
6277 | int nlwps_den; | |
6278 | ||
6279 | int nidle_num; | |
6280 | ||
6281 | int nidle_den; | |
6282 | ||
6283 | } td_ta_stats_t; | |
6284 | ||
6285 | ||
6286 | ||
6287 | ||
6288 | typedef pthread_t thread_t; | |
6289 | typedef pthread_key_t thread_key_t; | |
6290 | ||
6291 | ||
6292 | ||
6293 | typedef int td_thr_iter_f (const td_thrhandle_t *, void *); | |
6294 | ||
6295 | ||
6296 | typedef int td_key_iter_f (thread_key_t, void (*) (void *), void *); | |
6297 | ||
6298 | ||
6299 | ||
6300 | ||
6301 | struct ps_prochandle; | |
6302 | ||
6303 | ||
6304 | ||
6305 | typedef struct td_thrinfo | |
6306 | { | |
6307 | td_thragent_t *ti_ta_p; | |
6308 | unsigned int ti_user_flags; | |
6309 | thread_t ti_tid; | |
6310 | ||
6311 | char *ti_tls; | |
6312 | psaddr_t ti_startfunc; | |
6313 | ||
6314 | psaddr_t ti_stkbase; | |
6315 | long int ti_stksize; | |
6316 | psaddr_t ti_ro_area; | |
6317 | int ti_ro_size; | |
6318 | td_thr_state_e ti_state; | |
6319 | unsigned char ti_db_suspended; | |
6320 | td_thr_type_e ti_type; | |
6321 | ||
6322 | intptr_t ti_pc; | |
6323 | intptr_t ti_sp; | |
6324 | short int ti_flags; | |
6325 | int ti_pri; | |
6326 | lwpid_t ti_lid; | |
6327 | sigset_t ti_sigmask; | |
6328 | unsigned char ti_traceme; | |
6329 | ||
6330 | unsigned char ti_preemptflag; | |
6331 | unsigned char ti_pirecflag; | |
6332 | sigset_t ti_pending; | |
6333 | td_thr_events_t ti_events; | |
6334 | } td_thrinfo_t; | |
6335 | ||
6336 | ||
6337 | ||
6338 | ||
6339 | ||
6340 | ||
6341 | extern td_err_e td_init (void); | |
6342 | ||
6343 | ||
6344 | extern td_err_e td_log (void); | |
6345 | ||
6346 | ||
6347 | extern const char **td_symbol_list (void); | |
6348 | ||
6349 | ||
6350 | extern td_err_e td_ta_new (struct ps_prochandle *__ps, td_thragent_t **__ta); | |
6351 | ||
6352 | ||
6353 | extern td_err_e td_ta_delete (td_thragent_t *__ta); | |
6354 | ||
6355 | ||
6356 | extern td_err_e td_ta_get_nthreads (const td_thragent_t *__ta, int *__np); | |
6357 | ||
6358 | ||
6359 | ||
6360 | extern td_err_e td_ta_get_ph (const td_thragent_t *__ta, | |
6361 | struct ps_prochandle **__ph); | |
6362 | ||
6363 | ||
6364 | ||
6365 | extern td_err_e td_ta_map_id2thr (const td_thragent_t *__ta, pthread_t __pt, | |
6366 | td_thrhandle_t *__th); | |
6367 | ||
6368 | ||
6369 | ||
6370 | extern td_err_e td_ta_map_lwp2thr (const td_thragent_t *__ta, lwpid_t __lwpid, | |
6371 | td_thrhandle_t *__th); | |
6372 | ||
6373 | ||
6374 | ||
6375 | ||
6376 | extern td_err_e td_ta_thr_iter (const td_thragent_t *__ta, | |
6377 | td_thr_iter_f *__callback, void *__cbdata_p, | |
6378 | td_thr_state_e __state, int __ti_pri, | |
6379 | sigset_t *__ti_sigmask_p, | |
6380 | unsigned int __ti_user_flags); | |
6381 | ||
6382 | ||
6383 | extern td_err_e td_ta_tsd_iter (const td_thragent_t *__ta, td_key_iter_f *__ki, | |
6384 | void *__p); | |
6385 | ||
6386 | ||
6387 | ||
6388 | extern td_err_e td_ta_event_addr (const td_thragent_t *__ta, | |
6389 | td_event_e __event, td_notify_t *__ptr); | |
6390 | ||
6391 | ||
6392 | extern td_err_e td_ta_set_event (const td_thragent_t *__ta, | |
6393 | td_thr_events_t *__event); | |
6394 | ||
6395 | ||
6396 | extern td_err_e td_ta_clear_event (const td_thragent_t *__ta, | |
6397 | td_thr_events_t *__event); | |
6398 | ||
6399 | ||
6400 | extern td_err_e td_ta_event_getmsg (const td_thragent_t *__ta, | |
6401 | td_event_msg_t *__msg); | |
6402 | ||
6403 | ||
6404 | ||
6405 | extern td_err_e td_ta_setconcurrency (const td_thragent_t *__ta, int __level); | |
6406 | ||
6407 | ||
6408 | ||
6409 | extern td_err_e td_ta_enable_stats (const td_thragent_t *__ta, int __enable); | |
6410 | ||
6411 | ||
6412 | extern td_err_e td_ta_reset_stats (const td_thragent_t *__ta); | |
6413 | ||
6414 | ||
6415 | extern td_err_e td_ta_get_stats (const td_thragent_t *__ta, | |
6416 | td_ta_stats_t *__statsp); | |
6417 | ||
6418 | ||
6419 | ||
6420 | extern td_err_e td_thr_validate (const td_thrhandle_t *__th); | |
6421 | ||
6422 | ||
6423 | extern td_err_e td_thr_get_info (const td_thrhandle_t *__th, | |
6424 | td_thrinfo_t *__infop); | |
6425 | ||
6426 | ||
6427 | extern td_err_e td_thr_getfpregs (const td_thrhandle_t *__th, | |
6428 | prfpregset_t *__regset); | |
6429 | ||
6430 | ||
6431 | extern td_err_e td_thr_getgregs (const td_thrhandle_t *__th, | |
6432 | prgregset_t __gregs); | |
6433 | ||
6434 | ||
6435 | extern td_err_e td_thr_getxregs (const td_thrhandle_t *__th, void *__xregs); | |
6436 | ||
6437 | ||
6438 | extern td_err_e td_thr_getxregsize (const td_thrhandle_t *__th, int *__sizep); | |
6439 | ||
6440 | ||
6441 | extern td_err_e td_thr_setfpregs (const td_thrhandle_t *__th, | |
6442 | const prfpregset_t *__fpregs); | |
6443 | ||
6444 | ||
6445 | extern td_err_e td_thr_setgregs (const td_thrhandle_t *__th, | |
6446 | prgregset_t __gregs); | |
6447 | ||
6448 | ||
6449 | extern td_err_e td_thr_setxregs (const td_thrhandle_t *__th, | |
6450 | const void *__addr); | |
6451 | ||
6452 | ||
6453 | ||
6454 | extern td_err_e td_thr_tlsbase (const td_thrhandle_t *__th, | |
6455 | unsigned long int __modid, | |
6456 | psaddr_t *__base); | |
6457 | ||
6458 | ||
6459 | extern td_err_e td_thr_tls_get_addr (const td_thrhandle_t *__th, | |
6460 | psaddr_t __map_address, size_t __offset, | |
6461 | psaddr_t *__address); | |
6462 | ||
6463 | ||
6464 | ||
6465 | extern td_err_e td_thr_event_enable (const td_thrhandle_t *__th, int __event); | |
6466 | ||
6467 | ||
6468 | extern td_err_e td_thr_set_event (const td_thrhandle_t *__th, | |
6469 | td_thr_events_t *__event); | |
6470 | ||
6471 | ||
6472 | extern td_err_e td_thr_clear_event (const td_thrhandle_t *__th, | |
6473 | td_thr_events_t *__event); | |
6474 | ||
6475 | ||
6476 | extern td_err_e td_thr_event_getmsg (const td_thrhandle_t *__th, | |
6477 | td_event_msg_t *__msg); | |
6478 | ||
6479 | ||
6480 | ||
6481 | extern td_err_e td_thr_setprio (const td_thrhandle_t *__th, int __prio); | |
6482 | ||
6483 | ||
6484 | ||
6485 | extern td_err_e td_thr_setsigpending (const td_thrhandle_t *__th, | |
6486 | unsigned char __n, const sigset_t *__ss); | |
6487 | ||
6488 | ||
6489 | extern td_err_e td_thr_sigsetmask (const td_thrhandle_t *__th, | |
6490 | const sigset_t *__ss); | |
6491 | ||
6492 | ||
6493 | ||
6494 | extern td_err_e td_thr_tsd (const td_thrhandle_t *__th, | |
6495 | const thread_key_t __tk, void **__data); | |
6496 | ||
6497 | ||
6498 | ||
6499 | extern td_err_e td_thr_dbsuspend (const td_thrhandle_t *__th); | |
6500 | ||
6501 | ||
6502 | extern td_err_e td_thr_dbresume (const td_thrhandle_t *__th); | |
6503 | # 35 "../nptl/descr.h" 2 | |
6504 | ||
6505 | ||
6506 | # 1 "../ports/sysdeps/unix/sysv/linux/arm/eabi/nptl/unwind.h" 1 | |
6507 | # 40 "../ports/sysdeps/unix/sysv/linux/arm/eabi/nptl/unwind.h" | |
6508 | typedef unsigned _Unwind_Word __attribute__((__mode__(__word__))); | |
6509 | typedef signed _Unwind_Sword __attribute__((__mode__(__word__))); | |
6510 | typedef unsigned _Unwind_Ptr __attribute__((__mode__(__pointer__))); | |
6511 | typedef unsigned _Unwind_Internal_Ptr __attribute__((__mode__(__pointer__))); | |
6512 | typedef _Unwind_Word _uw; | |
6513 | typedef unsigned _uw64 __attribute__((mode(__DI__))); | |
6514 | typedef unsigned _uw16 __attribute__((mode(__HI__))); | |
6515 | typedef unsigned _uw8 __attribute__((mode(__QI__))); | |
6516 | ||
6517 | typedef enum | |
6518 | { | |
6519 | _URC_OK = 0, | |
6520 | _URC_FOREIGN_EXCEPTION_CAUGHT = 1, | |
6521 | _URC_END_OF_STACK = 5, | |
6522 | _URC_HANDLER_FOUND = 6, | |
6523 | _URC_INSTALL_CONTEXT = 7, | |
6524 | _URC_CONTINUE_UNWIND = 8, | |
6525 | _URC_FAILURE = 9 | |
6526 | } | |
6527 | _Unwind_Reason_Code; | |
6528 | ||
6529 | typedef enum | |
6530 | { | |
6531 | _US_VIRTUAL_UNWIND_FRAME = 0, | |
6532 | _US_UNWIND_FRAME_STARTING = 1, | |
6533 | _US_UNWIND_FRAME_RESUME = 2, | |
6534 | _US_ACTION_MASK = 3, | |
6535 | _US_FORCE_UNWIND = 8, | |
6536 | _US_END_OF_STACK = 16 | |
6537 | } | |
6538 | _Unwind_State; | |
6539 | ||
6540 | ||
6541 | typedef int _Unwind_Action; | |
6542 | ||
6543 | ||
6544 | ||
6545 | ||
6546 | ||
6547 | ||
6548 | ||
6549 | typedef struct _Unwind_Control_Block _Unwind_Control_Block; | |
6550 | typedef struct _Unwind_Context _Unwind_Context; | |
6551 | typedef _uw _Unwind_EHT_Header; | |
6552 | ||
6553 | ||
6554 | ||
6555 | ||
6556 | struct _Unwind_Control_Block | |
6557 | { | |
6558 | ||
6559 | ||
6560 | ||
6561 | _uw64 exception_class; | |
6562 | ||
6563 | ||
6564 | ||
6565 | void (*exception_cleanup)(_Unwind_Reason_Code, _Unwind_Control_Block *); | |
6566 | ||
6567 | struct | |
6568 | { | |
6569 | _uw reserved1; | |
6570 | _uw reserved2; | |
6571 | _uw reserved3; | |
6572 | _uw reserved4; | |
6573 | _uw reserved5; | |
6574 | } | |
6575 | unwinder_cache; | |
6576 | ||
6577 | struct | |
6578 | { | |
6579 | _uw sp; | |
6580 | _uw bitpattern[5]; | |
6581 | } | |
6582 | barrier_cache; | |
6583 | ||
6584 | struct | |
6585 | { | |
6586 | _uw bitpattern[4]; | |
6587 | } | |
6588 | cleanup_cache; | |
6589 | ||
6590 | struct | |
6591 | { | |
6592 | _uw fnstart; | |
6593 | _Unwind_EHT_Header *ehtp; | |
6594 | _uw additional; | |
6595 | _uw reserved1; | |
6596 | } | |
6597 | pr_cache; | |
6598 | long long int :0; | |
6599 | }; | |
6600 | ||
6601 | ||
6602 | ||
6603 | typedef enum | |
6604 | { | |
6605 | _UVRSC_CORE = 0, | |
6606 | _UVRSC_VFP = 1, | |
6607 | _UVRSC_FPA = 2, | |
6608 | _UVRSC_WMMXD = 3, | |
6609 | _UVRSC_WMMXC = 4 | |
6610 | } | |
6611 | _Unwind_VRS_RegClass; | |
6612 | ||
6613 | typedef enum | |
6614 | { | |
6615 | _UVRSD_UINT32 = 0, | |
6616 | _UVRSD_VFPX = 1, | |
6617 | _UVRSD_FPAX = 2, | |
6618 | _UVRSD_UINT64 = 3, | |
6619 | _UVRSD_FLOAT = 4, | |
6620 | _UVRSD_DOUBLE = 5 | |
6621 | } | |
6622 | _Unwind_VRS_DataRepresentation; | |
6623 | ||
6624 | typedef enum | |
6625 | { | |
6626 | _UVRSR_OK = 0, | |
6627 | _UVRSR_NOT_IMPLEMENTED = 1, | |
6628 | _UVRSR_FAILED = 2 | |
6629 | } | |
6630 | _Unwind_VRS_Result; | |
6631 | ||
6632 | ||
6633 | typedef struct | |
6634 | { | |
6635 | ||
6636 | _uw data; | |
6637 | ||
6638 | _uw *next; | |
6639 | ||
6640 | _uw8 bytes_left; | |
6641 | ||
6642 | _uw8 words_left; | |
6643 | } | |
6644 | __gnu_unwind_state; | |
6645 | ||
6646 | typedef _Unwind_Reason_Code (*personality_routine) (_Unwind_State, | |
6647 | _Unwind_Control_Block *, _Unwind_Context *); | |
6648 | ||
6649 | _Unwind_VRS_Result _Unwind_VRS_Set(_Unwind_Context *, _Unwind_VRS_RegClass, | |
6650 | _uw, _Unwind_VRS_DataRepresentation, | |
6651 | void *); | |
6652 | ||
6653 | _Unwind_VRS_Result _Unwind_VRS_Get(_Unwind_Context *, _Unwind_VRS_RegClass, | |
6654 | _uw, _Unwind_VRS_DataRepresentation, | |
6655 | void *); | |
6656 | ||
6657 | _Unwind_VRS_Result _Unwind_VRS_Pop(_Unwind_Context *, _Unwind_VRS_RegClass, | |
6658 | _uw, _Unwind_VRS_DataRepresentation); | |
6659 | ||
6660 | ||
6661 | ||
6662 | ||
6663 | typedef char _Unwind_Exception_Class[8]; | |
6664 | ||
6665 | void * _Unwind_GetLanguageSpecificData (_Unwind_Context *); | |
6666 | _Unwind_Ptr _Unwind_GetRegionStart (_Unwind_Context *); | |
6667 | ||
6668 | ||
6669 | _Unwind_Ptr _Unwind_GetDataRelBase (_Unwind_Context *); | |
6670 | _Unwind_Ptr _Unwind_GetTextRelBase (_Unwind_Context *); | |
6671 | ||
6672 | ||
6673 | _Unwind_Reason_Code _Unwind_RaiseException(_Unwind_Control_Block *ucbp); | |
6674 | void __attribute__((noreturn)) _Unwind_Resume(_Unwind_Control_Block *ucbp); | |
6675 | _Unwind_Reason_Code _Unwind_Resume_or_Rethrow (_Unwind_Control_Block *ucbp); | |
6676 | ||
6677 | typedef _Unwind_Reason_Code (*_Unwind_Stop_Fn) | |
6678 | (int, _Unwind_Action, _Unwind_Exception_Class, | |
6679 | _Unwind_Control_Block *, struct _Unwind_Context *, void *); | |
6680 | _Unwind_Reason_Code _Unwind_ForcedUnwind (_Unwind_Control_Block *, | |
6681 | _Unwind_Stop_Fn, void *); | |
6682 | _Unwind_Word _Unwind_GetCFA (struct _Unwind_Context *); | |
6683 | void _Unwind_Complete(_Unwind_Control_Block *ucbp); | |
6684 | void _Unwind_DeleteException (_Unwind_Control_Block *); | |
6685 | ||
6686 | _Unwind_Reason_Code __gnu_unwind_frame (_Unwind_Control_Block *, | |
6687 | _Unwind_Context *); | |
6688 | _Unwind_Reason_Code __gnu_unwind_execute (_Unwind_Context *, | |
6689 | __gnu_unwind_state *); | |
6690 | ||
6691 | ||
6692 | static inline _Unwind_Word | |
6693 | _Unwind_decode_target2 (_Unwind_Word ptr) | |
6694 | { | |
6695 | _Unwind_Word tmp; | |
6696 | ||
6697 | tmp = *(_Unwind_Word *) ptr; | |
6698 | ||
6699 | if (!tmp) | |
6700 | return 0; | |
6701 | ||
6702 | ||
6703 | ||
6704 | tmp += ptr; | |
6705 | tmp = *(_Unwind_Word *) tmp; | |
6706 | ||
6707 | ||
6708 | ||
6709 | ||
6710 | ||
6711 | ||
6712 | return tmp; | |
6713 | } | |
6714 | ||
6715 | static inline _Unwind_Word | |
6716 | _Unwind_GetGR (_Unwind_Context *context, int regno) | |
6717 | { | |
6718 | _uw val; | |
6719 | _Unwind_VRS_Get (context, _UVRSC_CORE, regno, _UVRSD_UINT32, &val); | |
6720 | return val; | |
6721 | } | |
6722 | ||
6723 | ||
6724 | ||
6725 | ||
6726 | ||
6727 | static inline void | |
6728 | _Unwind_SetGR (_Unwind_Context *context, int regno, _Unwind_Word val) | |
6729 | { | |
6730 | _Unwind_VRS_Set (context, _UVRSC_CORE, regno, _UVRSD_UINT32, &val); | |
6731 | } | |
6732 | ||
6733 | ||
6734 | ||
6735 | ||
6736 | ||
6737 | ||
6738 | typedef _Unwind_Reason_Code (*_Unwind_Trace_Fn) | |
6739 | (struct _Unwind_Context *, void *); | |
6740 | ||
6741 | extern _Unwind_Reason_Code _Unwind_Backtrace (_Unwind_Trace_Fn, void *); | |
6742 | # 38 "../nptl/descr.h" 2 | |
6743 | ||
6744 | ||
6745 | # 1 "../include/resolv.h" 1 | |
6746 | # 12 "../include/resolv.h" | |
6747 | # 1 "../resolv/resolv.h" 1 | |
6748 | # 56 "../resolv/resolv.h" | |
6749 | # 1 "../include/sys/types.h" 1 | |
6750 | # 57 "../resolv/resolv.h" 2 | |
6751 | # 1 "../include/netinet/in.h" 1 | |
6752 | ||
6753 | ||
6754 | # 1 "../inet/netinet/in.h" 1 | |
6755 | # 25 "../inet/netinet/in.h" | |
6756 | # 1 "../include/sys/socket.h" 1 | |
6757 | ||
6758 | # 1 "../socket/sys/socket.h" 1 | |
6759 | # 26 "../socket/sys/socket.h" | |
6760 | ||
6761 | ||
6762 | # 1 "../include/sys/uio.h" 1 | |
6763 | ||
6764 | # 1 "../misc/sys/uio.h" 1 | |
6765 | # 24 "../misc/sys/uio.h" | |
6766 | # 1 "../include/sys/types.h" 1 | |
6767 | # 25 "../misc/sys/uio.h" 2 | |
6768 | ||
6769 | ||
6770 | ||
6771 | ||
6772 | # 1 "../sysdeps/unix/sysv/linux/bits/uio.h" 1 | |
6773 | # 26 "../sysdeps/unix/sysv/linux/bits/uio.h" | |
6774 | # 1 "../include/sys/types.h" 1 | |
6775 | # 27 "../sysdeps/unix/sysv/linux/bits/uio.h" 2 | |
6776 | # 44 "../sysdeps/unix/sysv/linux/bits/uio.h" | |
6777 | struct iovec | |
6778 | { | |
6779 | void *iov_base; | |
6780 | size_t iov_len; | |
6781 | }; | |
6782 | ||
6783 | ||
6784 | ||
6785 | ||
6786 | ||
6787 | ||
6788 | ||
6789 | ||
6790 | ||
6791 | extern ssize_t process_vm_readv (pid_t __pid, __const struct iovec *__lvec, | |
6792 | unsigned long int __liovcnt, | |
6793 | __const struct iovec *__rvec, | |
6794 | unsigned long int __riovcnt, | |
6795 | unsigned long int __flags) | |
6796 | __attribute__ ((__nothrow__ )); | |
6797 | ||
6798 | ||
6799 | extern ssize_t process_vm_writev (pid_t __pid, __const struct iovec *__lvec, | |
6800 | unsigned long int __liovcnt, | |
6801 | __const struct iovec *__rvec, | |
6802 | unsigned long int __riovcnt, | |
6803 | unsigned long int __flags) | |
6804 | __attribute__ ((__nothrow__ )); | |
6805 | ||
6806 | ||
6807 | # 30 "../misc/sys/uio.h" 2 | |
6808 | # 40 "../misc/sys/uio.h" | |
6809 | extern ssize_t readv (int __fd, __const struct iovec *__iovec, int __count) | |
6810 | ; | |
6811 | # 51 "../misc/sys/uio.h" | |
6812 | extern ssize_t writev (int __fd, __const struct iovec *__iovec, int __count) | |
6813 | ; | |
6814 | # 66 "../misc/sys/uio.h" | |
6815 | extern ssize_t preadv (int __fd, __const struct iovec *__iovec, int __count, | |
6816 | __off_t __offset) ; | |
6817 | # 78 "../misc/sys/uio.h" | |
6818 | extern ssize_t pwritev (int __fd, __const struct iovec *__iovec, int __count, | |
6819 | __off_t __offset) ; | |
6820 | # 104 "../misc/sys/uio.h" | |
6821 | extern ssize_t preadv64 (int __fd, __const struct iovec *__iovec, int __count, | |
6822 | __off64_t __offset) ; | |
6823 | # 116 "../misc/sys/uio.h" | |
6824 | extern ssize_t pwritev64 (int __fd, __const struct iovec *__iovec, int __count, | |
6825 | __off64_t __offset) ; | |
6826 | ||
6827 | ||
6828 | ||
6829 | ||
6830 | # 3 "../include/sys/uio.h" 2 | |
6831 | ||
6832 | ||
6833 | extern ssize_t __readv (int __fd, __const struct iovec *__iovec, | |
6834 | int __count); | |
6835 | extern ssize_t __libc_readv (int __fd, __const struct iovec *__iovec, | |
6836 | int __count); | |
6837 | extern ssize_t __writev (int __fd, __const struct iovec *__iovec, | |
6838 | int __count); | |
6839 | extern ssize_t __libc_writev (int __fd, __const struct iovec *__iovec, | |
6840 | int __count); | |
6841 | # 29 "../socket/sys/socket.h" 2 | |
6842 | ||
6843 | # 1 "/usr/lib/gcc/armv5te-iwmmxt-linux-gnueabi/4.7.3/include/stddef.h" 1 3 4 | |
6844 | # 31 "../socket/sys/socket.h" 2 | |
6845 | ||
6846 | ||
6847 | # 1 "../sysdeps/unix/sysv/linux/bits/sigset.h" 1 | |
6848 | # 34 "../socket/sys/socket.h" 2 | |
6849 | ||
6850 | ||
6851 | ||
6852 | ||
6853 | ||
6854 | ||
6855 | # 1 "../sysdeps/unix/sysv/linux/bits/socket.h" 1 | |
6856 | # 29 "../sysdeps/unix/sysv/linux/bits/socket.h" | |
6857 | # 1 "/usr/lib/gcc/armv5te-iwmmxt-linux-gnueabi/4.7.3/include/stddef.h" 1 3 4 | |
6858 | # 30 "../sysdeps/unix/sysv/linux/bits/socket.h" 2 | |
6859 | ||
6860 | # 1 "../include/sys/types.h" 1 | |
6861 | # 32 "../sysdeps/unix/sysv/linux/bits/socket.h" 2 | |
6862 | ||
6863 | ||
6864 | ||
6865 | typedef __socklen_t socklen_t; | |
6866 | ||
6867 | ||
6868 | ||
6869 | ||
6870 | enum __socket_type | |
6871 | { | |
6872 | SOCK_STREAM = 1, | |
6873 | ||
6874 | ||
6875 | SOCK_DGRAM = 2, | |
6876 | ||
6877 | ||
6878 | SOCK_RAW = 3, | |
6879 | ||
6880 | SOCK_RDM = 4, | |
6881 | ||
6882 | SOCK_SEQPACKET = 5, | |
6883 | ||
6884 | ||
6885 | SOCK_DCCP = 6, | |
6886 | ||
6887 | SOCK_PACKET = 10, | |
6888 | ||
6889 | ||
6890 | ||
6891 | ||
6892 | ||
6893 | ||
6894 | ||
6895 | SOCK_CLOEXEC = 02000000, | |
6896 | ||
6897 | ||
6898 | SOCK_NONBLOCK = 04000 | |
6899 | ||
6900 | ||
6901 | }; | |
6902 | # 177 "../sysdeps/unix/sysv/linux/bits/socket.h" | |
6903 | # 1 "../bits/sockaddr.h" 1 | |
6904 | # 29 "../bits/sockaddr.h" | |
6905 | typedef unsigned short int sa_family_t; | |
6906 | # 178 "../sysdeps/unix/sysv/linux/bits/socket.h" 2 | |
6907 | ||
6908 | ||
6909 | struct sockaddr | |
6910 | { | |
6911 | sa_family_t sa_family; | |
6912 | char sa_data[14]; | |
6913 | }; | |
6914 | # 193 "../sysdeps/unix/sysv/linux/bits/socket.h" | |
6915 | struct sockaddr_storage | |
6916 | { | |
6917 | sa_family_t ss_family; | |
6918 | unsigned long int __ss_align; | |
6919 | char __ss_padding[(128 - (2 * sizeof (unsigned long int)))]; | |
6920 | }; | |
6921 | ||
6922 | ||
6923 | ||
6924 | enum | |
6925 | { | |
6926 | MSG_OOB = 0x01, | |
6927 | ||
6928 | MSG_PEEK = 0x02, | |
6929 | ||
6930 | MSG_DONTROUTE = 0x04, | |
6931 | ||
6932 | ||
6933 | ||
6934 | MSG_TRYHARD = MSG_DONTROUTE, | |
6935 | ||
6936 | ||
6937 | MSG_CTRUNC = 0x08, | |
6938 | ||
6939 | MSG_PROXY = 0x10, | |
6940 | ||
6941 | MSG_TRUNC = 0x20, | |
6942 | ||
6943 | MSG_DONTWAIT = 0x40, | |
6944 | ||
6945 | MSG_EOR = 0x80, | |
6946 | ||
6947 | MSG_WAITALL = 0x100, | |
6948 | ||
6949 | MSG_FIN = 0x200, | |
6950 | ||
6951 | MSG_SYN = 0x400, | |
6952 | ||
6953 | MSG_CONFIRM = 0x800, | |
6954 | ||
6955 | MSG_RST = 0x1000, | |
6956 | ||
6957 | MSG_ERRQUEUE = 0x2000, | |
6958 | ||
6959 | MSG_NOSIGNAL = 0x4000, | |
6960 | ||
6961 | MSG_MORE = 0x8000, | |
6962 | ||
6963 | MSG_WAITFORONE = 0x10000, | |
6964 | ||
6965 | ||
6966 | MSG_CMSG_CLOEXEC = 0x40000000 | |
6967 | ||
6968 | ||
6969 | ||
6970 | }; | |
6971 | ||
6972 | ||
6973 | ||
6974 | ||
6975 | struct msghdr | |
6976 | { | |
6977 | void *msg_name; | |
6978 | socklen_t msg_namelen; | |
6979 | ||
6980 | struct iovec *msg_iov; | |
6981 | size_t msg_iovlen; | |
6982 | ||
6983 | void *msg_control; | |
6984 | size_t msg_controllen; | |
6985 | ||
6986 | ||
6987 | ||
6988 | ||
6989 | int msg_flags; | |
6990 | }; | |
6991 | ||
6992 | ||
6993 | ||
6994 | struct mmsghdr | |
6995 | { | |
6996 | struct msghdr msg_hdr; | |
6997 | unsigned int msg_len; | |
6998 | }; | |
6999 | ||
7000 | ||
7001 | ||
7002 | struct cmsghdr | |
7003 | { | |
7004 | size_t cmsg_len; | |
7005 | ||
7006 | ||
7007 | ||
7008 | ||
7009 | int cmsg_level; | |
7010 | int cmsg_type; | |
7011 | ||
7012 | __extension__ unsigned char __cmsg_data []; | |
7013 | ||
7014 | }; | |
7015 | # 310 "../sysdeps/unix/sysv/linux/bits/socket.h" | |
7016 | extern struct cmsghdr *__cmsg_nxthdr (struct msghdr *__mhdr, | |
7017 | struct cmsghdr *__cmsg) __attribute__ ((__nothrow__ )); | |
7018 | ||
7019 | ||
7020 | ||
7021 | ||
7022 | extern __inline struct cmsghdr * | |
7023 | __attribute__ ((__nothrow__ )) __cmsg_nxthdr (struct msghdr *__mhdr, struct cmsghdr *__cmsg) | |
7024 | { | |
7025 | if ((size_t) __cmsg->cmsg_len < sizeof (struct cmsghdr)) | |
7026 | ||
7027 | return (struct cmsghdr *) 0; | |
7028 | ||
7029 | __cmsg = (struct cmsghdr *) ((unsigned char *) __cmsg | |
7030 | + (((__cmsg->cmsg_len) + sizeof (size_t) - 1) & (size_t) ~(sizeof (size_t) - 1))); | |
7031 | if ((unsigned char *) (__cmsg + 1) > ((unsigned char *) __mhdr->msg_control | |
7032 | + __mhdr->msg_controllen) | |
7033 | || ((unsigned char *) __cmsg + (((__cmsg->cmsg_len) + sizeof (size_t) - 1) & (size_t) ~(sizeof (size_t) - 1)) | |
7034 | > ((unsigned char *) __mhdr->msg_control + __mhdr->msg_controllen))) | |
7035 | ||
7036 | return (struct cmsghdr *) 0; | |
7037 | return __cmsg; | |
7038 | } | |
7039 | ||
7040 | ||
7041 | ||
7042 | ||
7043 | enum | |
7044 | { | |
7045 | SCM_RIGHTS = 0x01 | |
7046 | ||
7047 | ||
7048 | , SCM_CREDENTIALS = 0x02 | |
7049 | ||
7050 | ||
7051 | }; | |
7052 | ||
7053 | ||
7054 | ||
7055 | struct ucred | |
7056 | { | |
7057 | pid_t pid; | |
7058 | uid_t uid; | |
7059 | gid_t gid; | |
7060 | }; | |
7061 | # 383 "../sysdeps/unix/sysv/linux/bits/socket.h" | |
7062 | # 1 "/usr/include/asm/socket.h" 1 3 4 | |
7063 | # 1 "/usr/include/asm-generic/socket.h" 1 3 4 | |
7064 | ||
7065 | ||
7066 | ||
7067 | # 1 "/usr/include/asm/sockios.h" 1 3 4 | |
7068 | # 1 "/usr/include/asm-generic/sockios.h" 1 3 4 | |
7069 | # 1 "/usr/include/asm/sockios.h" 2 3 4 | |
7070 | # 5 "/usr/include/asm-generic/socket.h" 2 3 4 | |
7071 | # 1 "/usr/include/asm/socket.h" 2 3 4 | |
7072 | # 384 "../sysdeps/unix/sysv/linux/bits/socket.h" 2 | |
7073 | # 417 "../sysdeps/unix/sysv/linux/bits/socket.h" | |
7074 | struct linger | |
7075 | { | |
7076 | int l_onoff; | |
7077 | int l_linger; | |
7078 | }; | |
7079 | ||
7080 | ||
7081 | ||
7082 | ||
7083 | ||
7084 | ||
7085 | ||
7086 | ||
7087 | ||
7088 | extern int recvmmsg (int __fd, struct mmsghdr *__vmessages, | |
7089 | unsigned int __vlen, int __flags, | |
7090 | __const struct timespec *__tmo); | |
7091 | ||
7092 | ||
7093 | ||
7094 | ||
7095 | ||
7096 | extern int sendmmsg (int __fd, struct mmsghdr *__vmessages, | |
7097 | unsigned int __vlen, int __flags); | |
7098 | ||
7099 | ||
7100 | # 41 "../socket/sys/socket.h" 2 | |
7101 | ||
7102 | ||
7103 | ||
7104 | ||
7105 | struct osockaddr | |
7106 | { | |
7107 | unsigned short int sa_family; | |
7108 | unsigned char sa_data[14]; | |
7109 | }; | |
7110 | ||
7111 | ||
7112 | ||
7113 | ||
7114 | enum | |
7115 | { | |
7116 | SHUT_RD = 0, | |
7117 | ||
7118 | SHUT_WR, | |
7119 | ||
7120 | SHUT_RDWR | |
7121 | ||
7122 | }; | |
7123 | # 92 "../socket/sys/socket.h" | |
7124 | 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__; | |
7125 | } __SOCKADDR_ARG __attribute__ ((__transparent_union__)); | |
7126 | ||
7127 | ||
7128 | 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__; | |
7129 | } __CONST_SOCKADDR_ARG __attribute__ ((__transparent_union__)); | |
7130 | ||
7131 | ||
7132 | ||
7133 | ||
7134 | ||
7135 | ||
7136 | ||
7137 | extern int socket (int __domain, int __type, int __protocol) __attribute__ ((__nothrow__ )); | |
7138 | ||
7139 | ||
7140 | ||
7141 | ||
7142 | ||
7143 | extern int socketpair (int __domain, int __type, int __protocol, | |
7144 | int __fds[2]) __attribute__ ((__nothrow__ )); | |
7145 | ||
7146 | ||
7147 | extern int bind (int __fd, __CONST_SOCKADDR_ARG __addr, socklen_t __len) | |
7148 | __attribute__ ((__nothrow__ )); | |
7149 | ||
7150 | ||
7151 | extern int getsockname (int __fd, __SOCKADDR_ARG __addr, | |
7152 | socklen_t *__restrict __len) __attribute__ ((__nothrow__ )); | |
7153 | # 129 "../socket/sys/socket.h" | |
7154 | extern int connect (int __fd, __CONST_SOCKADDR_ARG __addr, socklen_t __len); | |
7155 | ||
7156 | ||
7157 | ||
7158 | extern int getpeername (int __fd, __SOCKADDR_ARG __addr, | |
7159 | socklen_t *__restrict __len) __attribute__ ((__nothrow__ )); | |
7160 | ||
7161 | ||
7162 | ||
7163 | ||
7164 | ||
7165 | ||
7166 | extern ssize_t send (int __fd, __const void *__buf, size_t __n, int __flags); | |
7167 | ||
7168 | ||
7169 | ||
7170 | ||
7171 | ||
7172 | ||
7173 | extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags); | |
7174 | ||
7175 | ||
7176 | ||
7177 | ||
7178 | ||
7179 | ||
7180 | extern ssize_t sendto (int __fd, __const void *__buf, size_t __n, | |
7181 | int __flags, __CONST_SOCKADDR_ARG __addr, | |
7182 | socklen_t __addr_len); | |
7183 | # 166 "../socket/sys/socket.h" | |
7184 | extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n, | |
7185 | int __flags, __SOCKADDR_ARG __addr, | |
7186 | socklen_t *__restrict __addr_len); | |
7187 | ||
7188 | ||
7189 | ||
7190 | ||
7191 | ||
7192 | ||
7193 | ||
7194 | extern ssize_t sendmsg (int __fd, __const struct msghdr *__message, | |
7195 | int __flags); | |
7196 | ||
7197 | ||
7198 | ||
7199 | ||
7200 | ||
7201 | ||
7202 | extern ssize_t recvmsg (int __fd, struct msghdr *__message, int __flags); | |
7203 | ||
7204 | ||
7205 | ||
7206 | ||
7207 | ||
7208 | extern int getsockopt (int __fd, int __level, int __optname, | |
7209 | void *__restrict __optval, | |
7210 | socklen_t *__restrict __optlen) __attribute__ ((__nothrow__ )); | |
7211 | ||
7212 | ||
7213 | ||
7214 | ||
7215 | extern int setsockopt (int __fd, int __level, int __optname, | |
7216 | __const void *__optval, socklen_t __optlen) __attribute__ ((__nothrow__ )); | |
7217 | ||
7218 | ||
7219 | ||
7220 | ||
7221 | ||
7222 | extern int listen (int __fd, int __n) __attribute__ ((__nothrow__ )); | |
7223 | # 214 "../socket/sys/socket.h" | |
7224 | extern int accept (int __fd, __SOCKADDR_ARG __addr, | |
7225 | socklen_t *__restrict __addr_len); | |
7226 | ||
7227 | ||
7228 | ||
7229 | ||
7230 | ||
7231 | ||
7232 | extern int accept4 (int __fd, __SOCKADDR_ARG __addr, | |
7233 | socklen_t *__restrict __addr_len, int __flags); | |
7234 | # 232 "../socket/sys/socket.h" | |
7235 | extern int shutdown (int __fd, int __how) __attribute__ ((__nothrow__ )); | |
7236 | ||
7237 | ||
7238 | ||
7239 | ||
7240 | extern int sockatmark (int __fd) __attribute__ ((__nothrow__ )); | |
7241 | ||
7242 | ||
7243 | ||
7244 | ||
7245 | ||
7246 | ||
7247 | ||
7248 | extern int isfdtype (int __fd, int __fdtype) __attribute__ ((__nothrow__ )); | |
7249 | # 254 "../socket/sys/socket.h" | |
7250 | ||
7251 | # 3 "../include/sys/socket.h" 2 | |
7252 | ||
7253 | ||
7254 | ||
7255 | ||
7256 | ||
7257 | ||
7258 | extern int __socket (int __domain, int __type, | |
7259 | int __protocol) ; | |
7260 | ||
7261 | ||
7262 | ||
7263 | ||
7264 | ||
7265 | extern int __socketpair (int __domain, int __type, int __protocol, | |
7266 | int __fds[2]) ; | |
7267 | ||
7268 | ||
7269 | ||
7270 | extern int __opensock (void) ; | |
7271 | ||
7272 | ||
7273 | ||
7274 | extern int __getpeername (int __fd, __SOCKADDR_ARG __addr, | |
7275 | socklen_t *__len) ; | |
7276 | ||
7277 | ||
7278 | extern ssize_t __libc_send (int __fd, __const void *__buf, size_t __n, | |
7279 | int __flags); | |
7280 | extern ssize_t __send (int __fd, __const void *__buf, size_t __n, int __flags); | |
7281 | ||
7282 | ||
7283 | ||
7284 | ||
7285 | extern ssize_t __libc_recv (int __fd, void *__buf, size_t __n, int __flags); | |
7286 | ||
7287 | ||
7288 | ||
7289 | extern ssize_t __libc_sendto (int __fd, __const void *__buf, size_t __n, | |
7290 | int __flags, __CONST_SOCKADDR_ARG __addr, | |
7291 | socklen_t __addr_len); | |
7292 | ||
7293 | ||
7294 | ||
7295 | ||
7296 | ||
7297 | extern ssize_t __libc_recvfrom (int __fd, void *__restrict __buf, size_t __n, | |
7298 | int __flags, __SOCKADDR_ARG __addr, | |
7299 | socklen_t *__restrict __addr_len); | |
7300 | ||
7301 | ||
7302 | ||
7303 | ||
7304 | ||
7305 | extern int __libc_connect (int __fd, __CONST_SOCKADDR_ARG __addr, | |
7306 | socklen_t __len); | |
7307 | extern int __connect (int __fd, __CONST_SOCKADDR_ARG __addr, socklen_t __len); | |
7308 | extern int __connect_internal (int __fd, __CONST_SOCKADDR_ARG __addr, | |
7309 | socklen_t __len) ; | |
7310 | ||
7311 | ||
7312 | ||
7313 | ||
7314 | ||
7315 | ||
7316 | extern ssize_t __recv (int __fd, void *__buf, size_t __n, int __flags) | |
7317 | ; | |
7318 | ||
7319 | ||
7320 | ||
7321 | extern ssize_t __libc_sendto (int __fd, __const void *__buf, size_t __n, | |
7322 | int __flags, __CONST_SOCKADDR_ARG __addr, | |
7323 | socklen_t __addr_len); | |
7324 | extern ssize_t __sendto (int __fd, __const void *__buf, size_t __n, | |
7325 | int __flags, __CONST_SOCKADDR_ARG __addr, | |
7326 | socklen_t __addr_len) ; | |
7327 | ||
7328 | ||
7329 | ||
7330 | ||
7331 | ||
7332 | extern ssize_t __recvfrom (int __fd, void *__restrict __buf, size_t __n, | |
7333 | int __flags, __SOCKADDR_ARG __addr, | |
7334 | socklen_t *__restrict __addr_len) ; | |
7335 | ||
7336 | ||
7337 | ||
7338 | extern ssize_t __libc_sendmsg (int __fd, __const struct msghdr *__message, | |
7339 | int __flags); | |
7340 | extern ssize_t __sendmsg (int __fd, __const struct msghdr *__message, | |
7341 | int __flags) ; | |
7342 | ||
7343 | ||
7344 | ||
7345 | extern ssize_t __libc_recvmsg (int __fd, struct msghdr *__message, | |
7346 | int __flags); | |
7347 | extern ssize_t __recvmsg (int __fd, struct msghdr *__message, | |
7348 | int __flags) ; | |
7349 | ||
7350 | ||
7351 | ||
7352 | ||
7353 | extern int __setsockopt (int __fd, int __level, int __optname, | |
7354 | __const void *__optval, | |
7355 | socklen_t __optlen) ; | |
7356 | ||
7357 | ||
7358 | ||
7359 | ||
7360 | extern int __getsockopt (int __fd, int __level, int __optname, | |
7361 | void *__restrict __optval, | |
7362 | socklen_t *__restrict __optlen) ; | |
7363 | ||
7364 | ||
7365 | extern int __getsockname (int __fd, __SOCKADDR_ARG __addr, | |
7366 | socklen_t *__restrict __len) ; | |
7367 | ||
7368 | ||
7369 | extern int __bind (int __fd, __CONST_SOCKADDR_ARG __addr, | |
7370 | socklen_t __len) ; | |
7371 | ||
7372 | ||
7373 | ||
7374 | ||
7375 | extern int __listen (int __fd, int __n) ; | |
7376 | ||
7377 | ||
7378 | ||
7379 | ||
7380 | ||
7381 | ||
7382 | extern int __libc_accept (int __fd, __SOCKADDR_ARG __addr, | |
7383 | socklen_t *__restrict __addr_len) | |
7384 | __attribute__ ((__nothrow__ )); | |
7385 | ||
7386 | ||
7387 | ||
7388 | ||
7389 | ||
7390 | ||
7391 | extern int __libc_sa_len (sa_family_t __af); | |
7392 | extern int __libc_sa_len_internal (sa_family_t __af) ; | |
7393 | # 157 "../include/sys/socket.h" | |
7394 | extern int __have_sock_cloexec; | |
7395 | # 26 "../inet/netinet/in.h" 2 | |
7396 | ||
7397 | ||
7398 | ||
7399 | ||
7400 | ||
7401 | ||
7402 | enum | |
7403 | { | |
7404 | IPPROTO_IP = 0, | |
7405 | ||
7406 | IPPROTO_HOPOPTS = 0, | |
7407 | ||
7408 | IPPROTO_ICMP = 1, | |
7409 | ||
7410 | IPPROTO_IGMP = 2, | |
7411 | ||
7412 | IPPROTO_IPIP = 4, | |
7413 | ||
7414 | IPPROTO_TCP = 6, | |
7415 | ||
7416 | IPPROTO_EGP = 8, | |
7417 | ||
7418 | IPPROTO_PUP = 12, | |
7419 | ||
7420 | IPPROTO_UDP = 17, | |
7421 | ||
7422 | IPPROTO_IDP = 22, | |
7423 | ||
7424 | IPPROTO_TP = 29, | |
7425 | ||
7426 | IPPROTO_DCCP = 33, | |
7427 | ||
7428 | IPPROTO_IPV6 = 41, | |
7429 | ||
7430 | IPPROTO_ROUTING = 43, | |
7431 | ||
7432 | IPPROTO_FRAGMENT = 44, | |
7433 | ||
7434 | IPPROTO_RSVP = 46, | |
7435 | ||
7436 | IPPROTO_GRE = 47, | |
7437 | ||
7438 | IPPROTO_ESP = 50, | |
7439 | ||
7440 | IPPROTO_AH = 51, | |
7441 | ||
7442 | IPPROTO_ICMPV6 = 58, | |
7443 | ||
7444 | IPPROTO_NONE = 59, | |
7445 | ||
7446 | IPPROTO_DSTOPTS = 60, | |
7447 | ||
7448 | IPPROTO_MTP = 92, | |
7449 | ||
7450 | IPPROTO_ENCAP = 98, | |
7451 | ||
7452 | IPPROTO_PIM = 103, | |
7453 | ||
7454 | IPPROTO_COMP = 108, | |
7455 | ||
7456 | IPPROTO_SCTP = 132, | |
7457 | ||
7458 | IPPROTO_UDPLITE = 136, | |
7459 | ||
7460 | IPPROTO_RAW = 255, | |
7461 | ||
7462 | IPPROTO_MAX | |
7463 | }; | |
7464 | ||
7465 | ||
7466 | ||
7467 | typedef uint16_t in_port_t; | |
7468 | ||
7469 | ||
7470 | enum | |
7471 | { | |
7472 | IPPORT_ECHO = 7, | |
7473 | IPPORT_DISCARD = 9, | |
7474 | IPPORT_SYSTAT = 11, | |
7475 | IPPORT_DAYTIME = 13, | |
7476 | IPPORT_NETSTAT = 15, | |
7477 | IPPORT_FTP = 21, | |
7478 | IPPORT_TELNET = 23, | |
7479 | IPPORT_SMTP = 25, | |
7480 | IPPORT_TIMESERVER = 37, | |
7481 | IPPORT_NAMESERVER = 42, | |
7482 | IPPORT_WHOIS = 43, | |
7483 | IPPORT_MTP = 57, | |
7484 | ||
7485 | IPPORT_TFTP = 69, | |
7486 | IPPORT_RJE = 77, | |
7487 | IPPORT_FINGER = 79, | |
7488 | IPPORT_TTYLINK = 87, | |
7489 | IPPORT_SUPDUP = 95, | |
7490 | ||
7491 | ||
7492 | IPPORT_EXECSERVER = 512, | |
7493 | IPPORT_LOGINSERVER = 513, | |
7494 | IPPORT_CMDSERVER = 514, | |
7495 | IPPORT_EFSSERVER = 520, | |
7496 | ||
7497 | ||
7498 | IPPORT_BIFFUDP = 512, | |
7499 | IPPORT_WHOSERVER = 513, | |
7500 | IPPORT_ROUTESERVER = 520, | |
7501 | ||
7502 | ||
7503 | IPPORT_RESERVED = 1024, | |
7504 | ||
7505 | ||
7506 | IPPORT_USERRESERVED = 5000 | |
7507 | }; | |
7508 | ||
7509 | ||
7510 | ||
7511 | typedef uint32_t in_addr_t; | |
7512 | struct in_addr | |
7513 | { | |
7514 | in_addr_t s_addr; | |
7515 | }; | |
7516 | # 198 "../inet/netinet/in.h" | |
7517 | struct in6_addr | |
7518 | { | |
7519 | union | |
7520 | { | |
7521 | uint8_t __u6_addr8[16]; | |
7522 | ||
7523 | uint16_t __u6_addr16[8]; | |
7524 | uint32_t __u6_addr32[4]; | |
7525 | ||
7526 | } __in6_u; | |
7527 | ||
7528 | ||
7529 | ||
7530 | ||
7531 | ||
7532 | }; | |
7533 | ||
7534 | extern const struct in6_addr in6addr_any; | |
7535 | extern const struct in6_addr in6addr_loopback; | |
7536 | # 225 "../inet/netinet/in.h" | |
7537 | struct sockaddr_in | |
7538 | { | |
7539 | sa_family_t sin_family; | |
7540 | in_port_t sin_port; | |
7541 | struct in_addr sin_addr; | |
7542 | ||
7543 | ||
7544 | unsigned char sin_zero[sizeof (struct sockaddr) - | |
7545 | (sizeof (unsigned short int)) - | |
7546 | sizeof (in_port_t) - | |
7547 | sizeof (struct in_addr)]; | |
7548 | }; | |
7549 | ||
7550 | ||
7551 | struct sockaddr_in6 | |
7552 | { | |
7553 | sa_family_t sin6_family; | |
7554 | in_port_t sin6_port; | |
7555 | uint32_t sin6_flowinfo; | |
7556 | struct in6_addr sin6_addr; | |
7557 | uint32_t sin6_scope_id; | |
7558 | }; | |
7559 | ||
7560 | ||
7561 | ||
7562 | ||
7563 | struct ip_mreq | |
7564 | { | |
7565 | ||
7566 | struct in_addr imr_multiaddr; | |
7567 | ||
7568 | ||
7569 | struct in_addr imr_interface; | |
7570 | }; | |
7571 | ||
7572 | struct ip_mreq_source | |
7573 | { | |
7574 | ||
7575 | struct in_addr imr_multiaddr; | |
7576 | ||
7577 | ||
7578 | struct in_addr imr_interface; | |
7579 | ||
7580 | ||
7581 | struct in_addr imr_sourceaddr; | |
7582 | }; | |
7583 | ||
7584 | ||
7585 | ||
7586 | ||
7587 | struct ipv6_mreq | |
7588 | { | |
7589 | ||
7590 | struct in6_addr ipv6mr_multiaddr; | |
7591 | ||
7592 | ||
7593 | unsigned int ipv6mr_interface; | |
7594 | }; | |
7595 | ||
7596 | ||
7597 | ||
7598 | ||
7599 | struct group_req | |
7600 | { | |
7601 | ||
7602 | uint32_t gr_interface; | |
7603 | ||
7604 | ||
7605 | struct sockaddr_storage gr_group; | |
7606 | }; | |
7607 | ||
7608 | struct group_source_req | |
7609 | { | |
7610 | ||
7611 | uint32_t gsr_interface; | |
7612 | ||
7613 | ||
7614 | struct sockaddr_storage gsr_group; | |
7615 | ||
7616 | ||
7617 | struct sockaddr_storage gsr_source; | |
7618 | }; | |
7619 | ||
7620 | ||
7621 | ||
7622 | struct ip_msfilter | |
7623 | { | |
7624 | ||
7625 | struct in_addr imsf_multiaddr; | |
7626 | ||
7627 | ||
7628 | struct in_addr imsf_interface; | |
7629 | ||
7630 | ||
7631 | uint32_t imsf_fmode; | |
7632 | ||
7633 | ||
7634 | uint32_t imsf_numsrc; | |
7635 | ||
7636 | struct in_addr imsf_slist[1]; | |
7637 | }; | |
7638 | ||
7639 | ||
7640 | ||
7641 | ||
7642 | ||
7643 | struct group_filter | |
7644 | { | |
7645 | ||
7646 | uint32_t gf_interface; | |
7647 | ||
7648 | ||
7649 | struct sockaddr_storage gf_group; | |
7650 | ||
7651 | ||
7652 | uint32_t gf_fmode; | |
7653 | ||
7654 | ||
7655 | uint32_t gf_numsrc; | |
7656 | ||
7657 | struct sockaddr_storage gf_slist[1]; | |
7658 | }; | |
7659 | # 356 "../inet/netinet/in.h" | |
7660 | # 1 "../sysdeps/unix/sysv/linux/bits/in.h" 1 | |
7661 | # 99 "../sysdeps/unix/sysv/linux/bits/in.h" | |
7662 | struct ip_opts | |
7663 | { | |
7664 | struct in_addr ip_dst; | |
7665 | char ip_opts[40]; | |
7666 | }; | |
7667 | ||
7668 | ||
7669 | struct ip_mreqn | |
7670 | { | |
7671 | struct in_addr imr_multiaddr; | |
7672 | struct in_addr imr_address; | |
7673 | int imr_ifindex; | |
7674 | }; | |
7675 | ||
7676 | ||
7677 | struct in_pktinfo | |
7678 | { | |
7679 | int ipi_ifindex; | |
7680 | struct in_addr ipi_spec_dst; | |
7681 | struct in_addr ipi_addr; | |
7682 | }; | |
7683 | # 357 "../inet/netinet/in.h" 2 | |
7684 | # 365 "../inet/netinet/in.h" | |
7685 | extern uint32_t ntohl (uint32_t __netlong) __attribute__ ((__nothrow__ )) __attribute__ ((__const__)); | |
7686 | extern uint16_t ntohs (uint16_t __netshort) | |
7687 | __attribute__ ((__nothrow__ )) __attribute__ ((__const__)); | |
7688 | extern uint32_t htonl (uint32_t __hostlong) | |
7689 | __attribute__ ((__nothrow__ )) __attribute__ ((__const__)); | |
7690 | extern uint16_t htons (uint16_t __hostshort) | |
7691 | __attribute__ ((__nothrow__ )) __attribute__ ((__const__)); | |
7692 | ||
7693 | # 1 "../include/endian.h" 1 | |
7694 | # 374 "../inet/netinet/in.h" 2 | |
7695 | ||
7696 | ||
7697 | # 1 "../bits/byteswap.h" 1 | |
7698 | # 377 "../inet/netinet/in.h" 2 | |
7699 | # 492 "../inet/netinet/in.h" | |
7700 | extern int bindresvport (int __sockfd, struct sockaddr_in *__sock_in) __attribute__ ((__nothrow__ )); | |
7701 | ||
7702 | ||
7703 | extern int bindresvport6 (int __sockfd, struct sockaddr_in6 *__sock_in) | |
7704 | __attribute__ ((__nothrow__ )); | |
7705 | # 523 "../inet/netinet/in.h" | |
7706 | struct in6_pktinfo | |
7707 | { | |
7708 | struct in6_addr ipi6_addr; | |
7709 | unsigned int ipi6_ifindex; | |
7710 | }; | |
7711 | ||
7712 | ||
7713 | struct ip6_mtuinfo | |
7714 | { | |
7715 | struct sockaddr_in6 ip6m_addr; | |
7716 | uint32_t ip6m_mtu; | |
7717 | }; | |
7718 | ||
7719 | ||
7720 | ||
7721 | extern int inet6_option_space (int __nbytes) | |
7722 | __attribute__ ((__nothrow__ )) __attribute__ ((__deprecated__)); | |
7723 | extern int inet6_option_init (void *__bp, struct cmsghdr **__cmsgp, | |
7724 | int __type) __attribute__ ((__nothrow__ )) __attribute__ ((__deprecated__)); | |
7725 | extern int inet6_option_append (struct cmsghdr *__cmsg, | |
7726 | __const uint8_t *__typep, int __multx, | |
7727 | int __plusy) __attribute__ ((__nothrow__ )) __attribute__ ((__deprecated__)); | |
7728 | extern uint8_t *inet6_option_alloc (struct cmsghdr *__cmsg, int __datalen, | |
7729 | int __multx, int __plusy) | |
7730 | __attribute__ ((__nothrow__ )) __attribute__ ((__deprecated__)); | |
7731 | extern int inet6_option_next (__const struct cmsghdr *__cmsg, | |
7732 | uint8_t **__tptrp) | |
7733 | __attribute__ ((__nothrow__ )) __attribute__ ((__deprecated__)); | |
7734 | extern int inet6_option_find (__const struct cmsghdr *__cmsg, | |
7735 | uint8_t **__tptrp, int __type) | |
7736 | __attribute__ ((__nothrow__ )) __attribute__ ((__deprecated__)); | |
7737 | ||
7738 | ||
7739 | ||
7740 | extern int inet6_opt_init (void *__extbuf, socklen_t __extlen) __attribute__ ((__nothrow__ )); | |
7741 | extern int inet6_opt_append (void *__extbuf, socklen_t __extlen, int __offset, | |
7742 | uint8_t __type, socklen_t __len, uint8_t __align, | |
7743 | void **__databufp) __attribute__ ((__nothrow__ )); | |
7744 | extern int inet6_opt_finish (void *__extbuf, socklen_t __extlen, int __offset) | |
7745 | __attribute__ ((__nothrow__ )); | |
7746 | extern int inet6_opt_set_val (void *__databuf, int __offset, void *__val, | |
7747 | socklen_t __vallen) __attribute__ ((__nothrow__ )); | |
7748 | extern int inet6_opt_next (void *__extbuf, socklen_t __extlen, int __offset, | |
7749 | uint8_t *__typep, socklen_t *__lenp, | |
7750 | void **__databufp) __attribute__ ((__nothrow__ )); | |
7751 | extern int inet6_opt_find (void *__extbuf, socklen_t __extlen, int __offset, | |
7752 | uint8_t __type, socklen_t *__lenp, | |
7753 | void **__databufp) __attribute__ ((__nothrow__ )); | |
7754 | extern int inet6_opt_get_val (void *__databuf, int __offset, void *__val, | |
7755 | socklen_t __vallen) __attribute__ ((__nothrow__ )); | |
7756 | ||
7757 | ||
7758 | ||
7759 | extern socklen_t inet6_rth_space (int __type, int __segments) __attribute__ ((__nothrow__ )); | |
7760 | extern void *inet6_rth_init (void *__bp, socklen_t __bp_len, int __type, | |
7761 | int __segments) __attribute__ ((__nothrow__ )); | |
7762 | extern int inet6_rth_add (void *__bp, __const struct in6_addr *__addr) __attribute__ ((__nothrow__ )); | |
7763 | extern int inet6_rth_reverse (__const void *__in, void *__out) __attribute__ ((__nothrow__ )); | |
7764 | extern int inet6_rth_segments (__const void *__bp) __attribute__ ((__nothrow__ )); | |
7765 | extern struct in6_addr *inet6_rth_getaddr (__const void *__bp, int __index) | |
7766 | __attribute__ ((__nothrow__ )); | |
7767 | ||
7768 | ||
7769 | ||
7770 | ||
7771 | ||
7772 | extern int getipv4sourcefilter (int __s, struct in_addr __interface_addr, | |
7773 | struct in_addr __group, uint32_t *__fmode, | |
7774 | uint32_t *__numsrc, struct in_addr *__slist) | |
7775 | __attribute__ ((__nothrow__ )); | |
7776 | ||
7777 | ||
7778 | extern int setipv4sourcefilter (int __s, struct in_addr __interface_addr, | |
7779 | struct in_addr __group, uint32_t __fmode, | |
7780 | uint32_t __numsrc, | |
7781 | __const struct in_addr *__slist) | |
7782 | __attribute__ ((__nothrow__ )); | |
7783 | ||
7784 | ||
7785 | ||
7786 | extern int getsourcefilter (int __s, uint32_t __interface_addr, | |
7787 | __const struct sockaddr *__group, | |
7788 | socklen_t __grouplen, uint32_t *__fmode, | |
7789 | uint32_t *__numsrc, | |
7790 | struct sockaddr_storage *__slist) __attribute__ ((__nothrow__ )); | |
7791 | ||
7792 | ||
7793 | extern int setsourcefilter (int __s, uint32_t __interface_addr, | |
7794 | __const struct sockaddr *__group, | |
7795 | socklen_t __grouplen, uint32_t __fmode, | |
7796 | uint32_t __numsrc, | |
7797 | __const struct sockaddr_storage *__slist) __attribute__ ((__nothrow__ )); | |
7798 | ||
7799 | ||
7800 | ||
7801 | # 4 "../include/netinet/in.h" 2 | |
7802 | ||
7803 | ||
7804 | ||
7805 | ||
7806 | # 58 "../resolv/resolv.h" 2 | |
7807 | # 71 "../resolv/resolv.h" | |
7808 | typedef enum { res_goahead, res_nextns, res_modified, res_done, res_error } | |
7809 | res_sendhookact; | |
7810 | ||
7811 | typedef res_sendhookact (*res_send_qhook) (struct sockaddr_in * const *__ns, | |
7812 | const u_char **__query, | |
7813 | int *__querylen, | |
7814 | u_char *__ans, | |
7815 | int __anssiz, | |
7816 | int *__resplen); | |
7817 | ||
7818 | typedef res_sendhookact (*res_send_rhook) (const struct sockaddr_in *__ns, | |
7819 | const u_char *__query, | |
7820 | int __querylen, | |
7821 | u_char *__ans, | |
7822 | int __anssiz, | |
7823 | int *__resplen); | |
7824 | # 104 "../resolv/resolv.h" | |
7825 | struct __res_state { | |
7826 | int retrans; | |
7827 | int retry; | |
7828 | u_long options; | |
7829 | int nscount; | |
7830 | struct sockaddr_in | |
7831 | nsaddr_list[3]; | |
7832 | ||
7833 | u_short id; | |
7834 | ||
7835 | char *dnsrch[6 +1]; | |
7836 | char defdname[256]; | |
7837 | u_long pfcode; | |
7838 | unsigned ndots:4; | |
7839 | unsigned nsort:4; | |
7840 | unsigned ipv6_unavail:1; | |
7841 | unsigned unused:23; | |
7842 | struct { | |
7843 | struct in_addr addr; | |
7844 | u_int32_t mask; | |
7845 | } sort_list[10]; | |
7846 | ||
7847 | res_send_qhook qhook; | |
7848 | res_send_rhook rhook; | |
7849 | int res_h_errno; | |
7850 | int _vcsock; | |
7851 | u_int _flags; | |
7852 | ||
7853 | union { | |
7854 | char pad[52]; | |
7855 | struct { | |
7856 | u_int16_t nscount; | |
7857 | u_int16_t nsmap[3]; | |
7858 | int nssocks[3]; | |
7859 | u_int16_t nscount6; | |
7860 | u_int16_t nsinit; | |
7861 | struct sockaddr_in6 *nsaddrs[3]; | |
7862 | ||
7863 | unsigned long long int initstamp | |
7864 | __attribute__((packed)); | |
7865 | ||
7866 | ||
7867 | ||
7868 | } _ext; | |
7869 | } _u; | |
7870 | }; | |
7871 | ||
7872 | typedef struct __res_state *res_state; | |
7873 | # 13 "../include/resolv.h" 2 | |
7874 | # 41 "../nptl/descr.h" 2 | |
7875 | # 1 "../ports/sysdeps/unix/sysv/linux/arm/kernel-features.h" 1 | |
7876 | # 60 "../ports/sysdeps/unix/sysv/linux/arm/kernel-features.h" | |
7877 | # 1 "../sysdeps/unix/sysv/linux/kernel-features.h" 1 | |
7878 | # 61 "../ports/sysdeps/unix/sysv/linux/arm/kernel-features.h" 2 | |
7879 | # 42 "../nptl/descr.h" 2 | |
7880 | # 67 "../nptl/descr.h" | |
7881 | struct pthread_unwind_buf | |
7882 | { | |
7883 | struct | |
7884 | { | |
7885 | __jmp_buf jmp_buf; | |
7886 | int mask_was_saved; | |
7887 | } cancel_jmp_buf[1]; | |
7888 | ||
7889 | union | |
7890 | { | |
7891 | ||
7892 | void *pad[4]; | |
7893 | ||
7894 | struct | |
7895 | { | |
7896 | ||
7897 | struct pthread_unwind_buf *prev; | |
7898 | ||
7899 | ||
7900 | ||
7901 | ||
7902 | struct _pthread_cleanup_buffer *cleanup; | |
7903 | ||
7904 | ||
7905 | int canceltype; | |
7906 | } data; | |
7907 | } priv; | |
7908 | }; | |
7909 | ||
7910 | ||
7911 | ||
7912 | ||
7913 | struct xid_command | |
7914 | { | |
7915 | int syscall_no; | |
7916 | long int id[3]; | |
7917 | volatile int cntr; | |
7918 | }; | |
7919 | ||
7920 | ||
7921 | ||
7922 | struct robust_list_head | |
7923 | { | |
7924 | void *list; | |
7925 | long int futex_offset; | |
7926 | void *list_op_pending; | |
7927 | }; | |
7928 | ||
7929 | ||
7930 | ||
7931 | struct priority_protection_data | |
7932 | { | |
7933 | int priomax; | |
7934 | unsigned int priomap[]; | |
7935 | }; | |
7936 | ||
7937 | ||
7938 | ||
7939 | struct pthread | |
7940 | { | |
7941 | union | |
7942 | { | |
7943 | ||
7944 | ||
7945 | ||
7946 | ||
7947 | struct | |
7948 | { | |
7949 | int multiple_threads; | |
7950 | int gscope_flag; | |
7951 | ||
7952 | int private_futex; | |
7953 | ||
7954 | } header; | |
7955 | ||
7956 | ||
7957 | ||
7958 | ||
7959 | ||
7960 | ||
7961 | void *__padding[24]; | |
7962 | }; | |
7963 | ||
7964 | ||
7965 | list_t list; | |
7966 | ||
7967 | ||
7968 | ||
7969 | pid_t tid; | |
7970 | ||
7971 | ||
7972 | pid_t pid; | |
7973 | # 199 "../nptl/descr.h" | |
7974 | union | |
7975 | { | |
7976 | __pthread_slist_t robust_list; | |
7977 | struct robust_list_head robust_head; | |
7978 | }; | |
7979 | # 237 "../nptl/descr.h" | |
7980 | struct _pthread_cleanup_buffer *cleanup; | |
7981 | ||
7982 | ||
7983 | struct pthread_unwind_buf *cleanup_jmp_buf; | |
7984 | ||
7985 | ||
7986 | ||
7987 | int cancelhandling; | |
7988 | # 278 "../nptl/descr.h" | |
7989 | int flags; | |
7990 | ||
7991 | ||
7992 | ||
7993 | struct pthread_key_data | |
7994 | { | |
7995 | ||
7996 | ||
7997 | ||
7998 | uintptr_t seq; | |
7999 | ||
8000 | ||
8001 | void *data; | |
8002 | } specific_1stblock[32]; | |
8003 | ||
8004 | ||
8005 | struct pthread_key_data *specific[((1024 + 32 - 1) / 32)]; | |
8006 | ||
8007 | ||
8008 | _Bool specific_used; | |
8009 | ||
8010 | ||
8011 | _Bool report_events; | |
8012 | ||
8013 | ||
8014 | _Bool user_stack; | |
8015 | ||
8016 | ||
8017 | _Bool stopped_start; | |
8018 | ||
8019 | ||
8020 | ||
8021 | int parent_cancelhandling; | |
8022 | ||
8023 | ||
8024 | int lock; | |
8025 | ||
8026 | ||
8027 | int setxid_futex; | |
8028 | # 329 "../nptl/descr.h" | |
8029 | struct pthread *joinid; | |
8030 | ||
8031 | ||
8032 | ||
8033 | ||
8034 | void *result; | |
8035 | ||
8036 | ||
8037 | struct sched_param schedparam; | |
8038 | int schedpolicy; | |
8039 | ||
8040 | ||
8041 | ||
8042 | void *(*start_routine) (void *); | |
8043 | void *arg; | |
8044 | ||
8045 | ||
8046 | td_eventbuf_t eventbuf; | |
8047 | ||
8048 | struct pthread *nextevent; | |
8049 | ||
8050 | ||
8051 | ||
8052 | struct _Unwind_Control_Block exc; | |
8053 | ||
8054 | ||
8055 | ||
8056 | ||
8057 | void *stackblock; | |
8058 | size_t stackblock_size; | |
8059 | ||
8060 | size_t guardsize; | |
8061 | ||
8062 | size_t reported_guardsize; | |
8063 | ||
8064 | ||
8065 | struct priority_protection_data *tpp; | |
8066 | ||
8067 | ||
8068 | struct __res_state res; | |
8069 | ||
8070 | ||
8071 | char end_padding[]; | |
8072 | ||
8073 | ||
8074 | ||
8075 | } __attribute ((aligned (16))); | |
8076 | # 56 "../ports/sysdeps/arm/nptl/tls.h" 2 | |
8077 | ||
8078 | typedef struct | |
8079 | { | |
8080 | dtv_t *dtv; | |
8081 | void *private; | |
8082 | } tcbhead_t; | |
8083 | # 46 "../bits/libc-tsd.h" 2 | |
8084 | # 211 "../include/../locale/localeinfo.h" 2 | |
8085 | extern __thread __locale_t __libc_tsd_LOCALE __attribute__ ((tls_model ("initial-exec"))); | |
8086 | # 237 "../include/../locale/localeinfo.h" | |
8087 | # 1 "../include/../locale/categories.def" 1 | |
8088 | # 42 "../include/../locale/categories.def" | |
8089 | extern __thread struct __locale_data *const * | |
8090 | # 62 "../include/../locale/categories.def" | |
8091 | _nl_current_LC_COLLATE | |
8092 | # 42 "../include/../locale/categories.def" | |
8093 | __attribute__ ((tls_model ("initial-exec"))); | |
8094 | # 68 "../include/../locale/categories.def" | |
8095 | extern __thread struct __locale_data *const * | |
8096 | # 137 "../include/../locale/categories.def" | |
8097 | _nl_current_LC_CTYPE | |
8098 | # 68 "../include/../locale/categories.def" | |
8099 | __attribute__ ((tls_model ("initial-exec"))); | |
8100 | # 140 "../include/../locale/categories.def" | |
8101 | extern __thread struct __locale_data *const * | |
8102 | # 189 "../include/../locale/categories.def" | |
8103 | _nl_current_LC_MONETARY | |
8104 | # 140 "../include/../locale/categories.def" | |
8105 | __attribute__ ((tls_model ("initial-exec"))); | |
8106 | # 192 "../include/../locale/categories.def" | |
8107 | extern __thread struct __locale_data *const * | |
8108 | # 203 "../include/../locale/categories.def" | |
8109 | _nl_current_LC_NUMERIC | |
8110 | # 192 "../include/../locale/categories.def" | |
8111 | __attribute__ ((tls_model ("initial-exec"))); | |
8112 | # 206 "../include/../locale/categories.def" | |
8113 | extern __thread struct __locale_data *const * | |
8114 | # 251 "../include/../locale/categories.def" | |
8115 | _nl_current_LC_TIME | |
8116 | # 206 "../include/../locale/categories.def" | |
8117 | __attribute__ ((tls_model ("initial-exec"))); | |
8118 | # 254 "../include/../locale/categories.def" | |
8119 | extern __thread struct __locale_data *const * | |
8120 | # 263 "../include/../locale/categories.def" | |
8121 | _nl_current_LC_MESSAGES | |
8122 | # 254 "../include/../locale/categories.def" | |
8123 | __attribute__ ((tls_model ("initial-exec"))); | |
8124 | # 265 "../include/../locale/categories.def" | |
8125 | extern __thread struct __locale_data *const * | |
8126 | ||
8127 | ||
8128 | ||
8129 | ||
8130 | ||
8131 | ||
8132 | _nl_current_LC_PAPER | |
8133 | # 265 "../include/../locale/categories.def" | |
8134 | __attribute__ ((tls_model ("initial-exec"))); | |
8135 | # 274 "../include/../locale/categories.def" | |
8136 | extern __thread struct __locale_data *const * | |
8137 | # 285 "../include/../locale/categories.def" | |
8138 | _nl_current_LC_NAME | |
8139 | # 274 "../include/../locale/categories.def" | |
8140 | __attribute__ ((tls_model ("initial-exec"))); | |
8141 | # 287 "../include/../locale/categories.def" | |
8142 | extern __thread struct __locale_data *const * | |
8143 | # 304 "../include/../locale/categories.def" | |
8144 | _nl_current_LC_ADDRESS | |
8145 | # 287 "../include/../locale/categories.def" | |
8146 | __attribute__ ((tls_model ("initial-exec"))); | |
8147 | # 306 "../include/../locale/categories.def" | |
8148 | extern __thread struct __locale_data *const * | |
8149 | # 315 "../include/../locale/categories.def" | |
8150 | _nl_current_LC_TELEPHONE | |
8151 | # 306 "../include/../locale/categories.def" | |
8152 | __attribute__ ((tls_model ("initial-exec"))); | |
8153 | # 317 "../include/../locale/categories.def" | |
8154 | extern __thread struct __locale_data *const * | |
8155 | ||
8156 | ||
8157 | ||
8158 | ||
8159 | ||
8160 | _nl_current_LC_MEASUREMENT | |
8161 | # 317 "../include/../locale/categories.def" | |
8162 | __attribute__ ((tls_model ("initial-exec"))); | |
8163 | ||
8164 | ||
8165 | ||
8166 | ||
8167 | ||
8168 | ||
8169 | ||
8170 | extern __thread struct __locale_data *const * | |
8171 | # 345 "../include/../locale/categories.def" | |
8172 | _nl_current_LC_IDENTIFICATION | |
8173 | # 325 "../include/../locale/categories.def" | |
8174 | __attribute__ ((tls_model ("initial-exec"))); | |
8175 | # 238 "../include/../locale/localeinfo.h" 2 | |
8176 | # 299 "../include/../locale/localeinfo.h" | |
8177 | extern const char _nl_default_locale_path[] ; | |
8178 | ||
8179 | ||
8180 | ||
8181 | ||
8182 | ||
8183 | ||
8184 | ||
8185 | extern struct __locale_data *_nl_find_locale (const char *locale_path, | |
8186 | size_t locale_path_len, | |
8187 | int category, const char **name) | |
8188 | ; | |
8189 | ||
8190 | ||
8191 | extern void _nl_load_locale (struct loaded_l10nfile *file, int category) | |
8192 | ; | |
8193 | ||
8194 | ||
8195 | extern void _nl_unload_locale (struct __locale_data *locale) | |
8196 | ; | |
8197 | ||
8198 | ||
8199 | extern void _nl_remove_locale (int locale, struct __locale_data *data) | |
8200 | ; | |
8201 | ||
8202 | ||
8203 | ||
8204 | ||
8205 | ||
8206 | ||
8207 | extern struct __locale_data *_nl_load_locale_from_archive (int category, | |
8208 | const char **namep) | |
8209 | ; | |
8210 | ||
8211 | ||
8212 | extern void _nl_archive_subfreeres (void) ; | |
8213 | ||
8214 | ||
8215 | extern void _nl_locale_subfreeres (void) ; | |
8216 | ||
8217 | ||
8218 | ||
8219 | ||
8220 | ||
8221 | ||
8222 | extern struct __locale_data *_nl_intern_locale_data (int category, | |
8223 | const void *data, | |
8224 | size_t datasize) | |
8225 | ; | |
8226 | ||
8227 | ||
8228 | ||
8229 | extern struct era_entry *_nl_get_era_entry (const struct tm *tp, | |
8230 | struct __locale_data *lc_time) | |
8231 | ; | |
8232 | ||
8233 | ||
8234 | extern struct era_entry *_nl_select_era_entry (int cnt, | |
8235 | struct __locale_data *lc_time) | |
8236 | ; | |
8237 | ||
8238 | ||
8239 | extern const char *_nl_get_alt_digit (unsigned int number, | |
8240 | struct __locale_data *lc_time) | |
8241 | ; | |
8242 | ||
8243 | ||
8244 | extern const wchar_t *_nl_get_walt_digit (unsigned int number, | |
8245 | struct __locale_data *lc_time) | |
8246 | ; | |
8247 | ||
8248 | ||
8249 | extern int _nl_parse_alt_digit (const char **strp, | |
8250 | struct __locale_data *lc_time) | |
8251 | ; | |
8252 | ||
8253 | ||
8254 | extern void _nl_postload_ctype (void); | |
8255 | ||
8256 | ||
8257 | extern void _nl_cleanup_time (struct __locale_data *) | |
8258 | ; | |
8259 | # 19 "../include/ctype.h" 2 | |
8260 | ||
8261 | ||
8262 | ||
8263 | ||
8264 | ||
8265 | ||
8266 | extern __thread const uint16_t * __libc_tsd_CTYPE_B __attribute__ ((tls_model ("initial-exec"))); | |
8267 | extern __thread const int32_t * __libc_tsd_CTYPE_TOUPPER __attribute__ ((tls_model ("initial-exec"))); | |
8268 | extern __thread const int32_t * __libc_tsd_CTYPE_TOLOWER __attribute__ ((tls_model ("initial-exec"))); | |
8269 | ||
8270 | ||
8271 | extern inline const uint16_t ** __attribute__ ((const)) | |
8272 | __ctype_b_loc (void) | |
8273 | { | |
8274 | return (&__libc_tsd_CTYPE_B); | |
8275 | } | |
8276 | ||
8277 | extern inline const int32_t ** __attribute__ ((const)) | |
8278 | __ctype_toupper_loc (void) | |
8279 | { | |
8280 | return (&__libc_tsd_CTYPE_TOUPPER); | |
8281 | } | |
8282 | ||
8283 | extern inline const int32_t ** __attribute__ ((const)) | |
8284 | __ctype_tolower_loc (void) | |
8285 | { | |
8286 | return (&__libc_tsd_CTYPE_TOLOWER); | |
8287 | } | |
8288 | ||
8289 | ||
8290 | ||
8291 | # 1 "../ctype/ctype.h" 1 | |
8292 | # 30 "../ctype/ctype.h" | |
8293 | ||
8294 | # 41 "../ctype/ctype.h" | |
8295 | # 1 "../include/endian.h" 1 | |
8296 | # 42 "../ctype/ctype.h" 2 | |
8297 | ||
8298 | ||
8299 | ||
8300 | ||
8301 | ||
8302 | ||
8303 | enum | |
8304 | { | |
8305 | _ISupper = ((0) < 8 ? ((1 << (0)) << 8) : ((1 << (0)) >> 8)), | |
8306 | _ISlower = ((1) < 8 ? ((1 << (1)) << 8) : ((1 << (1)) >> 8)), | |
8307 | _ISalpha = ((2) < 8 ? ((1 << (2)) << 8) : ((1 << (2)) >> 8)), | |
8308 | _ISdigit = ((3) < 8 ? ((1 << (3)) << 8) : ((1 << (3)) >> 8)), | |
8309 | _ISxdigit = ((4) < 8 ? ((1 << (4)) << 8) : ((1 << (4)) >> 8)), | |
8310 | _ISspace = ((5) < 8 ? ((1 << (5)) << 8) : ((1 << (5)) >> 8)), | |
8311 | _ISprint = ((6) < 8 ? ((1 << (6)) << 8) : ((1 << (6)) >> 8)), | |
8312 | _ISgraph = ((7) < 8 ? ((1 << (7)) << 8) : ((1 << (7)) >> 8)), | |
8313 | _ISblank = ((8) < 8 ? ((1 << (8)) << 8) : ((1 << (8)) >> 8)), | |
8314 | _IScntrl = ((9) < 8 ? ((1 << (9)) << 8) : ((1 << (9)) >> 8)), | |
8315 | _ISpunct = ((10) < 8 ? ((1 << (10)) << 8) : ((1 << (10)) >> 8)), | |
8316 | _ISalnum = ((11) < 8 ? ((1 << (11)) << 8) : ((1 << (11)) >> 8)) | |
8317 | }; | |
8318 | # 81 "../ctype/ctype.h" | |
8319 | extern __const unsigned short int **__ctype_b_loc (void) | |
8320 | __attribute__ ((__nothrow__ )) __attribute__ ((__const)); | |
8321 | extern __const __int32_t **__ctype_tolower_loc (void) | |
8322 | __attribute__ ((__nothrow__ )) __attribute__ ((__const)); | |
8323 | extern __const __int32_t **__ctype_toupper_loc (void) | |
8324 | __attribute__ ((__nothrow__ )) __attribute__ ((__const)); | |
8325 | # 106 "../ctype/ctype.h" | |
8326 | ||
8327 | ||
8328 | ||
8329 | ||
8330 | ||
8331 | ||
8332 | extern int isalnum (int) __attribute__ ((__nothrow__ )); | |
8333 | extern int isalpha (int) __attribute__ ((__nothrow__ )); | |
8334 | extern int iscntrl (int) __attribute__ ((__nothrow__ )); | |
8335 | extern int isdigit (int) __attribute__ ((__nothrow__ )); | |
8336 | extern int islower (int) __attribute__ ((__nothrow__ )); | |
8337 | extern int isgraph (int) __attribute__ ((__nothrow__ )); | |
8338 | extern int isprint (int) __attribute__ ((__nothrow__ )); | |
8339 | extern int ispunct (int) __attribute__ ((__nothrow__ )); | |
8340 | extern int isspace (int) __attribute__ ((__nothrow__ )); | |
8341 | extern int isupper (int) __attribute__ ((__nothrow__ )); | |
8342 | extern int isxdigit (int) __attribute__ ((__nothrow__ )); | |
8343 | ||
8344 | ||
8345 | ||
8346 | extern int tolower (int __c) __attribute__ ((__nothrow__ )); | |
8347 | ||
8348 | ||
8349 | extern int toupper (int __c) __attribute__ ((__nothrow__ )); | |
8350 | ||
8351 | ||
8352 | ||
8353 | ||
8354 | ||
8355 | ||
8356 | ||
8357 | ||
8358 | extern int isblank (int) __attribute__ ((__nothrow__ )); | |
8359 | ||
8360 | ||
8361 | ||
8362 | ||
8363 | ||
8364 | ||
8365 | extern int isctype (int __c, int __mask) __attribute__ ((__nothrow__ )); | |
8366 | ||
8367 | ||
8368 | ||
8369 | ||
8370 | ||
8371 | ||
8372 | extern int isascii (int __c) __attribute__ ((__nothrow__ )); | |
8373 | ||
8374 | ||
8375 | ||
8376 | extern int toascii (int __c) __attribute__ ((__nothrow__ )); | |
8377 | ||
8378 | ||
8379 | ||
8380 | extern int _toupper (int) __attribute__ ((__nothrow__ )); | |
8381 | extern int _tolower (int) __attribute__ ((__nothrow__ )); | |
8382 | # 216 "../ctype/ctype.h" | |
8383 | extern __inline int | |
8384 | __attribute__ ((__nothrow__ )) tolower (int __c) | |
8385 | { | |
8386 | return __c >= -128 && __c < 256 ? (*__ctype_tolower_loc ())[__c] : __c; | |
8387 | } | |
8388 | ||
8389 | extern __inline int | |
8390 | __attribute__ ((__nothrow__ )) toupper (int __c) | |
8391 | { | |
8392 | return __c >= -128 && __c < 256 ? (*__ctype_toupper_loc ())[__c] : __c; | |
8393 | } | |
8394 | # 259 "../ctype/ctype.h" | |
8395 | # 1 "../include/xlocale.h" 1 | |
8396 | # 260 "../ctype/ctype.h" 2 | |
8397 | # 273 "../ctype/ctype.h" | |
8398 | extern int isalnum_l (int, __locale_t) __attribute__ ((__nothrow__ )); | |
8399 | extern int isalpha_l (int, __locale_t) __attribute__ ((__nothrow__ )); | |
8400 | extern int iscntrl_l (int, __locale_t) __attribute__ ((__nothrow__ )); | |
8401 | extern int isdigit_l (int, __locale_t) __attribute__ ((__nothrow__ )); | |
8402 | extern int islower_l (int, __locale_t) __attribute__ ((__nothrow__ )); | |
8403 | extern int isgraph_l (int, __locale_t) __attribute__ ((__nothrow__ )); | |
8404 | extern int isprint_l (int, __locale_t) __attribute__ ((__nothrow__ )); | |
8405 | extern int ispunct_l (int, __locale_t) __attribute__ ((__nothrow__ )); | |
8406 | extern int isspace_l (int, __locale_t) __attribute__ ((__nothrow__ )); | |
8407 | extern int isupper_l (int, __locale_t) __attribute__ ((__nothrow__ )); | |
8408 | extern int isxdigit_l (int, __locale_t) __attribute__ ((__nothrow__ )); | |
8409 | ||
8410 | extern int isblank_l (int, __locale_t) __attribute__ ((__nothrow__ )); | |
8411 | ||
8412 | ||
8413 | ||
8414 | extern int __tolower_l (int __c, __locale_t __l) __attribute__ ((__nothrow__ )); | |
8415 | extern int tolower_l (int __c, __locale_t __l) __attribute__ ((__nothrow__ )); | |
8416 | ||
8417 | ||
8418 | extern int __toupper_l (int __c, __locale_t __l) __attribute__ ((__nothrow__ )); | |
8419 | extern int toupper_l (int __c, __locale_t __l) __attribute__ ((__nothrow__ )); | |
8420 | # 349 "../ctype/ctype.h" | |
8421 | ||
8422 | # 51 "../include/ctype.h" 2 | |
8423 | # 22 "fxprintf.c" 2 | |
8424 | # 1 "/usr/lib/gcc/armv5te-iwmmxt-linux-gnueabi/4.7.3/include/stdarg.h" 1 3 4 | |
8425 | # 40 "/usr/lib/gcc/armv5te-iwmmxt-linux-gnueabi/4.7.3/include/stdarg.h" 3 4 | |
8426 | typedef __builtin_va_list __gnuc_va_list; | |
8427 | # 102 "/usr/lib/gcc/armv5te-iwmmxt-linux-gnueabi/4.7.3/include/stdarg.h" 3 4 | |
8428 | typedef __gnuc_va_list va_list; | |
8429 | # 23 "fxprintf.c" 2 | |
8430 | # 1 "../include/stdio.h" 1 | |
8431 | ||
8432 | ||
8433 | ||
8434 | ||
8435 | # 1 "../libio/stdio.h" 1 | |
8436 | # 30 "../libio/stdio.h" | |
8437 | ||
8438 | ||
8439 | ||
8440 | ||
8441 | # 1 "/usr/lib/gcc/armv5te-iwmmxt-linux-gnueabi/4.7.3/include/stddef.h" 1 3 4 | |
8442 | # 35 "../libio/stdio.h" 2 | |
8443 | # 45 "../libio/stdio.h" | |
8444 | struct _IO_FILE; | |
8445 | ||
8446 | ||
8447 | ||
8448 | typedef struct _IO_FILE FILE; | |
8449 | ||
8450 | ||
8451 | ||
8452 | ||
8453 | ||
8454 | # 65 "../libio/stdio.h" | |
8455 | typedef struct _IO_FILE __FILE; | |
8456 | # 75 "../libio/stdio.h" | |
8457 | # 1 "../include/libio.h" 1 | |
8458 | # 1 "../libio/libio.h" 1 | |
8459 | # 32 "../libio/libio.h" | |
8460 | # 1 "../sysdeps/gnu/_G_config.h" 1 | |
8461 | # 15 "../sysdeps/gnu/_G_config.h" | |
8462 | # 1 "/usr/lib/gcc/armv5te-iwmmxt-linux-gnueabi/4.7.3/include/stddef.h" 1 3 4 | |
8463 | # 16 "../sysdeps/gnu/_G_config.h" 2 | |
8464 | ||
8465 | ||
8466 | ||
8467 | ||
8468 | # 1 "../include/wchar.h" 1 | |
8469 | ||
8470 | # 1 "../wcsmbs/wchar.h" 1 | |
8471 | # 52 "../wcsmbs/wchar.h" | |
8472 | # 1 "/usr/lib/gcc/armv5te-iwmmxt-linux-gnueabi/4.7.3/include/stddef.h" 1 3 4 | |
8473 | # 354 "/usr/lib/gcc/armv5te-iwmmxt-linux-gnueabi/4.7.3/include/stddef.h" 3 4 | |
8474 | typedef unsigned int wint_t; | |
8475 | # 53 "../wcsmbs/wchar.h" 2 | |
8476 | # 83 "../wcsmbs/wchar.h" | |
8477 | typedef struct | |
8478 | { | |
8479 | int __count; | |
8480 | union | |
8481 | { | |
8482 | ||
8483 | unsigned int __wch; | |
8484 | ||
8485 | ||
8486 | ||
8487 | char __wchb[4]; | |
8488 | } __value; | |
8489 | } __mbstate_t; | |
8490 | # 3 "../include/wchar.h" 2 | |
8491 | # 21 "../sysdeps/gnu/_G_config.h" 2 | |
8492 | ||
8493 | typedef struct | |
8494 | { | |
8495 | __off_t __pos; | |
8496 | __mbstate_t __state; | |
8497 | } _G_fpos_t; | |
8498 | typedef struct | |
8499 | { | |
8500 | __off64_t __pos; | |
8501 | __mbstate_t __state; | |
8502 | } _G_fpos64_t; | |
8503 | # 41 "../sysdeps/gnu/_G_config.h" | |
8504 | # 1 "../include/gconv.h" 1 | |
8505 | # 1 "../iconv/gconv.h" 1 | |
8506 | # 29 "../iconv/gconv.h" | |
8507 | # 1 "../include/wchar.h" 1 | |
8508 | ||
8509 | # 1 "../wcsmbs/wchar.h" 1 | |
8510 | # 52 "../wcsmbs/wchar.h" | |
8511 | # 1 "/usr/lib/gcc/armv5te-iwmmxt-linux-gnueabi/4.7.3/include/stddef.h" 1 3 4 | |
8512 | # 53 "../wcsmbs/wchar.h" 2 | |
8513 | # 3 "../include/wchar.h" 2 | |
8514 | # 30 "../iconv/gconv.h" 2 | |
8515 | ||
8516 | ||
8517 | # 1 "/usr/lib/gcc/armv5te-iwmmxt-linux-gnueabi/4.7.3/include/stddef.h" 1 3 4 | |
8518 | # 33 "../iconv/gconv.h" 2 | |
8519 | ||
8520 | ||
8521 | ||
8522 | ||
8523 | ||
8524 | enum | |
8525 | { | |
8526 | __GCONV_OK = 0, | |
8527 | __GCONV_NOCONV, | |
8528 | __GCONV_NODB, | |
8529 | __GCONV_NOMEM, | |
8530 | ||
8531 | __GCONV_EMPTY_INPUT, | |
8532 | __GCONV_FULL_OUTPUT, | |
8533 | __GCONV_ILLEGAL_INPUT, | |
8534 | __GCONV_INCOMPLETE_INPUT, | |
8535 | ||
8536 | __GCONV_ILLEGAL_DESCRIPTOR, | |
8537 | __GCONV_INTERNAL_ERROR | |
8538 | }; | |
8539 | ||
8540 | ||
8541 | ||
8542 | enum | |
8543 | { | |
8544 | __GCONV_IS_LAST = 0x0001, | |
8545 | __GCONV_IGNORE_ERRORS = 0x0002, | |
8546 | __GCONV_SWAP = 0x0004 | |
8547 | }; | |
8548 | ||
8549 | ||
8550 | ||
8551 | struct __gconv_step; | |
8552 | struct __gconv_step_data; | |
8553 | struct __gconv_loaded_object; | |
8554 | struct __gconv_trans_data; | |
8555 | ||
8556 | ||
8557 | ||
8558 | typedef int (*__gconv_fct) (struct __gconv_step *, struct __gconv_step_data *, | |
8559 | __const unsigned char **, __const unsigned char *, | |
8560 | unsigned char **, size_t *, int, int); | |
8561 | ||
8562 | ||
8563 | typedef wint_t (*__gconv_btowc_fct) (struct __gconv_step *, unsigned char); | |
8564 | ||
8565 | ||
8566 | typedef int (*__gconv_init_fct) (struct __gconv_step *); | |
8567 | typedef void (*__gconv_end_fct) (struct __gconv_step *); | |
8568 | ||
8569 | ||
8570 | ||
8571 | typedef int (*__gconv_trans_fct) (struct __gconv_step *, | |
8572 | struct __gconv_step_data *, void *, | |
8573 | __const unsigned char *, | |
8574 | __const unsigned char **, | |
8575 | __const unsigned char *, unsigned char **, | |
8576 | size_t *); | |
8577 | ||
8578 | ||
8579 | typedef int (*__gconv_trans_context_fct) (void *, __const unsigned char *, | |
8580 | __const unsigned char *, | |
8581 | unsigned char *, unsigned char *); | |
8582 | ||
8583 | ||
8584 | typedef int (*__gconv_trans_query_fct) (__const char *, __const char ***, | |
8585 | size_t *); | |
8586 | ||
8587 | ||
8588 | typedef int (*__gconv_trans_init_fct) (void **, const char *); | |
8589 | typedef void (*__gconv_trans_end_fct) (void *); | |
8590 | ||
8591 | struct __gconv_trans_data | |
8592 | { | |
8593 | ||
8594 | __gconv_trans_fct __trans_fct; | |
8595 | __gconv_trans_context_fct __trans_context_fct; | |
8596 | __gconv_trans_end_fct __trans_end_fct; | |
8597 | void *__data; | |
8598 | struct __gconv_trans_data *__next; | |
8599 | }; | |
8600 | ||
8601 | ||
8602 | ||
8603 | struct __gconv_step | |
8604 | { | |
8605 | struct __gconv_loaded_object *__shlib_handle; | |
8606 | __const char *__modname; | |
8607 | ||
8608 | int __counter; | |
8609 | ||
8610 | char *__from_name; | |
8611 | char *__to_name; | |
8612 | ||
8613 | __gconv_fct __fct; | |
8614 | __gconv_btowc_fct __btowc_fct; | |
8615 | __gconv_init_fct __init_fct; | |
8616 | __gconv_end_fct __end_fct; | |
8617 | ||
8618 | ||
8619 | ||
8620 | int __min_needed_from; | |
8621 | int __max_needed_from; | |
8622 | int __min_needed_to; | |
8623 | int __max_needed_to; | |
8624 | ||
8625 | ||
8626 | int __stateful; | |
8627 | ||
8628 | void *__data; | |
8629 | }; | |
8630 | ||
8631 | ||
8632 | ||
8633 | struct __gconv_step_data | |
8634 | { | |
8635 | unsigned char *__outbuf; | |
8636 | unsigned char *__outbufend; | |
8637 | ||
8638 | ||
8639 | ||
8640 | int __flags; | |
8641 | ||
8642 | ||
8643 | ||
8644 | int __invocation_counter; | |
8645 | ||
8646 | ||
8647 | ||
8648 | int __internal_use; | |
8649 | ||
8650 | __mbstate_t *__statep; | |
8651 | __mbstate_t __state; | |
8652 | ||
8653 | ||
8654 | ||
8655 | struct __gconv_trans_data *__trans; | |
8656 | }; | |
8657 | ||
8658 | ||
8659 | ||
8660 | typedef struct __gconv_info | |
8661 | { | |
8662 | size_t __nsteps; | |
8663 | struct __gconv_step *__steps; | |
8664 | __extension__ struct __gconv_step_data __data []; | |
8665 | } *__gconv_t; | |
8666 | # 1 "../include/gconv.h" 2 | |
8667 | # 42 "../sysdeps/gnu/_G_config.h" 2 | |
8668 | typedef union | |
8669 | { | |
8670 | struct __gconv_info __cd; | |
8671 | struct | |
8672 | { | |
8673 | struct __gconv_info __cd; | |
8674 | struct __gconv_step_data __data; | |
8675 | } __combined; | |
8676 | } _G_iconv_t; | |
8677 | ||
8678 | ||
8679 | typedef int _G_int16_t __attribute__ ((__mode__ (__HI__))); | |
8680 | typedef int _G_int32_t __attribute__ ((__mode__ (__SI__))); | |
8681 | typedef unsigned int _G_uint16_t __attribute__ ((__mode__ (__HI__))); | |
8682 | typedef unsigned int _G_uint32_t __attribute__ ((__mode__ (__SI__))); | |
8683 | # 33 "../libio/libio.h" 2 | |
8684 | # 172 "../libio/libio.h" | |
8685 | struct _IO_jump_t; struct _IO_FILE; | |
8686 | ||
8687 | ||
8688 | ||
8689 | ||
8690 | # 1 "../nptl/sysdeps/pthread/bits/stdio-lock.h" 1 | |
8691 | # 23 "../nptl/sysdeps/pthread/bits/stdio-lock.h" | |
8692 | # 1 "../nptl/sysdeps/pthread/bits/libc-lock.h" 1 | |
8693 | # 23 "../nptl/sysdeps/pthread/bits/libc-lock.h" | |
8694 | # 1 "../include/pthread.h" 1 | |
8695 | ||
8696 | ||
8697 | ||
8698 | extern void __pthread_initialize (void) __attribute__ ((weak)); | |
8699 | # 24 "../nptl/sysdeps/pthread/bits/libc-lock.h" 2 | |
8700 | ||
8701 | # 1 "/usr/lib/gcc/armv5te-iwmmxt-linux-gnueabi/4.7.3/include/stddef.h" 1 3 4 | |
8702 | # 26 "../nptl/sysdeps/pthread/bits/libc-lock.h" 2 | |
8703 | # 37 "../nptl/sysdeps/pthread/bits/libc-lock.h" | |
8704 | # 1 "../nptl/sysdeps/pthread/pthread-functions.h" 1 | |
8705 | # 23 "../nptl/sysdeps/pthread/pthread-functions.h" | |
8706 | # 1 "../include/pthread.h" 1 | |
8707 | ||
8708 | ||
8709 | ||
8710 | extern void __pthread_initialize (void) __attribute__ ((weak)); | |
8711 | # 24 "../nptl/sysdeps/pthread/pthread-functions.h" 2 | |
8712 | ||
8713 | # 1 "../nptl/sysdeps/unix/sysv/linux/internaltypes.h" 1 | |
8714 | # 26 "../nptl/sysdeps/unix/sysv/linux/internaltypes.h" | |
8715 | struct pthread_attr | |
8716 | { | |
8717 | ||
8718 | struct sched_param schedparam; | |
8719 | int schedpolicy; | |
8720 | ||
8721 | int flags; | |
8722 | ||
8723 | size_t guardsize; | |
8724 | ||
8725 | void *stackaddr; | |
8726 | size_t stacksize; | |
8727 | ||
8728 | cpu_set_t *cpuset; | |
8729 | size_t cpusetsize; | |
8730 | }; | |
8731 | # 53 "../nptl/sysdeps/unix/sysv/linux/internaltypes.h" | |
8732 | struct pthread_mutexattr | |
8733 | { | |
8734 | ||
8735 | ||
8736 | ||
8737 | ||
8738 | ||
8739 | ||
8740 | int mutexkind; | |
8741 | }; | |
8742 | ||
8743 | ||
8744 | ||
8745 | struct pthread_condattr | |
8746 | { | |
8747 | ||
8748 | ||
8749 | ||
8750 | ||
8751 | ||
8752 | ||
8753 | int value; | |
8754 | }; | |
8755 | # 87 "../nptl/sysdeps/unix/sysv/linux/internaltypes.h" | |
8756 | struct pthread_rwlockattr | |
8757 | { | |
8758 | int lockkind; | |
8759 | int pshared; | |
8760 | }; | |
8761 | ||
8762 | ||
8763 | ||
8764 | struct pthread_barrier | |
8765 | { | |
8766 | unsigned int curr_event; | |
8767 | int lock; | |
8768 | unsigned int left; | |
8769 | unsigned int init_count; | |
8770 | int private; | |
8771 | }; | |
8772 | ||
8773 | ||
8774 | ||
8775 | struct pthread_barrierattr | |
8776 | { | |
8777 | int pshared; | |
8778 | }; | |
8779 | ||
8780 | ||
8781 | ||
8782 | struct pthread_key_struct | |
8783 | { | |
8784 | ||
8785 | ||
8786 | ||
8787 | ||
8788 | uintptr_t seq; | |
8789 | ||
8790 | ||
8791 | void (*destr) (void *); | |
8792 | }; | |
8793 | # 143 "../nptl/sysdeps/unix/sysv/linux/internaltypes.h" | |
8794 | struct new_sem | |
8795 | { | |
8796 | unsigned int value; | |
8797 | int private; | |
8798 | unsigned long int nwaiters; | |
8799 | }; | |
8800 | ||
8801 | struct old_sem | |
8802 | { | |
8803 | unsigned int value; | |
8804 | }; | |
8805 | ||
8806 | ||
8807 | ||
8808 | typedef struct | |
8809 | { | |
8810 | pthread_cond_t *cond; | |
8811 | } pthread_cond_2_0_t; | |
8812 | # 26 "../nptl/sysdeps/pthread/pthread-functions.h" 2 | |
8813 | ||
8814 | ||
8815 | struct xid_command; | |
8816 | ||
8817 | ||
8818 | ||
8819 | struct pthread_functions | |
8820 | { | |
8821 | int (*ptr_pthread_attr_destroy) (pthread_attr_t *); | |
8822 | int (*ptr___pthread_attr_init_2_0) (pthread_attr_t *); | |
8823 | int (*ptr___pthread_attr_init_2_1) (pthread_attr_t *); | |
8824 | int (*ptr_pthread_attr_getdetachstate) (const pthread_attr_t *, int *); | |
8825 | int (*ptr_pthread_attr_setdetachstate) (pthread_attr_t *, int); | |
8826 | int (*ptr_pthread_attr_getinheritsched) (const pthread_attr_t *, int *); | |
8827 | int (*ptr_pthread_attr_setinheritsched) (pthread_attr_t *, int); | |
8828 | int (*ptr_pthread_attr_getschedparam) (const pthread_attr_t *, | |
8829 | struct sched_param *); | |
8830 | int (*ptr_pthread_attr_setschedparam) (pthread_attr_t *, | |
8831 | const struct sched_param *); | |
8832 | int (*ptr_pthread_attr_getschedpolicy) (const pthread_attr_t *, int *); | |
8833 | int (*ptr_pthread_attr_setschedpolicy) (pthread_attr_t *, int); | |
8834 | int (*ptr_pthread_attr_getscope) (const pthread_attr_t *, int *); | |
8835 | int (*ptr_pthread_attr_setscope) (pthread_attr_t *, int); | |
8836 | int (*ptr_pthread_condattr_destroy) (pthread_condattr_t *); | |
8837 | int (*ptr_pthread_condattr_init) (pthread_condattr_t *); | |
8838 | int (*ptr___pthread_cond_broadcast) (pthread_cond_t *); | |
8839 | int (*ptr___pthread_cond_destroy) (pthread_cond_t *); | |
8840 | int (*ptr___pthread_cond_init) (pthread_cond_t *, | |
8841 | const pthread_condattr_t *); | |
8842 | int (*ptr___pthread_cond_signal) (pthread_cond_t *); | |
8843 | int (*ptr___pthread_cond_wait) (pthread_cond_t *, pthread_mutex_t *); | |
8844 | int (*ptr___pthread_cond_timedwait) (pthread_cond_t *, pthread_mutex_t *, | |
8845 | const struct timespec *); | |
8846 | int (*ptr___pthread_cond_broadcast_2_0) (pthread_cond_2_0_t *); | |
8847 | int (*ptr___pthread_cond_destroy_2_0) (pthread_cond_2_0_t *); | |
8848 | int (*ptr___pthread_cond_init_2_0) (pthread_cond_2_0_t *, | |
8849 | const pthread_condattr_t *); | |
8850 | int (*ptr___pthread_cond_signal_2_0) (pthread_cond_2_0_t *); | |
8851 | int (*ptr___pthread_cond_wait_2_0) (pthread_cond_2_0_t *, pthread_mutex_t *); | |
8852 | int (*ptr___pthread_cond_timedwait_2_0) (pthread_cond_2_0_t *, | |
8853 | pthread_mutex_t *, | |
8854 | const struct timespec *); | |
8855 | int (*ptr_pthread_equal) (pthread_t, pthread_t); | |
8856 | void (*ptr___pthread_exit) (void *); | |
8857 | int (*ptr_pthread_getschedparam) (pthread_t, int *, struct sched_param *); | |
8858 | int (*ptr_pthread_setschedparam) (pthread_t, int, | |
8859 | const struct sched_param *); | |
8860 | int (*ptr_pthread_mutex_destroy) (pthread_mutex_t *); | |
8861 | int (*ptr_pthread_mutex_init) (pthread_mutex_t *, | |
8862 | const pthread_mutexattr_t *); | |
8863 | int (*ptr_pthread_mutex_lock) (pthread_mutex_t *); | |
8864 | int (*ptr_pthread_mutex_unlock) (pthread_mutex_t *); | |
8865 | pthread_t (*ptr_pthread_self) (void); | |
8866 | int (*ptr_pthread_setcancelstate) (int, int *); | |
8867 | int (*ptr_pthread_setcanceltype) (int, int *); | |
8868 | void (*ptr___pthread_cleanup_upto) (__jmp_buf, char *); | |
8869 | int (*ptr___pthread_once) (pthread_once_t *, void (*) (void)); | |
8870 | int (*ptr___pthread_rwlock_rdlock) (pthread_rwlock_t *); | |
8871 | int (*ptr___pthread_rwlock_wrlock) (pthread_rwlock_t *); | |
8872 | int (*ptr___pthread_rwlock_unlock) (pthread_rwlock_t *); | |
8873 | int (*ptr___pthread_key_create) (pthread_key_t *, void (*) (void *)); | |
8874 | void *(*ptr___pthread_getspecific) (pthread_key_t); | |
8875 | int (*ptr___pthread_setspecific) (pthread_key_t, const void *); | |
8876 | void (*ptr__pthread_cleanup_push_defer) (struct _pthread_cleanup_buffer *, | |
8877 | void (*) (void *), void *); | |
8878 | void (*ptr__pthread_cleanup_pop_restore) (struct _pthread_cleanup_buffer *, | |
8879 | int); | |
8880 | ||
8881 | unsigned int *ptr_nthreads; | |
8882 | void (*ptr___pthread_unwind) (__pthread_unwind_buf_t *) | |
8883 | __attribute ((noreturn)) ; | |
8884 | void (*ptr__nptl_deallocate_tsd) (void); | |
8885 | int (*ptr__nptl_setxid) (struct xid_command *); | |
8886 | void (*ptr_freeres) (void); | |
8887 | void (*ptr_set_robust) (struct pthread *); | |
8888 | }; | |
8889 | ||
8890 | ||
8891 | extern struct pthread_functions __libc_pthread_functions ; | |
8892 | extern int __libc_pthread_functions_init ; | |
8893 | # 38 "../nptl/sysdeps/pthread/bits/libc-lock.h" 2 | |
8894 | # 46 "../nptl/sysdeps/pthread/bits/libc-lock.h" | |
8895 | typedef int __libc_lock_t; | |
8896 | typedef struct { int lock; int cnt; void *owner; } __libc_lock_recursive_t; | |
8897 | ||
8898 | typedef struct { pthread_mutex_t mutex; } __rtld_lock_recursive_t; | |
8899 | ||
8900 | typedef pthread_rwlock_t __libc_rwlock_t; | |
8901 | # 62 "../nptl/sysdeps/pthread/bits/libc-lock.h" | |
8902 | typedef pthread_key_t __libc_key_t; | |
8903 | # 385 "../nptl/sysdeps/pthread/bits/libc-lock.h" | |
8904 | extern void _pthread_cleanup_push (struct _pthread_cleanup_buffer *buffer, | |
8905 | void (*routine) (void *), void *arg); | |
8906 | extern void _pthread_cleanup_pop (struct _pthread_cleanup_buffer *buffer, | |
8907 | int execute); | |
8908 | extern void _pthread_cleanup_push_defer (struct _pthread_cleanup_buffer *buffer, | |
8909 | void (*routine) (void *), void *arg); | |
8910 | extern void _pthread_cleanup_pop_restore (struct _pthread_cleanup_buffer *buffer, | |
8911 | int execute); | |
8912 | # 428 "../nptl/sysdeps/pthread/bits/libc-lock.h" | |
8913 | extern __inline void | |
8914 | __libc_cleanup_routine (struct __pthread_cleanup_frame *f) | |
8915 | { | |
8916 | if (f->__do_it) | |
8917 | f->__cancel_routine (f->__cancel_arg); | |
8918 | } | |
8919 | # 465 "../nptl/sysdeps/pthread/bits/libc-lock.h" | |
8920 | extern int __register_atfork (void (*__prepare) (void), | |
8921 | void (*__parent) (void), | |
8922 | void (*__child) (void), | |
8923 | void *__dso_handle); | |
8924 | ||
8925 | ||
8926 | ||
8927 | ||
8928 | extern int __pthread_mutex_init (pthread_mutex_t *__mutex, | |
8929 | __const pthread_mutexattr_t *__mutex_attr); | |
8930 | ||
8931 | extern int __pthread_mutex_destroy (pthread_mutex_t *__mutex); | |
8932 | ||
8933 | extern int __pthread_mutex_trylock (pthread_mutex_t *__mutex); | |
8934 | ||
8935 | extern int __pthread_mutex_lock (pthread_mutex_t *__mutex); | |
8936 | ||
8937 | extern int __pthread_mutex_unlock (pthread_mutex_t *__mutex); | |
8938 | ||
8939 | extern int __pthread_mutexattr_init (pthread_mutexattr_t *__attr); | |
8940 | ||
8941 | extern int __pthread_mutexattr_destroy (pthread_mutexattr_t *__attr); | |
8942 | ||
8943 | extern int __pthread_mutexattr_settype (pthread_mutexattr_t *__attr, | |
8944 | int __kind); | |
8945 | ||
8946 | ||
8947 | extern int __pthread_rwlock_init (pthread_rwlock_t *__rwlock, | |
8948 | __const pthread_rwlockattr_t *__attr); | |
8949 | ||
8950 | extern int __pthread_rwlock_destroy (pthread_rwlock_t *__rwlock); | |
8951 | ||
8952 | extern int __pthread_rwlock_rdlock (pthread_rwlock_t *__rwlock); | |
8953 | ||
8954 | extern int __pthread_rwlock_tryrdlock (pthread_rwlock_t *__rwlock); | |
8955 | ||
8956 | extern int __pthread_rwlock_wrlock (pthread_rwlock_t *__rwlock); | |
8957 | ||
8958 | extern int __pthread_rwlock_trywrlock (pthread_rwlock_t *__rwlock); | |
8959 | ||
8960 | extern int __pthread_rwlock_unlock (pthread_rwlock_t *__rwlock); | |
8961 | ||
8962 | ||
8963 | extern int __pthread_key_create (pthread_key_t *__key, | |
8964 | void (*__destr_function) (void *)); | |
8965 | ||
8966 | extern int __pthread_setspecific (pthread_key_t __key, | |
8967 | __const void *__pointer); | |
8968 | ||
8969 | extern void *__pthread_getspecific (pthread_key_t __key); | |
8970 | ||
8971 | extern int __pthread_once (pthread_once_t *__once_control, | |
8972 | void (*__init_routine) (void)); | |
8973 | ||
8974 | extern int __pthread_atfork (void (*__prepare) (void), | |
8975 | void (*__parent) (void), | |
8976 | void (*__child) (void)); | |
8977 | # 530 "../nptl/sysdeps/pthread/bits/libc-lock.h" | |
8978 | # 1 "../sysdeps/generic/bp-sym.h" 1 | |
8979 | # 531 "../nptl/sysdeps/pthread/bits/libc-lock.h" 2 | |
8980 | ||
8981 | ||
8982 | ||
8983 | ||
8984 | # 534 "../nptl/sysdeps/pthread/bits/libc-lock.h" | |
8985 | #pragma weak __pthread_mutex_init | |
8986 | # 534 "../nptl/sysdeps/pthread/bits/libc-lock.h" | |
8987 | ||
8988 | ||
8989 | # 535 "../nptl/sysdeps/pthread/bits/libc-lock.h" | |
8990 | #pragma weak __pthread_mutex_destroy | |
8991 | # 535 "../nptl/sysdeps/pthread/bits/libc-lock.h" | |
8992 | ||
8993 | ||
8994 | # 536 "../nptl/sysdeps/pthread/bits/libc-lock.h" | |
8995 | #pragma weak __pthread_mutex_lock | |
8996 | # 536 "../nptl/sysdeps/pthread/bits/libc-lock.h" | |
8997 | ||
8998 | ||
8999 | # 537 "../nptl/sysdeps/pthread/bits/libc-lock.h" | |
9000 | #pragma weak __pthread_mutex_trylock | |
9001 | # 537 "../nptl/sysdeps/pthread/bits/libc-lock.h" | |
9002 | ||
9003 | ||
9004 | # 538 "../nptl/sysdeps/pthread/bits/libc-lock.h" | |
9005 | #pragma weak __pthread_mutex_unlock | |
9006 | # 538 "../nptl/sysdeps/pthread/bits/libc-lock.h" | |
9007 | ||
9008 | ||
9009 | # 539 "../nptl/sysdeps/pthread/bits/libc-lock.h" | |
9010 | #pragma weak __pthread_mutexattr_init | |
9011 | # 539 "../nptl/sysdeps/pthread/bits/libc-lock.h" | |
9012 | ||
9013 | ||
9014 | # 540 "../nptl/sysdeps/pthread/bits/libc-lock.h" | |
9015 | #pragma weak __pthread_mutexattr_destroy | |
9016 | # 540 "../nptl/sysdeps/pthread/bits/libc-lock.h" | |
9017 | ||
9018 | ||
9019 | # 541 "../nptl/sysdeps/pthread/bits/libc-lock.h" | |
9020 | #pragma weak __pthread_mutexattr_settype | |
9021 | # 541 "../nptl/sysdeps/pthread/bits/libc-lock.h" | |
9022 | ||
9023 | ||
9024 | # 542 "../nptl/sysdeps/pthread/bits/libc-lock.h" | |
9025 | #pragma weak __pthread_rwlock_init | |
9026 | # 542 "../nptl/sysdeps/pthread/bits/libc-lock.h" | |
9027 | ||
9028 | ||
9029 | # 543 "../nptl/sysdeps/pthread/bits/libc-lock.h" | |
9030 | #pragma weak __pthread_rwlock_destroy | |
9031 | # 543 "../nptl/sysdeps/pthread/bits/libc-lock.h" | |
9032 | ||
9033 | ||
9034 | # 544 "../nptl/sysdeps/pthread/bits/libc-lock.h" | |
9035 | #pragma weak __pthread_rwlock_rdlock | |
9036 | # 544 "../nptl/sysdeps/pthread/bits/libc-lock.h" | |
9037 | ||
9038 | ||
9039 | # 545 "../nptl/sysdeps/pthread/bits/libc-lock.h" | |
9040 | #pragma weak __pthread_rwlock_tryrdlock | |
9041 | # 545 "../nptl/sysdeps/pthread/bits/libc-lock.h" | |
9042 | ||
9043 | ||
9044 | # 546 "../nptl/sysdeps/pthread/bits/libc-lock.h" | |
9045 | #pragma weak __pthread_rwlock_wrlock | |
9046 | # 546 "../nptl/sysdeps/pthread/bits/libc-lock.h" | |
9047 | ||
9048 | ||
9049 | # 547 "../nptl/sysdeps/pthread/bits/libc-lock.h" | |
9050 | #pragma weak __pthread_rwlock_trywrlock | |
9051 | # 547 "../nptl/sysdeps/pthread/bits/libc-lock.h" | |
9052 | ||
9053 | ||
9054 | # 548 "../nptl/sysdeps/pthread/bits/libc-lock.h" | |
9055 | #pragma weak __pthread_rwlock_unlock | |
9056 | # 548 "../nptl/sysdeps/pthread/bits/libc-lock.h" | |
9057 | ||
9058 | ||
9059 | # 549 "../nptl/sysdeps/pthread/bits/libc-lock.h" | |
9060 | #pragma weak __pthread_key_create | |
9061 | # 549 "../nptl/sysdeps/pthread/bits/libc-lock.h" | |
9062 | ||
9063 | ||
9064 | # 550 "../nptl/sysdeps/pthread/bits/libc-lock.h" | |
9065 | #pragma weak __pthread_setspecific | |
9066 | # 550 "../nptl/sysdeps/pthread/bits/libc-lock.h" | |
9067 | ||
9068 | ||
9069 | # 551 "../nptl/sysdeps/pthread/bits/libc-lock.h" | |
9070 | #pragma weak __pthread_getspecific | |
9071 | # 551 "../nptl/sysdeps/pthread/bits/libc-lock.h" | |
9072 | ||
9073 | ||
9074 | # 552 "../nptl/sysdeps/pthread/bits/libc-lock.h" | |
9075 | #pragma weak __pthread_once | |
9076 | # 552 "../nptl/sysdeps/pthread/bits/libc-lock.h" | |
9077 | ||
9078 | ||
9079 | # 553 "../nptl/sysdeps/pthread/bits/libc-lock.h" | |
9080 | #pragma weak __pthread_initialize | |
9081 | # 553 "../nptl/sysdeps/pthread/bits/libc-lock.h" | |
9082 | ||
9083 | ||
9084 | # 554 "../nptl/sysdeps/pthread/bits/libc-lock.h" | |
9085 | #pragma weak __pthread_atfork | |
9086 | # 554 "../nptl/sysdeps/pthread/bits/libc-lock.h" | |
9087 | ||
9088 | ||
9089 | # 555 "../nptl/sysdeps/pthread/bits/libc-lock.h" | |
9090 | #pragma weak _pthread_cleanup_push_defer | |
9091 | # 555 "../nptl/sysdeps/pthread/bits/libc-lock.h" | |
9092 | ||
9093 | ||
9094 | # 556 "../nptl/sysdeps/pthread/bits/libc-lock.h" | |
9095 | #pragma weak _pthread_cleanup_pop_restore | |
9096 | # 556 "../nptl/sysdeps/pthread/bits/libc-lock.h" | |
9097 | ||
9098 | ||
9099 | # 557 "../nptl/sysdeps/pthread/bits/libc-lock.h" | |
9100 | #pragma weak pthread_setcancelstate | |
9101 | # 557 "../nptl/sysdeps/pthread/bits/libc-lock.h" | |
9102 | ||
9103 | # 24 "../nptl/sysdeps/pthread/bits/stdio-lock.h" 2 | |
9104 | ||
9105 | ||
9106 | ||
9107 | ||
9108 | ||
9109 | ||
9110 | typedef struct { int lock; int cnt; void *owner; } _IO_lock_t; | |
9111 | # 178 "../libio/libio.h" 2 | |
9112 | # 188 "../libio/libio.h" | |
9113 | struct _IO_marker { | |
9114 | struct _IO_marker *_next; | |
9115 | struct _IO_FILE *_sbuf; | |
9116 | ||
9117 | ||
9118 | ||
9119 | int _pos; | |
9120 | # 205 "../libio/libio.h" | |
9121 | }; | |
9122 | ||
9123 | ||
9124 | enum __codecvt_result | |
9125 | { | |
9126 | __codecvt_ok, | |
9127 | __codecvt_partial, | |
9128 | __codecvt_error, | |
9129 | __codecvt_noconv | |
9130 | }; | |
9131 | ||
9132 | ||
9133 | ||
9134 | ||
9135 | struct _IO_codecvt | |
9136 | { | |
9137 | void (*__codecvt_destr) (struct _IO_codecvt *); | |
9138 | enum __codecvt_result (*__codecvt_do_out) (struct _IO_codecvt *, | |
9139 | __mbstate_t *, | |
9140 | const wchar_t *, | |
9141 | const wchar_t *, | |
9142 | const wchar_t **, char *, | |
9143 | char *, char **); | |
9144 | enum __codecvt_result (*__codecvt_do_unshift) (struct _IO_codecvt *, | |
9145 | __mbstate_t *, char *, | |
9146 | char *, char **); | |
9147 | enum __codecvt_result (*__codecvt_do_in) (struct _IO_codecvt *, | |
9148 | __mbstate_t *, | |
9149 | const char *, const char *, | |
9150 | const char **, wchar_t *, | |
9151 | wchar_t *, wchar_t **); | |
9152 | int (*__codecvt_do_encoding) (struct _IO_codecvt *); | |
9153 | int (*__codecvt_do_always_noconv) (struct _IO_codecvt *); | |
9154 | int (*__codecvt_do_length) (struct _IO_codecvt *, __mbstate_t *, | |
9155 | const char *, const char *, size_t); | |
9156 | int (*__codecvt_do_max_length) (struct _IO_codecvt *); | |
9157 | ||
9158 | _G_iconv_t __cd_in; | |
9159 | _G_iconv_t __cd_out; | |
9160 | }; | |
9161 | ||
9162 | ||
9163 | struct _IO_wide_data | |
9164 | { | |
9165 | wchar_t *_IO_read_ptr; | |
9166 | wchar_t *_IO_read_end; | |
9167 | wchar_t *_IO_read_base; | |
9168 | wchar_t *_IO_write_base; | |
9169 | wchar_t *_IO_write_ptr; | |
9170 | wchar_t *_IO_write_end; | |
9171 | wchar_t *_IO_buf_base; | |
9172 | wchar_t *_IO_buf_end; | |
9173 | ||
9174 | wchar_t *_IO_save_base; | |
9175 | wchar_t *_IO_backup_base; | |
9176 | ||
9177 | wchar_t *_IO_save_end; | |
9178 | ||
9179 | __mbstate_t _IO_state; | |
9180 | __mbstate_t _IO_last_state; | |
9181 | struct _IO_codecvt _codecvt; | |
9182 | ||
9183 | wchar_t _shortbuf[1]; | |
9184 | ||
9185 | const struct _IO_jump_t *_wide_vtable; | |
9186 | }; | |
9187 | ||
9188 | ||
9189 | struct _IO_FILE { | |
9190 | int _flags; | |
9191 | ||
9192 | ||
9193 | ||
9194 | ||
9195 | char* _IO_read_ptr; | |
9196 | char* _IO_read_end; | |
9197 | char* _IO_read_base; | |
9198 | char* _IO_write_base; | |
9199 | char* _IO_write_ptr; | |
9200 | char* _IO_write_end; | |
9201 | char* _IO_buf_base; | |
9202 | char* _IO_buf_end; | |
9203 | ||
9204 | char *_IO_save_base; | |
9205 | char *_IO_backup_base; | |
9206 | char *_IO_save_end; | |
9207 | ||
9208 | struct _IO_marker *_markers; | |
9209 | ||
9210 | struct _IO_FILE *_chain; | |
9211 | ||
9212 | int _fileno; | |
9213 | ||
9214 | ||
9215 | ||
9216 | int _flags2; | |
9217 | ||
9218 | __off_t _old_offset; | |
9219 | ||
9220 | ||
9221 | ||
9222 | unsigned short _cur_column; | |
9223 | signed char _vtable_offset; | |
9224 | char _shortbuf[1]; | |
9225 | ||
9226 | ||
9227 | ||
9228 | _IO_lock_t *_lock; | |
9229 | # 321 "../libio/libio.h" | |
9230 | __off64_t _offset; | |
9231 | ||
9232 | ||
9233 | struct _IO_codecvt *_codecvt; | |
9234 | struct _IO_wide_data *_wide_data; | |
9235 | struct _IO_FILE *_freeres_list; | |
9236 | void *_freeres_buf; | |
9237 | size_t _freeres_size; | |
9238 | ||
9239 | ||
9240 | ||
9241 | ||
9242 | ||
9243 | ||
9244 | ||
9245 | int _mode; | |
9246 | ||
9247 | char _unused2[15 * sizeof (int) - 4 * sizeof (void *) - sizeof (size_t)]; | |
9248 | ||
9249 | }; | |
9250 | ||
9251 | ||
9252 | typedef struct _IO_FILE _IO_FILE; | |
9253 | ||
9254 | ||
9255 | struct _IO_FILE_plus; | |
9256 | ||
9257 | extern struct _IO_FILE_plus _IO_2_1_stdin_; | |
9258 | extern struct _IO_FILE_plus _IO_2_1_stdout_; | |
9259 | extern struct _IO_FILE_plus _IO_2_1_stderr_; | |
9260 | ||
9261 | ||
9262 | ||
9263 | ||
9264 | ||
9265 | extern _IO_FILE *_IO_stdin ; | |
9266 | extern _IO_FILE *_IO_stdout ; | |
9267 | extern _IO_FILE *_IO_stderr ; | |
9268 | ||
9269 | ||
9270 | ||
9271 | ||
9272 | ||
9273 | ||
9274 | ||
9275 | typedef __ssize_t __io_read_fn (void *__cookie, char *__buf, size_t __nbytes); | |
9276 | ||
9277 | ||
9278 | ||
9279 | ||
9280 | ||
9281 | ||
9282 | ||
9283 | typedef __ssize_t __io_write_fn (void *__cookie, __const char *__buf, | |
9284 | size_t __n); | |
9285 | ||
9286 | ||
9287 | ||
9288 | ||
9289 | ||
9290 | ||
9291 | ||
9292 | typedef int __io_seek_fn (void *__cookie, __off64_t *__pos, int __w); | |
9293 | ||
9294 | ||
9295 | typedef int __io_close_fn (void *__cookie); | |
9296 | ||
9297 | ||
9298 | ||
9299 | ||
9300 | typedef __io_read_fn cookie_read_function_t; | |
9301 | typedef __io_write_fn cookie_write_function_t; | |
9302 | typedef __io_seek_fn cookie_seek_function_t; | |
9303 | typedef __io_close_fn cookie_close_function_t; | |
9304 | ||
9305 | ||
9306 | typedef struct | |
9307 | { | |
9308 | __io_read_fn *read; | |
9309 | __io_write_fn *write; | |
9310 | __io_seek_fn *seek; | |
9311 | __io_close_fn *close; | |
9312 | } _IO_cookie_io_functions_t; | |
9313 | typedef _IO_cookie_io_functions_t cookie_io_functions_t; | |
9314 | ||
9315 | struct _IO_cookie_file; | |
9316 | ||
9317 | ||
9318 | extern void _IO_cookie_init (struct _IO_cookie_file *__cfile, int __read_write, | |
9319 | void *__cookie, _IO_cookie_io_functions_t __fns); | |
9320 | ||
9321 | ||
9322 | ||
9323 | ||
9324 | ||
9325 | ||
9326 | ||
9327 | extern int __underflow (_IO_FILE *); | |
9328 | extern int __uflow (_IO_FILE *); | |
9329 | extern int __overflow (_IO_FILE *, int); | |
9330 | ||
9331 | extern wint_t __wunderflow (_IO_FILE *); | |
9332 | extern wint_t __wuflow (_IO_FILE *); | |
9333 | extern wint_t __woverflow (_IO_FILE *, wint_t); | |
9334 | # 462 "../libio/libio.h" | |
9335 | extern int _IO_getc (_IO_FILE *__fp); | |
9336 | extern int _IO_putc (int __c, _IO_FILE *__fp); | |
9337 | extern int _IO_feof (_IO_FILE *__fp) __attribute__ ((__nothrow__ )); | |
9338 | extern int _IO_ferror (_IO_FILE *__fp) __attribute__ ((__nothrow__ )); | |
9339 | ||
9340 | extern int _IO_peekc_locked (_IO_FILE *__fp); | |
9341 | ||
9342 | ||
9343 | ||
9344 | ||
9345 | ||
9346 | extern void _IO_flockfile (_IO_FILE *) __attribute__ ((__nothrow__ )); | |
9347 | extern void _IO_funlockfile (_IO_FILE *) __attribute__ ((__nothrow__ )); | |
9348 | extern int _IO_ftrylockfile (_IO_FILE *) __attribute__ ((__nothrow__ )); | |
9349 | # 492 "../libio/libio.h" | |
9350 | extern int _IO_vfscanf (_IO_FILE * __restrict, const char * __restrict, | |
9351 | __gnuc_va_list, int *__restrict); | |
9352 | extern int _IO_vfprintf (_IO_FILE *__restrict, const char *__restrict, | |
9353 | __gnuc_va_list); | |
9354 | extern __ssize_t _IO_padn (_IO_FILE *, int, __ssize_t); | |
9355 | extern size_t _IO_sgetn (_IO_FILE *, void *, size_t); | |
9356 | ||
9357 | extern __off64_t _IO_seekoff (_IO_FILE *, __off64_t, int, int); | |
9358 | extern __off64_t _IO_seekpos (_IO_FILE *, __off64_t, int); | |
9359 | ||
9360 | extern void _IO_free_backup_area (_IO_FILE *) __attribute__ ((__nothrow__ )); | |
9361 | ||
9362 | ||
9363 | extern wint_t _IO_getwc (_IO_FILE *__fp); | |
9364 | extern wint_t _IO_putwc (wchar_t __wc, _IO_FILE *__fp); | |
9365 | extern int _IO_fwide (_IO_FILE *__fp, int __mode) __attribute__ ((__nothrow__ )); | |
9366 | # 541 "../libio/libio.h" | |
9367 | extern int _IO_vfwscanf (_IO_FILE * __restrict, const wchar_t * __restrict, | |
9368 | __gnuc_va_list, int *__restrict); | |
9369 | extern int _IO_vfwprintf (_IO_FILE *__restrict, const wchar_t *__restrict, | |
9370 | __gnuc_va_list); | |
9371 | extern __ssize_t _IO_wpadn (_IO_FILE *, wint_t, __ssize_t); | |
9372 | extern void _IO_free_wbackup_area (_IO_FILE *) __attribute__ ((__nothrow__ )); | |
9373 | # 2 "../include/libio.h" 2 | |
9374 | ||
9375 | ||
9376 | ||
9377 | ||
9378 | ||
9379 | ||
9380 | ||
9381 | ||
9382 | ||
9383 | ||
9384 | # 76 "../libio/stdio.h" 2 | |
9385 | # 109 "../libio/stdio.h" | |
9386 | ||
9387 | ||
9388 | typedef _G_fpos_t fpos_t; | |
9389 | ||
9390 | ||
9391 | ||
9392 | ||
9393 | ||
9394 | typedef _G_fpos64_t fpos64_t; | |
9395 | # 165 "../libio/stdio.h" | |
9396 | # 1 "/var/tmp/portage/sys-libs/glibc-2.15-r3/work/build-default-armv5te-iwmmxt-linux-gnueabi-nptl/bits/stdio_lim.h" 1 | |
9397 | # 166 "../libio/stdio.h" 2 | |
9398 | ||
9399 | ||
9400 | ||
9401 | extern struct _IO_FILE *stdin; | |
9402 | extern struct _IO_FILE *stdout; | |
9403 | extern struct _IO_FILE *stderr; | |
9404 | ||
9405 | ||
9406 | ||
9407 | ||
9408 | ||
9409 | ||
9410 | ||
9411 | extern int remove (__const char *__filename) __attribute__ ((__nothrow__ )); | |
9412 | ||
9413 | extern int rename (__const char *__old, __const char *__new) __attribute__ ((__nothrow__ )); | |
9414 | ||
9415 | ||
9416 | ||
9417 | ||
9418 | extern int renameat (int __oldfd, __const char *__old, int __newfd, | |
9419 | __const char *__new) __attribute__ ((__nothrow__ )); | |
9420 | ||
9421 | ||
9422 | ||
9423 | ||
9424 | ||
9425 | ||
9426 | ||
9427 | ||
9428 | extern FILE *tmpfile (void) ; | |
9429 | # 206 "../libio/stdio.h" | |
9430 | extern FILE *tmpfile64 (void) ; | |
9431 | ||
9432 | ||
9433 | ||
9434 | extern char *tmpnam (char *__s) __attribute__ ((__nothrow__ )) ; | |
9435 | ||
9436 | ||
9437 | ||
9438 | ||
9439 | ||
9440 | extern char *tmpnam_r (char *__s) __attribute__ ((__nothrow__ )) ; | |
9441 | # 228 "../libio/stdio.h" | |
9442 | extern char *tempnam (__const char *__dir, __const char *__pfx) | |
9443 | __attribute__ ((__nothrow__ )) __attribute__ ((__malloc__)) ; | |
9444 | ||
9445 | ||
9446 | ||
9447 | ||
9448 | ||
9449 | ||
9450 | ||
9451 | ||
9452 | extern int fclose (FILE *__stream); | |
9453 | ||
9454 | ||
9455 | ||
9456 | ||
9457 | extern int fflush (FILE *__stream); | |
9458 | ||
9459 | # 253 "../libio/stdio.h" | |
9460 | extern int fflush_unlocked (FILE *__stream); | |
9461 | # 263 "../libio/stdio.h" | |
9462 | extern int fcloseall (void); | |
9463 | ||
9464 | ||
9465 | ||
9466 | ||
9467 | ||
9468 | ||
9469 | ||
9470 | ||
9471 | ||
9472 | extern FILE *fopen (__const char *__restrict __filename, | |
9473 | __const char *__restrict __modes) ; | |
9474 | ||
9475 | ||
9476 | ||
9477 | ||
9478 | extern FILE *freopen (__const char *__restrict __filename, | |
9479 | __const char *__restrict __modes, | |
9480 | FILE *__restrict __stream) ; | |
9481 | # 296 "../libio/stdio.h" | |
9482 | ||
9483 | ||
9484 | extern FILE *fopen64 (__const char *__restrict __filename, | |
9485 | __const char *__restrict __modes) ; | |
9486 | extern FILE *freopen64 (__const char *__restrict __filename, | |
9487 | __const char *__restrict __modes, | |
9488 | FILE *__restrict __stream) ; | |
9489 | ||
9490 | ||
9491 | ||
9492 | ||
9493 | extern FILE *fdopen (int __fd, __const char *__modes) __attribute__ ((__nothrow__ )) ; | |
9494 | ||
9495 | ||
9496 | ||
9497 | ||
9498 | ||
9499 | extern FILE *fopencookie (void *__restrict __magic_cookie, | |
9500 | __const char *__restrict __modes, | |
9501 | _IO_cookie_io_functions_t __io_funcs) __attribute__ ((__nothrow__ )) ; | |
9502 | ||
9503 | ||
9504 | ||
9505 | ||
9506 | extern FILE *fmemopen (void *__s, size_t __len, __const char *__modes) | |
9507 | __attribute__ ((__nothrow__ )) ; | |
9508 | ||
9509 | ||
9510 | ||
9511 | ||
9512 | extern FILE *open_memstream (char **__bufloc, size_t *__sizeloc) __attribute__ ((__nothrow__ )) ; | |
9513 | ||
9514 | ||
9515 | ||
9516 | ||
9517 | ||
9518 | ||
9519 | extern void setbuf (FILE *__restrict __stream, char *__restrict __buf) __attribute__ ((__nothrow__ )); | |
9520 | ||
9521 | ||
9522 | ||
9523 | extern int setvbuf (FILE *__restrict __stream, char *__restrict __buf, | |
9524 | int __modes, size_t __n) __attribute__ ((__nothrow__ )); | |
9525 | ||
9526 | ||
9527 | ||
9528 | ||
9529 | ||
9530 | extern void setbuffer (FILE *__restrict __stream, char *__restrict __buf, | |
9531 | size_t __size) __attribute__ ((__nothrow__ )); | |
9532 | ||
9533 | ||
9534 | extern void setlinebuf (FILE *__stream) __attribute__ ((__nothrow__ )); | |
9535 | ||
9536 | ||
9537 | ||
9538 | ||
9539 | ||
9540 | ||
9541 | ||
9542 | ||
9543 | extern int fprintf (FILE *__restrict __stream, | |
9544 | __const char *__restrict __format, ...); | |
9545 | ||
9546 | ||
9547 | ||
9548 | ||
9549 | extern int printf (__const char *__restrict __format, ...); | |
9550 | ||
9551 | extern int sprintf (char *__restrict __s, | |
9552 | __const char *__restrict __format, ...) __attribute__ ((__nothrow__)); | |
9553 | ||
9554 | ||
9555 | ||
9556 | ||
9557 | ||
9558 | extern int vfprintf (FILE *__restrict __s, __const char *__restrict __format, | |
9559 | __gnuc_va_list __arg); | |
9560 | ||
9561 | ||
9562 | ||
9563 | ||
9564 | extern int vprintf (__const char *__restrict __format, __gnuc_va_list __arg); | |
9565 | ||
9566 | extern int vsprintf (char *__restrict __s, __const char *__restrict __format, | |
9567 | __gnuc_va_list __arg) __attribute__ ((__nothrow__)); | |
9568 | ||
9569 | ||
9570 | ||
9571 | ||
9572 | ||
9573 | extern int snprintf (char *__restrict __s, size_t __maxlen, | |
9574 | __const char *__restrict __format, ...) | |
9575 | __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 4))); | |
9576 | ||
9577 | extern int vsnprintf (char *__restrict __s, size_t __maxlen, | |
9578 | __const char *__restrict __format, __gnuc_va_list __arg) | |
9579 | __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 0))); | |
9580 | ||
9581 | ||
9582 | ||
9583 | ||
9584 | ||
9585 | ||
9586 | extern int vasprintf (char **__restrict __ptr, __const char *__restrict __f, | |
9587 | __gnuc_va_list __arg) | |
9588 | __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 0))) ; | |
9589 | extern int __asprintf (char **__restrict __ptr, | |
9590 | __const char *__restrict __fmt, ...) | |
9591 | __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 3))) ; | |
9592 | extern int asprintf (char **__restrict __ptr, | |
9593 | __const char *__restrict __fmt, ...) | |
9594 | __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 3))) ; | |
9595 | # 418 "../libio/stdio.h" | |
9596 | extern int vdprintf (int __fd, __const char *__restrict __fmt, | |
9597 | __gnuc_va_list __arg) | |
9598 | __attribute__ ((__format__ (__printf__, 2, 0))); | |
9599 | extern int dprintf (int __fd, __const char *__restrict __fmt, ...) | |
9600 | __attribute__ ((__format__ (__printf__, 2, 3))); | |
9601 | ||
9602 | ||
9603 | ||
9604 | ||
9605 | ||
9606 | ||
9607 | ||
9608 | ||
9609 | extern int fscanf (FILE *__restrict __stream, | |
9610 | __const char *__restrict __format, ...) ; | |
9611 | ||
9612 | ||
9613 | ||
9614 | ||
9615 | extern int scanf (__const char *__restrict __format, ...) ; | |
9616 | ||
9617 | extern int sscanf (__const char *__restrict __s, | |
9618 | __const char *__restrict __format, ...) __attribute__ ((__nothrow__ )); | |
9619 | # 469 "../libio/stdio.h" | |
9620 | ||
9621 | ||
9622 | ||
9623 | ||
9624 | ||
9625 | ||
9626 | ||
9627 | ||
9628 | extern int vfscanf (FILE *__restrict __s, __const char *__restrict __format, | |
9629 | __gnuc_va_list __arg) | |
9630 | __attribute__ ((__format__ (__scanf__, 2, 0))) ; | |
9631 | ||
9632 | ||
9633 | ||
9634 | ||
9635 | ||
9636 | extern int vscanf (__const char *__restrict __format, __gnuc_va_list __arg) | |
9637 | __attribute__ ((__format__ (__scanf__, 1, 0))) ; | |
9638 | ||
9639 | ||
9640 | extern int vsscanf (__const char *__restrict __s, | |
9641 | __const char *__restrict __format, __gnuc_va_list __arg) | |
9642 | __attribute__ ((__nothrow__ )) __attribute__ ((__format__ (__scanf__, 2, 0))); | |
9643 | # 528 "../libio/stdio.h" | |
9644 | ||
9645 | ||
9646 | ||
9647 | ||
9648 | ||
9649 | ||
9650 | ||
9651 | ||
9652 | ||
9653 | extern int fgetc (FILE *__stream); | |
9654 | extern int getc (FILE *__stream); | |
9655 | ||
9656 | ||
9657 | ||
9658 | ||
9659 | ||
9660 | extern int getchar (void); | |
9661 | ||
9662 | # 556 "../libio/stdio.h" | |
9663 | extern int getc_unlocked (FILE *__stream); | |
9664 | extern int getchar_unlocked (void); | |
9665 | # 567 "../libio/stdio.h" | |
9666 | extern int fgetc_unlocked (FILE *__stream); | |
9667 | ||
9668 | ||
9669 | ||
9670 | ||
9671 | ||
9672 | ||
9673 | ||
9674 | ||
9675 | ||
9676 | ||
9677 | ||
9678 | extern int fputc (int __c, FILE *__stream); | |
9679 | extern int putc (int __c, FILE *__stream); | |
9680 | ||
9681 | ||
9682 | ||
9683 | ||
9684 | ||
9685 | extern int putchar (int __c); | |
9686 | ||
9687 | # 600 "../libio/stdio.h" | |
9688 | extern int fputc_unlocked (int __c, FILE *__stream); | |
9689 | ||
9690 | ||
9691 | ||
9692 | ||
9693 | ||
9694 | ||
9695 | ||
9696 | extern int putc_unlocked (int __c, FILE *__stream); | |
9697 | extern int putchar_unlocked (int __c); | |
9698 | ||
9699 | ||
9700 | ||
9701 | ||
9702 | ||
9703 | ||
9704 | extern int getw (FILE *__stream); | |
9705 | ||
9706 | ||
9707 | extern int putw (int __w, FILE *__stream); | |
9708 | ||
9709 | ||
9710 | ||
9711 | ||
9712 | ||
9713 | ||
9714 | ||
9715 | ||
9716 | extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) | |
9717 | ; | |
9718 | ||
9719 | ||
9720 | ||
9721 | ||
9722 | ||
9723 | ||
9724 | extern char *gets (char *__s) ; | |
9725 | ||
9726 | # 646 "../libio/stdio.h" | |
9727 | extern char *fgets_unlocked (char *__restrict __s, int __n, | |
9728 | FILE *__restrict __stream) ; | |
9729 | # 662 "../libio/stdio.h" | |
9730 | extern __ssize_t __getdelim (char **__restrict __lineptr, | |
9731 | size_t *__restrict __n, int __delimiter, | |
9732 | FILE *__restrict __stream) ; | |
9733 | extern __ssize_t getdelim (char **__restrict __lineptr, | |
9734 | size_t *__restrict __n, int __delimiter, | |
9735 | FILE *__restrict __stream) ; | |
9736 | ||
9737 | ||
9738 | ||
9739 | ||
9740 | ||
9741 | ||
9742 | ||
9743 | extern __ssize_t getline (char **__restrict __lineptr, | |
9744 | size_t *__restrict __n, | |
9745 | FILE *__restrict __stream) ; | |
9746 | ||
9747 | ||
9748 | ||
9749 | ||
9750 | ||
9751 | ||
9752 | ||
9753 | ||
9754 | extern int fputs (__const char *__restrict __s, FILE *__restrict __stream); | |
9755 | ||
9756 | ||
9757 | ||
9758 | ||
9759 | ||
9760 | extern int puts (__const char *__s); | |
9761 | ||
9762 | ||
9763 | ||
9764 | ||
9765 | ||
9766 | ||
9767 | extern int ungetc (int __c, FILE *__stream); | |
9768 | ||
9769 | ||
9770 | ||
9771 | ||
9772 | ||
9773 | ||
9774 | extern size_t fread (void *__restrict __ptr, size_t __size, | |
9775 | size_t __n, FILE *__restrict __stream) ; | |
9776 | ||
9777 | ||
9778 | ||
9779 | ||
9780 | extern size_t fwrite (__const void *__restrict __ptr, size_t __size, | |
9781 | size_t __n, FILE *__restrict __s) ; | |
9782 | ||
9783 | # 723 "../libio/stdio.h" | |
9784 | extern int fputs_unlocked (__const char *__restrict __s, | |
9785 | FILE *__restrict __stream); | |
9786 | # 734 "../libio/stdio.h" | |
9787 | extern size_t fread_unlocked (void *__restrict __ptr, size_t __size, | |
9788 | size_t __n, FILE *__restrict __stream) ; | |
9789 | extern size_t fwrite_unlocked (__const void *__restrict __ptr, size_t __size, | |
9790 | size_t __n, FILE *__restrict __stream) ; | |
9791 | ||
9792 | ||
9793 | ||
9794 | ||
9795 | ||
9796 | ||
9797 | ||
9798 | ||
9799 | extern int fseek (FILE *__stream, long int __off, int __whence); | |
9800 | ||
9801 | ||
9802 | ||
9803 | ||
9804 | extern long int ftell (FILE *__stream) ; | |
9805 | ||
9806 | ||
9807 | ||
9808 | ||
9809 | extern void rewind (FILE *__stream); | |
9810 | ||
9811 | # 770 "../libio/stdio.h" | |
9812 | extern int fseeko (FILE *__stream, __off_t __off, int __whence); | |
9813 | ||
9814 | ||
9815 | ||
9816 | ||
9817 | extern __off_t ftello (FILE *__stream) ; | |
9818 | # 789 "../libio/stdio.h" | |
9819 | ||
9820 | ||
9821 | ||
9822 | ||
9823 | ||
9824 | ||
9825 | extern int fgetpos (FILE *__restrict __stream, fpos_t *__restrict __pos); | |
9826 | ||
9827 | ||
9828 | ||
9829 | ||
9830 | extern int fsetpos (FILE *__stream, __const fpos_t *__pos); | |
9831 | # 812 "../libio/stdio.h" | |
9832 | ||
9833 | ||
9834 | ||
9835 | extern int fseeko64 (FILE *__stream, __off64_t __off, int __whence); | |
9836 | extern __off64_t ftello64 (FILE *__stream) ; | |
9837 | extern int fgetpos64 (FILE *__restrict __stream, fpos64_t *__restrict __pos); | |
9838 | extern int fsetpos64 (FILE *__stream, __const fpos64_t *__pos); | |
9839 | ||
9840 | ||
9841 | ||
9842 | ||
9843 | extern void clearerr (FILE *__stream) __attribute__ ((__nothrow__ )); | |
9844 | ||
9845 | extern int feof (FILE *__stream) __attribute__ ((__nothrow__ )) ; | |
9846 | ||
9847 | extern int ferror (FILE *__stream) __attribute__ ((__nothrow__ )) ; | |
9848 | ||
9849 | ||
9850 | ||
9851 | ||
9852 | extern void clearerr_unlocked (FILE *__stream) __attribute__ ((__nothrow__ )); | |
9853 | extern int feof_unlocked (FILE *__stream) __attribute__ ((__nothrow__ )) ; | |
9854 | extern int ferror_unlocked (FILE *__stream) __attribute__ ((__nothrow__ )) ; | |
9855 | ||
9856 | ||
9857 | ||
9858 | ||
9859 | ||
9860 | ||
9861 | ||
9862 | ||
9863 | extern void perror (__const char *__s); | |
9864 | ||
9865 | ||
9866 | ||
9867 | ||
9868 | ||
9869 | ||
9870 | # 1 "../sysdeps/unix/sysv/linux/bits/sys_errlist.h" 1 | |
9871 | # 27 "../sysdeps/unix/sysv/linux/bits/sys_errlist.h" | |
9872 | extern int sys_nerr; | |
9873 | extern __const char *__const sys_errlist[]; | |
9874 | ||
9875 | ||
9876 | extern int _sys_nerr; | |
9877 | extern __const char *__const _sys_errlist[]; | |
9878 | # 851 "../libio/stdio.h" 2 | |
9879 | ||
9880 | ||
9881 | ||
9882 | ||
9883 | extern int fileno (FILE *__stream) __attribute__ ((__nothrow__ )) ; | |
9884 | ||
9885 | ||
9886 | ||
9887 | ||
9888 | extern int fileno_unlocked (FILE *__stream) __attribute__ ((__nothrow__ )) ; | |
9889 | # 870 "../libio/stdio.h" | |
9890 | extern FILE *popen (__const char *__command, __const char *__modes) ; | |
9891 | ||
9892 | ||
9893 | ||
9894 | ||
9895 | ||
9896 | extern int pclose (FILE *__stream); | |
9897 | ||
9898 | ||
9899 | ||
9900 | ||
9901 | ||
9902 | extern char *ctermid (char *__s) __attribute__ ((__nothrow__ )); | |
9903 | ||
9904 | ||
9905 | ||
9906 | ||
9907 | ||
9908 | extern char *cuserid (char *__s); | |
9909 | ||
9910 | ||
9911 | ||
9912 | ||
9913 | struct obstack; | |
9914 | ||
9915 | ||
9916 | extern int obstack_printf (struct obstack *__restrict __obstack, | |
9917 | __const char *__restrict __format, ...) | |
9918 | __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 3))); | |
9919 | extern int obstack_vprintf (struct obstack *__restrict __obstack, | |
9920 | __const char *__restrict __format, | |
9921 | __gnuc_va_list __args) | |
9922 | __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 0))); | |
9923 | ||
9924 | ||
9925 | ||
9926 | ||
9927 | ||
9928 | ||
9929 | ||
9930 | extern void flockfile (FILE *__stream) __attribute__ ((__nothrow__ )); | |
9931 | ||
9932 | ||
9933 | ||
9934 | extern int ftrylockfile (FILE *__stream) __attribute__ ((__nothrow__ )) ; | |
9935 | ||
9936 | ||
9937 | extern void funlockfile (FILE *__stream) __attribute__ ((__nothrow__ )); | |
9938 | # 931 "../libio/stdio.h" | |
9939 | # 1 "../libio/bits/stdio.h" 1 | |
9940 | # 36 "../libio/bits/stdio.h" | |
9941 | extern __inline int | |
9942 | vprintf (__const char *__restrict __fmt, __gnuc_va_list __arg) | |
9943 | { | |
9944 | return vfprintf (stdout, __fmt, __arg); | |
9945 | } | |
9946 | ||
9947 | ||
9948 | ||
9949 | extern __inline int | |
9950 | getchar (void) | |
9951 | { | |
9952 | return _IO_getc (stdin); | |
9953 | } | |
9954 | ||
9955 | ||
9956 | ||
9957 | ||
9958 | extern __inline int | |
9959 | fgetc_unlocked (FILE *__fp) | |
9960 | { | |
9961 | return (__builtin_expect (((__fp)->_IO_read_ptr >= (__fp)->_IO_read_end), 0) ? __uflow (__fp) : *(unsigned char *) (__fp)->_IO_read_ptr++); | |
9962 | } | |
9963 | ||
9964 | ||
9965 | ||
9966 | ||
9967 | ||
9968 | extern __inline int | |
9969 | getc_unlocked (FILE *__fp) | |
9970 | { | |
9971 | return (__builtin_expect (((__fp)->_IO_read_ptr >= (__fp)->_IO_read_end), 0) ? __uflow (__fp) : *(unsigned char *) (__fp)->_IO_read_ptr++); | |
9972 | } | |
9973 | ||
9974 | ||
9975 | extern __inline int | |
9976 | getchar_unlocked (void) | |
9977 | { | |
9978 | return (__builtin_expect (((stdin)->_IO_read_ptr >= (stdin)->_IO_read_end), 0) ? __uflow (stdin) : *(unsigned char *) (stdin)->_IO_read_ptr++); | |
9979 | } | |
9980 | ||
9981 | ||
9982 | ||
9983 | ||
9984 | extern __inline int | |
9985 | putchar (int __c) | |
9986 | { | |
9987 | return _IO_putc (__c, stdout); | |
9988 | } | |
9989 | ||
9990 | ||
9991 | ||
9992 | ||
9993 | extern __inline int | |
9994 | fputc_unlocked (int __c, FILE *__stream) | |
9995 | { | |
9996 | return (__builtin_expect (((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end), 0) ? __overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (__c))); | |
9997 | } | |
9998 | ||
9999 | ||
10000 | ||
10001 | ||
10002 | ||
10003 | extern __inline int | |
10004 | putc_unlocked (int __c, FILE *__stream) | |
10005 | { | |
10006 | return (__builtin_expect (((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end), 0) ? __overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (__c))); | |
10007 | } | |
10008 | ||
10009 | ||
10010 | extern __inline int | |
10011 | putchar_unlocked (int __c) | |
10012 | { | |
10013 | return (__builtin_expect (((stdout)->_IO_write_ptr >= (stdout)->_IO_write_end), 0) ? __overflow (stdout, (unsigned char) (__c)) : (unsigned char) (*(stdout)->_IO_write_ptr++ = (__c))); | |
10014 | } | |
10015 | ||
10016 | ||
10017 | ||
10018 | ||
10019 | ||
10020 | extern __inline __ssize_t | |
10021 | getline (char **__lineptr, size_t *__n, FILE *__stream) | |
10022 | { | |
10023 | return __getdelim (__lineptr, __n, '\n', __stream); | |
10024 | } | |
10025 | ||
10026 | ||
10027 | ||
10028 | ||
10029 | ||
10030 | extern __inline int | |
10031 | __attribute__ ((__nothrow__ )) feof_unlocked (FILE *__stream) | |
10032 | { | |
10033 | return (((__stream)->_flags & 0x10) != 0); | |
10034 | } | |
10035 | ||
10036 | ||
10037 | extern __inline int | |
10038 | __attribute__ ((__nothrow__ )) ferror_unlocked (FILE *__stream) | |
10039 | { | |
10040 | return (((__stream)->_flags & 0x20) != 0); | |
10041 | } | |
10042 | # 932 "../libio/stdio.h" 2 | |
10043 | # 940 "../libio/stdio.h" | |
10044 | ||
10045 | # 6 "../include/stdio.h" 2 | |
10046 | ||
10047 | ||
10048 | extern int __fcloseall (void); | |
10049 | extern int __snprintf (char *__restrict __s, size_t __maxlen, | |
10050 | __const char *__restrict __format, ...) | |
10051 | __attribute__ ((__format__ (__printf__, 3, 4))); | |
10052 | extern int __vsnprintf (char *__restrict __s, size_t __maxlen, | |
10053 | __const char *__restrict __format, __gnuc_va_list __arg) | |
10054 | __attribute__ ((__format__ (__printf__, 3, 0))); | |
10055 | extern int __vfscanf (FILE *__restrict __s, | |
10056 | __const char *__restrict __format, | |
10057 | __gnuc_va_list __arg) | |
10058 | __attribute__ ((__format__ (__scanf__, 2, 0))); | |
10059 | ||
10060 | extern int __vscanf (__const char *__restrict __format, | |
10061 | __gnuc_va_list __arg) | |
10062 | __attribute__ ((__format__ (__scanf__, 1, 0))); | |
10063 | extern __ssize_t __getline (char **__lineptr, size_t *__n, | |
10064 | FILE *__stream); | |
10065 | extern int __vsscanf (__const char *__restrict __s, | |
10066 | __const char *__restrict __format, | |
10067 | __gnuc_va_list __arg) | |
10068 | __attribute__ ((__format__ (__scanf__, 2, 0))); | |
10069 | ||
10070 | ||
10071 | extern int __sprintf_chk (char *, int, size_t, const char *, ...) __attribute__ ((__nothrow__ )); | |
10072 | extern int __snprintf_chk (char *, size_t, int, size_t, const char *, ...) | |
10073 | __attribute__ ((__nothrow__ )); | |
10074 | extern int __vsprintf_chk (char *, int, size_t, const char *, | |
10075 | __gnuc_va_list) __attribute__ ((__nothrow__ )); | |
10076 | extern int __vsnprintf_chk (char *, size_t, int, size_t, const char *, | |
10077 | __gnuc_va_list) __attribute__ ((__nothrow__ )); | |
10078 | extern int __printf_chk (int, const char *, ...); | |
10079 | extern int __fprintf_chk (FILE *, int, const char *, ...); | |
10080 | extern int __vprintf_chk (int, const char *, __gnuc_va_list); | |
10081 | extern int __vfprintf_chk (FILE *, int, const char *, __gnuc_va_list); | |
10082 | extern char *__fgets_unlocked_chk (char *buf, size_t size, int n, FILE *fp); | |
10083 | extern char *__fgets_chk (char *buf, size_t size, int n, FILE *fp); | |
10084 | extern int __asprintf_chk (char **, int, const char *, ...) __attribute__ ((__nothrow__ )); | |
10085 | extern int __vasprintf_chk (char **, int, const char *, __gnuc_va_list) __attribute__ ((__nothrow__ )); | |
10086 | extern int __dprintf_chk (int, int, const char *, ...); | |
10087 | extern int __vdprintf_chk (int, int, const char *, __gnuc_va_list); | |
10088 | extern int __obstack_printf_chk (struct obstack *, int, const char *, ...) | |
10089 | __attribute__ ((__nothrow__ )); | |
10090 | extern int __obstack_vprintf_chk (struct obstack *, int, const char *, | |
10091 | __gnuc_va_list) __attribute__ ((__nothrow__ )); | |
10092 | ||
10093 | ||
10094 | extern int __isoc99_fscanf (FILE *__restrict __stream, | |
10095 | __const char *__restrict __format, ...) ; | |
10096 | extern int __isoc99_scanf (__const char *__restrict __format, ...) ; | |
10097 | extern int __isoc99_sscanf (__const char *__restrict __s, | |
10098 | __const char *__restrict __format, ...) __attribute__ ((__nothrow__ )); | |
10099 | extern int __isoc99_vfscanf (FILE *__restrict __s, | |
10100 | __const char *__restrict __format, | |
10101 | __gnuc_va_list __arg) ; | |
10102 | extern int __isoc99_vscanf (__const char *__restrict __format, | |
10103 | __gnuc_va_list __arg) ; | |
10104 | extern int __isoc99_vsscanf (__const char *__restrict __s, | |
10105 | __const char *__restrict __format, | |
10106 | __gnuc_va_list __arg) __attribute__ ((__nothrow__ )); | |
10107 | ||
10108 | ||
10109 | ||
10110 | ||
10111 | extern FILE *__new_tmpfile (void); | |
10112 | extern FILE *__old_tmpfile (void); | |
10113 | ||
10114 | ||
10115 | ||
10116 | ||
10117 | # 1 "/usr/lib/gcc/armv5te-iwmmxt-linux-gnueabi/4.7.3/include/stddef.h" 1 3 4 | |
10118 | # 78 "../include/stdio.h" 2 | |
10119 | ||
10120 | extern int __path_search (char *__tmpl, size_t __tmpl_len, | |
10121 | __const char *__dir, __const char *__pfx, | |
10122 | int __try_tempdir); | |
10123 | ||
10124 | extern int __gen_tempname (char *__tmpl, int __suffixlen, int __flags, | |
10125 | int __kind); | |
10126 | ||
10127 | ||
10128 | ||
10129 | ||
10130 | ||
10131 | ||
10132 | extern void __libc_fatal (__const char *__message) | |
10133 | __attribute__ ((__noreturn__)); | |
10134 | extern void __libc_message (int do_abort, __const char *__fnt, ...); | |
10135 | extern void __fortify_fail (const char *msg) | |
10136 | __attribute__ ((__noreturn__)) ; | |
10137 | ||
10138 | ||
10139 | ||
10140 | extern void __flockfile (FILE *__stream); | |
10141 | ||
10142 | ||
10143 | extern void __funlockfile (FILE *__stream); | |
10144 | ||
10145 | ||
10146 | ||
10147 | extern int __ftrylockfile (FILE *__stream); | |
10148 | ||
10149 | extern int __getc_unlocked (FILE *__fp); | |
10150 | extern wint_t __getwc_unlocked (FILE *__fp); | |
10151 | ||
10152 | extern int __fxprintf (FILE *__fp, const char *__fmt, ...) | |
10153 | __attribute__ ((__format__ (__printf__, 2, 3))); | |
10154 | ||
10155 | extern __const char *__const _sys_errlist_internal[] ; | |
10156 | extern int _sys_nerr_internal ; | |
10157 | ||
10158 | extern int __asprintf_internal (char **__restrict __ptr, | |
10159 | __const char *__restrict __fmt, ...) | |
10160 | __attribute__ ((__format__ (__printf__, 2, 3))); | |
10161 | ||
10162 | ||
10163 | ||
10164 | ||
10165 | extern _IO_FILE *_IO_new_fopen (const char*, const char*); | |
10166 | ||
10167 | extern _IO_FILE *_IO_new_fdopen (int, const char*); | |
10168 | ||
10169 | extern int _IO_new_fclose (_IO_FILE*); | |
10170 | ||
10171 | extern int _IO_fputs (const char*, _IO_FILE*); | |
10172 | ||
10173 | ||
10174 | extern int _IO_new_fsetpos (_IO_FILE *, const _G_fpos_t *); | |
10175 | ||
10176 | extern int _IO_new_fgetpos (_IO_FILE *, _G_fpos_t *); | |
10177 | ||
10178 | ||
10179 | ||
10180 | ||
10181 | ||
10182 | ||
10183 | ||
10184 | ||
10185 | ||
10186 | ||
10187 | ||
10188 | ||
10189 | ||
10190 | ||
10191 | ||
10192 | ||
10193 | ||
10194 | ||
10195 | ||
10196 | ||
10197 | ||
10198 | ||
10199 | ||
10200 | ||
10201 | ||
10202 | ||
10203 | ||
10204 | ||
10205 | ||
10206 | ||
10207 | ||
10208 | # 24 "fxprintf.c" 2 | |
10209 | # 1 "../include/wchar.h" 1 | |
10210 | ||
10211 | # 1 "../wcsmbs/wchar.h" 1 | |
10212 | # 52 "../wcsmbs/wchar.h" | |
10213 | # 1 "/usr/lib/gcc/armv5te-iwmmxt-linux-gnueabi/4.7.3/include/stddef.h" 1 3 4 | |
10214 | # 53 "../wcsmbs/wchar.h" 2 | |
10215 | # 104 "../wcsmbs/wchar.h" | |
10216 | ||
10217 | ||
10218 | typedef __mbstate_t mbstate_t; | |
10219 | ||
10220 | ||
10221 | ||
10222 | # 129 "../wcsmbs/wchar.h" | |
10223 | ||
10224 | ||
10225 | ||
10226 | ||
10227 | ||
10228 | struct tm; | |
10229 | ||
10230 | ||
10231 | ||
10232 | ||
10233 | ||
10234 | ||
10235 | ||
10236 | ||
10237 | ||
10238 | extern wchar_t *wcscpy (wchar_t *__restrict __dest, | |
10239 | __const wchar_t *__restrict __src) __attribute__ ((__nothrow__ )); | |
10240 | ||
10241 | extern wchar_t *wcsncpy (wchar_t *__restrict __dest, | |
10242 | __const wchar_t *__restrict __src, size_t __n) | |
10243 | __attribute__ ((__nothrow__ )); | |
10244 | ||
10245 | ||
10246 | extern wchar_t *wcscat (wchar_t *__restrict __dest, | |
10247 | __const wchar_t *__restrict __src) __attribute__ ((__nothrow__ )); | |
10248 | ||
10249 | extern wchar_t *wcsncat (wchar_t *__restrict __dest, | |
10250 | __const wchar_t *__restrict __src, size_t __n) | |
10251 | __attribute__ ((__nothrow__ )); | |
10252 | ||
10253 | ||
10254 | extern int wcscmp (__const wchar_t *__s1, __const wchar_t *__s2) | |
10255 | __attribute__ ((__nothrow__ )) __attribute__ ((__pure__)); | |
10256 | ||
10257 | extern int wcsncmp (__const wchar_t *__s1, __const wchar_t *__s2, size_t __n) | |
10258 | __attribute__ ((__nothrow__ )) __attribute__ ((__pure__)); | |
10259 | ||
10260 | ||
10261 | ||
10262 | ||
10263 | extern int wcscasecmp (__const wchar_t *__s1, __const wchar_t *__s2) __attribute__ ((__nothrow__ )); | |
10264 | ||
10265 | ||
10266 | extern int wcsncasecmp (__const wchar_t *__s1, __const wchar_t *__s2, | |
10267 | size_t __n) __attribute__ ((__nothrow__ )); | |
10268 | ||
10269 | ||
10270 | ||
10271 | # 1 "../include/xlocale.h" 1 | |
10272 | # 178 "../wcsmbs/wchar.h" 2 | |
10273 | ||
10274 | extern int wcscasecmp_l (__const wchar_t *__s1, __const wchar_t *__s2, | |
10275 | __locale_t __loc) __attribute__ ((__nothrow__ )); | |
10276 | ||
10277 | extern int wcsncasecmp_l (__const wchar_t *__s1, __const wchar_t *__s2, | |
10278 | size_t __n, __locale_t __loc) __attribute__ ((__nothrow__ )); | |
10279 | ||
10280 | ||
10281 | ||
10282 | ||
10283 | ||
10284 | extern int wcscoll (__const wchar_t *__s1, __const wchar_t *__s2) __attribute__ ((__nothrow__ )); | |
10285 | ||
10286 | ||
10287 | ||
10288 | extern size_t wcsxfrm (wchar_t *__restrict __s1, | |
10289 | __const wchar_t *__restrict __s2, size_t __n) __attribute__ ((__nothrow__ )); | |
10290 | ||
10291 | ||
10292 | ||
10293 | ||
10294 | ||
10295 | ||
10296 | ||
10297 | ||
10298 | extern int wcscoll_l (__const wchar_t *__s1, __const wchar_t *__s2, | |
10299 | __locale_t __loc) __attribute__ ((__nothrow__ )); | |
10300 | ||
10301 | ||
10302 | ||
10303 | ||
10304 | extern size_t wcsxfrm_l (wchar_t *__s1, __const wchar_t *__s2, | |
10305 | size_t __n, __locale_t __loc) __attribute__ ((__nothrow__ )); | |
10306 | ||
10307 | ||
10308 | extern wchar_t *wcsdup (__const wchar_t *__s) __attribute__ ((__nothrow__ )) __attribute__ ((__malloc__)); | |
10309 | ||
10310 | ||
10311 | ||
10312 | ||
10313 | ||
10314 | ||
10315 | ||
10316 | ||
10317 | ||
10318 | ||
10319 | extern wchar_t *wcschr (__const wchar_t *__wcs, wchar_t __wc) | |
10320 | __attribute__ ((__nothrow__ )) __attribute__ ((__pure__)); | |
10321 | # 234 "../wcsmbs/wchar.h" | |
10322 | extern wchar_t *wcsrchr (__const wchar_t *__wcs, wchar_t __wc) | |
10323 | __attribute__ ((__nothrow__ )) __attribute__ ((__pure__)); | |
10324 | ||
10325 | ||
10326 | ||
10327 | ||
10328 | ||
10329 | ||
10330 | extern wchar_t *wcschrnul (__const wchar_t *__s, wchar_t __wc) | |
10331 | __attribute__ ((__nothrow__ )) __attribute__ ((__pure__)); | |
10332 | ||
10333 | ||
10334 | ||
10335 | ||
10336 | ||
10337 | extern size_t wcscspn (__const wchar_t *__wcs, __const wchar_t *__reject) | |
10338 | __attribute__ ((__nothrow__ )) __attribute__ ((__pure__)); | |
10339 | ||
10340 | ||
10341 | extern size_t wcsspn (__const wchar_t *__wcs, __const wchar_t *__accept) | |
10342 | __attribute__ ((__nothrow__ )) __attribute__ ((__pure__)); | |
10343 | # 263 "../wcsmbs/wchar.h" | |
10344 | extern wchar_t *wcspbrk (__const wchar_t *__wcs, __const wchar_t *__accept) | |
10345 | __attribute__ ((__nothrow__ )) __attribute__ ((__pure__)); | |
10346 | # 274 "../wcsmbs/wchar.h" | |
10347 | extern wchar_t *wcsstr (__const wchar_t *__haystack, __const wchar_t *__needle) | |
10348 | __attribute__ ((__nothrow__ )) __attribute__ ((__pure__)); | |
10349 | ||
10350 | ||
10351 | ||
10352 | extern wchar_t *wcstok (wchar_t *__restrict __s, | |
10353 | __const wchar_t *__restrict __delim, | |
10354 | wchar_t **__restrict __ptr) __attribute__ ((__nothrow__ )); | |
10355 | ||
10356 | ||
10357 | extern size_t wcslen (__const wchar_t *__s) __attribute__ ((__nothrow__ )) __attribute__ ((__pure__)); | |
10358 | ||
10359 | # 296 "../wcsmbs/wchar.h" | |
10360 | extern wchar_t *wcswcs (__const wchar_t *__haystack, __const wchar_t *__needle) | |
10361 | __attribute__ ((__nothrow__ )) __attribute__ ((__pure__)); | |
10362 | ||
10363 | ||
10364 | ||
10365 | ||
10366 | ||
10367 | extern size_t wcsnlen (__const wchar_t *__s, size_t __maxlen) | |
10368 | __attribute__ ((__nothrow__ )) __attribute__ ((__pure__)); | |
10369 | ||
10370 | ||
10371 | ||
10372 | ||
10373 | # 317 "../wcsmbs/wchar.h" | |
10374 | extern wchar_t *wmemchr (__const wchar_t *__s, wchar_t __c, size_t __n) | |
10375 | __attribute__ ((__nothrow__ )) __attribute__ ((__pure__)); | |
10376 | ||
10377 | ||
10378 | ||
10379 | extern int wmemcmp (__const wchar_t *__s1, __const wchar_t *__s2, size_t __n) | |
10380 | __attribute__ ((__nothrow__ )) __attribute__ ((__pure__)); | |
10381 | ||
10382 | ||
10383 | extern wchar_t *wmemcpy (wchar_t *__restrict __s1, | |
10384 | __const wchar_t *__restrict __s2, size_t __n) __attribute__ ((__nothrow__ )); | |
10385 | ||
10386 | ||
10387 | ||
10388 | extern wchar_t *wmemmove (wchar_t *__s1, __const wchar_t *__s2, size_t __n) | |
10389 | __attribute__ ((__nothrow__ )); | |
10390 | ||
10391 | ||
10392 | extern wchar_t *wmemset (wchar_t *__s, wchar_t __c, size_t __n) __attribute__ ((__nothrow__ )); | |
10393 | ||
10394 | ||
10395 | ||
10396 | ||
10397 | ||
10398 | extern wchar_t *wmempcpy (wchar_t *__restrict __s1, | |
10399 | __const wchar_t *__restrict __s2, size_t __n) | |
10400 | __attribute__ ((__nothrow__ )); | |
10401 | ||
10402 | ||
10403 | ||
10404 | ||
10405 | ||
10406 | ||
10407 | extern wint_t btowc (int __c) __attribute__ ((__nothrow__ )); | |
10408 | ||
10409 | ||
10410 | ||
10411 | extern int wctob (wint_t __c) __attribute__ ((__nothrow__ )); | |
10412 | ||
10413 | ||
10414 | ||
10415 | extern int mbsinit (__const mbstate_t *__ps) __attribute__ ((__nothrow__ )) __attribute__ ((__pure__)); | |
10416 | ||
10417 | ||
10418 | ||
10419 | extern size_t mbrtowc (wchar_t *__restrict __pwc, | |
10420 | __const char *__restrict __s, size_t __n, | |
10421 | mbstate_t *__p) __attribute__ ((__nothrow__ )); | |
10422 | ||
10423 | ||
10424 | extern size_t wcrtomb (char *__restrict __s, wchar_t __wc, | |
10425 | mbstate_t *__restrict __ps) __attribute__ ((__nothrow__ )); | |
10426 | ||
10427 | ||
10428 | extern size_t __mbrlen (__const char *__restrict __s, size_t __n, | |
10429 | mbstate_t *__restrict __ps) __attribute__ ((__nothrow__ )); | |
10430 | extern size_t mbrlen (__const char *__restrict __s, size_t __n, | |
10431 | mbstate_t *__restrict __ps) __attribute__ ((__nothrow__ )); | |
10432 | ||
10433 | ||
10434 | ||
10435 | ||
10436 | ||
10437 | ||
10438 | ||
10439 | ||
10440 | extern wint_t __btowc_alias (int __c) __asm ("btowc"); | |
10441 | extern __inline wint_t | |
10442 | __attribute__ ((__nothrow__ )) btowc (int __c) | |
10443 | { return (__builtin_constant_p (__c) && __c >= '\0' && __c <= '\x7f' | |
10444 | ? (wint_t) __c : __btowc_alias (__c)); } | |
10445 | ||
10446 | extern int __wctob_alias (wint_t __c) __asm ("wctob"); | |
10447 | extern __inline int | |
10448 | __attribute__ ((__nothrow__ )) wctob (wint_t __wc) | |
10449 | { return (__builtin_constant_p (__wc) && __wc >= L'\0' && __wc <= L'\x7f' | |
10450 | ? (int) __wc : __wctob_alias (__wc)); } | |
10451 | ||
10452 | extern __inline size_t | |
10453 | __attribute__ ((__nothrow__ )) mbrlen (__const char *__restrict __s, size_t __n, mbstate_t *__restrict __ps) | |
10454 | ||
10455 | { return (__ps != ((void *)0) | |
10456 | ? mbrtowc (((void *)0), __s, __n, __ps) : __mbrlen (__s, __n, ((void *)0))); } | |
10457 | ||
10458 | ||
10459 | ||
10460 | ||
10461 | ||
10462 | extern size_t mbsrtowcs (wchar_t *__restrict __dst, | |
10463 | __const char **__restrict __src, size_t __len, | |
10464 | mbstate_t *__restrict __ps) __attribute__ ((__nothrow__ )); | |
10465 | ||
10466 | ||
10467 | ||
10468 | extern size_t wcsrtombs (char *__restrict __dst, | |
10469 | __const wchar_t **__restrict __src, size_t __len, | |
10470 | mbstate_t *__restrict __ps) __attribute__ ((__nothrow__ )); | |
10471 | ||
10472 | ||
10473 | ||
10474 | ||
10475 | ||
10476 | ||
10477 | extern size_t mbsnrtowcs (wchar_t *__restrict __dst, | |
10478 | __const char **__restrict __src, size_t __nmc, | |
10479 | size_t __len, mbstate_t *__restrict __ps) __attribute__ ((__nothrow__ )); | |
10480 | ||
10481 | ||
10482 | ||
10483 | extern size_t wcsnrtombs (char *__restrict __dst, | |
10484 | __const wchar_t **__restrict __src, | |
10485 | size_t __nwc, size_t __len, | |
10486 | mbstate_t *__restrict __ps) __attribute__ ((__nothrow__ )); | |
10487 | ||
10488 | ||
10489 | ||
10490 | ||
10491 | ||
10492 | ||
10493 | extern int wcwidth (wchar_t __c) __attribute__ ((__nothrow__ )); | |
10494 | ||
10495 | ||
10496 | ||
10497 | extern int wcswidth (__const wchar_t *__s, size_t __n) __attribute__ ((__nothrow__ )); | |
10498 | ||
10499 | ||
10500 | ||
10501 | ||
10502 | ||
10503 | ||
10504 | extern double wcstod (__const wchar_t *__restrict __nptr, | |
10505 | wchar_t **__restrict __endptr) __attribute__ ((__nothrow__ )); | |
10506 | ||
10507 | ||
10508 | ||
10509 | ||
10510 | ||
10511 | extern float wcstof (__const wchar_t *__restrict __nptr, | |
10512 | wchar_t **__restrict __endptr) __attribute__ ((__nothrow__ )); | |
10513 | extern long double wcstold (__const wchar_t *__restrict __nptr, | |
10514 | wchar_t **__restrict __endptr) __attribute__ ((__nothrow__ )); | |
10515 | ||
10516 | ||
10517 | ||
10518 | ||
10519 | ||
10520 | ||
10521 | ||
10522 | extern long int wcstol (__const wchar_t *__restrict __nptr, | |
10523 | wchar_t **__restrict __endptr, int __base) __attribute__ ((__nothrow__ )); | |
10524 | ||
10525 | ||
10526 | ||
10527 | extern unsigned long int wcstoul (__const wchar_t *__restrict __nptr, | |
10528 | wchar_t **__restrict __endptr, int __base) | |
10529 | __attribute__ ((__nothrow__ )); | |
10530 | ||
10531 | ||
10532 | ||
10533 | ||
10534 | ||
10535 | ||
10536 | __extension__ | |
10537 | extern long long int wcstoll (__const wchar_t *__restrict __nptr, | |
10538 | wchar_t **__restrict __endptr, int __base) | |
10539 | __attribute__ ((__nothrow__ )); | |
10540 | ||
10541 | ||
10542 | ||
10543 | __extension__ | |
10544 | extern unsigned long long int wcstoull (__const wchar_t *__restrict __nptr, | |
10545 | wchar_t **__restrict __endptr, | |
10546 | int __base) __attribute__ ((__nothrow__ )); | |
10547 | ||
10548 | ||
10549 | ||
10550 | ||
10551 | ||
10552 | ||
10553 | __extension__ | |
10554 | extern long long int wcstoq (__const wchar_t *__restrict __nptr, | |
10555 | wchar_t **__restrict __endptr, int __base) | |
10556 | __attribute__ ((__nothrow__ )); | |
10557 | ||
10558 | ||
10559 | ||
10560 | __extension__ | |
10561 | extern unsigned long long int wcstouq (__const wchar_t *__restrict __nptr, | |
10562 | wchar_t **__restrict __endptr, | |
10563 | int __base) __attribute__ ((__nothrow__ )); | |
10564 | # 523 "../wcsmbs/wchar.h" | |
10565 | # 1 "../include/xlocale.h" 1 | |
10566 | # 524 "../wcsmbs/wchar.h" 2 | |
10567 | ||
10568 | ||
10569 | ||
10570 | extern long int wcstol_l (__const wchar_t *__restrict __nptr, | |
10571 | wchar_t **__restrict __endptr, int __base, | |
10572 | __locale_t __loc) __attribute__ ((__nothrow__ )); | |
10573 | ||
10574 | extern unsigned long int wcstoul_l (__const wchar_t *__restrict __nptr, | |
10575 | wchar_t **__restrict __endptr, | |
10576 | int __base, __locale_t __loc) __attribute__ ((__nothrow__ )); | |
10577 | ||
10578 | __extension__ | |
10579 | extern long long int wcstoll_l (__const wchar_t *__restrict __nptr, | |
10580 | wchar_t **__restrict __endptr, | |
10581 | int __base, __locale_t __loc) __attribute__ ((__nothrow__ )); | |
10582 | ||
10583 | __extension__ | |
10584 | extern unsigned long long int wcstoull_l (__const wchar_t *__restrict __nptr, | |
10585 | wchar_t **__restrict __endptr, | |
10586 | int __base, __locale_t __loc) | |
10587 | __attribute__ ((__nothrow__ )); | |
10588 | ||
10589 | extern double wcstod_l (__const wchar_t *__restrict __nptr, | |
10590 | wchar_t **__restrict __endptr, __locale_t __loc) | |
10591 | __attribute__ ((__nothrow__ )); | |
10592 | ||
10593 | extern float wcstof_l (__const wchar_t *__restrict __nptr, | |
10594 | wchar_t **__restrict __endptr, __locale_t __loc) | |
10595 | __attribute__ ((__nothrow__ )); | |
10596 | ||
10597 | extern long double wcstold_l (__const wchar_t *__restrict __nptr, | |
10598 | wchar_t **__restrict __endptr, | |
10599 | __locale_t __loc) __attribute__ ((__nothrow__ )); | |
10600 | ||
10601 | ||
10602 | ||
10603 | ||
10604 | ||
10605 | ||
10606 | extern wchar_t *wcpcpy (wchar_t *__restrict __dest, | |
10607 | __const wchar_t *__restrict __src) __attribute__ ((__nothrow__ )); | |
10608 | ||
10609 | ||
10610 | ||
10611 | extern wchar_t *wcpncpy (wchar_t *__restrict __dest, | |
10612 | __const wchar_t *__restrict __src, size_t __n) | |
10613 | __attribute__ ((__nothrow__ )); | |
10614 | ||
10615 | ||
10616 | ||
10617 | ||
10618 | ||
10619 | ||
10620 | extern __FILE *open_wmemstream (wchar_t **__bufloc, size_t *__sizeloc) __attribute__ ((__nothrow__ )); | |
10621 | ||
10622 | ||
10623 | ||
10624 | ||
10625 | ||
10626 | ||
10627 | extern int fwide (__FILE *__fp, int __mode) __attribute__ ((__nothrow__ )); | |
10628 | ||
10629 | ||
10630 | ||
10631 | ||
10632 | ||
10633 | ||
10634 | extern int fwprintf (__FILE *__restrict __stream, | |
10635 | __const wchar_t *__restrict __format, ...) | |
10636 | ; | |
10637 | ||
10638 | ||
10639 | ||
10640 | ||
10641 | extern int wprintf (__const wchar_t *__restrict __format, ...) | |
10642 | ; | |
10643 | ||
10644 | extern int swprintf (wchar_t *__restrict __s, size_t __n, | |
10645 | __const wchar_t *__restrict __format, ...) | |
10646 | __attribute__ ((__nothrow__ )) ; | |
10647 | ||
10648 | ||
10649 | ||
10650 | ||
10651 | ||
10652 | extern int vfwprintf (__FILE *__restrict __s, | |
10653 | __const wchar_t *__restrict __format, | |
10654 | __gnuc_va_list __arg) | |
10655 | ; | |
10656 | ||
10657 | ||
10658 | ||
10659 | ||
10660 | extern int vwprintf (__const wchar_t *__restrict __format, | |
10661 | __gnuc_va_list __arg) | |
10662 | ; | |
10663 | ||
10664 | ||
10665 | extern int vswprintf (wchar_t *__restrict __s, size_t __n, | |
10666 | __const wchar_t *__restrict __format, | |
10667 | __gnuc_va_list __arg) | |
10668 | __attribute__ ((__nothrow__ )) ; | |
10669 | ||
10670 | ||
10671 | ||
10672 | ||
10673 | ||
10674 | ||
10675 | extern int fwscanf (__FILE *__restrict __stream, | |
10676 | __const wchar_t *__restrict __format, ...) | |
10677 | ; | |
10678 | ||
10679 | ||
10680 | ||
10681 | ||
10682 | extern int wscanf (__const wchar_t *__restrict __format, ...) | |
10683 | ; | |
10684 | ||
10685 | extern int swscanf (__const wchar_t *__restrict __s, | |
10686 | __const wchar_t *__restrict __format, ...) | |
10687 | __attribute__ ((__nothrow__ )) ; | |
10688 | # 677 "../wcsmbs/wchar.h" | |
10689 | ||
10690 | ||
10691 | ||
10692 | ||
10693 | ||
10694 | ||
10695 | ||
10696 | ||
10697 | ||
10698 | extern int vfwscanf (__FILE *__restrict __s, | |
10699 | __const wchar_t *__restrict __format, | |
10700 | __gnuc_va_list __arg) | |
10701 | ; | |
10702 | ||
10703 | ||
10704 | ||
10705 | ||
10706 | extern int vwscanf (__const wchar_t *__restrict __format, | |
10707 | __gnuc_va_list __arg) | |
10708 | ; | |
10709 | ||
10710 | extern int vswscanf (__const wchar_t *__restrict __s, | |
10711 | __const wchar_t *__restrict __format, | |
10712 | __gnuc_va_list __arg) | |
10713 | __attribute__ ((__nothrow__ )) ; | |
10714 | # 733 "../wcsmbs/wchar.h" | |
10715 | ||
10716 | ||
10717 | ||
10718 | ||
10719 | ||
10720 | ||
10721 | ||
10722 | ||
10723 | ||
10724 | extern wint_t fgetwc (__FILE *__stream); | |
10725 | extern wint_t getwc (__FILE *__stream); | |
10726 | ||
10727 | ||
10728 | ||
10729 | ||
10730 | ||
10731 | extern wint_t getwchar (void); | |
10732 | ||
10733 | ||
10734 | ||
10735 | ||
10736 | ||
10737 | ||
10738 | extern wint_t fputwc (wchar_t __wc, __FILE *__stream); | |
10739 | extern wint_t putwc (wchar_t __wc, __FILE *__stream); | |
10740 | ||
10741 | ||
10742 | ||
10743 | ||
10744 | ||
10745 | extern wint_t putwchar (wchar_t __wc); | |
10746 | ||
10747 | ||
10748 | ||
10749 | ||
10750 | ||
10751 | ||
10752 | ||
10753 | extern wchar_t *fgetws (wchar_t *__restrict __ws, int __n, | |
10754 | __FILE *__restrict __stream); | |
10755 | ||
10756 | ||
10757 | ||
10758 | ||
10759 | ||
10760 | extern int fputws (__const wchar_t *__restrict __ws, | |
10761 | __FILE *__restrict __stream); | |
10762 | ||
10763 | ||
10764 | ||
10765 | ||
10766 | ||
10767 | ||
10768 | extern wint_t ungetwc (wint_t __wc, __FILE *__stream); | |
10769 | ||
10770 | # 798 "../wcsmbs/wchar.h" | |
10771 | extern wint_t getwc_unlocked (__FILE *__stream); | |
10772 | extern wint_t getwchar_unlocked (void); | |
10773 | ||
10774 | ||
10775 | ||
10776 | ||
10777 | ||
10778 | ||
10779 | ||
10780 | extern wint_t fgetwc_unlocked (__FILE *__stream); | |
10781 | ||
10782 | ||
10783 | ||
10784 | ||
10785 | ||
10786 | ||
10787 | ||
10788 | extern wint_t fputwc_unlocked (wchar_t __wc, __FILE *__stream); | |
10789 | # 824 "../wcsmbs/wchar.h" | |
10790 | extern wint_t putwc_unlocked (wchar_t __wc, __FILE *__stream); | |
10791 | extern wint_t putwchar_unlocked (wchar_t __wc); | |
10792 | # 834 "../wcsmbs/wchar.h" | |
10793 | extern wchar_t *fgetws_unlocked (wchar_t *__restrict __ws, int __n, | |
10794 | __FILE *__restrict __stream); | |
10795 | ||
10796 | ||
10797 | ||
10798 | ||
10799 | ||
10800 | ||
10801 | ||
10802 | extern int fputws_unlocked (__const wchar_t *__restrict __ws, | |
10803 | __FILE *__restrict __stream); | |
10804 | ||
10805 | ||
10806 | ||
10807 | ||
10808 | ||
10809 | ||
10810 | ||
10811 | extern size_t wcsftime (wchar_t *__restrict __s, size_t __maxsize, | |
10812 | __const wchar_t *__restrict __format, | |
10813 | __const struct tm *__restrict __tp) __attribute__ ((__nothrow__ )); | |
10814 | ||
10815 | ||
10816 | ||
10817 | # 1 "../include/xlocale.h" 1 | |
10818 | # 859 "../wcsmbs/wchar.h" 2 | |
10819 | ||
10820 | ||
10821 | ||
10822 | extern size_t wcsftime_l (wchar_t *__restrict __s, size_t __maxsize, | |
10823 | __const wchar_t *__restrict __format, | |
10824 | __const struct tm *__restrict __tp, | |
10825 | __locale_t __loc) __attribute__ ((__nothrow__ )); | |
10826 | # 888 "../wcsmbs/wchar.h" | |
10827 | ||
10828 | # 3 "../include/wchar.h" 2 | |
10829 | ||
10830 | ||
10831 | ||
10832 | extern __typeof (wcscasecmp_l) __wcscasecmp_l; | |
10833 | extern __typeof (wcsncasecmp_l) __wcsncasecmp_l; | |
10834 | extern __typeof (wcscoll_l) __wcscoll_l; | |
10835 | extern __typeof (wcsxfrm_l) __wcsxfrm_l; | |
10836 | extern __typeof (wcstol_l) __wcstol_l; | |
10837 | extern __typeof (wcstoul_l) __wcstoul_l; | |
10838 | extern __typeof (wcstoll_l) __wcstoll_l; | |
10839 | extern __typeof (wcstoull_l) __wcstoull_l; | |
10840 | extern __typeof (wcstod_l) __wcstod_l; | |
10841 | extern __typeof (wcstof_l) __wcstof_l; | |
10842 | extern __typeof (wcstold_l) __wcstold_l; | |
10843 | extern __typeof (wcsftime_l) __wcsftime_l; | |
10844 | ||
10845 | ||
10846 | ||
10847 | ||
10848 | ||
10849 | ||
10850 | ||
10851 | ||
10852 | ||
10853 | ||
10854 | extern double __wcstod_internal (__const wchar_t *__restrict __nptr, | |
10855 | wchar_t **__restrict __endptr, int __group) | |
10856 | __attribute__ ((__nothrow__ )); | |
10857 | extern float __wcstof_internal (__const wchar_t *__restrict __nptr, | |
10858 | wchar_t **__restrict __endptr, int __group) | |
10859 | __attribute__ ((__nothrow__ )); | |
10860 | extern long double __wcstold_internal (__const wchar_t *__restrict __nptr, | |
10861 | wchar_t **__restrict __endptr, | |
10862 | int __group) __attribute__ ((__nothrow__ )); | |
10863 | extern long int __wcstol_internal (__const wchar_t *__restrict __nptr, | |
10864 | wchar_t **__restrict __endptr, | |
10865 | int __base, int __group) __attribute__ ((__nothrow__ )); | |
10866 | extern unsigned long int __wcstoul_internal (__const wchar_t *__restrict __npt, | |
10867 | wchar_t **__restrict __endptr, | |
10868 | int __base, int __group) __attribute__ ((__nothrow__ )); | |
10869 | __extension__ | |
10870 | extern long long int __wcstoll_internal (__const wchar_t *__restrict __nptr, | |
10871 | wchar_t **__restrict __endptr, | |
10872 | int __base, int __group) __attribute__ ((__nothrow__ )); | |
10873 | __extension__ | |
10874 | extern unsigned long long int __wcstoull_internal (__const wchar_t * | |
10875 | __restrict __nptr, | |
10876 | wchar_t ** | |
10877 | __restrict __endptr, | |
10878 | int __base, | |
10879 | int __group) __attribute__ ((__nothrow__ )); | |
10880 | ||
10881 | ||
10882 | ||
10883 | ||
10884 | ||
10885 | ||
10886 | ||
10887 | ||
10888 | ||
10889 | ||
10890 | ||
10891 | ||
10892 | ||
10893 | ||
10894 | ||
10895 | ||
10896 | ||
10897 | ||
10898 | ||
10899 | ||
10900 | ||
10901 | ||
10902 | ||
10903 | ||
10904 | ||
10905 | ||
10906 | ||
10907 | ||
10908 | ||
10909 | ||
10910 | ||
10911 | ||
10912 | ||
10913 | ||
10914 | ||
10915 | ||
10916 | ||
10917 | ||
10918 | ||
10919 | ||
10920 | extern int __wcscasecmp (__const wchar_t *__s1, __const wchar_t *__s2) | |
10921 | __attribute__ ((__pure__)); | |
10922 | extern int __wcsncasecmp (__const wchar_t *__s1, __const wchar_t *__s2, | |
10923 | size_t __n) | |
10924 | __attribute__ ((__pure__)); | |
10925 | extern size_t __wcslen (__const wchar_t *__s) __attribute__ ((__pure__)); | |
10926 | extern size_t __wcsnlen (__const wchar_t *__s, size_t __maxlen) | |
10927 | __attribute__ ((__pure__)); | |
10928 | extern wchar_t *__wcscat (wchar_t *dest, const wchar_t *src); | |
10929 | extern wint_t __btowc (int __c); | |
10930 | extern int __mbsinit (__const __mbstate_t *__ps); | |
10931 | extern size_t __mbrtowc (wchar_t *__restrict __pwc, | |
10932 | __const char *__restrict __s, size_t __n, | |
10933 | __mbstate_t *__restrict __p); | |
10934 | ||
10935 | ||
10936 | extern size_t __wcrtomb (char *__restrict __s, wchar_t __wc, | |
10937 | __mbstate_t *__restrict __ps); | |
10938 | extern size_t __mbsrtowcs (wchar_t *__restrict __dst, | |
10939 | __const char **__restrict __src, | |
10940 | size_t __len, __mbstate_t *__restrict __ps); | |
10941 | extern size_t __wcsrtombs (char *__restrict __dst, | |
10942 | __const wchar_t **__restrict __src, | |
10943 | size_t __len, __mbstate_t *__restrict __ps); | |
10944 | extern size_t __mbsnrtowcs (wchar_t *__restrict __dst, | |
10945 | __const char **__restrict __src, size_t __nmc, | |
10946 | size_t __len, __mbstate_t *__restrict __ps); | |
10947 | extern size_t __wcsnrtombs (char *__restrict __dst, | |
10948 | __const wchar_t **__restrict __src, | |
10949 | size_t __nwc, size_t __len, | |
10950 | __mbstate_t *__restrict __ps); | |
10951 | extern wchar_t *__wcsncpy (wchar_t *__restrict __dest, | |
10952 | __const wchar_t *__restrict __src, size_t __n); | |
10953 | extern wchar_t *__wcpcpy (wchar_t *__dest, __const wchar_t *__src); | |
10954 | extern wchar_t *__wcpncpy (wchar_t *__dest, __const wchar_t *__src, | |
10955 | size_t __n); | |
10956 | extern wchar_t *__wmemcpy (wchar_t *__s1, __const wchar_t *s2, | |
10957 | size_t __n); | |
10958 | extern wchar_t *__wmempcpy (wchar_t *__restrict __s1, | |
10959 | __const wchar_t *__restrict __s2, | |
10960 | size_t __n); | |
10961 | extern wchar_t *__wmemmove (wchar_t *__s1, __const wchar_t *__s2, | |
10962 | size_t __n); | |
10963 | extern wchar_t *__wcschrnul (__const wchar_t *__s, wchar_t __wc) | |
10964 | __attribute__ ((__pure__)); | |
10965 | ||
10966 | extern int __vfwscanf (__FILE *__restrict __s, | |
10967 | __const wchar_t *__restrict __format, | |
10968 | __gnuc_va_list __arg) | |
10969 | ; | |
10970 | extern int __vswprintf (wchar_t *__restrict __s, size_t __n, | |
10971 | __const wchar_t *__restrict __format, | |
10972 | __gnuc_va_list __arg) | |
10973 | ; | |
10974 | extern int __fwprintf (__FILE *__restrict __s, | |
10975 | __const wchar_t *__restrict __format, ...) | |
10976 | ; | |
10977 | extern int __vfwprintf (__FILE *__restrict __s, | |
10978 | __const wchar_t *__restrict __format, | |
10979 | __gnuc_va_list __arg) | |
10980 | ; | |
10981 | ||
10982 | extern int __vfwprintf_chk (FILE *__restrict __s, int __flag, | |
10983 | const wchar_t *__restrict __format, | |
10984 | __gnuc_va_list __arg) | |
10985 | ; | |
10986 | extern int __vswprintf_chk (wchar_t *__restrict __s, size_t __n, | |
10987 | int __flag, size_t __s_len, | |
10988 | __const wchar_t *__restrict __format, | |
10989 | __gnuc_va_list __arg) | |
10990 | ; | |
10991 | ||
10992 | ||
10993 | ||
10994 | ||
10995 | extern int __isoc99_fwscanf (__FILE *__restrict __stream, | |
10996 | __const wchar_t *__restrict __format, ...); | |
10997 | extern int __isoc99_wscanf (__const wchar_t *__restrict __format, ...); | |
10998 | extern int __isoc99_swscanf (__const wchar_t *__restrict __s, | |
10999 | __const wchar_t *__restrict __format, ...) | |
11000 | __attribute__ ((__nothrow__ )); | |
11001 | extern int __isoc99_vfwscanf (__FILE *__restrict __s, | |
11002 | __const wchar_t *__restrict __format, | |
11003 | __gnuc_va_list __arg); | |
11004 | extern int __isoc99_vwscanf (__const wchar_t *__restrict __format, | |
11005 | __gnuc_va_list __arg); | |
11006 | extern int __isoc99_vswscanf (__const wchar_t *__restrict __s, | |
11007 | __const wchar_t *__restrict __format, | |
11008 | __gnuc_va_list __arg) __attribute__ ((__nothrow__ )); | |
11009 | ||
11010 | ||
11011 | ||
11012 | ||
11013 | extern size_t __mbsrtowcs_l (wchar_t *dst, const char **src, size_t len, | |
11014 | mbstate_t *ps, __locale_t l) ; | |
11015 | # 25 "fxprintf.c" 2 | |
11016 | # 1 "../include/string.h" 1 | |
11017 | ||
11018 | ||
11019 | # 1 "../include/sys/types.h" 1 | |
11020 | # 4 "../include/string.h" 2 | |
11021 | ||
11022 | extern void *__memccpy (void *__dest, __const void *__src, | |
11023 | int __c, size_t __n); | |
11024 | ||
11025 | extern size_t __strnlen (__const char *__string, size_t __maxlen) | |
11026 | __attribute__ ((__pure__)); | |
11027 | ||
11028 | extern char *__strsep (char **__stringp, __const char *__delim); | |
11029 | ||
11030 | extern int __strverscmp (__const char *__s1, __const char *__s2) | |
11031 | __attribute__ ((__pure__)); | |
11032 | ||
11033 | extern int __strncasecmp (__const char *__s1, __const char *__s2, | |
11034 | size_t __n) | |
11035 | __attribute__ ((__pure__)); | |
11036 | ||
11037 | extern int __strcasecmp (__const char *__s1, __const char *__s2) | |
11038 | __attribute__ ((__pure__)); | |
11039 | ||
11040 | extern char *__strcasestr (__const char *__haystack, __const char *__needle) | |
11041 | __attribute__ ((__pure__)); | |
11042 | ||
11043 | extern char *__strdup (__const char *__string) | |
11044 | __attribute__ ((__malloc__)); | |
11045 | extern char *__strndup (__const char *__string, size_t __n) | |
11046 | __attribute__ ((__malloc__)); | |
11047 | ||
11048 | extern void *__rawmemchr (__const void *__s, int __c) | |
11049 | __attribute__ ((__pure__)); | |
11050 | ||
11051 | extern char *__strchrnul (__const char *__s, int __c) | |
11052 | __attribute__ ((__pure__)); | |
11053 | ||
11054 | extern void *__memrchr (__const void *__s, int __c, size_t __n) | |
11055 | __attribute__ ((__pure__)); | |
11056 | ||
11057 | extern void *__memchr (__const void *__s, int __c, size_t __n) | |
11058 | __attribute__ ((__pure__)); | |
11059 | ||
11060 | extern int __ffs (int __i) __attribute__ ((const)); | |
11061 | ||
11062 | extern char *__strerror_r (int __errnum, char *__buf, size_t __buflen); | |
11063 | ||
11064 | ||
11065 | ||
11066 | # 1 "../string/string.h" 1 | |
11067 | # 29 "../string/string.h" | |
11068 | ||
11069 | ||
11070 | ||
11071 | ||
11072 | ||
11073 | # 1 "/usr/lib/gcc/armv5te-iwmmxt-linux-gnueabi/4.7.3/include/stddef.h" 1 3 4 | |
11074 | # 35 "../string/string.h" 2 | |
11075 | ||
11076 | ||
11077 | ||
11078 | ||
11079 | ||
11080 | ||
11081 | ||
11082 | ||
11083 | ||
11084 | extern void *memcpy (void *__restrict __dest, | |
11085 | __const void *__restrict __src, size_t __n) | |
11086 | __attribute__ ((__nothrow__ )) ; | |
11087 | ||
11088 | ||
11089 | extern void *memmove (void *__dest, __const void *__src, size_t __n) | |
11090 | __attribute__ ((__nothrow__ )) ; | |
11091 | ||
11092 | ||
11093 | ||
11094 | ||
11095 | ||
11096 | ||
11097 | extern void *memccpy (void *__restrict __dest, __const void *__restrict __src, | |
11098 | int __c, size_t __n) | |
11099 | __attribute__ ((__nothrow__ )) ; | |
11100 | ||
11101 | ||
11102 | ||
11103 | ||
11104 | ||
11105 | extern void *memset (void *__s, int __c, size_t __n) __attribute__ ((__nothrow__ )) ; | |
11106 | ||
11107 | ||
11108 | extern int memcmp (__const void *__s1, __const void *__s2, size_t __n) | |
11109 | __attribute__ ((__nothrow__ )) __attribute__ ((__pure__)) ; | |
11110 | # 95 "../string/string.h" | |
11111 | extern void *memchr (__const void *__s, int __c, size_t __n) | |
11112 | __attribute__ ((__nothrow__ )) __attribute__ ((__pure__)) ; | |
11113 | ||
11114 | ||
11115 | # 109 "../string/string.h" | |
11116 | extern void *rawmemchr (__const void *__s, int __c) | |
11117 | __attribute__ ((__nothrow__ )) __attribute__ ((__pure__)) ; | |
11118 | # 120 "../string/string.h" | |
11119 | extern void *memrchr (__const void *__s, int __c, size_t __n) | |
11120 | __attribute__ ((__nothrow__ )) __attribute__ ((__pure__)) ; | |
11121 | ||
11122 | ||
11123 | ||
11124 | ||
11125 | ||
11126 | ||
11127 | extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) | |
11128 | __attribute__ ((__nothrow__ )) ; | |
11129 | ||
11130 | extern char *strncpy (char *__restrict __dest, | |
11131 | __const char *__restrict __src, size_t __n) | |
11132 | __attribute__ ((__nothrow__ )) ; | |
11133 | ||
11134 | ||
11135 | extern char *strcat (char *__restrict __dest, __const char *__restrict __src) | |
11136 | __attribute__ ((__nothrow__ )) ; | |
11137 | ||
11138 | extern char *strncat (char *__restrict __dest, __const char *__restrict __src, | |
11139 | size_t __n) __attribute__ ((__nothrow__ )) ; | |
11140 | ||
11141 | ||
11142 | extern int strcmp (__const char *__s1, __const char *__s2) | |
11143 | __attribute__ ((__nothrow__ )) __attribute__ ((__pure__)) ; | |
11144 | ||
11145 | extern int strncmp (__const char *__s1, __const char *__s2, size_t __n) | |
11146 | __attribute__ ((__nothrow__ )) __attribute__ ((__pure__)) ; | |
11147 | ||
11148 | ||
11149 | extern int strcoll (__const char *__s1, __const char *__s2) | |
11150 | __attribute__ ((__nothrow__ )) __attribute__ ((__pure__)) ; | |
11151 | ||
11152 | extern size_t strxfrm (char *__restrict __dest, | |
11153 | __const char *__restrict __src, size_t __n) | |
11154 | __attribute__ ((__nothrow__ )) ; | |
11155 | ||
11156 | ||
11157 | ||
11158 | ||
11159 | ||
11160 | ||
11161 | # 1 "../include/xlocale.h" 1 | |
11162 | # 163 "../string/string.h" 2 | |
11163 | ||
11164 | ||
11165 | extern int strcoll_l (__const char *__s1, __const char *__s2, __locale_t __l) | |
11166 | __attribute__ ((__nothrow__ )) __attribute__ ((__pure__)) ; | |
11167 | ||
11168 | extern size_t strxfrm_l (char *__dest, __const char *__src, size_t __n, | |
11169 | __locale_t __l) __attribute__ ((__nothrow__ )) ; | |
11170 | ||
11171 | ||
11172 | ||
11173 | ||
11174 | ||
11175 | extern char *strdup (__const char *__s) | |
11176 | __attribute__ ((__nothrow__ )) __attribute__ ((__malloc__)) ; | |
11177 | ||
11178 | ||
11179 | ||
11180 | ||
11181 | ||
11182 | ||
11183 | extern char *strndup (__const char *__string, size_t __n) | |
11184 | __attribute__ ((__nothrow__ )) __attribute__ ((__malloc__)) ; | |
11185 | # 210 "../string/string.h" | |
11186 | ||
11187 | # 235 "../string/string.h" | |
11188 | extern char *strchr (__const char *__s, int __c) | |
11189 | __attribute__ ((__nothrow__ )) __attribute__ ((__pure__)) ; | |
11190 | # 262 "../string/string.h" | |
11191 | extern char *strrchr (__const char *__s, int __c) | |
11192 | __attribute__ ((__nothrow__ )) __attribute__ ((__pure__)) ; | |
11193 | ||
11194 | ||
11195 | # 276 "../string/string.h" | |
11196 | extern char *strchrnul (__const char *__s, int __c) | |
11197 | __attribute__ ((__nothrow__ )) __attribute__ ((__pure__)) ; | |
11198 | ||
11199 | ||
11200 | ||
11201 | ||
11202 | ||
11203 | ||
11204 | extern size_t strcspn (__const char *__s, __const char *__reject) | |
11205 | __attribute__ ((__nothrow__ )) __attribute__ ((__pure__)) ; | |
11206 | ||
11207 | ||
11208 | extern size_t strspn (__const char *__s, __const char *__accept) | |
11209 | __attribute__ ((__nothrow__ )) __attribute__ ((__pure__)) ; | |
11210 | # 314 "../string/string.h" | |
11211 | extern char *strpbrk (__const char *__s, __const char *__accept) | |
11212 | __attribute__ ((__nothrow__ )) __attribute__ ((__pure__)) ; | |
11213 | # 342 "../string/string.h" | |
11214 | extern char *strstr (__const char *__haystack, __const char *__needle) | |
11215 | __attribute__ ((__nothrow__ )) __attribute__ ((__pure__)) ; | |
11216 | ||
11217 | ||
11218 | ||
11219 | ||
11220 | extern char *strtok (char *__restrict __s, __const char *__restrict __delim) | |
11221 | __attribute__ ((__nothrow__ )) ; | |
11222 | ||
11223 | ||
11224 | ||
11225 | ||
11226 | extern char *__strtok_r (char *__restrict __s, | |
11227 | __const char *__restrict __delim, | |
11228 | char **__restrict __save_ptr) | |
11229 | __attribute__ ((__nothrow__ )) ; | |
11230 | ||
11231 | extern char *strtok_r (char *__restrict __s, __const char *__restrict __delim, | |
11232 | char **__restrict __save_ptr) | |
11233 | __attribute__ ((__nothrow__ )) ; | |
11234 | # 373 "../string/string.h" | |
11235 | extern char *strcasestr (__const char *__haystack, __const char *__needle) | |
11236 | __attribute__ ((__nothrow__ )) __attribute__ ((__pure__)) ; | |
11237 | ||
11238 | ||
11239 | ||
11240 | ||
11241 | ||
11242 | ||
11243 | ||
11244 | extern void *memmem (__const void *__haystack, size_t __haystacklen, | |
11245 | __const void *__needle, size_t __needlelen) | |
11246 | __attribute__ ((__nothrow__ )) __attribute__ ((__pure__)) ; | |
11247 | ||
11248 | ||
11249 | ||
11250 | extern void *__mempcpy (void *__restrict __dest, | |
11251 | __const void *__restrict __src, size_t __n) | |
11252 | __attribute__ ((__nothrow__ )) ; | |
11253 | extern void *mempcpy (void *__restrict __dest, | |
11254 | __const void *__restrict __src, size_t __n) | |
11255 | __attribute__ ((__nothrow__ )) ; | |
11256 | ||
11257 | ||
11258 | ||
11259 | ||
11260 | ||
11261 | extern size_t strlen (__const char *__s) | |
11262 | __attribute__ ((__nothrow__ )) __attribute__ ((__pure__)) ; | |
11263 | ||
11264 | ||
11265 | ||
11266 | ||
11267 | ||
11268 | extern size_t strnlen (__const char *__string, size_t __maxlen) | |
11269 | __attribute__ ((__nothrow__ )) __attribute__ ((__pure__)) ; | |
11270 | ||
11271 | ||
11272 | ||
11273 | ||
11274 | ||
11275 | extern char *strerror (int __errnum) __attribute__ ((__nothrow__ )); | |
11276 | ||
11277 | # 438 "../string/string.h" | |
11278 | extern char *strerror_r (int __errnum, char *__buf, size_t __buflen) | |
11279 | __attribute__ ((__nothrow__ )) ; | |
11280 | ||
11281 | ||
11282 | ||
11283 | ||
11284 | ||
11285 | extern char *strerror_l (int __errnum, __locale_t __l) __attribute__ ((__nothrow__ )); | |
11286 | ||
11287 | ||
11288 | ||
11289 | ||
11290 | ||
11291 | extern void __bzero (void *__s, size_t __n) __attribute__ ((__nothrow__ )) ; | |
11292 | ||
11293 | ||
11294 | ||
11295 | extern void bcopy (__const void *__src, void *__dest, size_t __n) | |
11296 | __attribute__ ((__nothrow__ )) ; | |
11297 | ||
11298 | ||
11299 | extern void bzero (void *__s, size_t __n) __attribute__ ((__nothrow__ )) ; | |
11300 | ||
11301 | ||
11302 | extern int bcmp (__const void *__s1, __const void *__s2, size_t __n) | |
11303 | __attribute__ ((__nothrow__ )) __attribute__ ((__pure__)) ; | |
11304 | # 489 "../string/string.h" | |
11305 | extern char *index (__const char *__s, int __c) | |
11306 | __attribute__ ((__nothrow__ )) __attribute__ ((__pure__)) ; | |
11307 | # 517 "../string/string.h" | |
11308 | extern char *rindex (__const char *__s, int __c) | |
11309 | __attribute__ ((__nothrow__ )) __attribute__ ((__pure__)) ; | |
11310 | ||
11311 | ||
11312 | ||
11313 | ||
11314 | extern int ffs (int __i) __attribute__ ((__nothrow__ )) __attribute__ ((__const__)); | |
11315 | ||
11316 | ||
11317 | ||
11318 | ||
11319 | extern int ffsl (long int __l) __attribute__ ((__nothrow__ )) __attribute__ ((__const__)); | |
11320 | ||
11321 | __extension__ extern int ffsll (long long int __ll) | |
11322 | __attribute__ ((__nothrow__ )) __attribute__ ((__const__)); | |
11323 | ||
11324 | ||
11325 | ||
11326 | ||
11327 | extern int strcasecmp (__const char *__s1, __const char *__s2) | |
11328 | __attribute__ ((__nothrow__ )) __attribute__ ((__pure__)) ; | |
11329 | ||
11330 | ||
11331 | extern int strncasecmp (__const char *__s1, __const char *__s2, size_t __n) | |
11332 | __attribute__ ((__nothrow__ )) __attribute__ ((__pure__)) ; | |
11333 | ||
11334 | ||
11335 | ||
11336 | ||
11337 | ||
11338 | extern int strcasecmp_l (__const char *__s1, __const char *__s2, | |
11339 | __locale_t __loc) | |
11340 | __attribute__ ((__nothrow__ )) __attribute__ ((__pure__)) ; | |
11341 | ||
11342 | extern int strncasecmp_l (__const char *__s1, __const char *__s2, | |
11343 | size_t __n, __locale_t __loc) | |
11344 | __attribute__ ((__nothrow__ )) __attribute__ ((__pure__)) ; | |
11345 | ||
11346 | ||
11347 | ||
11348 | ||
11349 | ||
11350 | extern char *strsep (char **__restrict __stringp, | |
11351 | __const char *__restrict __delim) | |
11352 | __attribute__ ((__nothrow__ )) ; | |
11353 | ||
11354 | ||
11355 | ||
11356 | ||
11357 | extern char *strsignal (int __sig) __attribute__ ((__nothrow__ )); | |
11358 | ||
11359 | ||
11360 | extern char *__stpcpy (char *__restrict __dest, __const char *__restrict __src) | |
11361 | __attribute__ ((__nothrow__ )) ; | |
11362 | extern char *stpcpy (char *__restrict __dest, __const char *__restrict __src) | |
11363 | __attribute__ ((__nothrow__ )) ; | |
11364 | ||
11365 | ||
11366 | ||
11367 | extern char *__stpncpy (char *__restrict __dest, | |
11368 | __const char *__restrict __src, size_t __n) | |
11369 | __attribute__ ((__nothrow__ )) ; | |
11370 | extern char *stpncpy (char *__restrict __dest, | |
11371 | __const char *__restrict __src, size_t __n) | |
11372 | __attribute__ ((__nothrow__ )) ; | |
11373 | ||
11374 | ||
11375 | ||
11376 | ||
11377 | extern int strverscmp (__const char *__s1, __const char *__s2) | |
11378 | __attribute__ ((__nothrow__ )) __attribute__ ((__pure__)) ; | |
11379 | ||
11380 | ||
11381 | extern char *strfry (char *__string) __attribute__ ((__nothrow__ )) ; | |
11382 | ||
11383 | ||
11384 | extern void *memfrob (void *__s, size_t __n) __attribute__ ((__nothrow__ )) ; | |
11385 | # 606 "../string/string.h" | |
11386 | extern char *basename (__const char *__filename) __attribute__ ((__nothrow__ )) ; | |
11387 | # 634 "../string/string.h" | |
11388 | # 1 "../ports/sysdeps/arm/bits/string.h" 1 | |
11389 | # 635 "../string/string.h" 2 | |
11390 | ||
11391 | ||
11392 | # 1 "../include/bits/string2.h" 1 | |
11393 | # 1 "../string/bits/string2.h" 1 | |
11394 | # 80 "../string/bits/string2.h" | |
11395 | typedef struct { unsigned char __arr[2]; } __attribute__ ((__packed__)) __STRING2_COPY_ARR2; | |
11396 | typedef struct { unsigned char __arr[3]; } __attribute__ ((__packed__)) __STRING2_COPY_ARR3; | |
11397 | typedef struct { unsigned char __arr[4]; } __attribute__ ((__packed__)) __STRING2_COPY_ARR4; | |
11398 | typedef struct { unsigned char __arr[5]; } __attribute__ ((__packed__)) __STRING2_COPY_ARR5; | |
11399 | typedef struct { unsigned char __arr[6]; } __attribute__ ((__packed__)) __STRING2_COPY_ARR6; | |
11400 | typedef struct { unsigned char __arr[7]; } __attribute__ ((__packed__)) __STRING2_COPY_ARR7; | |
11401 | typedef struct { unsigned char __arr[8]; } __attribute__ ((__packed__)) __STRING2_COPY_ARR8; | |
11402 | # 394 "../string/bits/string2.h" | |
11403 | extern void *__rawmemchr (const void *__s, int __c); | |
11404 | # 969 "../string/bits/string2.h" | |
11405 | extern __inline size_t __strcspn_c1 (__const char *__s, int __reject); | |
11406 | extern __inline size_t | |
11407 | __strcspn_c1 (__const char *__s, int __reject) | |
11408 | { | |
11409 | register size_t __result = 0; | |
11410 | while (__s[__result] != '\0' && __s[__result] != __reject) | |
11411 | ++__result; | |
11412 | return __result; | |
11413 | } | |
11414 | ||
11415 | extern __inline size_t __strcspn_c2 (__const char *__s, int __reject1, | |
11416 | int __reject2); | |
11417 | extern __inline size_t | |
11418 | __strcspn_c2 (__const char *__s, int __reject1, int __reject2) | |
11419 | { | |
11420 | register size_t __result = 0; | |
11421 | while (__s[__result] != '\0' && __s[__result] != __reject1 | |
11422 | && __s[__result] != __reject2) | |
11423 | ++__result; | |
11424 | return __result; | |
11425 | } | |
11426 | ||
11427 | extern __inline size_t __strcspn_c3 (__const char *__s, int __reject1, | |
11428 | int __reject2, int __reject3); | |
11429 | extern __inline size_t | |
11430 | __strcspn_c3 (__const char *__s, int __reject1, int __reject2, | |
11431 | int __reject3) | |
11432 | { | |
11433 | register size_t __result = 0; | |
11434 | while (__s[__result] != '\0' && __s[__result] != __reject1 | |
11435 | && __s[__result] != __reject2 && __s[__result] != __reject3) | |
11436 | ++__result; | |
11437 | return __result; | |
11438 | } | |
11439 | # 1045 "../string/bits/string2.h" | |
11440 | extern __inline size_t __strspn_c1 (__const char *__s, int __accept); | |
11441 | extern __inline size_t | |
11442 | __strspn_c1 (__const char *__s, int __accept) | |
11443 | { | |
11444 | register size_t __result = 0; | |
11445 | ||
11446 | while (__s[__result] == __accept) | |
11447 | ++__result; | |
11448 | return __result; | |
11449 | } | |
11450 | ||
11451 | extern __inline size_t __strspn_c2 (__const char *__s, int __accept1, | |
11452 | int __accept2); | |
11453 | extern __inline size_t | |
11454 | __strspn_c2 (__const char *__s, int __accept1, int __accept2) | |
11455 | { | |
11456 | register size_t __result = 0; | |
11457 | ||
11458 | while (__s[__result] == __accept1 || __s[__result] == __accept2) | |
11459 | ++__result; | |
11460 | return __result; | |
11461 | } | |
11462 | ||
11463 | extern __inline size_t __strspn_c3 (__const char *__s, int __accept1, | |
11464 | int __accept2, int __accept3); | |
11465 | extern __inline size_t | |
11466 | __strspn_c3 (__const char *__s, int __accept1, int __accept2, int __accept3) | |
11467 | { | |
11468 | register size_t __result = 0; | |
11469 | ||
11470 | while (__s[__result] == __accept1 || __s[__result] == __accept2 | |
11471 | || __s[__result] == __accept3) | |
11472 | ++__result; | |
11473 | return __result; | |
11474 | } | |
11475 | # 1121 "../string/bits/string2.h" | |
11476 | extern __inline char *__strpbrk_c2 (__const char *__s, int __accept1, | |
11477 | int __accept2); | |
11478 | extern __inline char * | |
11479 | __strpbrk_c2 (__const char *__s, int __accept1, int __accept2) | |
11480 | { | |
11481 | ||
11482 | while (*__s != '\0' && *__s != __accept1 && *__s != __accept2) | |
11483 | ++__s; | |
11484 | return *__s == '\0' ? ((void *)0) : (char *) (size_t) __s; | |
11485 | } | |
11486 | ||
11487 | extern __inline char *__strpbrk_c3 (__const char *__s, int __accept1, | |
11488 | int __accept2, int __accept3); | |
11489 | extern __inline char * | |
11490 | __strpbrk_c3 (__const char *__s, int __accept1, int __accept2, | |
11491 | int __accept3) | |
11492 | { | |
11493 | ||
11494 | while (*__s != '\0' && *__s != __accept1 && *__s != __accept2 | |
11495 | && *__s != __accept3) | |
11496 | ++__s; | |
11497 | return *__s == '\0' ? ((void *)0) : (char *) (size_t) __s; | |
11498 | } | |
11499 | # 1172 "../string/bits/string2.h" | |
11500 | extern __inline char *__strtok_r_1c (char *__s, char __sep, char **__nextp); | |
11501 | extern __inline char * | |
11502 | __strtok_r_1c (char *__s, char __sep, char **__nextp) | |
11503 | { | |
11504 | char *__result; | |
11505 | if (__s == ((void *)0)) | |
11506 | __s = *__nextp; | |
11507 | while (*__s == __sep) | |
11508 | ++__s; | |
11509 | __result = ((void *)0); | |
11510 | if (*__s != '\0') | |
11511 | { | |
11512 | __result = __s++; | |
11513 | while (*__s != '\0') | |
11514 | if (*__s++ == __sep) | |
11515 | { | |
11516 | __s[-1] = '\0'; | |
11517 | break; | |
11518 | } | |
11519 | } | |
11520 | *__nextp = __s; | |
11521 | return __result; | |
11522 | } | |
11523 | # 1204 "../string/bits/string2.h" | |
11524 | extern char *__strsep_g (char **__stringp, __const char *__delim); | |
11525 | # 1222 "../string/bits/string2.h" | |
11526 | extern __inline char *__strsep_1c (char **__s, char __reject); | |
11527 | extern __inline char * | |
11528 | __strsep_1c (char **__s, char __reject) | |
11529 | { | |
11530 | register char *__retval = *__s; | |
11531 | if (__retval != ((void *)0) && (*__s = (__extension__ (__builtin_constant_p (__reject) && !__builtin_constant_p (__retval) && (__reject) == '\0' ? (char *) __rawmemchr (__retval, __reject) : __builtin_strchr (__retval, __reject)))) != ((void *)0)) | |
11532 | *(*__s)++ = '\0'; | |
11533 | return __retval; | |
11534 | } | |
11535 | ||
11536 | extern __inline char *__strsep_2c (char **__s, char __reject1, char __reject2); | |
11537 | extern __inline char * | |
11538 | __strsep_2c (char **__s, char __reject1, char __reject2) | |
11539 | { | |
11540 | register char *__retval = *__s; | |
11541 | if (__retval != ((void *)0)) | |
11542 | { | |
11543 | register char *__cp = __retval; | |
11544 | while (1) | |
11545 | { | |
11546 | if (*__cp == '\0') | |
11547 | { | |
11548 | __cp = ((void *)0); | |
11549 | break; | |
11550 | } | |
11551 | if (*__cp == __reject1 || *__cp == __reject2) | |
11552 | { | |
11553 | *__cp++ = '\0'; | |
11554 | break; | |
11555 | } | |
11556 | ++__cp; | |
11557 | } | |
11558 | *__s = __cp; | |
11559 | } | |
11560 | return __retval; | |
11561 | } | |
11562 | ||
11563 | extern __inline char *__strsep_3c (char **__s, char __reject1, char __reject2, | |
11564 | char __reject3); | |
11565 | extern __inline char * | |
11566 | __strsep_3c (char **__s, char __reject1, char __reject2, char __reject3) | |
11567 | { | |
11568 | register char *__retval = *__s; | |
11569 | if (__retval != ((void *)0)) | |
11570 | { | |
11571 | register char *__cp = __retval; | |
11572 | while (1) | |
11573 | { | |
11574 | if (*__cp == '\0') | |
11575 | { | |
11576 | __cp = ((void *)0); | |
11577 | break; | |
11578 | } | |
11579 | if (*__cp == __reject1 || *__cp == __reject2 || *__cp == __reject3) | |
11580 | { | |
11581 | *__cp++ = '\0'; | |
11582 | break; | |
11583 | } | |
11584 | ++__cp; | |
11585 | } | |
11586 | *__s = __cp; | |
11587 | } | |
11588 | return __retval; | |
11589 | } | |
11590 | # 1303 "../string/bits/string2.h" | |
11591 | extern char *__strdup (__const char *__string) __attribute__ ((__nothrow__ )) __attribute__ ((__malloc__)); | |
11592 | # 1322 "../string/bits/string2.h" | |
11593 | extern char *__strndup (__const char *__string, size_t __n) | |
11594 | __attribute__ ((__nothrow__ )) __attribute__ ((__malloc__)); | |
11595 | # 1 "../include/bits/string2.h" 2 | |
11596 | # 638 "../string/string.h" 2 | |
11597 | # 646 "../string/string.h" | |
11598 | ||
11599 | # 50 "../include/string.h" 2 | |
11600 | ||
11601 | extern __typeof (strcoll_l) __strcoll_l; | |
11602 | extern __typeof (strxfrm_l) __strxfrm_l; | |
11603 | extern __typeof (strcasecmp_l) __strcasecmp_l; | |
11604 | extern __typeof (strncasecmp_l) __strncasecmp_l; | |
11605 | # 70 "../include/string.h" | |
11606 | ||
11607 | ||
11608 | ||
11609 | ||
11610 | ||
11611 | ||
11612 | ||
11613 | ||
11614 | ||
11615 | ||
11616 | ||
11617 | ||
11618 | ||
11619 | ||
11620 | ||
11621 | ||
11622 | extern char *__strsep_g (char **__stringp, __const char *__delim); | |
11623 | ||
11624 | ||
11625 | ||
11626 | ||
11627 | ||
11628 | ||
11629 | ||
11630 | ||
11631 | ||
11632 | ||
11633 | ||
11634 | ||
11635 | ||
11636 | ||
11637 | ||
11638 | ||
11639 | ||
11640 | ||
11641 | ||
11642 | ||
11643 | ||
11644 | ||
11645 | ||
11646 | # 120 "../include/string.h" | |
11647 | extern void *__memcpy_chk (void *__restrict __dest, | |
11648 | const void *__restrict __src, size_t __len, | |
11649 | size_t __destlen) __attribute__ ((__nothrow__ )); | |
11650 | extern void *__memmove_chk (void *__dest, const void *__src, size_t __len, | |
11651 | size_t __destlen) __attribute__ ((__nothrow__ )); | |
11652 | extern void *__mempcpy_chk (void *__restrict __dest, | |
11653 | const void *__restrict __src, size_t __len, | |
11654 | size_t __destlen) __attribute__ ((__nothrow__ )); | |
11655 | extern void *__memset_chk (void *__dest, int __ch, size_t __len, | |
11656 | size_t __destlen) __attribute__ ((__nothrow__ )); | |
11657 | extern char *__strcpy_chk (char *__restrict __dest, | |
11658 | const char *__restrict __src, | |
11659 | size_t __destlen) __attribute__ ((__nothrow__ )); | |
11660 | extern char *__stpcpy_chk (char *__restrict __dest, | |
11661 | const char *__restrict __src, | |
11662 | size_t __destlen) __attribute__ ((__nothrow__ )); | |
11663 | extern char *__strncpy_chk (char *__restrict __dest, | |
11664 | const char *__restrict __src, | |
11665 | size_t __len, size_t __destlen) __attribute__ ((__nothrow__ )); | |
11666 | extern char *__strcat_chk (char *__restrict __dest, | |
11667 | const char *__restrict __src, | |
11668 | size_t __destlen) __attribute__ ((__nothrow__ )); | |
11669 | extern char *__strncat_chk (char *__restrict __dest, | |
11670 | const char *__restrict __src, | |
11671 | size_t __len, size_t __destlen) __attribute__ ((__nothrow__ )); | |
11672 | # 26 "fxprintf.c" 2 | |
11673 | # 1 "../libio/libioP.h" 1 | |
11674 | # 39 "../libio/libioP.h" | |
11675 | # 1 "../sysdeps/generic/math_ldbl_opt.h" 1 | |
11676 | # 40 "../libio/libioP.h" 2 | |
11677 | ||
11678 | # 1 "../libio/iolibio.h" 1 | |
11679 | # 1 "../include/libio.h" 1 | |
11680 | # 2 "../libio/iolibio.h" 2 | |
11681 | # 10 "../libio/iolibio.h" | |
11682 | extern int _IO_fclose (_IO_FILE*); | |
11683 | extern int _IO_new_fclose (_IO_FILE*); | |
11684 | extern int _IO_old_fclose (_IO_FILE*); | |
11685 | extern _IO_FILE *_IO_fdopen (int, const char*) __attribute__ ((__nothrow__ )); | |
11686 | extern _IO_FILE *_IO_old_fdopen (int, const char*) __attribute__ ((__nothrow__ )); | |
11687 | extern _IO_FILE *_IO_new_fdopen (int, const char*) __attribute__ ((__nothrow__ )); | |
11688 | extern int _IO_fflush (_IO_FILE*); | |
11689 | extern int _IO_fgetpos (_IO_FILE*, _G_fpos_t*); | |
11690 | extern int _IO_fgetpos64 (_IO_FILE*, _G_fpos64_t*); | |
11691 | extern char* _IO_fgets (char*, int, _IO_FILE*); | |
11692 | extern _IO_FILE *_IO_fopen (const char*, const char*); | |
11693 | extern _IO_FILE *_IO_old_fopen (const char*, const char*); | |
11694 | extern _IO_FILE *_IO_new_fopen (const char*, const char*); | |
11695 | extern _IO_FILE *_IO_fopen64 (const char*, const char*); | |
11696 | extern _IO_FILE *__fopen_internal (const char*, const char*, int); | |
11697 | extern _IO_FILE *__fopen_maybe_mmap (_IO_FILE *) __attribute__ ((__nothrow__ )); | |
11698 | extern int _IO_fprintf (_IO_FILE*, const char*, ...); | |
11699 | extern int _IO_fputs (const char*, _IO_FILE*); | |
11700 | ||
11701 | extern int _IO_fsetpos (_IO_FILE*, const _G_fpos_t *); | |
11702 | extern int _IO_fsetpos64 (_IO_FILE*, const _G_fpos64_t *); | |
11703 | extern long int _IO_ftell (_IO_FILE*); | |
11704 | extern size_t _IO_fread (void*, size_t, size_t, _IO_FILE*); | |
11705 | extern size_t _IO_fwrite (const void*, size_t, size_t, _IO_FILE*); | |
11706 | extern char* _IO_gets (char*); | |
11707 | extern void _IO_perror (const char*) __attribute__ ((__nothrow__ )); | |
11708 | extern int _IO_printf (const char*, ...); | |
11709 | extern int _IO_puts (const char*); | |
11710 | extern int _IO_scanf (const char*, ...); | |
11711 | extern void _IO_setbuffer (_IO_FILE *, char*, size_t) __attribute__ ((__nothrow__ )); | |
11712 | extern int _IO_setvbuf (_IO_FILE*, char*, int, size_t) __attribute__ ((__nothrow__ )); | |
11713 | extern int _IO_sscanf (const char*, const char*, ...) __attribute__ ((__nothrow__ )); | |
11714 | extern int _IO_sprintf (char *, const char*, ...) __attribute__ ((__nothrow__ )); | |
11715 | extern int _IO_ungetc (int, _IO_FILE*) __attribute__ ((__nothrow__ )); | |
11716 | extern int _IO_vsscanf (const char *, const char *, __gnuc_va_list) __attribute__ ((__nothrow__ )); | |
11717 | extern int _IO_vsprintf (char*, const char*, __gnuc_va_list) __attribute__ ((__nothrow__ )); | |
11718 | extern int _IO_vswprintf (wchar_t*, size_t, const wchar_t*, __gnuc_va_list) | |
11719 | __attribute__ ((__nothrow__ )); | |
11720 | ||
11721 | struct obstack; | |
11722 | extern int _IO_obstack_vprintf (struct obstack *, const char *, __gnuc_va_list) | |
11723 | __attribute__ ((__nothrow__ )); | |
11724 | extern int _IO_obstack_printf (struct obstack *, const char *, ...) __attribute__ ((__nothrow__ )); | |
11725 | # 73 "../libio/iolibio.h" | |
11726 | extern _IO_FILE* _IO_popen (const char*, const char*) __attribute__ ((__nothrow__ )); | |
11727 | extern _IO_FILE* _IO_new_popen (const char*, const char*) __attribute__ ((__nothrow__ )); | |
11728 | extern _IO_FILE* _IO_old_popen (const char*, const char*) __attribute__ ((__nothrow__ )); | |
11729 | extern int __new_pclose (_IO_FILE *) __attribute__ ((__nothrow__ )); | |
11730 | extern int __old_pclose (_IO_FILE *) __attribute__ ((__nothrow__ )); | |
11731 | ||
11732 | ||
11733 | ||
11734 | ||
11735 | _IO_FILE *__new_freopen (const char *, const char *, _IO_FILE *) __attribute__ ((__nothrow__ )); | |
11736 | _IO_FILE *__old_freopen (const char *, const char *, _IO_FILE *) __attribute__ ((__nothrow__ )); | |
11737 | ||
11738 | ||
11739 | extern void _IO_setbuffer_internal (_IO_FILE *, char*, size_t) __attribute__ ((__nothrow__ )); | |
11740 | extern size_t _IO_fread_internal (void*, size_t, size_t, _IO_FILE*) | |
11741 | __attribute__ ((__nothrow__ )); | |
11742 | extern _IO_FILE *_IO_fdopen_internal (int, const char*) __attribute__ ((__nothrow__ )); | |
11743 | extern int _IO_vsprintf_internal (char*, const char*, __gnuc_va_list) __attribute__ ((__nothrow__ )); | |
11744 | extern int _IO_fflush_internal (_IO_FILE*); | |
11745 | extern size_t _IO_fwrite_internal (const void*, size_t, | |
11746 | size_t, _IO_FILE*); | |
11747 | extern long int _IO_ftell_internal (_IO_FILE*); | |
11748 | extern int _IO_fputs_internal (const char*, _IO_FILE*); | |
11749 | extern int _IO_setvbuf_internal (_IO_FILE*, char*, int, size_t) __attribute__ ((__nothrow__ )); | |
11750 | # 42 "../libio/libioP.h" 2 | |
11751 | # 94 "../libio/libioP.h" | |
11752 | # 1 "../include/shlib-compat.h" 1 | |
11753 | # 26 "../include/shlib-compat.h" | |
11754 | # 1 "/var/tmp/portage/sys-libs/glibc-2.15-r3/work/build-default-armv5te-iwmmxt-linux-gnueabi-nptl/abi-versions.h" 1 | |
11755 | # 27 "../include/shlib-compat.h" 2 | |
11756 | # 95 "../libio/libioP.h" 2 | |
11757 | # 154 "../libio/libioP.h" | |
11758 | typedef void (*_IO_finish_t) (_IO_FILE *, int); | |
11759 | ||
11760 | ||
11761 | ||
11762 | ||
11763 | ||
11764 | ||
11765 | typedef int (*_IO_overflow_t) (_IO_FILE *, int); | |
11766 | ||
11767 | ||
11768 | ||
11769 | ||
11770 | ||
11771 | ||
11772 | ||
11773 | typedef int (*_IO_underflow_t) (_IO_FILE *); | |
11774 | # 183 "../libio/libioP.h" | |
11775 | typedef int (*_IO_pbackfail_t) (_IO_FILE *, int); | |
11776 | ||
11777 | ||
11778 | ||
11779 | ||
11780 | ||
11781 | ||
11782 | typedef size_t (*_IO_xsputn_t) (_IO_FILE *FP, const void *DATA, | |
11783 | size_t N); | |
11784 | ||
11785 | ||
11786 | ||
11787 | ||
11788 | ||
11789 | ||
11790 | typedef size_t (*_IO_xsgetn_t) (_IO_FILE *FP, void *DATA, size_t N); | |
11791 | # 207 "../libio/libioP.h" | |
11792 | typedef __off64_t (*_IO_seekoff_t) (_IO_FILE *FP, __off64_t OFF, int DIR, | |
11793 | int MODE); | |
11794 | # 217 "../libio/libioP.h" | |
11795 | typedef __off64_t (*_IO_seekpos_t) (_IO_FILE *, __off64_t, int); | |
11796 | ||
11797 | ||
11798 | ||
11799 | ||
11800 | ||
11801 | typedef _IO_FILE* (*_IO_setbuf_t) (_IO_FILE *, char *, __ssize_t); | |
11802 | ||
11803 | ||
11804 | ||
11805 | ||
11806 | ||
11807 | ||
11808 | typedef int (*_IO_sync_t) (_IO_FILE *); | |
11809 | ||
11810 | ||
11811 | ||
11812 | ||
11813 | ||
11814 | ||
11815 | typedef int (*_IO_doallocate_t) (_IO_FILE *); | |
11816 | # 256 "../libio/libioP.h" | |
11817 | typedef __ssize_t (*_IO_read_t) (_IO_FILE *, void *, __ssize_t); | |
11818 | ||
11819 | ||
11820 | ||
11821 | ||
11822 | ||
11823 | ||
11824 | ||
11825 | typedef __ssize_t (*_IO_write_t) (_IO_FILE *, const void *, __ssize_t); | |
11826 | ||
11827 | ||
11828 | ||
11829 | ||
11830 | ||
11831 | ||
11832 | ||
11833 | typedef __off64_t (*_IO_seek_t) (_IO_FILE *, __off64_t, int); | |
11834 | ||
11835 | ||
11836 | ||
11837 | ||
11838 | ||
11839 | ||
11840 | ||
11841 | typedef int (*_IO_close_t) (_IO_FILE *); | |
11842 | ||
11843 | ||
11844 | ||
11845 | ||
11846 | ||
11847 | ||
11848 | ||
11849 | typedef int (*_IO_stat_t) (_IO_FILE *, void *); | |
11850 | ||
11851 | ||
11852 | ||
11853 | ||
11854 | ||
11855 | ||
11856 | typedef int (*_IO_showmanyc_t) (_IO_FILE *); | |
11857 | ||
11858 | ||
11859 | ||
11860 | ||
11861 | ||
11862 | typedef void (*_IO_imbue_t) (_IO_FILE *, void *); | |
11863 | ||
11864 | ||
11865 | ||
11866 | ||
11867 | ||
11868 | ||
11869 | ||
11870 | struct _IO_jump_t | |
11871 | { | |
11872 | size_t __dummy; | |
11873 | ||
11874 | size_t __dummy2; | |
11875 | ||
11876 | _IO_finish_t __finish; | |
11877 | _IO_overflow_t __overflow; | |
11878 | _IO_underflow_t __underflow; | |
11879 | _IO_underflow_t __uflow; | |
11880 | _IO_pbackfail_t __pbackfail; | |
11881 | ||
11882 | _IO_xsputn_t __xsputn; | |
11883 | _IO_xsgetn_t __xsgetn; | |
11884 | _IO_seekoff_t __seekoff; | |
11885 | _IO_seekpos_t __seekpos; | |
11886 | _IO_setbuf_t __setbuf; | |
11887 | _IO_sync_t __sync; | |
11888 | _IO_doallocate_t __doallocate; | |
11889 | _IO_read_t __read; | |
11890 | _IO_write_t __write; | |
11891 | _IO_seek_t __seek; | |
11892 | _IO_close_t __close; | |
11893 | _IO_stat_t __stat; | |
11894 | _IO_showmanyc_t __showmanyc; | |
11895 | _IO_imbue_t __imbue; | |
11896 | ||
11897 | ||
11898 | ||
11899 | ||
11900 | }; | |
11901 | ||
11902 | ||
11903 | ||
11904 | ||
11905 | ||
11906 | ||
11907 | struct _IO_FILE_plus | |
11908 | { | |
11909 | _IO_FILE file; | |
11910 | const struct _IO_jump_t *vtable; | |
11911 | }; | |
11912 | # 364 "../libio/libioP.h" | |
11913 | struct _IO_cookie_file | |
11914 | { | |
11915 | struct _IO_FILE_plus __fp; | |
11916 | void *__cookie; | |
11917 | _IO_cookie_io_functions_t __io_functions; | |
11918 | }; | |
11919 | ||
11920 | _IO_FILE *_IO_fopencookie (void *cookie, const char *mode, | |
11921 | _IO_cookie_io_functions_t io_functions); | |
11922 | ||
11923 | ||
11924 | ||
11925 | ||
11926 | typedef struct _IO_FILE *_IO_ITER; | |
11927 | ||
11928 | ||
11929 | ||
11930 | extern void _IO_switch_to_main_get_area (_IO_FILE *) __attribute__ ((__nothrow__ )); | |
11931 | extern void _IO_switch_to_backup_area (_IO_FILE *) __attribute__ ((__nothrow__ )); | |
11932 | extern int _IO_switch_to_get_mode (_IO_FILE *); | |
11933 | extern void _IO_init (_IO_FILE *, int) __attribute__ ((__nothrow__ )); | |
11934 | extern int _IO_sputbackc (_IO_FILE *, int) __attribute__ ((__nothrow__ )); | |
11935 | extern int _IO_sungetc (_IO_FILE *) __attribute__ ((__nothrow__ )); | |
11936 | extern void _IO_un_link (struct _IO_FILE_plus *) __attribute__ ((__nothrow__ )); | |
11937 | extern void _IO_link_in (struct _IO_FILE_plus *) __attribute__ ((__nothrow__ )); | |
11938 | extern void _IO_doallocbuf (_IO_FILE *) __attribute__ ((__nothrow__ )); | |
11939 | extern void _IO_unsave_markers (_IO_FILE *) __attribute__ ((__nothrow__ )); | |
11940 | extern void _IO_setb (_IO_FILE *, char *, char *, int) __attribute__ ((__nothrow__ )); | |
11941 | extern unsigned _IO_adjust_column (unsigned, const char *, int) __attribute__ ((__nothrow__ )); | |
11942 | ||
11943 | ||
11944 | extern void _IO_switch_to_main_wget_area (_IO_FILE *) __attribute__ ((__nothrow__ )); | |
11945 | extern void _IO_switch_to_wbackup_area (_IO_FILE *) __attribute__ ((__nothrow__ )); | |
11946 | extern int _IO_switch_to_wget_mode (_IO_FILE *); | |
11947 | extern void _IO_wsetb (_IO_FILE *, wchar_t *, wchar_t *, int) __attribute__ ((__nothrow__ )); | |
11948 | extern wint_t _IO_sputbackwc (_IO_FILE *, wint_t) __attribute__ ((__nothrow__ )); | |
11949 | extern wint_t _IO_sungetwc (_IO_FILE *) __attribute__ ((__nothrow__ )); | |
11950 | extern void _IO_wdoallocbuf (_IO_FILE *) __attribute__ ((__nothrow__ )); | |
11951 | extern void _IO_unsave_wmarkers (_IO_FILE *) __attribute__ ((__nothrow__ )); | |
11952 | extern unsigned _IO_adjust_wcolumn (unsigned, const wchar_t *, int) __attribute__ ((__nothrow__ )); | |
11953 | ||
11954 | ||
11955 | ||
11956 | extern void _IO_init_marker (struct _IO_marker *, _IO_FILE *); | |
11957 | extern void _IO_init_wmarker (struct _IO_marker *, _IO_FILE *); | |
11958 | extern void _IO_remove_marker (struct _IO_marker *) __attribute__ ((__nothrow__ )); | |
11959 | extern int _IO_marker_difference (struct _IO_marker *, struct _IO_marker *) | |
11960 | __attribute__ ((__nothrow__ )); | |
11961 | extern int _IO_marker_delta (struct _IO_marker *) __attribute__ ((__nothrow__ )); | |
11962 | extern int _IO_wmarker_delta (struct _IO_marker *) __attribute__ ((__nothrow__ )); | |
11963 | extern int _IO_seekmark (_IO_FILE *, struct _IO_marker *, int) __attribute__ ((__nothrow__ )); | |
11964 | extern int _IO_seekwmark (_IO_FILE *, struct _IO_marker *, int) __attribute__ ((__nothrow__ )); | |
11965 | ||
11966 | ||
11967 | ||
11968 | extern _IO_ITER _IO_iter_begin (void) __attribute__ ((__nothrow__ )); | |
11969 | ||
11970 | extern _IO_ITER _IO_iter_end (void) __attribute__ ((__nothrow__ )); | |
11971 | ||
11972 | extern _IO_ITER _IO_iter_next (_IO_ITER) __attribute__ ((__nothrow__ )); | |
11973 | ||
11974 | extern _IO_FILE *_IO_iter_file (_IO_ITER) __attribute__ ((__nothrow__ )); | |
11975 | ||
11976 | extern void _IO_list_lock (void) __attribute__ ((__nothrow__ )); | |
11977 | ||
11978 | extern void _IO_list_unlock (void) __attribute__ ((__nothrow__ )); | |
11979 | ||
11980 | extern void _IO_list_resetlock (void) __attribute__ ((__nothrow__ )); | |
11981 | ||
11982 | ||
11983 | ||
11984 | ||
11985 | extern int _IO_default_underflow (_IO_FILE *) __attribute__ ((__nothrow__ )); | |
11986 | extern int _IO_default_uflow (_IO_FILE *); | |
11987 | extern wint_t _IO_wdefault_uflow (_IO_FILE *); | |
11988 | extern int _IO_default_doallocate (_IO_FILE *) __attribute__ ((__nothrow__ )); | |
11989 | extern int _IO_wdefault_doallocate (_IO_FILE *) __attribute__ ((__nothrow__ )); | |
11990 | extern void _IO_default_finish (_IO_FILE *, int) __attribute__ ((__nothrow__ )); | |
11991 | extern void _IO_wdefault_finish (_IO_FILE *, int) __attribute__ ((__nothrow__ )); | |
11992 | extern int _IO_default_pbackfail (_IO_FILE *, int) __attribute__ ((__nothrow__ )); | |
11993 | extern wint_t _IO_wdefault_pbackfail (_IO_FILE *, wint_t) __attribute__ ((__nothrow__ )); | |
11994 | extern _IO_FILE* _IO_default_setbuf (_IO_FILE *, char *, __ssize_t); | |
11995 | extern size_t _IO_default_xsputn (_IO_FILE *, const void *, size_t); | |
11996 | extern size_t _IO_wdefault_xsputn (_IO_FILE *, const void *, size_t); | |
11997 | extern size_t _IO_default_xsgetn (_IO_FILE *, void *, size_t); | |
11998 | extern size_t _IO_wdefault_xsgetn (_IO_FILE *, void *, size_t); | |
11999 | extern __off64_t _IO_default_seekoff (_IO_FILE *, __off64_t, int, int) | |
12000 | __attribute__ ((__nothrow__ )); | |
12001 | extern __off64_t _IO_default_seekpos (_IO_FILE *, __off64_t, int); | |
12002 | extern __ssize_t _IO_default_write (_IO_FILE *, const void *, __ssize_t); | |
12003 | extern __ssize_t _IO_default_read (_IO_FILE *, void *, __ssize_t); | |
12004 | extern int _IO_default_stat (_IO_FILE *, void *) __attribute__ ((__nothrow__ )); | |
12005 | extern __off64_t _IO_default_seek (_IO_FILE *, __off64_t, int) __attribute__ ((__nothrow__ )); | |
12006 | extern int _IO_default_sync (_IO_FILE *) __attribute__ ((__nothrow__ )); | |
12007 | ||
12008 | extern int _IO_default_showmanyc (_IO_FILE *) __attribute__ ((__nothrow__ )); | |
12009 | extern void _IO_default_imbue (_IO_FILE *, void *) __attribute__ ((__nothrow__ )); | |
12010 | ||
12011 | extern const struct _IO_jump_t _IO_file_jumps; | |
12012 | ||
12013 | extern const struct _IO_jump_t _IO_file_jumps_mmap ; | |
12014 | extern const struct _IO_jump_t _IO_file_jumps_maybe_mmap ; | |
12015 | extern const struct _IO_jump_t _IO_wfile_jumps; | |
12016 | ||
12017 | extern const struct _IO_jump_t _IO_wfile_jumps_mmap ; | |
12018 | extern const struct _IO_jump_t _IO_wfile_jumps_maybe_mmap ; | |
12019 | extern const struct _IO_jump_t _IO_old_file_jumps ; | |
12020 | extern const struct _IO_jump_t _IO_streambuf_jumps; | |
12021 | extern const struct _IO_jump_t _IO_old_proc_jumps ; | |
12022 | extern const struct _IO_jump_t _IO_str_jumps ; | |
12023 | extern const struct _IO_jump_t _IO_wstr_jumps ; | |
12024 | extern const struct _IO_codecvt __libio_codecvt ; | |
12025 | extern int _IO_do_write (_IO_FILE *, const char *, size_t); | |
12026 | extern int _IO_new_do_write (_IO_FILE *, const char *, size_t); | |
12027 | extern int _IO_old_do_write (_IO_FILE *, const char *, size_t); | |
12028 | extern int _IO_wdo_write (_IO_FILE *, const wchar_t *, size_t); | |
12029 | extern int _IO_flush_all_lockp (int); | |
12030 | extern int _IO_flush_all (void); | |
12031 | extern int _IO_cleanup (void); | |
12032 | extern void _IO_flush_all_linebuffered (void); | |
12033 | extern int _IO_new_fgetpos (_IO_FILE *, _G_fpos_t *); | |
12034 | extern int _IO_old_fgetpos (_IO_FILE *, _G_fpos_t *); | |
12035 | extern int _IO_new_fsetpos (_IO_FILE *, const _G_fpos_t *); | |
12036 | extern int _IO_old_fsetpos (_IO_FILE *, const _G_fpos_t *); | |
12037 | extern int _IO_new_fgetpos64 (_IO_FILE *, _G_fpos64_t *); | |
12038 | extern int _IO_old_fgetpos64 (_IO_FILE *, _G_fpos64_t *); | |
12039 | extern int _IO_new_fsetpos64 (_IO_FILE *, const _G_fpos64_t *); | |
12040 | extern int _IO_old_fsetpos64 (_IO_FILE *, const _G_fpos64_t *); | |
12041 | extern void _IO_old_init (_IO_FILE *fp, int flags) __attribute__ ((__nothrow__ )); | |
12042 | # 536 "../libio/libioP.h" | |
12043 | extern int _IO_file_doallocate (_IO_FILE *) __attribute__ ((__nothrow__ )); | |
12044 | extern _IO_FILE* _IO_file_setbuf (_IO_FILE *, char *, __ssize_t); | |
12045 | extern __off64_t _IO_file_seekoff (_IO_FILE *, __off64_t, int, int); | |
12046 | extern __off64_t _IO_file_seekoff_mmap (_IO_FILE *, __off64_t, int, int) | |
12047 | __attribute__ ((__nothrow__ )); | |
12048 | extern size_t _IO_file_xsputn (_IO_FILE *, const void *, size_t); | |
12049 | extern size_t _IO_file_xsgetn (_IO_FILE *, void *, size_t); | |
12050 | extern int _IO_file_stat (_IO_FILE *, void *) __attribute__ ((__nothrow__ )); | |
12051 | extern int _IO_file_close (_IO_FILE *) __attribute__ ((__nothrow__ )); | |
12052 | extern int _IO_file_close_mmap (_IO_FILE *) __attribute__ ((__nothrow__ )); | |
12053 | extern int _IO_file_underflow (_IO_FILE *); | |
12054 | extern int _IO_file_underflow_mmap (_IO_FILE *); | |
12055 | extern int _IO_file_underflow_maybe_mmap (_IO_FILE *); | |
12056 | extern int _IO_file_overflow (_IO_FILE *, int); | |
12057 | ||
12058 | extern void _IO_file_init (struct _IO_FILE_plus *) __attribute__ ((__nothrow__ )); | |
12059 | extern _IO_FILE* _IO_file_attach (_IO_FILE *, int); | |
12060 | extern _IO_FILE* _IO_file_open (_IO_FILE *, const char *, int, int, int, int); | |
12061 | ||
12062 | extern _IO_FILE* _IO_file_fopen (_IO_FILE *, const char *, const char *, int); | |
12063 | extern __ssize_t _IO_file_write (_IO_FILE *, const void *, __ssize_t); | |
12064 | extern __ssize_t _IO_file_read (_IO_FILE *, void *, __ssize_t); | |
12065 | extern int _IO_file_sync (_IO_FILE *); | |
12066 | extern int _IO_file_close_it (_IO_FILE *); | |
12067 | extern __off64_t _IO_file_seek (_IO_FILE *, __off64_t, int) __attribute__ ((__nothrow__ )); | |
12068 | extern void _IO_file_finish (_IO_FILE *, int); | |
12069 | ||
12070 | extern _IO_FILE* _IO_new_file_attach (_IO_FILE *, int); | |
12071 | extern int _IO_new_file_close_it (_IO_FILE *); | |
12072 | extern void _IO_new_file_finish (_IO_FILE *, int); | |
12073 | extern _IO_FILE* _IO_new_file_fopen (_IO_FILE *, const char *, const char *, | |
12074 | int); | |
12075 | extern void _IO_no_init (_IO_FILE *, int, int, struct _IO_wide_data *, | |
12076 | const struct _IO_jump_t *) __attribute__ ((__nothrow__ )); | |
12077 | extern void _IO_new_file_init (struct _IO_FILE_plus *) __attribute__ ((__nothrow__ )); | |
12078 | extern _IO_FILE* _IO_new_file_setbuf (_IO_FILE *, char *, __ssize_t); | |
12079 | extern _IO_FILE* _IO_file_setbuf_mmap (_IO_FILE *, char *, __ssize_t); | |
12080 | extern int _IO_new_file_sync (_IO_FILE *); | |
12081 | extern int _IO_new_file_underflow (_IO_FILE *); | |
12082 | extern int _IO_new_file_overflow (_IO_FILE *, int); | |
12083 | extern __off64_t _IO_new_file_seekoff (_IO_FILE *, __off64_t, int, int); | |
12084 | extern __ssize_t _IO_new_file_write (_IO_FILE *, const void *, __ssize_t); | |
12085 | extern size_t _IO_new_file_xsputn (_IO_FILE *, const void *, size_t); | |
12086 | ||
12087 | extern _IO_FILE* _IO_old_file_setbuf (_IO_FILE *, char *, __ssize_t); | |
12088 | extern __off64_t _IO_old_file_seekoff (_IO_FILE *, __off64_t, int, int); | |
12089 | extern size_t _IO_old_file_xsputn (_IO_FILE *, const void *, size_t); | |
12090 | extern int _IO_old_file_underflow (_IO_FILE *); | |
12091 | extern int _IO_old_file_overflow (_IO_FILE *, int); | |
12092 | extern void _IO_old_file_init (struct _IO_FILE_plus *) __attribute__ ((__nothrow__ )); | |
12093 | extern _IO_FILE* _IO_old_file_attach (_IO_FILE *, int); | |
12094 | extern _IO_FILE* _IO_old_file_fopen (_IO_FILE *, const char *, const char *); | |
12095 | extern __ssize_t _IO_old_file_write (_IO_FILE *, const void *, __ssize_t); | |
12096 | extern int _IO_old_file_sync (_IO_FILE *); | |
12097 | extern int _IO_old_file_close_it (_IO_FILE *); | |
12098 | extern void _IO_old_file_finish (_IO_FILE *, int); | |
12099 | ||
12100 | extern int _IO_wfile_doallocate (_IO_FILE *) __attribute__ ((__nothrow__ )); | |
12101 | extern size_t _IO_wfile_xsputn (_IO_FILE *, const void *, size_t); | |
12102 | extern _IO_FILE* _IO_wfile_setbuf (_IO_FILE *, wchar_t *, __ssize_t); | |
12103 | extern wint_t _IO_wfile_sync (_IO_FILE *); | |
12104 | extern wint_t _IO_wfile_underflow (_IO_FILE *); | |
12105 | extern wint_t _IO_wfile_overflow (_IO_FILE *, wint_t); | |
12106 | extern __off64_t _IO_wfile_seekoff (_IO_FILE *, __off64_t, int, int); | |
12107 | ||
12108 | ||
12109 | extern _IO_FILE* _IO_proc_open (_IO_FILE *, const char *, const char *) | |
12110 | __attribute__ ((__nothrow__ )); | |
12111 | extern _IO_FILE* _IO_new_proc_open (_IO_FILE *, const char *, const char *) | |
12112 | __attribute__ ((__nothrow__ )); | |
12113 | extern _IO_FILE* _IO_old_proc_open (_IO_FILE *, const char *, const char *); | |
12114 | extern int _IO_proc_close (_IO_FILE *) __attribute__ ((__nothrow__ )); | |
12115 | extern int _IO_new_proc_close (_IO_FILE *) __attribute__ ((__nothrow__ )); | |
12116 | extern int _IO_old_proc_close (_IO_FILE *); | |
12117 | ||
12118 | ||
12119 | extern int _IO_str_underflow (_IO_FILE *) __attribute__ ((__nothrow__ )); | |
12120 | extern int _IO_str_overflow (_IO_FILE *, int) __attribute__ ((__nothrow__ )); | |
12121 | extern int _IO_str_pbackfail (_IO_FILE *, int) __attribute__ ((__nothrow__ )); | |
12122 | extern __off64_t _IO_str_seekoff (_IO_FILE *, __off64_t, int, int) __attribute__ ((__nothrow__ )); | |
12123 | extern void _IO_str_finish (_IO_FILE *, int) __attribute__ ((__nothrow__ )); | |
12124 | ||
12125 | ||
12126 | struct _IO_strfile_; | |
12127 | extern void _IO_str_init_static (struct _IO_strfile_ *, char *, int, char *) | |
12128 | __attribute__ ((__nothrow__ )); | |
12129 | extern void _IO_str_init_readonly (struct _IO_strfile_ *, const char *, int) | |
12130 | __attribute__ ((__nothrow__ )); | |
12131 | extern __ssize_t _IO_str_count (_IO_FILE *) __attribute__ ((__nothrow__ )); | |
12132 | ||
12133 | ||
12134 | extern void _IO_wstr_init_static (_IO_FILE *, wchar_t *, size_t, wchar_t *) | |
12135 | __attribute__ ((__nothrow__ )); | |
12136 | extern __ssize_t _IO_wstr_count (_IO_FILE *) __attribute__ ((__nothrow__ )); | |
12137 | extern wint_t _IO_wstr_overflow (_IO_FILE *, wint_t) __attribute__ ((__nothrow__ )); | |
12138 | extern wint_t _IO_wstr_underflow (_IO_FILE *) __attribute__ ((__nothrow__ )); | |
12139 | extern __off64_t _IO_wstr_seekoff (_IO_FILE *, __off64_t, int, int) | |
12140 | __attribute__ ((__nothrow__ )); | |
12141 | extern wint_t _IO_wstr_pbackfail (_IO_FILE *, wint_t) __attribute__ ((__nothrow__ )); | |
12142 | extern void _IO_wstr_finish (_IO_FILE *, int) __attribute__ ((__nothrow__ )); | |
12143 | ||
12144 | extern int _IO_vasprintf (char **result_ptr, __const char *format, | |
12145 | __gnuc_va_list args) __attribute__ ((__nothrow__ )); | |
12146 | extern int _IO_vdprintf (int d, __const char *format, __gnuc_va_list arg); | |
12147 | extern int _IO_vsnprintf (char *string, size_t maxlen, | |
12148 | __const char *format, __gnuc_va_list args) __attribute__ ((__nothrow__ )); | |
12149 | ||
12150 | ||
12151 | extern size_t _IO_getline (_IO_FILE *,char *, size_t, int, int); | |
12152 | extern size_t _IO_getline_info (_IO_FILE *,char *, size_t, | |
12153 | int, int, int *); | |
12154 | extern __ssize_t _IO_getdelim (char **, size_t *, int, _IO_FILE *); | |
12155 | extern size_t _IO_getwline (_IO_FILE *,wchar_t *, size_t, wint_t, int); | |
12156 | extern size_t _IO_getwline_info (_IO_FILE *,wchar_t *, size_t, | |
12157 | wint_t, int, wint_t *); | |
12158 | ||
12159 | extern struct _IO_FILE_plus *_IO_list_all; | |
12160 | extern void (*_IO_cleanup_registration_needed) (void); | |
12161 | ||
12162 | ||
12163 | extern int _IO_flush_all_internal (void); | |
12164 | extern unsigned _IO_adjust_column_internal (unsigned, const char *, int); | |
12165 | ||
12166 | extern int _IO_default_uflow_internal (_IO_FILE *); | |
12167 | extern void _IO_default_finish_internal (_IO_FILE *, int) __attribute__ ((__nothrow__ )); | |
12168 | extern int _IO_default_pbackfail_internal (_IO_FILE *, int) __attribute__ ((__nothrow__ )); | |
12169 | extern size_t _IO_default_xsputn_internal (_IO_FILE *, const void *, | |
12170 | size_t); | |
12171 | extern size_t _IO_default_xsgetn_internal (_IO_FILE *, void *, size_t); | |
12172 | extern int _IO_default_doallocate_internal (_IO_FILE *) __attribute__ ((__nothrow__ )); | |
12173 | extern void _IO_wdefault_finish_internal (_IO_FILE *, int) __attribute__ ((__nothrow__ )); | |
12174 | extern wint_t _IO_wdefault_pbackfail_internal (_IO_FILE *, wint_t) __attribute__ ((__nothrow__ )); | |
12175 | extern size_t _IO_wdefault_xsputn_internal (_IO_FILE *, const void *, | |
12176 | size_t); | |
12177 | extern size_t _IO_wdefault_xsgetn_internal (_IO_FILE *, void *, | |
12178 | size_t); | |
12179 | extern int _IO_wdefault_doallocate_internal (_IO_FILE *) __attribute__ ((__nothrow__ )); | |
12180 | extern wint_t _IO_wdefault_uflow_internal (_IO_FILE *); | |
12181 | ||
12182 | extern int _IO_file_doallocate_internal (_IO_FILE *) __attribute__ ((__nothrow__ )); | |
12183 | extern _IO_FILE* _IO_file_setbuf_internal (_IO_FILE *, char *, __ssize_t); | |
12184 | extern __off64_t _IO_file_seekoff_internal (_IO_FILE *, __off64_t, | |
12185 | int, int); | |
12186 | extern size_t _IO_file_xsputn_internal (_IO_FILE *, const void *, | |
12187 | size_t); | |
12188 | extern size_t _IO_file_xsgetn_internal (_IO_FILE *, void *, size_t); | |
12189 | extern int _IO_file_stat_internal (_IO_FILE *, void *) __attribute__ ((__nothrow__ )); | |
12190 | extern int _IO_file_close_internal (_IO_FILE *) __attribute__ ((__nothrow__ )); | |
12191 | extern int _IO_file_close_it_internal (_IO_FILE *); | |
12192 | extern int _IO_file_underflow_internal (_IO_FILE *); | |
12193 | extern int _IO_file_overflow_internal (_IO_FILE *, int); | |
12194 | extern void _IO_file_init_internal (struct _IO_FILE_plus *) __attribute__ ((__nothrow__ )); | |
12195 | extern _IO_FILE* _IO_file_attach_internal (_IO_FILE *, int); | |
12196 | extern _IO_FILE* _IO_file_fopen_internal (_IO_FILE *, const char *, | |
12197 | const char *, int); | |
12198 | extern __ssize_t _IO_file_read_internal (_IO_FILE *, void *, | |
12199 | __ssize_t); | |
12200 | extern int _IO_file_sync_internal (_IO_FILE *); | |
12201 | extern __off64_t _IO_file_seek_internal (_IO_FILE *, __off64_t, int) | |
12202 | __attribute__ ((__nothrow__ )); | |
12203 | extern void _IO_file_finish_internal (_IO_FILE *, int); | |
12204 | ||
12205 | extern size_t _IO_wfile_xsputn_internal (_IO_FILE *, const void *, | |
12206 | size_t); | |
12207 | extern __off64_t _IO_wfile_seekoff_internal (_IO_FILE *, __off64_t, | |
12208 | int, int); | |
12209 | extern wint_t _IO_wfile_sync_internal (_IO_FILE *); | |
12210 | ||
12211 | extern int _IO_str_underflow_internal (_IO_FILE *) __attribute__ ((__nothrow__ )); | |
12212 | extern int _IO_str_overflow_internal (_IO_FILE *, int) __attribute__ ((__nothrow__ )); | |
12213 | extern int _IO_str_pbackfail_internal (_IO_FILE *, int) __attribute__ ((__nothrow__ )); | |
12214 | extern __off64_t _IO_str_seekoff_internal (_IO_FILE *, __off64_t, | |
12215 | int, int) __attribute__ ((__nothrow__ )); | |
12216 | extern void _IO_str_init_static_internal (struct _IO_strfile_ *, char *, | |
12217 | size_t, char *) __attribute__ ((__nothrow__ )); | |
12218 | ||
12219 | extern struct _IO_jump_t _IO_file_jumps_internal ; | |
12220 | extern struct _IO_jump_t _IO_wfile_jumps_internal ; | |
12221 | ||
12222 | extern struct _IO_FILE_plus *_IO_list_all_internal ; | |
12223 | ||
12224 | extern void _IO_link_in_internal (struct _IO_FILE_plus *) __attribute__ ((__nothrow__ )); | |
12225 | extern int _IO_sputbackc_internal (_IO_FILE *, int) __attribute__ ((__nothrow__ )); | |
12226 | extern void _IO_wdoallocbuf_internal (_IO_FILE *) __attribute__ ((__nothrow__ )); | |
12227 | ||
12228 | extern size_t _IO_sgetn_internal (_IO_FILE *, void *, size_t); | |
12229 | extern void _IO_flush_all_linebuffered_internal (void) __attribute__ ((__nothrow__ )); | |
12230 | extern int _IO_switch_to_wget_mode_internal (_IO_FILE *); | |
12231 | extern void _IO_unsave_markers_internal (_IO_FILE *) __attribute__ ((__nothrow__ )); | |
12232 | extern void _IO_switch_to_main_wget_area_internal (_IO_FILE *) __attribute__ ((__nothrow__ )); | |
12233 | extern int _IO_wdo_write_internal (_IO_FILE *, const wchar_t *, size_t); | |
12234 | extern int _IO_do_write_internal (_IO_FILE *, const char *, size_t); | |
12235 | extern __ssize_t _IO_padn_internal (_IO_FILE *, int, __ssize_t); | |
12236 | extern size_t _IO_getline_info_internal (_IO_FILE *,char *, size_t, | |
12237 | int, int, int *); | |
12238 | extern size_t _IO_getline_internal (_IO_FILE *, char *, size_t, int, | |
12239 | int); | |
12240 | extern void _IO_free_wbackup_area_internal (_IO_FILE *) __attribute__ ((__nothrow__ )); | |
12241 | extern void _IO_free_backup_area_internal (_IO_FILE *) __attribute__ ((__nothrow__ )); | |
12242 | extern void _IO_switch_to_wbackup_area_internal (_IO_FILE *) __attribute__ ((__nothrow__ )); | |
12243 | extern void _IO_setb_internal (_IO_FILE *, char *, char *, int) __attribute__ ((__nothrow__ )); | |
12244 | extern wint_t _IO_sputbackwc_internal (_IO_FILE *, wint_t) __attribute__ ((__nothrow__ )); | |
12245 | extern int _IO_switch_to_get_mode_internal (_IO_FILE *); | |
12246 | extern int _IO_vfscanf_internal (_IO_FILE * __restrict, | |
12247 | const char * __restrict, | |
12248 | __gnuc_va_list, int *__restrict); | |
12249 | extern int _IO_vfprintf_internal (_IO_FILE *__restrict, const char *__restrict, | |
12250 | __gnuc_va_list); | |
12251 | extern void _IO_doallocbuf_internal (_IO_FILE *) __attribute__ ((__nothrow__ )); | |
12252 | extern void _IO_wsetb_internal (_IO_FILE *, wchar_t *, wchar_t *, int) | |
12253 | __attribute__ ((__nothrow__ )); | |
12254 | extern __off64_t _IO_seekoff_unlocked (_IO_FILE *, __off64_t, int, int) | |
12255 | ; | |
12256 | extern __off64_t _IO_seekpos_unlocked (_IO_FILE *, __off64_t, int) | |
12257 | ; | |
12258 | extern int _IO_putc_internal (int __c, _IO_FILE *__fp); | |
12259 | extern void _IO_init_internal (_IO_FILE *, int) __attribute__ ((__nothrow__ )); | |
12260 | extern void _IO_un_link_internal (struct _IO_FILE_plus *) __attribute__ ((__nothrow__ )); | |
12261 | # 773 "../libio/libioP.h" | |
12262 | # 1 "../include/unistd.h" 1 | |
12263 | ||
12264 | # 1 "../posix/unistd.h" 1 | |
12265 | # 28 "../posix/unistd.h" | |
12266 | ||
12267 | # 203 "../posix/unistd.h" | |
12268 | # 1 "../nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h" 1 | |
12269 | # 204 "../posix/unistd.h" 2 | |
12270 | ||
12271 | ||
12272 | ||
12273 | # 1 "../bits/environments.h" 1 | |
12274 | # 23 "../bits/environments.h" | |
12275 | # 1 "../sysdeps/wordsize-32/bits/wordsize.h" 1 | |
12276 | # 24 "../bits/environments.h" 2 | |
12277 | # 208 "../posix/unistd.h" 2 | |
12278 | # 227 "../posix/unistd.h" | |
12279 | # 1 "/usr/lib/gcc/armv5te-iwmmxt-linux-gnueabi/4.7.3/include/stddef.h" 1 3 4 | |
12280 | # 228 "../posix/unistd.h" 2 | |
12281 | # 288 "../posix/unistd.h" | |
12282 | extern int access (__const char *__name, int __type) __attribute__ ((__nothrow__ )) ; | |
12283 | ||
12284 | ||
12285 | ||
12286 | ||
12287 | extern int euidaccess (__const char *__name, int __type) | |
12288 | __attribute__ ((__nothrow__ )) ; | |
12289 | ||
12290 | ||
12291 | extern int eaccess (__const char *__name, int __type) | |
12292 | __attribute__ ((__nothrow__ )) ; | |
12293 | ||
12294 | ||
12295 | ||
12296 | ||
12297 | ||
12298 | ||
12299 | extern int faccessat (int __fd, __const char *__file, int __type, int __flag) | |
12300 | __attribute__ ((__nothrow__ )) ; | |
12301 | # 335 "../posix/unistd.h" | |
12302 | extern __off_t lseek (int __fd, __off_t __offset, int __whence) __attribute__ ((__nothrow__ )); | |
12303 | # 346 "../posix/unistd.h" | |
12304 | extern __off64_t lseek64 (int __fd, __off64_t __offset, int __whence) | |
12305 | __attribute__ ((__nothrow__ )); | |
12306 | ||
12307 | ||
12308 | ||
12309 | ||
12310 | ||
12311 | ||
12312 | extern int close (int __fd); | |
12313 | ||
12314 | ||
12315 | ||
12316 | ||
12317 | ||
12318 | ||
12319 | extern ssize_t read (int __fd, void *__buf, size_t __nbytes) ; | |
12320 | ||
12321 | ||
12322 | ||
12323 | ||
12324 | ||
12325 | extern ssize_t write (int __fd, __const void *__buf, size_t __n) ; | |
12326 | # 377 "../posix/unistd.h" | |
12327 | extern ssize_t pread (int __fd, void *__buf, size_t __nbytes, | |
12328 | __off_t __offset) ; | |
12329 | ||
12330 | ||
12331 | ||
12332 | ||
12333 | ||
12334 | ||
12335 | extern ssize_t pwrite (int __fd, __const void *__buf, size_t __n, | |
12336 | __off_t __offset) ; | |
12337 | # 405 "../posix/unistd.h" | |
12338 | extern ssize_t pread64 (int __fd, void *__buf, size_t __nbytes, | |
12339 | __off64_t __offset) ; | |
12340 | ||
12341 | ||
12342 | extern ssize_t pwrite64 (int __fd, __const void *__buf, size_t __n, | |
12343 | __off64_t __offset) ; | |
12344 | ||
12345 | ||
12346 | ||
12347 | ||
12348 | ||
12349 | ||
12350 | ||
12351 | extern int pipe (int __pipedes[2]) __attribute__ ((__nothrow__ )) ; | |
12352 | ||
12353 | ||
12354 | ||
12355 | ||
12356 | extern int pipe2 (int __pipedes[2], int __flags) __attribute__ ((__nothrow__ )) ; | |
12357 | # 433 "../posix/unistd.h" | |
12358 | extern unsigned int alarm (unsigned int __seconds) __attribute__ ((__nothrow__ )); | |
12359 | # 445 "../posix/unistd.h" | |
12360 | extern unsigned int sleep (unsigned int __seconds); | |
12361 | ||
12362 | ||
12363 | ||
12364 | ||
12365 | ||
12366 | ||
12367 | ||
12368 | extern __useconds_t ualarm (__useconds_t __value, __useconds_t __interval) | |
12369 | __attribute__ ((__nothrow__ )); | |
12370 | ||
12371 | ||
12372 | ||
12373 | ||
12374 | ||
12375 | ||
12376 | extern int usleep (__useconds_t __useconds); | |
12377 | # 470 "../posix/unistd.h" | |
12378 | extern int pause (void); | |
12379 | ||
12380 | ||
12381 | ||
12382 | extern int chown (__const char *__file, __uid_t __owner, __gid_t __group) | |
12383 | __attribute__ ((__nothrow__ )) ; | |
12384 | ||
12385 | ||
12386 | ||
12387 | extern int fchown (int __fd, __uid_t __owner, __gid_t __group) __attribute__ ((__nothrow__ )) ; | |
12388 | ||
12389 | ||
12390 | ||
12391 | ||
12392 | extern int lchown (__const char *__file, __uid_t __owner, __gid_t __group) | |
12393 | __attribute__ ((__nothrow__ )) ; | |
12394 | ||
12395 | ||
12396 | ||
12397 | ||
12398 | ||
12399 | ||
12400 | extern int fchownat (int __fd, __const char *__file, __uid_t __owner, | |
12401 | __gid_t __group, int __flag) | |
12402 | __attribute__ ((__nothrow__ )) ; | |
12403 | ||
12404 | ||
12405 | ||
12406 | extern int chdir (__const char *__path) __attribute__ ((__nothrow__ )) ; | |
12407 | ||
12408 | ||
12409 | ||
12410 | extern int fchdir (int __fd) __attribute__ ((__nothrow__ )) ; | |
12411 | # 512 "../posix/unistd.h" | |
12412 | extern char *getcwd (char *__buf, size_t __size) __attribute__ ((__nothrow__ )) ; | |
12413 | ||
12414 | ||
12415 | ||
12416 | ||
12417 | ||
12418 | extern char *get_current_dir_name (void) __attribute__ ((__nothrow__ )); | |
12419 | ||
12420 | ||
12421 | ||
12422 | ||
12423 | ||
12424 | ||
12425 | ||
12426 | extern char *getwd (char *__buf) | |
12427 | __attribute__ ((__nothrow__ )) __attribute__ ((__deprecated__)) ; | |
12428 | ||
12429 | ||
12430 | ||
12431 | ||
12432 | extern int dup (int __fd) __attribute__ ((__nothrow__ )) ; | |
12433 | ||
12434 | ||
12435 | extern int dup2 (int __fd, int __fd2) __attribute__ ((__nothrow__ )); | |
12436 | ||
12437 | ||
12438 | ||
12439 | ||
12440 | extern int dup3 (int __fd, int __fd2, int __flags) __attribute__ ((__nothrow__ )); | |
12441 | ||
12442 | ||
12443 | ||
12444 | extern char **__environ; | |
12445 | ||
12446 | extern char **environ; | |
12447 | ||
12448 | ||
12449 | ||
12450 | ||
12451 | ||
12452 | extern int execve (__const char *__path, char *__const __argv[], | |
12453 | char *__const __envp[]) __attribute__ ((__nothrow__ )) ; | |
12454 | ||
12455 | ||
12456 | ||
12457 | ||
12458 | extern int fexecve (int __fd, char *__const __argv[], char *__const __envp[]) | |
12459 | __attribute__ ((__nothrow__ )) ; | |
12460 | ||
12461 | ||
12462 | ||
12463 | ||
12464 | extern int execv (__const char *__path, char *__const __argv[]) | |
12465 | __attribute__ ((__nothrow__ )) ; | |
12466 | ||
12467 | ||
12468 | ||
12469 | extern int execle (__const char *__path, __const char *__arg, ...) | |
12470 | __attribute__ ((__nothrow__ )) ; | |
12471 | ||
12472 | ||
12473 | ||
12474 | extern int execl (__const char *__path, __const char *__arg, ...) | |
12475 | __attribute__ ((__nothrow__ )) ; | |
12476 | ||
12477 | ||
12478 | ||
12479 | extern int execvp (__const char *__file, char *__const __argv[]) | |
12480 | __attribute__ ((__nothrow__ )) ; | |
12481 | ||
12482 | ||
12483 | ||
12484 | ||
12485 | extern int execlp (__const char *__file, __const char *__arg, ...) | |
12486 | __attribute__ ((__nothrow__ )) ; | |
12487 | ||
12488 | ||
12489 | ||
12490 | ||
12491 | extern int execvpe (__const char *__file, char *__const __argv[], | |
12492 | char *__const __envp[]) | |
12493 | __attribute__ ((__nothrow__ )) ; | |
12494 | ||
12495 | ||
12496 | ||
12497 | ||
12498 | ||
12499 | extern int nice (int __inc) __attribute__ ((__nothrow__ )) ; | |
12500 | ||
12501 | ||
12502 | ||
12503 | ||
12504 | extern void _exit (int __status) __attribute__ ((__noreturn__)); | |
12505 | ||
12506 | ||
12507 | ||
12508 | ||
12509 | ||
12510 | # 1 "../bits/confname.h" 1 | |
12511 | # 26 "../bits/confname.h" | |
12512 | enum | |
12513 | { | |
12514 | _PC_LINK_MAX, | |
12515 | ||
12516 | _PC_MAX_CANON, | |
12517 | ||
12518 | _PC_MAX_INPUT, | |
12519 | ||
12520 | _PC_NAME_MAX, | |
12521 | ||
12522 | _PC_PATH_MAX, | |
12523 | ||
12524 | _PC_PIPE_BUF, | |
12525 | ||
12526 | _PC_CHOWN_RESTRICTED, | |
12527 | ||
12528 | _PC_NO_TRUNC, | |
12529 | ||
12530 | _PC_VDISABLE, | |
12531 | ||
12532 | _PC_SYNC_IO, | |
12533 | ||
12534 | _PC_ASYNC_IO, | |
12535 | ||
12536 | _PC_PRIO_IO, | |
12537 | ||
12538 | _PC_SOCK_MAXBUF, | |
12539 | ||
12540 | _PC_FILESIZEBITS, | |
12541 | ||
12542 | _PC_REC_INCR_XFER_SIZE, | |
12543 | ||
12544 | _PC_REC_MAX_XFER_SIZE, | |
12545 | ||
12546 | _PC_REC_MIN_XFER_SIZE, | |
12547 | ||
12548 | _PC_REC_XFER_ALIGN, | |
12549 | ||
12550 | _PC_ALLOC_SIZE_MIN, | |
12551 | ||
12552 | _PC_SYMLINK_MAX, | |
12553 | ||
12554 | _PC_2_SYMLINKS | |
12555 | ||
12556 | }; | |
12557 | ||
12558 | ||
12559 | enum | |
12560 | { | |
12561 | _SC_ARG_MAX, | |
12562 | ||
12563 | _SC_CHILD_MAX, | |
12564 | ||
12565 | _SC_CLK_TCK, | |
12566 | ||
12567 | _SC_NGROUPS_MAX, | |
12568 | ||
12569 | _SC_OPEN_MAX, | |
12570 | ||
12571 | _SC_STREAM_MAX, | |
12572 | ||
12573 | _SC_TZNAME_MAX, | |
12574 | ||
12575 | _SC_JOB_CONTROL, | |
12576 | ||
12577 | _SC_SAVED_IDS, | |
12578 | ||
12579 | _SC_REALTIME_SIGNALS, | |
12580 | ||
12581 | _SC_PRIORITY_SCHEDULING, | |
12582 | ||
12583 | _SC_TIMERS, | |
12584 | ||
12585 | _SC_ASYNCHRONOUS_IO, | |
12586 | ||
12587 | _SC_PRIORITIZED_IO, | |
12588 | ||
12589 | _SC_SYNCHRONIZED_IO, | |
12590 | ||
12591 | _SC_FSYNC, | |
12592 | ||
12593 | _SC_MAPPED_FILES, | |
12594 | ||
12595 | _SC_MEMLOCK, | |
12596 | ||
12597 | _SC_MEMLOCK_RANGE, | |
12598 | ||
12599 | _SC_MEMORY_PROTECTION, | |
12600 | ||
12601 | _SC_MESSAGE_PASSING, | |
12602 | ||
12603 | _SC_SEMAPHORES, | |
12604 | ||
12605 | _SC_SHARED_MEMORY_OBJECTS, | |
12606 | ||
12607 | _SC_AIO_LISTIO_MAX, | |
12608 | ||
12609 | _SC_AIO_MAX, | |
12610 | ||
12611 | _SC_AIO_PRIO_DELTA_MAX, | |
12612 | ||
12613 | _SC_DELAYTIMER_MAX, | |
12614 | ||
12615 | _SC_MQ_OPEN_MAX, | |
12616 | ||
12617 | _SC_MQ_PRIO_MAX, | |
12618 | ||
12619 | _SC_VERSION, | |
12620 | ||
12621 | _SC_PAGESIZE, | |
12622 | ||
12623 | ||
12624 | _SC_RTSIG_MAX, | |
12625 | ||
12626 | _SC_SEM_NSEMS_MAX, | |
12627 | ||
12628 | _SC_SEM_VALUE_MAX, | |
12629 | ||
12630 | _SC_SIGQUEUE_MAX, | |
12631 | ||
12632 | _SC_TIMER_MAX, | |
12633 | ||
12634 | ||
12635 | ||
12636 | ||
12637 | _SC_BC_BASE_MAX, | |
12638 | ||
12639 | _SC_BC_DIM_MAX, | |
12640 | ||
12641 | _SC_BC_SCALE_MAX, | |
12642 | ||
12643 | _SC_BC_STRING_MAX, | |
12644 | ||
12645 | _SC_COLL_WEIGHTS_MAX, | |
12646 | ||
12647 | _SC_EQUIV_CLASS_MAX, | |
12648 | ||
12649 | _SC_EXPR_NEST_MAX, | |
12650 | ||
12651 | _SC_LINE_MAX, | |
12652 | ||
12653 | _SC_RE_DUP_MAX, | |
12654 | ||
12655 | _SC_CHARCLASS_NAME_MAX, | |
12656 | ||
12657 | ||
12658 | _SC_2_VERSION, | |
12659 | ||
12660 | _SC_2_C_BIND, | |
12661 | ||
12662 | _SC_2_C_DEV, | |
12663 | ||
12664 | _SC_2_FORT_DEV, | |
12665 | ||
12666 | _SC_2_FORT_RUN, | |
12667 | ||
12668 | _SC_2_SW_DEV, | |
12669 | ||
12670 | _SC_2_LOCALEDEF, | |
12671 | ||
12672 | ||
12673 | _SC_PII, | |
12674 | ||
12675 | _SC_PII_XTI, | |
12676 | ||
12677 | _SC_PII_SOCKET, | |
12678 | ||
12679 | _SC_PII_INTERNET, | |
12680 | ||
12681 | _SC_PII_OSI, | |
12682 | ||
12683 | _SC_POLL, | |
12684 | ||
12685 | _SC_SELECT, | |
12686 | ||
12687 | _SC_UIO_MAXIOV, | |
12688 | ||
12689 | _SC_IOV_MAX = _SC_UIO_MAXIOV, | |
12690 | ||
12691 | _SC_PII_INTERNET_STREAM, | |
12692 | ||
12693 | _SC_PII_INTERNET_DGRAM, | |
12694 | ||
12695 | _SC_PII_OSI_COTS, | |
12696 | ||
12697 | _SC_PII_OSI_CLTS, | |
12698 | ||
12699 | _SC_PII_OSI_M, | |
12700 | ||
12701 | _SC_T_IOV_MAX, | |
12702 | ||
12703 | ||
12704 | ||
12705 | _SC_THREADS, | |
12706 | ||
12707 | _SC_THREAD_SAFE_FUNCTIONS, | |
12708 | ||
12709 | _SC_GETGR_R_SIZE_MAX, | |
12710 | ||
12711 | _SC_GETPW_R_SIZE_MAX, | |
12712 | ||
12713 | _SC_LOGIN_NAME_MAX, | |
12714 | ||
12715 | _SC_TTY_NAME_MAX, | |
12716 | ||
12717 | _SC_THREAD_DESTRUCTOR_ITERATIONS, | |
12718 | ||
12719 | _SC_THREAD_KEYS_MAX, | |
12720 | ||
12721 | _SC_THREAD_STACK_MIN, | |
12722 | ||
12723 | _SC_THREAD_THREADS_MAX, | |
12724 | ||
12725 | _SC_THREAD_ATTR_STACKADDR, | |
12726 | ||
12727 | _SC_THREAD_ATTR_STACKSIZE, | |
12728 | ||
12729 | _SC_THREAD_PRIORITY_SCHEDULING, | |
12730 | ||
12731 | _SC_THREAD_PRIO_INHERIT, | |
12732 | ||
12733 | _SC_THREAD_PRIO_PROTECT, | |
12734 | ||
12735 | _SC_THREAD_PROCESS_SHARED, | |
12736 | ||
12737 | ||
12738 | _SC_NPROCESSORS_CONF, | |
12739 | ||
12740 | _SC_NPROCESSORS_ONLN, | |
12741 | ||
12742 | _SC_PHYS_PAGES, | |
12743 | ||
12744 | _SC_AVPHYS_PAGES, | |
12745 | ||
12746 | _SC_ATEXIT_MAX, | |
12747 | ||
12748 | _SC_PASS_MAX, | |
12749 | ||
12750 | ||
12751 | _SC_XOPEN_VERSION, | |
12752 | ||
12753 | _SC_XOPEN_XCU_VERSION, | |
12754 | ||
12755 | _SC_XOPEN_UNIX, | |
12756 | ||
12757 | _SC_XOPEN_CRYPT, | |
12758 | ||
12759 | _SC_XOPEN_ENH_I18N, | |
12760 | ||
12761 | _SC_XOPEN_SHM, | |
12762 | ||
12763 | ||
12764 | _SC_2_CHAR_TERM, | |
12765 | ||
12766 | _SC_2_C_VERSION, | |
12767 | ||
12768 | _SC_2_UPE, | |
12769 | ||
12770 | ||
12771 | _SC_XOPEN_XPG2, | |
12772 | ||
12773 | _SC_XOPEN_XPG3, | |
12774 | ||
12775 | _SC_XOPEN_XPG4, | |
12776 | ||
12777 | ||
12778 | _SC_CHAR_BIT, | |
12779 | ||
12780 | _SC_CHAR_MAX, | |
12781 | ||
12782 | _SC_CHAR_MIN, | |
12783 | ||
12784 | _SC_INT_MAX, | |
12785 | ||
12786 | _SC_INT_MIN, | |
12787 | ||
12788 | _SC_LONG_BIT, | |
12789 | ||
12790 | _SC_WORD_BIT, | |
12791 | ||
12792 | _SC_MB_LEN_MAX, | |
12793 | ||
12794 | _SC_NZERO, | |
12795 | ||
12796 | _SC_SSIZE_MAX, | |
12797 | ||
12798 | _SC_SCHAR_MAX, | |
12799 | ||
12800 | _SC_SCHAR_MIN, | |
12801 | ||
12802 | _SC_SHRT_MAX, | |
12803 | ||
12804 | _SC_SHRT_MIN, | |
12805 | ||
12806 | _SC_UCHAR_MAX, | |
12807 | ||
12808 | _SC_UINT_MAX, | |
12809 | ||
12810 | _SC_ULONG_MAX, | |
12811 | ||
12812 | _SC_USHRT_MAX, | |
12813 | ||
12814 | ||
12815 | _SC_NL_ARGMAX, | |
12816 | ||
12817 | _SC_NL_LANGMAX, | |
12818 | ||
12819 | _SC_NL_MSGMAX, | |
12820 | ||
12821 | _SC_NL_NMAX, | |
12822 | ||
12823 | _SC_NL_SETMAX, | |
12824 | ||
12825 | _SC_NL_TEXTMAX, | |
12826 | ||
12827 | ||
12828 | _SC_XBS5_ILP32_OFF32, | |
12829 | ||
12830 | _SC_XBS5_ILP32_OFFBIG, | |
12831 | ||
12832 | _SC_XBS5_LP64_OFF64, | |
12833 | ||
12834 | _SC_XBS5_LPBIG_OFFBIG, | |
12835 | ||
12836 | ||
12837 | _SC_XOPEN_LEGACY, | |
12838 | ||
12839 | _SC_XOPEN_REALTIME, | |
12840 | ||
12841 | _SC_XOPEN_REALTIME_THREADS, | |
12842 | ||
12843 | ||
12844 | _SC_ADVISORY_INFO, | |
12845 | ||
12846 | _SC_BARRIERS, | |
12847 | ||
12848 | _SC_BASE, | |
12849 | ||
12850 | _SC_C_LANG_SUPPORT, | |
12851 | ||
12852 | _SC_C_LANG_SUPPORT_R, | |
12853 | ||
12854 | _SC_CLOCK_SELECTION, | |
12855 | ||
12856 | _SC_CPUTIME, | |
12857 | ||
12858 | _SC_THREAD_CPUTIME, | |
12859 | ||
12860 | _SC_DEVICE_IO, | |
12861 | ||
12862 | _SC_DEVICE_SPECIFIC, | |
12863 | ||
12864 | _SC_DEVICE_SPECIFIC_R, | |
12865 | ||
12866 | _SC_FD_MGMT, | |
12867 | ||
12868 | _SC_FIFO, | |
12869 | ||
12870 | _SC_PIPE, | |
12871 | ||
12872 | _SC_FILE_ATTRIBUTES, | |
12873 | ||
12874 | _SC_FILE_LOCKING, | |
12875 | ||
12876 | _SC_FILE_SYSTEM, | |
12877 | ||
12878 | _SC_MONOTONIC_CLOCK, | |
12879 | ||
12880 | _SC_MULTI_PROCESS, | |
12881 | ||
12882 | _SC_SINGLE_PROCESS, | |
12883 | ||
12884 | _SC_NETWORKING, | |
12885 | ||
12886 | _SC_READER_WRITER_LOCKS, | |
12887 | ||
12888 | _SC_SPIN_LOCKS, | |
12889 | ||
12890 | _SC_REGEXP, | |
12891 | ||
12892 | _SC_REGEX_VERSION, | |
12893 | ||
12894 | _SC_SHELL, | |
12895 | ||
12896 | _SC_SIGNALS, | |
12897 | ||
12898 | _SC_SPAWN, | |
12899 | ||
12900 | _SC_SPORADIC_SERVER, | |
12901 | ||
12902 | _SC_THREAD_SPORADIC_SERVER, | |
12903 | ||
12904 | _SC_SYSTEM_DATABASE, | |
12905 | ||
12906 | _SC_SYSTEM_DATABASE_R, | |
12907 | ||
12908 | _SC_TIMEOUTS, | |
12909 | ||
12910 | _SC_TYPED_MEMORY_OBJECTS, | |
12911 | ||
12912 | _SC_USER_GROUPS, | |
12913 | ||
12914 | _SC_USER_GROUPS_R, | |
12915 | ||
12916 | _SC_2_PBS, | |
12917 | ||
12918 | _SC_2_PBS_ACCOUNTING, | |
12919 | ||
12920 | _SC_2_PBS_LOCATE, | |
12921 | ||
12922 | _SC_2_PBS_MESSAGE, | |
12923 | ||
12924 | _SC_2_PBS_TRACK, | |
12925 | ||
12926 | _SC_SYMLOOP_MAX, | |
12927 | ||
12928 | _SC_STREAMS, | |
12929 | ||
12930 | _SC_2_PBS_CHECKPOINT, | |
12931 | ||
12932 | ||
12933 | _SC_V6_ILP32_OFF32, | |
12934 | ||
12935 | _SC_V6_ILP32_OFFBIG, | |
12936 | ||
12937 | _SC_V6_LP64_OFF64, | |
12938 | ||
12939 | _SC_V6_LPBIG_OFFBIG, | |
12940 | ||
12941 | ||
12942 | _SC_HOST_NAME_MAX, | |
12943 | ||
12944 | _SC_TRACE, | |
12945 | ||
12946 | _SC_TRACE_EVENT_FILTER, | |
12947 | ||
12948 | _SC_TRACE_INHERIT, | |
12949 | ||
12950 | _SC_TRACE_LOG, | |
12951 | ||
12952 | ||
12953 | _SC_LEVEL1_ICACHE_SIZE, | |
12954 | ||
12955 | _SC_LEVEL1_ICACHE_ASSOC, | |
12956 | ||
12957 | _SC_LEVEL1_ICACHE_LINESIZE, | |
12958 | ||
12959 | _SC_LEVEL1_DCACHE_SIZE, | |
12960 | ||
12961 | _SC_LEVEL1_DCACHE_ASSOC, | |
12962 | ||
12963 | _SC_LEVEL1_DCACHE_LINESIZE, | |
12964 | ||
12965 | _SC_LEVEL2_CACHE_SIZE, | |
12966 | ||
12967 | _SC_LEVEL2_CACHE_ASSOC, | |
12968 | ||
12969 | _SC_LEVEL2_CACHE_LINESIZE, | |
12970 | ||
12971 | _SC_LEVEL3_CACHE_SIZE, | |
12972 | ||
12973 | _SC_LEVEL3_CACHE_ASSOC, | |
12974 | ||
12975 | _SC_LEVEL3_CACHE_LINESIZE, | |
12976 | ||
12977 | _SC_LEVEL4_CACHE_SIZE, | |
12978 | ||
12979 | _SC_LEVEL4_CACHE_ASSOC, | |
12980 | ||
12981 | _SC_LEVEL4_CACHE_LINESIZE, | |
12982 | ||
12983 | ||
12984 | ||
12985 | _SC_IPV6 = _SC_LEVEL1_ICACHE_SIZE + 50, | |
12986 | ||
12987 | _SC_RAW_SOCKETS, | |
12988 | ||
12989 | ||
12990 | _SC_V7_ILP32_OFF32, | |
12991 | ||
12992 | _SC_V7_ILP32_OFFBIG, | |
12993 | ||
12994 | _SC_V7_LP64_OFF64, | |
12995 | ||
12996 | _SC_V7_LPBIG_OFFBIG, | |
12997 | ||
12998 | ||
12999 | _SC_SS_REPL_MAX, | |
13000 | ||
13001 | ||
13002 | _SC_TRACE_EVENT_NAME_MAX, | |
13003 | ||
13004 | _SC_TRACE_NAME_MAX, | |
13005 | ||
13006 | _SC_TRACE_SYS_MAX, | |
13007 | ||
13008 | _SC_TRACE_USER_EVENT_MAX, | |
13009 | ||
13010 | ||
13011 | _SC_XOPEN_STREAMS, | |
13012 | ||
13013 | ||
13014 | _SC_THREAD_ROBUST_PRIO_INHERIT, | |
13015 | ||
13016 | _SC_THREAD_ROBUST_PRIO_PROTECT | |
13017 | ||
13018 | }; | |
13019 | ||
13020 | ||
13021 | enum | |
13022 | { | |
13023 | _CS_PATH, | |
13024 | ||
13025 | ||
13026 | _CS_V6_WIDTH_RESTRICTED_ENVS, | |
13027 | ||
13028 | ||
13029 | ||
13030 | _CS_GNU_LIBC_VERSION, | |
13031 | ||
13032 | _CS_GNU_LIBPTHREAD_VERSION, | |
13033 | ||
13034 | ||
13035 | _CS_V5_WIDTH_RESTRICTED_ENVS, | |
13036 | ||
13037 | ||
13038 | ||
13039 | _CS_V7_WIDTH_RESTRICTED_ENVS, | |
13040 | ||
13041 | ||
13042 | ||
13043 | _CS_LFS_CFLAGS = 1000, | |
13044 | ||
13045 | _CS_LFS_LDFLAGS, | |
13046 | ||
13047 | _CS_LFS_LIBS, | |
13048 | ||
13049 | _CS_LFS_LINTFLAGS, | |
13050 | ||
13051 | _CS_LFS64_CFLAGS, | |
13052 | ||
13053 | _CS_LFS64_LDFLAGS, | |
13054 | ||
13055 | _CS_LFS64_LIBS, | |
13056 | ||
13057 | _CS_LFS64_LINTFLAGS, | |
13058 | ||
13059 | ||
13060 | _CS_XBS5_ILP32_OFF32_CFLAGS = 1100, | |
13061 | ||
13062 | _CS_XBS5_ILP32_OFF32_LDFLAGS, | |
13063 | ||
13064 | _CS_XBS5_ILP32_OFF32_LIBS, | |
13065 | ||
13066 | _CS_XBS5_ILP32_OFF32_LINTFLAGS, | |
13067 | ||
13068 | _CS_XBS5_ILP32_OFFBIG_CFLAGS, | |
13069 | ||
13070 | _CS_XBS5_ILP32_OFFBIG_LDFLAGS, | |
13071 | ||
13072 | _CS_XBS5_ILP32_OFFBIG_LIBS, | |
13073 | ||
13074 | _CS_XBS5_ILP32_OFFBIG_LINTFLAGS, | |
13075 | ||
13076 | _CS_XBS5_LP64_OFF64_CFLAGS, | |
13077 | ||
13078 | _CS_XBS5_LP64_OFF64_LDFLAGS, | |
13079 | ||
13080 | _CS_XBS5_LP64_OFF64_LIBS, | |
13081 | ||
13082 | _CS_XBS5_LP64_OFF64_LINTFLAGS, | |
13083 | ||
13084 | _CS_XBS5_LPBIG_OFFBIG_CFLAGS, | |
13085 | ||
13086 | _CS_XBS5_LPBIG_OFFBIG_LDFLAGS, | |
13087 | ||
13088 | _CS_XBS5_LPBIG_OFFBIG_LIBS, | |
13089 | ||
13090 | _CS_XBS5_LPBIG_OFFBIG_LINTFLAGS, | |
13091 | ||
13092 | ||
13093 | _CS_POSIX_V6_ILP32_OFF32_CFLAGS, | |
13094 | ||
13095 | _CS_POSIX_V6_ILP32_OFF32_LDFLAGS, | |
13096 | ||
13097 | _CS_POSIX_V6_ILP32_OFF32_LIBS, | |
13098 | ||
13099 | _CS_POSIX_V6_ILP32_OFF32_LINTFLAGS, | |
13100 | ||
13101 | _CS_POSIX_V6_ILP32_OFFBIG_CFLAGS, | |
13102 | ||
13103 | _CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS, | |
13104 | ||
13105 | _CS_POSIX_V6_ILP32_OFFBIG_LIBS, | |
13106 | ||
13107 | _CS_POSIX_V6_ILP32_OFFBIG_LINTFLAGS, | |
13108 | ||
13109 | _CS_POSIX_V6_LP64_OFF64_CFLAGS, | |
13110 | ||
13111 | _CS_POSIX_V6_LP64_OFF64_LDFLAGS, | |
13112 | ||
13113 | _CS_POSIX_V6_LP64_OFF64_LIBS, | |
13114 | ||
13115 | _CS_POSIX_V6_LP64_OFF64_LINTFLAGS, | |
13116 | ||
13117 | _CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS, | |
13118 | ||
13119 | _CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS, | |
13120 | ||
13121 | _CS_POSIX_V6_LPBIG_OFFBIG_LIBS, | |
13122 | ||
13123 | _CS_POSIX_V6_LPBIG_OFFBIG_LINTFLAGS, | |
13124 | ||
13125 | ||
13126 | _CS_POSIX_V7_ILP32_OFF32_CFLAGS, | |
13127 | ||
13128 | _CS_POSIX_V7_ILP32_OFF32_LDFLAGS, | |
13129 | ||
13130 | _CS_POSIX_V7_ILP32_OFF32_LIBS, | |
13131 | ||
13132 | _CS_POSIX_V7_ILP32_OFF32_LINTFLAGS, | |
13133 | ||
13134 | _CS_POSIX_V7_ILP32_OFFBIG_CFLAGS, | |
13135 | ||
13136 | _CS_POSIX_V7_ILP32_OFFBIG_LDFLAGS, | |
13137 | ||
13138 | _CS_POSIX_V7_ILP32_OFFBIG_LIBS, | |
13139 | ||
13140 | _CS_POSIX_V7_ILP32_OFFBIG_LINTFLAGS, | |
13141 | ||
13142 | _CS_POSIX_V7_LP64_OFF64_CFLAGS, | |
13143 | ||
13144 | _CS_POSIX_V7_LP64_OFF64_LDFLAGS, | |
13145 | ||
13146 | _CS_POSIX_V7_LP64_OFF64_LIBS, | |
13147 | ||
13148 | _CS_POSIX_V7_LP64_OFF64_LINTFLAGS, | |
13149 | ||
13150 | _CS_POSIX_V7_LPBIG_OFFBIG_CFLAGS, | |
13151 | ||
13152 | _CS_POSIX_V7_LPBIG_OFFBIG_LDFLAGS, | |
13153 | ||
13154 | _CS_POSIX_V7_LPBIG_OFFBIG_LIBS, | |
13155 | ||
13156 | _CS_POSIX_V7_LPBIG_OFFBIG_LINTFLAGS, | |
13157 | ||
13158 | ||
13159 | _CS_V6_ENV, | |
13160 | ||
13161 | _CS_V7_ENV | |
13162 | ||
13163 | }; | |
13164 | # 611 "../posix/unistd.h" 2 | |
13165 | ||
13166 | ||
13167 | extern long int pathconf (__const char *__path, int __name) | |
13168 | __attribute__ ((__nothrow__ )) ; | |
13169 | ||
13170 | ||
13171 | extern long int fpathconf (int __fd, int __name) __attribute__ ((__nothrow__ )); | |
13172 | ||
13173 | ||
13174 | extern long int sysconf (int __name) __attribute__ ((__nothrow__ )); | |
13175 | ||
13176 | ||
13177 | ||
13178 | extern size_t confstr (int __name, char *__buf, size_t __len) __attribute__ ((__nothrow__ )); | |
13179 | ||
13180 | ||
13181 | ||
13182 | ||
13183 | extern __pid_t getpid (void) __attribute__ ((__nothrow__ )); | |
13184 | ||
13185 | ||
13186 | extern __pid_t getppid (void) __attribute__ ((__nothrow__ )); | |
13187 | ||
13188 | ||
13189 | ||
13190 | ||
13191 | extern __pid_t getpgrp (void) __attribute__ ((__nothrow__ )); | |
13192 | # 647 "../posix/unistd.h" | |
13193 | extern __pid_t __getpgid (__pid_t __pid) __attribute__ ((__nothrow__ )); | |
13194 | ||
13195 | extern __pid_t getpgid (__pid_t __pid) __attribute__ ((__nothrow__ )); | |
13196 | ||
13197 | ||
13198 | ||
13199 | ||
13200 | ||
13201 | ||
13202 | extern int setpgid (__pid_t __pid, __pid_t __pgid) __attribute__ ((__nothrow__ )); | |
13203 | # 673 "../posix/unistd.h" | |
13204 | extern int setpgrp (void) __attribute__ ((__nothrow__ )); | |
13205 | # 690 "../posix/unistd.h" | |
13206 | extern __pid_t setsid (void) __attribute__ ((__nothrow__ )); | |
13207 | ||
13208 | ||
13209 | ||
13210 | extern __pid_t getsid (__pid_t __pid) __attribute__ ((__nothrow__ )); | |
13211 | ||
13212 | ||
13213 | ||
13214 | extern __uid_t getuid (void) __attribute__ ((__nothrow__ )); | |
13215 | ||
13216 | ||
13217 | extern __uid_t geteuid (void) __attribute__ ((__nothrow__ )); | |
13218 | ||
13219 | ||
13220 | extern __gid_t getgid (void) __attribute__ ((__nothrow__ )); | |
13221 | ||
13222 | ||
13223 | extern __gid_t getegid (void) __attribute__ ((__nothrow__ )); | |
13224 | ||
13225 | ||
13226 | ||
13227 | ||
13228 | extern int getgroups (int __size, __gid_t __list[]) __attribute__ ((__nothrow__ )) ; | |
13229 | ||
13230 | ||
13231 | ||
13232 | extern int group_member (__gid_t __gid) __attribute__ ((__nothrow__ )); | |
13233 | ||
13234 | ||
13235 | ||
13236 | ||
13237 | ||
13238 | ||
13239 | extern int setuid (__uid_t __uid) __attribute__ ((__nothrow__ )); | |
13240 | ||
13241 | ||
13242 | ||
13243 | ||
13244 | extern int setreuid (__uid_t __ruid, __uid_t __euid) __attribute__ ((__nothrow__ )); | |
13245 | ||
13246 | ||
13247 | ||
13248 | ||
13249 | extern int seteuid (__uid_t __uid) __attribute__ ((__nothrow__ )); | |
13250 | ||
13251 | ||
13252 | ||
13253 | ||
13254 | ||
13255 | ||
13256 | extern int setgid (__gid_t __gid) __attribute__ ((__nothrow__ )); | |
13257 | ||
13258 | ||
13259 | ||
13260 | ||
13261 | extern int setregid (__gid_t __rgid, __gid_t __egid) __attribute__ ((__nothrow__ )); | |
13262 | ||
13263 | ||
13264 | ||
13265 | ||
13266 | extern int setegid (__gid_t __gid) __attribute__ ((__nothrow__ )); | |
13267 | ||
13268 | ||
13269 | ||
13270 | ||
13271 | ||
13272 | extern int getresuid (__uid_t *__ruid, __uid_t *__euid, __uid_t *__suid) | |
13273 | __attribute__ ((__nothrow__ )); | |
13274 | ||
13275 | ||
13276 | ||
13277 | extern int getresgid (__gid_t *__rgid, __gid_t *__egid, __gid_t *__sgid) | |
13278 | __attribute__ ((__nothrow__ )); | |
13279 | ||
13280 | ||
13281 | ||
13282 | extern int setresuid (__uid_t __ruid, __uid_t __euid, __uid_t __suid) | |
13283 | __attribute__ ((__nothrow__ )); | |
13284 | ||
13285 | ||
13286 | ||
13287 | extern int setresgid (__gid_t __rgid, __gid_t __egid, __gid_t __sgid) | |
13288 | __attribute__ ((__nothrow__ )); | |
13289 | ||
13290 | ||
13291 | ||
13292 | ||
13293 | ||
13294 | ||
13295 | extern __pid_t fork (void) __attribute__ ((__nothrow__)); | |
13296 | ||
13297 | ||
13298 | ||
13299 | ||
13300 | ||
13301 | ||
13302 | ||
13303 | extern __pid_t vfork (void) __attribute__ ((__nothrow__ )); | |
13304 | ||
13305 | ||
13306 | ||
13307 | ||
13308 | ||
13309 | extern char *ttyname (int __fd) __attribute__ ((__nothrow__ )); | |
13310 | ||
13311 | ||
13312 | ||
13313 | extern int ttyname_r (int __fd, char *__buf, size_t __buflen) | |
13314 | __attribute__ ((__nothrow__ )) ; | |
13315 | ||
13316 | ||
13317 | ||
13318 | extern int isatty (int __fd) __attribute__ ((__nothrow__ )); | |
13319 | ||
13320 | ||
13321 | ||
13322 | ||
13323 | ||
13324 | extern int ttyslot (void) __attribute__ ((__nothrow__ )); | |
13325 | ||
13326 | ||
13327 | ||
13328 | ||
13329 | extern int link (__const char *__from, __const char *__to) | |
13330 | __attribute__ ((__nothrow__ )) ; | |
13331 | ||
13332 | ||
13333 | ||
13334 | ||
13335 | extern int linkat (int __fromfd, __const char *__from, int __tofd, | |
13336 | __const char *__to, int __flags) | |
13337 | __attribute__ ((__nothrow__ )) ; | |
13338 | ||
13339 | ||
13340 | ||
13341 | ||
13342 | extern int symlink (__const char *__from, __const char *__to) | |
13343 | __attribute__ ((__nothrow__ )) ; | |
13344 | ||
13345 | ||
13346 | ||
13347 | ||
13348 | extern ssize_t readlink (__const char *__restrict __path, | |
13349 | char *__restrict __buf, size_t __len) | |
13350 | __attribute__ ((__nothrow__ )) ; | |
13351 | ||
13352 | ||
13353 | ||
13354 | ||
13355 | extern int symlinkat (__const char *__from, int __tofd, | |
13356 | __const char *__to) __attribute__ ((__nothrow__ )) ; | |
13357 | ||
13358 | ||
13359 | extern ssize_t readlinkat (int __fd, __const char *__restrict __path, | |
13360 | char *__restrict __buf, size_t __len) | |
13361 | __attribute__ ((__nothrow__ )) ; | |
13362 | ||
13363 | ||
13364 | ||
13365 | extern int unlink (__const char *__name) __attribute__ ((__nothrow__ )) ; | |
13366 | ||
13367 | ||
13368 | ||
13369 | extern int unlinkat (int __fd, __const char *__name, int __flag) | |
13370 | __attribute__ ((__nothrow__ )) ; | |
13371 | ||
13372 | ||
13373 | ||
13374 | extern int rmdir (__const char *__path) __attribute__ ((__nothrow__ )) ; | |
13375 | ||
13376 | ||
13377 | ||
13378 | extern __pid_t tcgetpgrp (int __fd) __attribute__ ((__nothrow__ )); | |
13379 | ||
13380 | ||
13381 | extern int tcsetpgrp (int __fd, __pid_t __pgrp_id) __attribute__ ((__nothrow__ )); | |
13382 | ||
13383 | ||
13384 | ||
13385 | ||
13386 | ||
13387 | ||
13388 | extern char *getlogin (void); | |
13389 | ||
13390 | ||
13391 | ||
13392 | ||
13393 | ||
13394 | ||
13395 | ||
13396 | extern int getlogin_r (char *__name, size_t __name_len) ; | |
13397 | ||
13398 | ||
13399 | ||
13400 | ||
13401 | extern int setlogin (__const char *__name) __attribute__ ((__nothrow__ )) ; | |
13402 | # 894 "../posix/unistd.h" | |
13403 | # 1 "../include/getopt.h" 1 | |
13404 | ||
13405 | ||
13406 | ||
13407 | # 1 "../posix/getopt.h" 1 | |
13408 | # 59 "../posix/getopt.h" | |
13409 | extern char *optarg; | |
13410 | # 73 "../posix/getopt.h" | |
13411 | extern int optind; | |
13412 | ||
13413 | ||
13414 | ||
13415 | ||
13416 | extern int opterr; | |
13417 | ||
13418 | ||
13419 | ||
13420 | extern int optopt; | |
13421 | # 152 "../posix/getopt.h" | |
13422 | extern int getopt (int ___argc, char *const *___argv, const char *__shortopts) | |
13423 | __attribute__ ((__nothrow__ )); | |
13424 | # 5 "../include/getopt.h" 2 | |
13425 | # 895 "../posix/unistd.h" 2 | |
13426 | ||
13427 | ||
13428 | ||
13429 | ||
13430 | ||
13431 | ||
13432 | ||
13433 | extern int gethostname (char *__name, size_t __len) __attribute__ ((__nothrow__ )) ; | |
13434 | ||
13435 | ||
13436 | ||
13437 | ||
13438 | ||
13439 | ||
13440 | extern int sethostname (__const char *__name, size_t __len) | |
13441 | __attribute__ ((__nothrow__ )) ; | |
13442 | ||
13443 | ||
13444 | ||
13445 | extern int sethostid (long int __id) __attribute__ ((__nothrow__ )) ; | |
13446 | ||
13447 | ||
13448 | ||
13449 | ||
13450 | ||
13451 | extern int getdomainname (char *__name, size_t __len) | |
13452 | __attribute__ ((__nothrow__ )) ; | |
13453 | extern int setdomainname (__const char *__name, size_t __len) | |
13454 | __attribute__ ((__nothrow__ )) ; | |
13455 | ||
13456 | ||
13457 | ||
13458 | ||
13459 | ||
13460 | extern int vhangup (void) __attribute__ ((__nothrow__ )); | |
13461 | ||
13462 | ||
13463 | extern int revoke (__const char *__file) __attribute__ ((__nothrow__ )) ; | |
13464 | ||
13465 | ||
13466 | ||
13467 | ||
13468 | ||
13469 | ||
13470 | ||
13471 | extern int profil (unsigned short int *__sample_buffer, size_t __size, | |
13472 | size_t __offset, unsigned int __scale) | |
13473 | __attribute__ ((__nothrow__ )) ; | |
13474 | ||
13475 | ||
13476 | ||
13477 | ||
13478 | ||
13479 | extern int acct (__const char *__name) __attribute__ ((__nothrow__ )); | |
13480 | ||
13481 | ||
13482 | ||
13483 | extern char *getusershell (void) __attribute__ ((__nothrow__ )); | |
13484 | extern void endusershell (void) __attribute__ ((__nothrow__ )); | |
13485 | extern void setusershell (void) __attribute__ ((__nothrow__ )); | |
13486 | ||
13487 | ||
13488 | ||
13489 | ||
13490 | ||
13491 | extern int daemon (int __nochdir, int __noclose) __attribute__ ((__nothrow__ )) ; | |
13492 | ||
13493 | ||
13494 | ||
13495 | ||
13496 | ||
13497 | ||
13498 | extern int chroot (__const char *__path) __attribute__ ((__nothrow__ )) ; | |
13499 | ||
13500 | ||
13501 | ||
13502 | extern char *getpass (__const char *__prompt) ; | |
13503 | # 980 "../posix/unistd.h" | |
13504 | extern int fsync (int __fd); | |
13505 | ||
13506 | ||
13507 | ||
13508 | ||
13509 | ||
13510 | ||
13511 | extern int syncfs (int __fd) __attribute__ ((__nothrow__ )); | |
13512 | ||
13513 | ||
13514 | ||
13515 | ||
13516 | ||
13517 | ||
13518 | extern long int gethostid (void); | |
13519 | ||
13520 | ||
13521 | extern void sync (void) __attribute__ ((__nothrow__ )); | |
13522 | ||
13523 | ||
13524 | ||
13525 | ||
13526 | ||
13527 | extern int getpagesize (void) __attribute__ ((__nothrow__ )) __attribute__ ((__const__)); | |
13528 | ||
13529 | ||
13530 | ||
13531 | ||
13532 | extern int getdtablesize (void) __attribute__ ((__nothrow__ )); | |
13533 | # 1018 "../posix/unistd.h" | |
13534 | extern int truncate (__const char *__file, __off_t __length) | |
13535 | __attribute__ ((__nothrow__ )) ; | |
13536 | # 1030 "../posix/unistd.h" | |
13537 | extern int truncate64 (__const char *__file, __off64_t __length) | |
13538 | __attribute__ ((__nothrow__ )) ; | |
13539 | # 1040 "../posix/unistd.h" | |
13540 | extern int ftruncate (int __fd, __off_t __length) __attribute__ ((__nothrow__ )) ; | |
13541 | # 1050 "../posix/unistd.h" | |
13542 | extern int ftruncate64 (int __fd, __off64_t __length) __attribute__ ((__nothrow__ )) ; | |
13543 | # 1061 "../posix/unistd.h" | |
13544 | extern int brk (void *__addr) __attribute__ ((__nothrow__ )) ; | |
13545 | ||
13546 | ||
13547 | ||
13548 | ||
13549 | ||
13550 | extern void *sbrk (intptr_t __delta) __attribute__ ((__nothrow__ )); | |
13551 | # 1082 "../posix/unistd.h" | |
13552 | extern long int syscall (long int __sysno, ...) __attribute__ ((__nothrow__ )); | |
13553 | # 1105 "../posix/unistd.h" | |
13554 | extern int lockf (int __fd, int __cmd, __off_t __len) ; | |
13555 | # 1115 "../posix/unistd.h" | |
13556 | extern int lockf64 (int __fd, int __cmd, __off64_t __len) ; | |
13557 | # 1136 "../posix/unistd.h" | |
13558 | extern int fdatasync (int __fildes); | |
13559 | ||
13560 | ||
13561 | ||
13562 | ||
13563 | ||
13564 | ||
13565 | ||
13566 | extern char *crypt (__const char *__key, __const char *__salt) | |
13567 | __attribute__ ((__nothrow__ )) ; | |
13568 | ||
13569 | ||
13570 | ||
13571 | extern void encrypt (char *__block, int __edflag) __attribute__ ((__nothrow__ )) ; | |
13572 | ||
13573 | ||
13574 | ||
13575 | ||
13576 | ||
13577 | ||
13578 | extern void swab (__const void *__restrict __from, void *__restrict __to, | |
13579 | ssize_t __n) __attribute__ ((__nothrow__ )) ; | |
13580 | ||
13581 | ||
13582 | ||
13583 | ||
13584 | ||
13585 | ||
13586 | ||
13587 | extern char *ctermid (char *__s) __attribute__ ((__nothrow__ )); | |
13588 | # 1174 "../posix/unistd.h" | |
13589 | ||
13590 | # 3 "../include/unistd.h" 2 | |
13591 | ||
13592 | ||
13593 | ||
13594 | ||
13595 | ||
13596 | ||
13597 | ||
13598 | ||
13599 | ||
13600 | ||
13601 | ||
13602 | ||
13603 | ||
13604 | ||
13605 | ||
13606 | ||
13607 | ||
13608 | ||
13609 | ||
13610 | ||
13611 | extern int __access (__const char *__name, int __type); | |
13612 | extern int __euidaccess (__const char *__name, int __type); | |
13613 | extern __off64_t __lseek64 (int __fd, __off64_t __offset, int __whence); | |
13614 | extern __off_t __lseek (int __fd, __off_t __offset, int __whence); | |
13615 | ||
13616 | extern __off_t __libc_lseek (int __fd, __off_t __offset, int __whence); | |
13617 | extern __off64_t __libc_lseek64 (int __fd, __off64_t __offset, int __whence); | |
13618 | extern ssize_t __pread (int __fd, void *__buf, size_t __nbytes, | |
13619 | __off_t __offset); | |
13620 | extern ssize_t __libc_pread (int __fd, void *__buf, size_t __nbytes, | |
13621 | __off_t __offset); | |
13622 | extern ssize_t __pread64 (int __fd, void *__buf, size_t __nbytes, | |
13623 | __off64_t __offset); | |
13624 | extern ssize_t __libc_pread64 (int __fd, void *__buf, size_t __nbytes, | |
13625 | __off64_t __offset); | |
13626 | extern ssize_t __pwrite (int __fd, __const void *__buf, size_t __n, | |
13627 | __off_t __offset); | |
13628 | extern ssize_t __libc_pwrite (int __fd, __const void *__buf, size_t __n, | |
13629 | __off_t __offset); | |
13630 | extern ssize_t __pwrite64 (int __fd, __const void *__buf, size_t __n, | |
13631 | __off64_t __offset); | |
13632 | ||
13633 | extern ssize_t __libc_pwrite64 (int __fd, __const void *__buf, size_t __n, | |
13634 | __off64_t __offset); | |
13635 | extern ssize_t __libc_read (int __fd, void *__buf, size_t __n); | |
13636 | ||
13637 | extern ssize_t __libc_write (int __fd, __const void *__buf, size_t __n); | |
13638 | ||
13639 | extern int __pipe (int __pipedes[2]); | |
13640 | ||
13641 | extern int __pipe2 (int __pipedes[2], int __flags); | |
13642 | extern unsigned int __sleep (unsigned int __seconds); | |
13643 | extern int __chown (__const char *__file, | |
13644 | __uid_t __owner, __gid_t __group); | |
13645 | ||
13646 | extern int __fchown (int __fd, | |
13647 | __uid_t __owner, __gid_t __group); | |
13648 | extern int __lchown (__const char *__file, __uid_t __owner, | |
13649 | __gid_t __group); | |
13650 | extern int __chdir (__const char *__path); | |
13651 | extern int __fchdir (int __fd); | |
13652 | extern char *__getcwd (char *__buf, size_t __size); | |
13653 | extern int __rmdir (const char *__path); | |
13654 | extern int __execvpe (const char *file, char *const argv[], | |
13655 | char *const envp[]); | |
13656 | ||
13657 | ||
13658 | ||
13659 | ||
13660 | ||
13661 | ||
13662 | ||
13663 | char *__canonicalize_directory_name_internal (__const char *__thisdir, | |
13664 | char *__buf, | |
13665 | size_t __size) ; | |
13666 | ||
13667 | extern int __dup (int __fd); | |
13668 | extern int __dup2 (int __fd, int __fd2); | |
13669 | ||
13670 | ||
13671 | extern int __execve (__const char *__path, char *__const __argv[], | |
13672 | char *__const __envp[]); | |
13673 | extern long int __pathconf (__const char *__path, int __name); | |
13674 | extern long int __fpathconf (int __fd, int __name); | |
13675 | extern long int __sysconf (int __name); | |
13676 | ||
13677 | extern __pid_t __getpid (void); | |
13678 | ||
13679 | extern __pid_t __getppid (void); | |
13680 | extern __pid_t __setsid (void); | |
13681 | extern __uid_t __getuid (void); | |
13682 | extern __uid_t __geteuid (void); | |
13683 | extern __gid_t __getgid (void); | |
13684 | extern __gid_t __getegid (void); | |
13685 | extern int __getgroups (int __size, __gid_t __list[]); | |
13686 | ||
13687 | extern int __group_member (__gid_t __gid); | |
13688 | extern int __setuid (__uid_t __uid); | |
13689 | extern int __setreuid (__uid_t __ruid, __uid_t __euid); | |
13690 | extern int __setgid (__gid_t __gid); | |
13691 | extern int __setpgid (__pid_t __pid, __pid_t __pgid); | |
13692 | ||
13693 | extern int __setregid (__gid_t __rgid, __gid_t __egid); | |
13694 | extern int __getresuid (__uid_t *__ruid, __uid_t *__euid, __uid_t *__suid); | |
13695 | extern int __getresgid (__gid_t *__rgid, __gid_t *__egid, __gid_t *__sgid); | |
13696 | extern int __setresuid (__uid_t __ruid, __uid_t __euid, __uid_t __suid); | |
13697 | extern int __setresgid (__gid_t __rgid, __gid_t __egid, __gid_t __sgid); | |
13698 | ||
13699 | ||
13700 | ||
13701 | ||
13702 | extern __pid_t __vfork (void); | |
13703 | ||
13704 | extern int __ttyname_r (int __fd, char *__buf, size_t __buflen); | |
13705 | extern int __isatty (int __fd); | |
13706 | extern int __link (__const char *__from, __const char *__to); | |
13707 | extern int __symlink (__const char *__from, __const char *__to); | |
13708 | extern ssize_t __readlink (__const char *__path, char *__buf, size_t __len); | |
13709 | extern int __unlink (__const char *__name); | |
13710 | extern int __gethostname (char *__name, size_t __len); | |
13711 | extern int __profil (unsigned short int *__sample_buffer, size_t __size, | |
13712 | size_t __offset, unsigned int __scale); | |
13713 | extern int __getdtablesize (void); | |
13714 | extern int __brk (void *__addr); | |
13715 | extern int __close (int __fd); | |
13716 | ||
13717 | extern int __libc_close (int __fd); | |
13718 | extern ssize_t __read (int __fd, void *__buf, size_t __nbytes); | |
13719 | ||
13720 | extern ssize_t __write (int __fd, __const void *__buf, size_t __n); | |
13721 | ||
13722 | extern __pid_t __fork (void); | |
13723 | ||
13724 | extern int __getpagesize (void) __attribute__ ((__const__)); | |
13725 | ||
13726 | extern int __ftruncate (int __fd, __off_t __length); | |
13727 | extern int __ftruncate64 (int __fd, __off64_t __length); | |
13728 | extern int __truncate (const char *path, __off_t __length); | |
13729 | extern void *__sbrk (intptr_t __delta); | |
13730 | ||
13731 | ||
13732 | ||
13733 | ||
13734 | ||
13735 | ||
13736 | ||
13737 | ||
13738 | extern int __libc_enable_secure __attribute__ ((section (".data.rel.ro"))); | |
13739 | extern int __libc_enable_secure_decided; | |
13740 | ||
13741 | ||
13742 | ||
13743 | ||
13744 | ||
13745 | ||
13746 | ||
13747 | extern void __libc_check_standard_fds (void); | |
13748 | ||
13749 | ||
13750 | ||
13751 | extern void __exit_thread (int val) __attribute__ ((noreturn)); | |
13752 | ||
13753 | ||
13754 | extern __pid_t __libc_fork (void); | |
13755 | ||
13756 | ||
13757 | ||
13758 | extern int __libc_pause (void); | |
13759 | ||
13760 | extern int __pause_nocancel (void) ; | |
13761 | ||
13762 | extern int __have_sock_cloexec; | |
13763 | extern int __have_pipe2; | |
13764 | extern int __have_dup3; | |
13765 | ||
13766 | extern int __getlogin_r_loginuid (char *name, size_t namesize) | |
13767 | ; | |
13768 | ||
13769 | ||
13770 | # 774 "../libio/libioP.h" 2 | |
13771 | # 1 "../include/fcntl.h" 1 | |
13772 | ||
13773 | # 1 "../io/fcntl.h" 1 | |
13774 | # 30 "../io/fcntl.h" | |
13775 | ||
13776 | ||
13777 | ||
13778 | ||
13779 | # 1 "../ports/sysdeps/unix/sysv/linux/arm/bits/fcntl.h" 1 | |
13780 | # 25 "../ports/sysdeps/unix/sysv/linux/arm/bits/fcntl.h" | |
13781 | # 1 "../include/sys/types.h" 1 | |
13782 | # 26 "../ports/sysdeps/unix/sysv/linux/arm/bits/fcntl.h" 2 | |
13783 | ||
13784 | # 1 "../sysdeps/unix/sysv/linux/bits/uio.h" 1 | |
13785 | # 28 "../ports/sysdeps/unix/sysv/linux/arm/bits/fcntl.h" 2 | |
13786 | # 153 "../ports/sysdeps/unix/sysv/linux/arm/bits/fcntl.h" | |
13787 | struct flock | |
13788 | { | |
13789 | short int l_type; | |
13790 | short int l_whence; | |
13791 | ||
13792 | __off_t l_start; | |
13793 | __off_t l_len; | |
13794 | ||
13795 | ||
13796 | ||
13797 | ||
13798 | __pid_t l_pid; | |
13799 | }; | |
13800 | ||
13801 | ||
13802 | struct flock64 | |
13803 | { | |
13804 | short int l_type; | |
13805 | short int l_whence; | |
13806 | __off64_t l_start; | |
13807 | __off64_t l_len; | |
13808 | __pid_t l_pid; | |
13809 | }; | |
13810 | ||
13811 | ||
13812 | ||
13813 | ||
13814 | enum __pid_type | |
13815 | { | |
13816 | F_OWNER_TID = 0, | |
13817 | F_OWNER_PID, | |
13818 | F_OWNER_PGRP, | |
13819 | F_OWNER_GID = F_OWNER_PGRP | |
13820 | }; | |
13821 | ||
13822 | ||
13823 | struct f_owner_ex | |
13824 | { | |
13825 | enum __pid_type type; | |
13826 | __pid_t pid; | |
13827 | }; | |
13828 | # 239 "../ports/sysdeps/unix/sysv/linux/arm/bits/fcntl.h" | |
13829 | struct file_handle | |
13830 | { | |
13831 | unsigned int handle_bytes; | |
13832 | int handle_type; | |
13833 | ||
13834 | unsigned char f_handle[0]; | |
13835 | }; | |
13836 | ||
13837 | ||
13838 | ||
13839 | ||
13840 | ||
13841 | ||
13842 | ||
13843 | ||
13844 | ||
13845 | ||
13846 | extern ssize_t readahead (int __fd, __off64_t __offset, size_t __count) | |
13847 | __attribute__ ((__nothrow__ )); | |
13848 | ||
13849 | ||
13850 | ||
13851 | extern int sync_file_range (int __fd, __off64_t __offset, __off64_t __count, | |
13852 | unsigned int __flags); | |
13853 | ||
13854 | ||
13855 | ||
13856 | ||
13857 | ||
13858 | ||
13859 | extern ssize_t vmsplice (int __fdout, const struct iovec *__iov, | |
13860 | size_t __count, unsigned int __flags); | |
13861 | ||
13862 | ||
13863 | ||
13864 | ||
13865 | ||
13866 | extern ssize_t splice (int __fdin, __off64_t *__offin, int __fdout, | |
13867 | __off64_t *__offout, size_t __len, | |
13868 | unsigned int __flags); | |
13869 | ||
13870 | ||
13871 | ||
13872 | ||
13873 | ||
13874 | extern ssize_t tee (int __fdin, int __fdout, size_t __len, | |
13875 | unsigned int __flags); | |
13876 | ||
13877 | ||
13878 | ||
13879 | ||
13880 | ||
13881 | ||
13882 | extern int fallocate (int __fd, int __mode, __off_t __offset, __off_t __len); | |
13883 | # 303 "../ports/sysdeps/unix/sysv/linux/arm/bits/fcntl.h" | |
13884 | extern int fallocate64 (int __fd, int __mode, __off64_t __offset, | |
13885 | __off64_t __len); | |
13886 | ||
13887 | ||
13888 | ||
13889 | ||
13890 | extern int name_to_handle_at (int __dfd, const char *__name, | |
13891 | struct file_handle *__handle, int *__mnt_id, | |
13892 | int __flags) __attribute__ ((__nothrow__ )); | |
13893 | ||
13894 | ||
13895 | ||
13896 | ||
13897 | ||
13898 | extern int open_by_handle_at (int __mountdirfd, struct file_handle *__handle, | |
13899 | int __flags); | |
13900 | ||
13901 | ||
13902 | ||
13903 | ||
13904 | # 35 "../io/fcntl.h" 2 | |
13905 | ||
13906 | ||
13907 | ||
13908 | ||
13909 | ||
13910 | ||
13911 | # 1 "../sysdeps/unix/sysv/linux/bits/stat.h" 1 | |
13912 | # 42 "../io/fcntl.h" 2 | |
13913 | # 125 "../io/fcntl.h" | |
13914 | extern int fcntl (int __fd, int __cmd, ...); | |
13915 | # 134 "../io/fcntl.h" | |
13916 | extern int open (__const char *__file, int __oflag, ...) ; | |
13917 | # 144 "../io/fcntl.h" | |
13918 | extern int open64 (__const char *__file, int __oflag, ...) ; | |
13919 | # 158 "../io/fcntl.h" | |
13920 | extern int openat (int __fd, __const char *__file, int __oflag, ...) | |
13921 | ; | |
13922 | # 169 "../io/fcntl.h" | |
13923 | extern int openat64 (int __fd, __const char *__file, int __oflag, ...) | |
13924 | ; | |
13925 | # 180 "../io/fcntl.h" | |
13926 | extern int creat (__const char *__file, __mode_t __mode) ; | |
13927 | # 190 "../io/fcntl.h" | |
13928 | extern int creat64 (__const char *__file, __mode_t __mode) ; | |
13929 | # 226 "../io/fcntl.h" | |
13930 | extern int posix_fadvise (int __fd, __off_t __offset, __off_t __len, | |
13931 | int __advise) __attribute__ ((__nothrow__ )); | |
13932 | # 238 "../io/fcntl.h" | |
13933 | extern int posix_fadvise64 (int __fd, __off64_t __offset, __off64_t __len, | |
13934 | int __advise) __attribute__ ((__nothrow__ )); | |
13935 | # 248 "../io/fcntl.h" | |
13936 | extern int posix_fallocate (int __fd, __off_t __offset, __off_t __len); | |
13937 | # 259 "../io/fcntl.h" | |
13938 | extern int posix_fallocate64 (int __fd, __off64_t __offset, __off64_t __len); | |
13939 | # 270 "../io/fcntl.h" | |
13940 | ||
13941 | # 3 "../include/fcntl.h" 2 | |
13942 | ||
13943 | ||
13944 | extern int __open64 (__const char *__file, int __oflag, ...); | |
13945 | ||
13946 | extern int __libc_open64 (const char *file, int oflag, ...); | |
13947 | extern int __libc_open (const char *file, int oflag, ...); | |
13948 | ||
13949 | extern int __libc_creat (const char *file, mode_t mode); | |
13950 | extern int __libc_fcntl (int fd, int cmd, ...); | |
13951 | ||
13952 | extern int __fcntl_nocancel (int fd, int cmd, ...) ; | |
13953 | ||
13954 | ||
13955 | extern int __open (__const char *__file, int __oflag, ...); | |
13956 | ||
13957 | extern int __fcntl (int __fd, int __cmd, ...); | |
13958 | ||
13959 | extern int __openat (int __fd, __const char *__file, int __oflag, ...) | |
13960 | ; | |
13961 | ||
13962 | extern int __openat64 (int __fd, __const char *__file, int __oflag, ...) | |
13963 | ; | |
13964 | ||
13965 | ||
13966 | extern int __open_2 (__const char *__path, int __oflag); | |
13967 | extern int __open64_2 (__const char *__path, int __oflag); | |
13968 | extern int __openat_2 (int __fd, __const char *__path, int __oflag); | |
13969 | extern int __openat64_2 (int __fd, __const char *__path, int __oflag); | |
13970 | ||
13971 | ||
13972 | ||
13973 | extern void __atfct_seterrno (int errval, int fd, const char *buf) | |
13974 | ; | |
13975 | extern void __atfct_seterrno_2 (int errval, int fd1, const char *buf1, | |
13976 | int fd2, const char *buf2) | |
13977 | ; | |
13978 | ||
13979 | ||
13980 | ||
13981 | extern int __have_atfcts ; | |
13982 | ||
13983 | ||
13984 | extern int __have_o_cloexec ; | |
13985 | # 775 "../libio/libioP.h" 2 | |
13986 | # 1 "../include/sys/mman.h" 1 | |
13987 | ||
13988 | # 1 "../misc/sys/mman.h" 1 | |
13989 | # 26 "../misc/sys/mman.h" | |
13990 | # 1 "/usr/lib/gcc/armv5te-iwmmxt-linux-gnueabi/4.7.3/include/stddef.h" 1 3 4 | |
13991 | # 27 "../misc/sys/mman.h" 2 | |
13992 | # 42 "../misc/sys/mman.h" | |
13993 | # 1 "../ports/sysdeps/unix/sysv/linux/arm/bits/mman.h" 1 | |
13994 | # 43 "../misc/sys/mman.h" 2 | |
13995 | ||
13996 | ||
13997 | ||
13998 | ||
13999 | ||
14000 | # 58 "../misc/sys/mman.h" | |
14001 | extern void *mmap (void *__addr, size_t __len, int __prot, | |
14002 | int __flags, int __fd, __off_t __offset) __attribute__ ((__nothrow__ )); | |
14003 | # 71 "../misc/sys/mman.h" | |
14004 | extern void *mmap64 (void *__addr, size_t __len, int __prot, | |
14005 | int __flags, int __fd, __off64_t __offset) __attribute__ ((__nothrow__ )); | |
14006 | ||
14007 | ||
14008 | ||
14009 | ||
14010 | extern int munmap (void *__addr, size_t __len) __attribute__ ((__nothrow__ )); | |
14011 | ||
14012 | ||
14013 | ||
14014 | ||
14015 | extern int mprotect (void *__addr, size_t __len, int __prot) __attribute__ ((__nothrow__ )); | |
14016 | ||
14017 | ||
14018 | ||
14019 | ||
14020 | ||
14021 | ||
14022 | ||
14023 | extern int msync (void *__addr, size_t __len, int __flags); | |
14024 | ||
14025 | ||
14026 | ||
14027 | ||
14028 | extern int madvise (void *__addr, size_t __len, int __advice) __attribute__ ((__nothrow__ )); | |
14029 | ||
14030 | ||
14031 | ||
14032 | extern int posix_madvise (void *__addr, size_t __len, int __advice) __attribute__ ((__nothrow__ )); | |
14033 | ||
14034 | ||
14035 | ||
14036 | ||
14037 | extern int mlock (__const void *__addr, size_t __len) __attribute__ ((__nothrow__ )); | |
14038 | ||
14039 | ||
14040 | extern int munlock (__const void *__addr, size_t __len) __attribute__ ((__nothrow__ )); | |
14041 | ||
14042 | ||
14043 | ||
14044 | ||
14045 | extern int mlockall (int __flags) __attribute__ ((__nothrow__ )); | |
14046 | ||
14047 | ||
14048 | ||
14049 | extern int munlockall (void) __attribute__ ((__nothrow__ )); | |
14050 | ||
14051 | ||
14052 | ||
14053 | ||
14054 | ||
14055 | ||
14056 | ||
14057 | extern int mincore (void *__start, size_t __len, unsigned char *__vec) | |
14058 | __attribute__ ((__nothrow__ )); | |
14059 | # 134 "../misc/sys/mman.h" | |
14060 | extern void *mremap (void *__addr, size_t __old_len, size_t __new_len, | |
14061 | int __flags, ...) __attribute__ ((__nothrow__ )); | |
14062 | ||
14063 | ||
14064 | ||
14065 | extern int remap_file_pages (void *__start, size_t __size, int __prot, | |
14066 | size_t __pgoff, int __flags) __attribute__ ((__nothrow__ )); | |
14067 | ||
14068 | ||
14069 | ||
14070 | ||
14071 | extern int shm_open (__const char *__name, int __oflag, mode_t __mode); | |
14072 | ||
14073 | ||
14074 | extern int shm_unlink (__const char *__name); | |
14075 | ||
14076 | ||
14077 | # 3 "../include/sys/mman.h" 2 | |
14078 | ||
14079 | ||
14080 | extern void *__mmap (void *__addr, size_t __len, int __prot, | |
14081 | int __flags, int __fd, __off_t __offset); | |
14082 | extern void *__mmap64 (void *__addr, size_t __len, int __prot, | |
14083 | int __flags, int __fd, __off64_t __offset); | |
14084 | extern int __munmap (void *__addr, size_t __len); | |
14085 | extern int __mprotect (void *__addr, size_t __len, int __prot); | |
14086 | ||
14087 | ||
14088 | extern void *__mremap (void *__addr, size_t __old_len, | |
14089 | size_t __new_len, int __flags, ...); | |
14090 | ||
14091 | ; | |
14092 | # 776 "../libio/libioP.h" 2 | |
14093 | # 842 "../libio/libioP.h" | |
14094 | extern int _IO_vscanf (const char *, __gnuc_va_list) __attribute__ ((__nothrow__ )); | |
14095 | # 936 "../libio/libioP.h" | |
14096 | extern struct _IO_fake_stdiobuf _IO_stdin_buf, _IO_stdout_buf, _IO_stderr_buf; | |
14097 | # 963 "../libio/libioP.h" | |
14098 | static inline void | |
14099 | __attribute__ ((__always_inline__)) | |
14100 | _IO_acquire_lock_fct (_IO_FILE **p) | |
14101 | { | |
14102 | _IO_FILE *fp = *p; | |
14103 | if ((fp->_flags & 0x8000) == 0) | |
14104 | if (((fp)->_flags & 0x8000) == 0) do { if (--(*(fp)->_lock).cnt == 0) { (*(fp)->_lock).owner = ((void *)0); (void) ({ int *__futex = (&((*(fp)->_lock).lock)); int __oldval = ({ __typeof (*(__futex)) __atg5_oldval; __typeof (__futex) __atg5_memp = (__futex); __typeof (*(__futex)) __atg5_value = (0); do __atg5_oldval = *__atg5_memp; while (__builtin_expect (({ __typeof (__atg5_oldval) __atg3_old = (__atg5_oldval); ({ __typeof (*__atg5_memp) __atg1_result; if (sizeof (*__atg5_memp) == 1) __atg1_result = ({ __arm_link_error (); __atg3_old; }); else if (sizeof (*__atg5_memp) == 2) __atg1_result = ({ __arm_link_error (); __atg3_old; }); else if (sizeof (*__atg5_memp) == 4) __atg1_result = ({ register __typeof (__atg3_old) a_oldval asm ("r0"); register __typeof (__atg3_old) a_newval asm ("r1") = (__atg5_value); register __typeof (__atg5_memp) a_ptr asm ("r2") = (__atg5_memp); register __typeof (__atg3_old) a_tmp asm ("r3"); register __typeof (__atg3_old) a_oldval2 asm ("r4") = (__atg3_old); __asm__ __volatile__ ("0:\tldr\t%[tmp],[%[ptr]]\n\t" "cmp\t%[tmp], %[old2]\n\t" "bne\t1f\n\t" "mov\t%[old], %[old2]\n\t" "mov\t%[tmp], #0xffff0fff\n\t" "mov\tlr, pc\n\t" "add\tpc, %[tmp], #(0xffff0fc0 - 0xffff0fff)\n\t" "bcc\t0b\n\t" "mov\t%[tmp], %[old2]\n\t" "1:" : [old] "=&r" (a_oldval), [tmp] "=&r" (a_tmp) : [new] "r" (a_newval), [ptr] "r" (a_ptr), [old2] "r" (a_oldval2) : "ip", "lr", "cc", "memory"); a_tmp; }); else if (sizeof (*__atg5_memp) == 8) __atg1_result = ({ __arm_link_error (); __atg3_old; }); else abort (); __atg1_result; }) != __atg3_old; }), 0)); __atg5_oldval; }); if (__builtin_expect (__oldval > 1, 0)) ({ do { } while (0); long int __ret; __ret = ({ register int _a1 asm ("r0"), _nr asm ("r7"); int _a4tmp = (int) (0); int _a3tmp = (int) ((1)); int _a2tmp = (int) (((1) | ((struct pthread *)__builtin_thread_pointer () - 1)->header.private_futex)); int _a1tmp = (int) ((__futex)); _a1 = _a1tmp; register int _a2 asm ("a2") = _a2tmp; register int _a3 asm ("a3") = _a3tmp; register int _a4 asm ("a4") = _a4tmp; _nr = ((0 +240)); asm volatile ("swi 0x0 @ syscall " "SYS_ify(futex)" : "=r" (_a1) : "r" (_nr) , "r" (_a1), "r" (_a2), "r" (_a3), "r" (_a4) : "memory"); _a1; }); __ret; }); }); } } while (0); | |
14105 | } | |
14106 | ||
14107 | static inline void | |
14108 | __attribute__ ((__always_inline__)) | |
14109 | _IO_acquire_lock_clear_flags2_fct (_IO_FILE **p) | |
14110 | { | |
14111 | _IO_FILE *fp = *p; | |
14112 | fp->_flags2 &= ~(4 | 16); | |
14113 | if ((fp->_flags & 0x8000) == 0) | |
14114 | if (((fp)->_flags & 0x8000) == 0) do { if (--(*(fp)->_lock).cnt == 0) { (*(fp)->_lock).owner = ((void *)0); (void) ({ int *__futex = (&((*(fp)->_lock).lock)); int __oldval = ({ __typeof (*(__futex)) __atg5_oldval; __typeof (__futex) __atg5_memp = (__futex); __typeof (*(__futex)) __atg5_value = (0); do __atg5_oldval = *__atg5_memp; while (__builtin_expect (({ __typeof (__atg5_oldval) __atg3_old = (__atg5_oldval); ({ __typeof (*__atg5_memp) __atg1_result; if (sizeof (*__atg5_memp) == 1) __atg1_result = ({ __arm_link_error (); __atg3_old; }); else if (sizeof (*__atg5_memp) == 2) __atg1_result = ({ __arm_link_error (); __atg3_old; }); else if (sizeof (*__atg5_memp) == 4) __atg1_result = ({ register __typeof (__atg3_old) a_oldval asm ("r0"); register __typeof (__atg3_old) a_newval asm ("r1") = (__atg5_value); register __typeof (__atg5_memp) a_ptr asm ("r2") = (__atg5_memp); register __typeof (__atg3_old) a_tmp asm ("r3"); register __typeof (__atg3_old) a_oldval2 asm ("r4") = (__atg3_old); __asm__ __volatile__ ("0:\tldr\t%[tmp],[%[ptr]]\n\t" "cmp\t%[tmp], %[old2]\n\t" "bne\t1f\n\t" "mov\t%[old], %[old2]\n\t" "mov\t%[tmp], #0xffff0fff\n\t" "mov\tlr, pc\n\t" "add\tpc, %[tmp], #(0xffff0fc0 - 0xffff0fff)\n\t" "bcc\t0b\n\t" "mov\t%[tmp], %[old2]\n\t" "1:" : [old] "=&r" (a_oldval), [tmp] "=&r" (a_tmp) : [new] "r" (a_newval), [ptr] "r" (a_ptr), [old2] "r" (a_oldval2) : "ip", "lr", "cc", "memory"); a_tmp; }); else if (sizeof (*__atg5_memp) == 8) __atg1_result = ({ __arm_link_error (); __atg3_old; }); else abort (); __atg1_result; }) != __atg3_old; }), 0)); __atg5_oldval; }); if (__builtin_expect (__oldval > 1, 0)) ({ do { } while (0); long int __ret; __ret = ({ register int _a1 asm ("r0"), _nr asm ("r7"); int _a4tmp = (int) (0); int _a3tmp = (int) ((1)); int _a2tmp = (int) (((1) | ((struct pthread *)__builtin_thread_pointer () - 1)->header.private_futex)); int _a1tmp = (int) ((__futex)); _a1 = _a1tmp; register int _a2 asm ("a2") = _a2tmp; register int _a3 asm ("a3") = _a3tmp; register int _a4 asm ("a4") = _a4tmp; _nr = ((0 +240)); asm volatile ("swi 0x0 @ syscall " "SYS_ify(futex)" : "=r" (_a1) : "r" (_nr) , "r" (_a1), "r" (_a2), "r" (_a3), "r" (_a4) : "memory"); _a1; }); __ret; }); }); } } while (0); | |
14115 | } | |
14116 | # 27 "fxprintf.c" 2 | |
14117 | ||
14118 | ||
14119 | int | |
14120 | __fxprintf (FILE *fp, const char *fmt, ...) | |
14121 | { | |
14122 | if (fp == ((void *)0)) | |
14123 | fp = stderr; | |
14124 | ||
14125 | va_list ap; | |
14126 | __builtin_va_start(ap,fmt); | |
14127 | ||
14128 | int res; | |
14129 | if (({ int __result = (0); if (__result < 0 && ! (0)) { if ((fp)->_mode == 0) (fp)->_mode = -1; __result = (fp)->_mode; } else if (__builtin_constant_p (0) && (0) == 0) __result = (0) ? -1 : (fp)->_mode; else __result = _IO_fwide (fp, __result); __result; }) > 0) | |
14130 | { | |
14131 | size_t len = strlen (fmt) + 1; | |
14132 | wchar_t wfmt[len]; | |
14133 | for (size_t i = 0; i < len; ++i) | |
14134 | { | |
14135 | (((((fmt[i]) & ~0x7f) == 0)) ? (void) (0) : __assert_fail ("(((fmt[i]) & ~0x7f) == 0)", "fxprintf.c", 45, __PRETTY_FUNCTION__)); | |
14136 | wfmt[i] = fmt[i]; | |
14137 | } | |
14138 | res = __vfwprintf (fp, wfmt, ap); | |
14139 | } | |
14140 | else | |
14141 | res = _IO_vfprintf (fp, fmt, ap); | |
14142 | ||
14143 | __builtin_va_end(ap); | |
14144 | ||
14145 | return res; | |
14146 | } |