initial import
[ICEs.git] / s390x / rtld.i
1 # 1 "rtld.c"
2 # 1 "<built-in>"
3 # 1 "<command line>"
4 # 1 "./../include/libc-symbols.h" 1
5 # 55 "./../include/libc-symbols.h"
6 # 1 "/var/tmp/portage/sys-libs/glibc-2.4-r4/work/build-default-s390x-ibm-linux-gnu-nptl/config.h" 1
7 # 56 "./../include/libc-symbols.h" 2
8 # 817 "./../include/libc-symbols.h"
9 # 1 "../sysdeps/generic/symbol-hacks.h" 1
10 # 818 "./../include/libc-symbols.h" 2
11 # 1 "<command line>" 2
12 # 1 "rtld.c"
13 # 20 "rtld.c"
14 # 1 "../include/errno.h" 1
15
16
17 # 1 "../stdlib/errno.h" 1
18 # 29 "../stdlib/errno.h"
19 # 1 "../include/features.h" 1
20 # 323 "../include/features.h"
21 # 1 "../include/sys/cdefs.h" 1
22
23
24 # 1 "../misc/sys/cdefs.h" 1
25 # 313 "../misc/sys/cdefs.h"
26 # 1 "../sysdeps/s390/s390-64/bits/wordsize.h" 1
27 # 314 "../misc/sys/cdefs.h" 2
28 # 4 "../include/sys/cdefs.h" 2
29
30 extern void __chk_fail (void) __attribute__ ((__noreturn__));
31
32 extern __typeof (__chk_fail) __chk_fail __asm__ ("" "__GI___chk_fail") __attribute__ ((visibility ("hidden")));
33 # 324 "../include/features.h" 2
34 # 346 "../include/features.h"
35 # 1 "../include/gnu/stubs.h" 1
36 # 347 "../include/features.h" 2
37 # 30 "../stdlib/errno.h" 2
38
39
40
41
42
43
44 # 1 "../sysdeps/unix/sysv/linux/bits/errno.h" 1
45 # 25 "../sysdeps/unix/sysv/linux/bits/errno.h"
46 # 1 "/usr/include/linux/errno.h" 1 3 4
47
48
49
50 # 1 "/usr/include/asm/errno.h" 1 3 4
51 # 11 "/usr/include/asm/errno.h" 3 4
52 # 1 "/usr/include/asm-generic/errno.h" 1 3 4
53
54
55
56 # 1 "/usr/include/asm-generic/errno-base.h" 1 3 4
57 # 5 "/usr/include/asm-generic/errno.h" 2 3 4
58 # 12 "/usr/include/asm/errno.h" 2 3 4
59 # 5 "/usr/include/linux/errno.h" 2 3 4
60 # 26 "../sysdeps/unix/sysv/linux/bits/errno.h" 2
61 # 43 "../sysdeps/unix/sysv/linux/bits/errno.h"
62 extern int *__errno_location (void) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
63 # 37 "../stdlib/errno.h" 2
64 # 55 "../stdlib/errno.h"
65 extern char *program_invocation_name, *program_invocation_short_name;
66
67
68
69
70 # 69 "../stdlib/errno.h"
71 typedef int error_t;
72 # 4 "../include/errno.h" 2
73
74
75
76
77 # 1 "../sysdeps/unix/sysv/linux/dl-sysdep.h" 1
78 # 20 "../sysdeps/unix/sysv/linux/dl-sysdep.h"
79 # 1 "../sysdeps/generic/dl-sysdep.h" 1
80 # 21 "../sysdeps/unix/sysv/linux/dl-sysdep.h" 2
81 # 9 "../include/errno.h" 2
82 # 18 "../include/errno.h"
83 extern int rtld_errno __attribute__ ((visibility ("hidden")));
84 # 39 "../include/errno.h"
85 extern int *__errno_location (void) __attribute__ ((__nothrow__)) __attribute__ ((__const__))
86
87 __attribute__ ((visibility ("hidden")))
88
89 ;
90
91 # 21 "rtld.c" 2
92 # 1 "../include/dlfcn.h" 1
93
94 # 1 "../dlfcn/dlfcn.h" 1
95 # 26 "../dlfcn/dlfcn.h"
96 # 1 "/usr/lib64/gcc/s390x-suse-linux/4.1.0/include/stddef.h" 1 3 4
97 # 214 "/usr/lib64/gcc/s390x-suse-linux/4.1.0/include/stddef.h" 3 4
98 typedef long unsigned int size_t;
99 # 27 "../dlfcn/dlfcn.h" 2
100
101
102 # 1 "../include/bits/dlfcn.h" 1
103 # 1 "../bits/dlfcn.h" 1
104 # 58 "../bits/dlfcn.h"
105
106
107
108 extern void _dl_mcount_wrapper_check (void *__selfpc) __attribute__ ((__nothrow__));
109
110
111 # 2 "../include/bits/dlfcn.h" 2
112
113 extern void _dl_mcount_wrapper_check (void *__selfpc);
114
115 # 30 "../dlfcn/dlfcn.h" 2
116 # 46 "../dlfcn/dlfcn.h"
117 typedef long int Lmid_t;
118
119
120
121
122
123
124
125
126
127
128
129 extern void *dlopen (__const char *__file, int __mode) __attribute__ ((__nothrow__));
130
131
132
133 extern int dlclose (void *__handle) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
134
135
136
137 extern void *dlsym (void *__restrict __handle,
138 __const char *__restrict __name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
139
140
141
142 extern void *dlmopen (Lmid_t __nsid, __const char *__file, int __mode) __attribute__ ((__nothrow__));
143
144
145
146 extern void *dlvsym (void *__restrict __handle,
147 __const char *__restrict __name,
148 __const char *__restrict __version)
149 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3)));
150
151
152
153
154
155 extern char *dlerror (void) __attribute__ ((__nothrow__));
156
157
158
159
160
161 typedef struct
162 {
163 __const char *dli_fname;
164 void *dli_fbase;
165 __const char *dli_sname;
166 void *dli_saddr;
167 } Dl_info;
168
169
170
171 extern int dladdr (__const void *__address, Dl_info *__info)
172 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
173
174
175 extern int dladdr1 (__const void *__address, Dl_info *__info,
176 void **__extra_info, int __flags) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
177
178
179
180
181 enum
182 {
183
184 RTLD_DL_SYMENT = 1,
185
186
187 RTLD_DL_LINKMAP = 2
188 };
189
190
191
192
193
194
195
196 extern int dlinfo (void *__restrict __handle,
197 int __request, void *__restrict __arg)
198 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 3)));
199
200
201 enum
202 {
203
204 RTLD_DI_LMID = 1,
205
206
207
208 RTLD_DI_LINKMAP = 2,
209
210 RTLD_DI_CONFIGADDR = 3,
211
212
213
214
215
216
217 RTLD_DI_SERINFO = 4,
218 RTLD_DI_SERINFOSIZE = 5,
219
220
221
222 RTLD_DI_ORIGIN = 6,
223
224 RTLD_DI_PROFILENAME = 7,
225 RTLD_DI_PROFILEOUT = 8,
226
227
228
229
230 RTLD_DI_TLS_MODID = 9,
231
232
233
234
235
236 RTLD_DI_TLS_DATA = 10,
237
238 RTLD_DI_MAX = 10,
239 };
240
241
242
243
244 typedef struct
245 {
246 char *dls_name;
247 unsigned int dls_flags;
248 } Dl_serpath;
249
250
251
252 typedef struct
253 {
254 size_t dls_size;
255 unsigned int dls_cnt;
256 Dl_serpath dls_serpath[1];
257 } Dl_serinfo;
258
259
260
261
262 # 3 "../include/dlfcn.h" 2
263 # 1 "../include/link.h" 1
264 # 33 "../include/link.h"
265 # 1 "../elf/link.h" 1
266 # 25 "../elf/link.h"
267 # 1 "../include/elf.h" 1
268
269 # 1 "../elf/elf.h" 1
270 # 25 "../elf/elf.h"
271
272
273
274
275 # 1 "../sysdeps/generic/stdint.h" 1
276 # 27 "../sysdeps/generic/stdint.h"
277 # 1 "../bits/wchar.h" 1
278 # 28 "../sysdeps/generic/stdint.h" 2
279 # 1 "../sysdeps/s390/s390-64/bits/wordsize.h" 1
280 # 29 "../sysdeps/generic/stdint.h" 2
281 # 37 "../sysdeps/generic/stdint.h"
282 typedef signed char int8_t;
283 typedef short int int16_t;
284 typedef int int32_t;
285
286 typedef long int int64_t;
287
288
289
290
291
292
293
294 typedef unsigned char uint8_t;
295 typedef unsigned short int uint16_t;
296
297 typedef unsigned int uint32_t;
298
299
300
301 typedef unsigned long int uint64_t;
302 # 66 "../sysdeps/generic/stdint.h"
303 typedef signed char int_least8_t;
304 typedef short int int_least16_t;
305 typedef int int_least32_t;
306
307 typedef long int int_least64_t;
308
309
310
311
312
313
314 typedef unsigned char uint_least8_t;
315 typedef unsigned short int uint_least16_t;
316 typedef unsigned int uint_least32_t;
317
318 typedef unsigned long int uint_least64_t;
319 # 91 "../sysdeps/generic/stdint.h"
320 typedef signed char int_fast8_t;
321
322 typedef long int int_fast16_t;
323 typedef long int int_fast32_t;
324 typedef long int int_fast64_t;
325 # 104 "../sysdeps/generic/stdint.h"
326 typedef unsigned char uint_fast8_t;
327
328 typedef unsigned long int uint_fast16_t;
329 typedef unsigned long int uint_fast32_t;
330 typedef unsigned long int uint_fast64_t;
331 # 120 "../sysdeps/generic/stdint.h"
332 typedef long int intptr_t;
333
334
335 typedef unsigned long int uintptr_t;
336 # 135 "../sysdeps/generic/stdint.h"
337 typedef long int intmax_t;
338 typedef unsigned long int uintmax_t;
339 # 30 "../elf/elf.h" 2
340
341
342 typedef uint16_t Elf32_Half;
343 typedef uint16_t Elf64_Half;
344
345
346 typedef uint32_t Elf32_Word;
347 typedef int32_t Elf32_Sword;
348 typedef uint32_t Elf64_Word;
349 typedef int32_t Elf64_Sword;
350
351
352 typedef uint64_t Elf32_Xword;
353 typedef int64_t Elf32_Sxword;
354 typedef uint64_t Elf64_Xword;
355 typedef int64_t Elf64_Sxword;
356
357
358 typedef uint32_t Elf32_Addr;
359 typedef uint64_t Elf64_Addr;
360
361
362 typedef uint32_t Elf32_Off;
363 typedef uint64_t Elf64_Off;
364
365
366 typedef uint16_t Elf32_Section;
367 typedef uint16_t Elf64_Section;
368
369
370 typedef Elf32_Half Elf32_Versym;
371 typedef Elf64_Half Elf64_Versym;
372
373
374
375
376
377
378 typedef struct
379 {
380 unsigned char e_ident[(16)];
381 Elf32_Half e_type;
382 Elf32_Half e_machine;
383 Elf32_Word e_version;
384 Elf32_Addr e_entry;
385 Elf32_Off e_phoff;
386 Elf32_Off e_shoff;
387 Elf32_Word e_flags;
388 Elf32_Half e_ehsize;
389 Elf32_Half e_phentsize;
390 Elf32_Half e_phnum;
391 Elf32_Half e_shentsize;
392 Elf32_Half e_shnum;
393 Elf32_Half e_shstrndx;
394 } Elf32_Ehdr;
395
396 typedef struct
397 {
398 unsigned char e_ident[(16)];
399 Elf64_Half e_type;
400 Elf64_Half e_machine;
401 Elf64_Word e_version;
402 Elf64_Addr e_entry;
403 Elf64_Off e_phoff;
404 Elf64_Off e_shoff;
405 Elf64_Word e_flags;
406 Elf64_Half e_ehsize;
407 Elf64_Half e_phentsize;
408 Elf64_Half e_phnum;
409 Elf64_Half e_shentsize;
410 Elf64_Half e_shnum;
411 Elf64_Half e_shstrndx;
412 } Elf64_Ehdr;
413 # 267 "../elf/elf.h"
414 typedef struct
415 {
416 Elf32_Word sh_name;
417 Elf32_Word sh_type;
418 Elf32_Word sh_flags;
419 Elf32_Addr sh_addr;
420 Elf32_Off sh_offset;
421 Elf32_Word sh_size;
422 Elf32_Word sh_link;
423 Elf32_Word sh_info;
424 Elf32_Word sh_addralign;
425 Elf32_Word sh_entsize;
426 } Elf32_Shdr;
427
428 typedef struct
429 {
430 Elf64_Word sh_name;
431 Elf64_Word sh_type;
432 Elf64_Xword sh_flags;
433 Elf64_Addr sh_addr;
434 Elf64_Off sh_offset;
435 Elf64_Xword sh_size;
436 Elf64_Word sh_link;
437 Elf64_Word sh_info;
438 Elf64_Xword sh_addralign;
439 Elf64_Xword sh_entsize;
440 } Elf64_Shdr;
441 # 374 "../elf/elf.h"
442 typedef struct
443 {
444 Elf32_Word st_name;
445 Elf32_Addr st_value;
446 Elf32_Word st_size;
447 unsigned char st_info;
448 unsigned char st_other;
449 Elf32_Section st_shndx;
450 } Elf32_Sym;
451
452 typedef struct
453 {
454 Elf64_Word st_name;
455 unsigned char st_info;
456 unsigned char st_other;
457 Elf64_Section st_shndx;
458 Elf64_Addr st_value;
459 Elf64_Xword st_size;
460 } Elf64_Sym;
461
462
463
464
465 typedef struct
466 {
467 Elf32_Half si_boundto;
468 Elf32_Half si_flags;
469 } Elf32_Syminfo;
470
471 typedef struct
472 {
473 Elf64_Half si_boundto;
474 Elf64_Half si_flags;
475 } Elf64_Syminfo;
476 # 487 "../elf/elf.h"
477 typedef struct
478 {
479 Elf32_Addr r_offset;
480 Elf32_Word r_info;
481 } Elf32_Rel;
482
483
484
485
486
487
488 typedef struct
489 {
490 Elf64_Addr r_offset;
491 Elf64_Xword r_info;
492 } Elf64_Rel;
493
494
495
496 typedef struct
497 {
498 Elf32_Addr r_offset;
499 Elf32_Word r_info;
500 Elf32_Sword r_addend;
501 } Elf32_Rela;
502
503 typedef struct
504 {
505 Elf64_Addr r_offset;
506 Elf64_Xword r_info;
507 Elf64_Sxword r_addend;
508 } Elf64_Rela;
509 # 532 "../elf/elf.h"
510 typedef struct
511 {
512 Elf32_Word p_type;
513 Elf32_Off p_offset;
514 Elf32_Addr p_vaddr;
515 Elf32_Addr p_paddr;
516 Elf32_Word p_filesz;
517 Elf32_Word p_memsz;
518 Elf32_Word p_flags;
519 Elf32_Word p_align;
520 } Elf32_Phdr;
521
522 typedef struct
523 {
524 Elf64_Word p_type;
525 Elf64_Word p_flags;
526 Elf64_Off p_offset;
527 Elf64_Addr p_vaddr;
528 Elf64_Addr p_paddr;
529 Elf64_Xword p_filesz;
530 Elf64_Xword p_memsz;
531 Elf64_Xword p_align;
532 } Elf64_Phdr;
533 # 626 "../elf/elf.h"
534 typedef struct
535 {
536 Elf32_Sword d_tag;
537 union
538 {
539 Elf32_Word d_val;
540 Elf32_Addr d_ptr;
541 } d_un;
542 } Elf32_Dyn;
543
544 typedef struct
545 {
546 Elf64_Sxword d_tag;
547 union
548 {
549 Elf64_Xword d_val;
550 Elf64_Addr d_ptr;
551 } d_un;
552 } Elf64_Dyn;
553 # 798 "../elf/elf.h"
554 typedef struct
555 {
556 Elf32_Half vd_version;
557 Elf32_Half vd_flags;
558 Elf32_Half vd_ndx;
559 Elf32_Half vd_cnt;
560 Elf32_Word vd_hash;
561 Elf32_Word vd_aux;
562 Elf32_Word vd_next;
563
564 } Elf32_Verdef;
565
566 typedef struct
567 {
568 Elf64_Half vd_version;
569 Elf64_Half vd_flags;
570 Elf64_Half vd_ndx;
571 Elf64_Half vd_cnt;
572 Elf64_Word vd_hash;
573 Elf64_Word vd_aux;
574 Elf64_Word vd_next;
575
576 } Elf64_Verdef;
577 # 840 "../elf/elf.h"
578 typedef struct
579 {
580 Elf32_Word vda_name;
581 Elf32_Word vda_next;
582
583 } Elf32_Verdaux;
584
585 typedef struct
586 {
587 Elf64_Word vda_name;
588 Elf64_Word vda_next;
589
590 } Elf64_Verdaux;
591
592
593
594
595 typedef struct
596 {
597 Elf32_Half vn_version;
598 Elf32_Half vn_cnt;
599 Elf32_Word vn_file;
600
601 Elf32_Word vn_aux;
602 Elf32_Word vn_next;
603
604 } Elf32_Verneed;
605
606 typedef struct
607 {
608 Elf64_Half vn_version;
609 Elf64_Half vn_cnt;
610 Elf64_Word vn_file;
611
612 Elf64_Word vn_aux;
613 Elf64_Word vn_next;
614
615 } Elf64_Verneed;
616 # 887 "../elf/elf.h"
617 typedef struct
618 {
619 Elf32_Word vna_hash;
620 Elf32_Half vna_flags;
621 Elf32_Half vna_other;
622 Elf32_Word vna_name;
623 Elf32_Word vna_next;
624
625 } Elf32_Vernaux;
626
627 typedef struct
628 {
629 Elf64_Word vna_hash;
630 Elf64_Half vna_flags;
631 Elf64_Half vna_other;
632 Elf64_Word vna_name;
633 Elf64_Word vna_next;
634
635 } Elf64_Vernaux;
636 # 921 "../elf/elf.h"
637 typedef struct
638 {
639 uint32_t a_type;
640 union
641 {
642 uint32_t a_val;
643
644
645
646 } a_un;
647 } Elf32_auxv_t;
648
649 typedef struct
650 {
651 uint64_t a_type;
652 union
653 {
654 uint64_t a_val;
655
656
657
658 } a_un;
659 } Elf64_auxv_t;
660 # 999 "../elf/elf.h"
661 typedef struct
662 {
663 Elf32_Word n_namesz;
664 Elf32_Word n_descsz;
665 Elf32_Word n_type;
666 } Elf32_Nhdr;
667
668 typedef struct
669 {
670 Elf64_Word n_namesz;
671 Elf64_Word n_descsz;
672 Elf64_Word n_type;
673 } Elf64_Nhdr;
674 # 1047 "../elf/elf.h"
675 typedef struct
676 {
677 Elf32_Xword m_value;
678 Elf32_Word m_info;
679 Elf32_Word m_poffset;
680 Elf32_Half m_repeat;
681 Elf32_Half m_stride;
682 } Elf32_Move;
683
684 typedef struct
685 {
686 Elf64_Xword m_value;
687 Elf64_Xword m_info;
688 Elf64_Xword m_poffset;
689 Elf64_Half m_repeat;
690 Elf64_Half m_stride;
691 } Elf64_Move;
692 # 1393 "../elf/elf.h"
693 typedef union
694 {
695 struct
696 {
697 Elf32_Word gt_current_g_value;
698 Elf32_Word gt_unused;
699 } gt_header;
700 struct
701 {
702 Elf32_Word gt_g_value;
703 Elf32_Word gt_bytes;
704 } gt_entry;
705 } Elf32_gptab;
706
707
708
709 typedef struct
710 {
711 Elf32_Word ri_gprmask;
712 Elf32_Word ri_cprmask[4];
713 Elf32_Sword ri_gp_value;
714 } Elf32_RegInfo;
715
716
717
718 typedef struct
719 {
720 unsigned char kind;
721
722 unsigned char size;
723 Elf32_Section section;
724
725 Elf32_Word info;
726 } Elf_Options;
727 # 1469 "../elf/elf.h"
728 typedef struct
729 {
730 Elf32_Word hwp_flags1;
731 Elf32_Word hwp_flags2;
732 } Elf_Options_Hw;
733 # 1621 "../elf/elf.h"
734 typedef struct
735 {
736 Elf32_Word l_name;
737 Elf32_Word l_time_stamp;
738 Elf32_Word l_checksum;
739 Elf32_Word l_version;
740 Elf32_Word l_flags;
741 } Elf32_Lib;
742
743 typedef struct
744 {
745 Elf64_Word l_name;
746 Elf64_Word l_time_stamp;
747 Elf64_Word l_checksum;
748 Elf64_Word l_version;
749 Elf64_Word l_flags;
750 } Elf64_Lib;
751 # 1652 "../elf/elf.h"
752 typedef Elf32_Addr Elf32_Conflict;
753 # 2623 "../elf/elf.h"
754
755 # 3 "../include/elf.h" 2
756
757
758 # 1 "../sysdeps/generic/dl-dtprocnum.h" 1
759 # 6 "../include/elf.h" 2
760 # 26 "../elf/link.h" 2
761 # 1 "../include/dlfcn.h" 1
762 # 27 "../elf/link.h" 2
763 # 1 "../include/sys/types.h" 1
764 # 1 "../posix/sys/types.h" 1
765 # 29 "../posix/sys/types.h"
766
767
768 # 1 "../bits/types.h" 1
769 # 28 "../bits/types.h"
770 # 1 "../sysdeps/s390/s390-64/bits/wordsize.h" 1
771 # 29 "../bits/types.h" 2
772
773
774 # 1 "/usr/lib64/gcc/s390x-suse-linux/4.1.0/include/stddef.h" 1 3 4
775 # 32 "../bits/types.h" 2
776
777
778 typedef unsigned char __u_char;
779 typedef unsigned short int __u_short;
780 typedef unsigned int __u_int;
781 typedef unsigned long int __u_long;
782
783
784 typedef signed char __int8_t;
785 typedef unsigned char __uint8_t;
786 typedef signed short int __int16_t;
787 typedef unsigned short int __uint16_t;
788 typedef signed int __int32_t;
789 typedef unsigned int __uint32_t;
790
791 typedef signed long int __int64_t;
792 typedef unsigned long int __uint64_t;
793
794
795
796
797
798
799
800 typedef long int __quad_t;
801 typedef unsigned long int __u_quad_t;
802 # 134 "../bits/types.h"
803 # 1 "../sysdeps/unix/sysv/linux/s390/bits/typesizes.h" 1
804 # 135 "../bits/types.h" 2
805
806
807 typedef unsigned long int __dev_t;
808 typedef unsigned int __uid_t;
809 typedef unsigned int __gid_t;
810 typedef unsigned long int __ino_t;
811 typedef unsigned long int __ino64_t;
812 typedef unsigned int __mode_t;
813 typedef unsigned long int __nlink_t;
814 typedef long int __off_t;
815 typedef long int __off64_t;
816 typedef int __pid_t;
817 typedef struct { int __val[2]; } __fsid_t;
818 typedef long int __clock_t;
819 typedef unsigned long int __rlim_t;
820 typedef unsigned long int __rlim64_t;
821 typedef unsigned int __id_t;
822 typedef long int __time_t;
823 typedef unsigned int __useconds_t;
824 typedef long int __suseconds_t;
825
826 typedef int __daddr_t;
827 typedef long int __swblk_t;
828 typedef int __key_t;
829
830
831 typedef int __clockid_t;
832
833
834 typedef void * __timer_t;
835
836
837 typedef long int __blksize_t;
838
839
840
841
842 typedef long int __blkcnt_t;
843 typedef long int __blkcnt64_t;
844
845
846 typedef unsigned long int __fsblkcnt_t;
847 typedef unsigned long int __fsblkcnt64_t;
848
849
850 typedef unsigned long int __fsfilcnt_t;
851 typedef unsigned long int __fsfilcnt64_t;
852
853 typedef long int __ssize_t;
854
855
856
857 typedef __off64_t __loff_t;
858 typedef __quad_t *__qaddr_t;
859 typedef char *__caddr_t;
860
861
862 typedef long int __intptr_t;
863
864
865 typedef unsigned int __socklen_t;
866 # 32 "../posix/sys/types.h" 2
867
868
869
870 typedef __u_char u_char;
871 typedef __u_short u_short;
872 typedef __u_int u_int;
873 typedef __u_long u_long;
874 typedef __quad_t quad_t;
875 typedef __u_quad_t u_quad_t;
876 typedef __fsid_t fsid_t;
877
878
879
880
881 typedef __loff_t loff_t;
882
883
884
885 typedef __ino_t ino_t;
886
887
888
889
890
891
892 typedef __ino64_t ino64_t;
893
894
895
896
897 typedef __dev_t dev_t;
898
899
900
901
902 typedef __gid_t gid_t;
903
904
905
906
907 typedef __mode_t mode_t;
908
909
910
911
912 typedef __nlink_t nlink_t;
913
914
915
916
917 typedef __uid_t uid_t;
918
919
920
921
922
923 typedef __off_t off_t;
924
925
926
927
928
929
930 typedef __off64_t off64_t;
931
932
933
934
935 typedef __pid_t pid_t;
936
937
938
939
940 typedef __id_t id_t;
941
942
943
944
945 typedef __ssize_t ssize_t;
946
947
948
949
950
951 typedef __daddr_t daddr_t;
952 typedef __caddr_t caddr_t;
953
954
955
956
957
958 typedef __key_t key_t;
959 # 133 "../posix/sys/types.h"
960 # 1 "../include/time.h" 1
961
962
963 # 1 "../time/time.h" 1
964 # 59 "../time/time.h"
965
966
967 typedef __clock_t clock_t;
968
969
970
971 # 75 "../time/time.h"
972
973
974 typedef __time_t time_t;
975
976
977
978 # 93 "../time/time.h"
979 typedef __clockid_t clockid_t;
980 # 105 "../time/time.h"
981 typedef __timer_t timer_t;
982 # 4 "../include/time.h" 2
983 # 134 "../posix/sys/types.h" 2
984
985
986
987 typedef __useconds_t useconds_t;
988
989
990
991 typedef __suseconds_t suseconds_t;
992
993
994
995
996
997 # 1 "/usr/lib64/gcc/s390x-suse-linux/4.1.0/include/stddef.h" 1 3 4
998 # 148 "../posix/sys/types.h" 2
999
1000
1001
1002 typedef unsigned long int ulong;
1003 typedef unsigned short int ushort;
1004 typedef unsigned int uint;
1005 # 201 "../posix/sys/types.h"
1006 typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__)));
1007 typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__)));
1008 typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__)));
1009 typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__)));
1010
1011 typedef int register_t __attribute__ ((__mode__ (__word__)));
1012 # 217 "../posix/sys/types.h"
1013 # 1 "../include/endian.h" 1
1014 # 1 "../string/endian.h" 1
1015 # 37 "../string/endian.h"
1016 # 1 "../sysdeps/s390/bits/endian.h" 1
1017 # 38 "../string/endian.h" 2
1018 # 2 "../include/endian.h" 2
1019 # 218 "../posix/sys/types.h" 2
1020
1021
1022 # 1 "../include/sys/select.h" 1
1023
1024 # 1 "../misc/sys/select.h" 1
1025 # 31 "../misc/sys/select.h"
1026 # 1 "../bits/select.h" 1
1027 # 32 "../misc/sys/select.h" 2
1028
1029
1030 # 1 "../sysdeps/unix/sysv/linux/bits/sigset.h" 1
1031 # 23 "../sysdeps/unix/sysv/linux/bits/sigset.h"
1032 typedef int __sig_atomic_t;
1033
1034
1035
1036
1037 typedef struct
1038 {
1039 unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))];
1040 } __sigset_t;
1041 # 35 "../misc/sys/select.h" 2
1042
1043
1044
1045 typedef __sigset_t sigset_t;
1046
1047
1048
1049
1050
1051 # 1 "../include/time.h" 1
1052
1053
1054 # 1 "../time/time.h" 1
1055 # 121 "../time/time.h"
1056 struct timespec
1057 {
1058 __time_t tv_sec;
1059 long int tv_nsec;
1060 };
1061 # 4 "../include/time.h" 2
1062 # 45 "../misc/sys/select.h" 2
1063
1064 # 1 "../bits/time.h" 1
1065 # 69 "../bits/time.h"
1066 struct timeval
1067 {
1068 __time_t tv_sec;
1069 __suseconds_t tv_usec;
1070 };
1071 # 47 "../misc/sys/select.h" 2
1072 # 55 "../misc/sys/select.h"
1073 typedef long int __fd_mask;
1074 # 67 "../misc/sys/select.h"
1075 typedef struct
1076 {
1077
1078
1079
1080 __fd_mask fds_bits[1024 / (8 * sizeof (__fd_mask))];
1081
1082
1083
1084
1085
1086 } fd_set;
1087
1088
1089
1090
1091
1092
1093 typedef __fd_mask fd_mask;
1094 # 99 "../misc/sys/select.h"
1095
1096 # 109 "../misc/sys/select.h"
1097 extern int select (int __nfds, fd_set *__restrict __readfds,
1098 fd_set *__restrict __writefds,
1099 fd_set *__restrict __exceptfds,
1100 struct timeval *__restrict __timeout);
1101 # 121 "../misc/sys/select.h"
1102 extern int pselect (int __nfds, fd_set *__restrict __readfds,
1103 fd_set *__restrict __writefds,
1104 fd_set *__restrict __exceptfds,
1105 const struct timespec *__restrict __timeout,
1106 const __sigset_t *__restrict __sigmask);
1107
1108
1109
1110 # 3 "../include/sys/select.h" 2
1111
1112
1113 extern int __pselect (int __nfds, fd_set *__readfds,
1114 fd_set *__writefds, fd_set *__exceptfds,
1115 const struct timespec *__timeout,
1116 const __sigset_t *__sigmask);
1117
1118 extern int __select (int __nfds, fd_set *__restrict __readfds,
1119 fd_set *__restrict __writefds,
1120 fd_set *__restrict __exceptfds,
1121 struct timeval *__restrict __timeout);
1122
1123 # 221 "../posix/sys/types.h" 2
1124
1125
1126 # 1 "../sysdeps/unix/sysv/linux/sys/sysmacros.h" 1
1127 # 29 "../sysdeps/unix/sysv/linux/sys/sysmacros.h"
1128 __extension__
1129 extern __inline unsigned int gnu_dev_major (unsigned long long int __dev)
1130 __attribute__ ((__nothrow__));
1131 __extension__
1132 extern __inline unsigned int gnu_dev_minor (unsigned long long int __dev)
1133 __attribute__ ((__nothrow__));
1134 __extension__
1135 extern __inline unsigned long long int gnu_dev_makedev (unsigned int __major,
1136 unsigned int __minor)
1137 __attribute__ ((__nothrow__));
1138
1139
1140 __extension__ extern __inline unsigned int
1141 __attribute__ ((__nothrow__)) gnu_dev_major (unsigned long long int __dev)
1142 {
1143 return ((__dev >> 8) & 0xfff) | ((unsigned int) (__dev >> 32) & ~0xfff);
1144 }
1145
1146 __extension__ extern __inline unsigned int
1147 __attribute__ ((__nothrow__)) gnu_dev_minor (unsigned long long int __dev)
1148 {
1149 return (__dev & 0xff) | ((unsigned int) (__dev >> 12) & ~0xff);
1150 }
1151
1152 __extension__ extern __inline unsigned long long int
1153 __attribute__ ((__nothrow__)) gnu_dev_makedev (unsigned int __major, unsigned int __minor)
1154 {
1155 return ((__minor & 0xff) | ((__major & 0xfff) << 8)
1156 | (((unsigned long long int) (__minor & ~0xff)) << 12)
1157 | (((unsigned long long int) (__major & ~0xfff)) << 32));
1158 }
1159 # 224 "../posix/sys/types.h" 2
1160
1161
1162
1163
1164 typedef __blksize_t blksize_t;
1165
1166
1167
1168
1169
1170
1171 typedef __blkcnt_t blkcnt_t;
1172
1173
1174
1175 typedef __fsblkcnt_t fsblkcnt_t;
1176
1177
1178
1179 typedef __fsfilcnt_t fsfilcnt_t;
1180 # 262 "../posix/sys/types.h"
1181 typedef __blkcnt64_t blkcnt64_t;
1182 typedef __fsblkcnt64_t fsblkcnt64_t;
1183 typedef __fsfilcnt64_t fsfilcnt64_t;
1184
1185
1186
1187
1188
1189 # 1 "../nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h" 1
1190 # 23 "../nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h"
1191 # 1 "../sysdeps/s390/s390-64/bits/wordsize.h" 1
1192 # 24 "../nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h" 2
1193 # 50 "../nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h"
1194 typedef unsigned long int pthread_t;
1195
1196
1197 typedef union
1198 {
1199 char __size[56];
1200 long int __align;
1201 } pthread_attr_t;
1202
1203
1204
1205 typedef struct __pthread_internal_list
1206 {
1207 struct __pthread_internal_list *__prev;
1208 struct __pthread_internal_list *__next;
1209 } __pthread_list_t;
1210 # 76 "../nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h"
1211 typedef union
1212 {
1213 struct __pthread_mutex_s
1214 {
1215 int __lock;
1216 unsigned int __count;
1217 int __owner;
1218
1219 unsigned int __nusers;
1220
1221
1222
1223 int __kind;
1224
1225 int __spins;
1226 __pthread_list_t __list;
1227 # 101 "../nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h"
1228 } __data;
1229 char __size[40];
1230 long int __align;
1231 } pthread_mutex_t;
1232
1233 typedef union
1234 {
1235 char __size[4];
1236 int __align;
1237 } pthread_mutexattr_t;
1238
1239
1240
1241
1242 typedef union
1243 {
1244 struct
1245 {
1246 int __lock;
1247 unsigned int __futex;
1248 __extension__ unsigned long long int __total_seq;
1249 __extension__ unsigned long long int __wakeup_seq;
1250 __extension__ unsigned long long int __woken_seq;
1251 void *__mutex;
1252 unsigned int __nwaiters;
1253 unsigned int __broadcast_seq;
1254 } __data;
1255 char __size[48];
1256 __extension__ long long int __align;
1257 } pthread_cond_t;
1258
1259 typedef union
1260 {
1261 char __size[4];
1262 int __align;
1263 } pthread_condattr_t;
1264
1265
1266
1267 typedef unsigned int pthread_key_t;
1268
1269
1270
1271 typedef int pthread_once_t;
1272
1273
1274
1275
1276
1277 typedef union
1278 {
1279
1280 struct
1281 {
1282 int __lock;
1283 unsigned int __nr_readers;
1284 unsigned int __readers_wakeup;
1285 unsigned int __writer_wakeup;
1286 unsigned int __nr_readers_queued;
1287 unsigned int __nr_writers_queued;
1288 int __writer;
1289 int __pad1;
1290 unsigned long int __pad2;
1291 unsigned long int __pad3;
1292
1293
1294 unsigned int __flags;
1295 } __data;
1296 # 184 "../nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h"
1297 char __size[56];
1298 long int __align;
1299 } pthread_rwlock_t;
1300
1301 typedef union
1302 {
1303 char __size[8];
1304 long int __align;
1305 } pthread_rwlockattr_t;
1306
1307
1308
1309
1310
1311 typedef volatile int pthread_spinlock_t;
1312
1313
1314
1315
1316 typedef union
1317 {
1318 char __size[32];
1319 long int __align;
1320 } pthread_barrier_t;
1321
1322 typedef union
1323 {
1324 char __size[4];
1325 int __align;
1326 } pthread_barrierattr_t;
1327 # 271 "../posix/sys/types.h" 2
1328
1329
1330
1331 # 1 "../include/sys/types.h" 2
1332 # 28 "../elf/link.h" 2
1333
1334
1335
1336
1337
1338
1339
1340 # 1 "../sysdeps/unix/sysv/linux/s390/bits/elfclass.h" 1
1341 # 28 "../sysdeps/unix/sysv/linux/s390/bits/elfclass.h"
1342 # 1 "../sysdeps/s390/s390-64/bits/wordsize.h" 1
1343 # 29 "../sysdeps/unix/sysv/linux/s390/bits/elfclass.h" 2
1344
1345
1346
1347
1348
1349
1350 typedef uint64_t Elf_Symndx;
1351 # 36 "../elf/link.h" 2
1352 # 1 "../sysdeps/s390/bits/link.h" 1
1353 # 70 "../sysdeps/s390/bits/link.h"
1354 typedef struct La_s390_64_regs
1355 {
1356 uint64_t lr_r2;
1357 uint64_t lr_r3;
1358 uint64_t lr_r4;
1359 uint64_t lr_r5;
1360 uint64_t lr_r6;
1361 double lr_fp0;
1362 double lr_fp2;
1363 double lr_fp4;
1364 double lr_fp6;
1365 } La_s390_64_regs;
1366
1367
1368 typedef struct La_s390_64_retval
1369 {
1370 uint64_t lrv_r2;
1371 double lrv_fp0;
1372 } La_s390_64_retval;
1373
1374
1375
1376
1377 extern Elf64_Addr la_s390_64_gnu_pltenter (Elf64_Sym *__sym,
1378 unsigned int __ndx,
1379 uintptr_t *__refcook,
1380 uintptr_t *__defcook,
1381 La_s390_64_regs *__regs,
1382 unsigned int *__flags,
1383 const char *__symname,
1384 long int *__framesizep);
1385 extern unsigned int la_s390_64_gnu_pltexit (Elf64_Sym *__sym,
1386 unsigned int __ndx,
1387 uintptr_t *__refcook,
1388 uintptr_t *__defcook,
1389 const La_s390_64_regs *__inregs,
1390 La_s390_64_retval *__outregs,
1391 const char *symname);
1392
1393
1394 # 37 "../elf/link.h" 2
1395
1396
1397
1398
1399
1400
1401 struct r_debug
1402 {
1403 int r_version;
1404
1405 struct link_map_public *r_map;
1406
1407
1408
1409
1410
1411
1412 Elf64_Addr r_brk;
1413 enum
1414 {
1415
1416
1417 RT_CONSISTENT,
1418 RT_ADD,
1419 RT_DELETE
1420 } r_state;
1421
1422 Elf64_Addr r_ldbase;
1423 };
1424
1425
1426 extern struct r_debug _r_debug;
1427 # 77 "../elf/link.h"
1428 extern Elf64_Dyn _DYNAMIC[];
1429
1430
1431
1432
1433
1434
1435
1436 struct link_map_public
1437 {
1438
1439
1440
1441 Elf64_Addr l_addr;
1442 char *l_name;
1443 Elf64_Dyn *l_ld;
1444 struct link_map_public *l_next, *l_prev;
1445 };
1446
1447
1448
1449
1450
1451
1452
1453 enum
1454 {
1455 LA_ACT_CONSISTENT,
1456 LA_ACT_ADD,
1457 LA_ACT_DELETE
1458 };
1459
1460
1461 enum
1462 {
1463 LA_SER_ORIG = 0x01,
1464 LA_SER_LIBPATH = 0x02,
1465 LA_SER_RUNPATH = 0x04,
1466 LA_SER_CONFIG = 0x08,
1467 LA_SER_DEFAULT = 0x40,
1468 LA_SER_SECURE = 0x80
1469 };
1470
1471
1472 enum
1473 {
1474 LA_FLG_BINDTO = 0x01,
1475 LA_FLG_BINDFROM = 0x02
1476 };
1477
1478
1479 enum
1480 {
1481 LA_SYMB_NOPLTENTER = 0x01,
1482 LA_SYMB_NOPLTEXIT = 0x02,
1483 LA_SYMB_STRUCTCALL = 0x04,
1484 LA_SYMB_DLSYM = 0x08,
1485 LA_SYMB_ALTVALUE = 0x10
1486
1487 };
1488
1489 struct dl_phdr_info
1490 {
1491 Elf64_Addr dlpi_addr;
1492 const char *dlpi_name;
1493 const Elf64_Phdr *dlpi_phdr;
1494 Elf64_Half dlpi_phnum;
1495
1496
1497
1498
1499
1500
1501
1502 unsigned long long int dlpi_adds;
1503
1504 unsigned long long int dlpi_subs;
1505
1506
1507
1508 size_t dlpi_tls_modid;
1509
1510
1511
1512
1513 void *dlpi_tls_data;
1514 };
1515
1516
1517
1518 extern int dl_iterate_phdr (int (*__callback) (struct dl_phdr_info *,
1519 size_t, void *),
1520 void *__data);
1521
1522
1523
1524
1525
1526 extern unsigned int la_version (unsigned int __version);
1527 extern void la_activity (uintptr_t *__cookie, unsigned int __flag);
1528 extern char *la_objsearch (const char *__name, uintptr_t *__cookie,
1529 unsigned int __flag);
1530 extern unsigned int la_objopen_wrongproto (struct link_map_public *__map, Lmid_t __lmid,
1531 uintptr_t *__cookie);
1532 extern void la_preinit (uintptr_t *__cookie);
1533 extern uintptr_t la_symbind32 (Elf32_Sym *__sym, unsigned int __ndx,
1534 uintptr_t *__refcook, uintptr_t *__defcook,
1535 unsigned int *__flags, const char *__symname);
1536 extern uintptr_t la_symbind64 (Elf64_Sym *__sym, unsigned int __ndx,
1537 uintptr_t *__refcook, uintptr_t *__defcook,
1538 unsigned int *__flags, const char *__symname);
1539 extern unsigned int la_objclose (uintptr_t *__cookie);
1540
1541
1542 # 34 "../include/link.h" 2
1543
1544
1545
1546 struct link_map;
1547 extern unsigned int la_objopen (struct link_map *__map, Lmid_t __lmid,
1548 uintptr_t *__cookie);
1549
1550
1551 # 1 "/usr/lib64/gcc/s390x-suse-linux/4.1.0/include/stddef.h" 1 3 4
1552 # 152 "/usr/lib64/gcc/s390x-suse-linux/4.1.0/include/stddef.h" 3 4
1553 typedef long int ptrdiff_t;
1554 # 326 "/usr/lib64/gcc/s390x-suse-linux/4.1.0/include/stddef.h" 3 4
1555 typedef int wchar_t;
1556 # 43 "../include/link.h" 2
1557 # 1 "../sysdeps/s390/bits/linkmap.h" 1
1558
1559 struct link_map_machine
1560 {
1561 Elf64_Addr plt;
1562 Elf64_Addr gotplt;
1563 };
1564 # 44 "../include/link.h" 2
1565 # 1 "../sysdeps/generic/dl-lookupcfg.h" 1
1566 # 45 "../include/link.h" 2
1567 # 1 "../include/tls.h" 1
1568
1569
1570
1571
1572
1573 # 1 "../nptl/sysdeps/s390/tls.h" 1
1574 # 23 "../nptl/sysdeps/s390/tls.h"
1575 # 1 "../sysdeps/unix/sysv/linux/dl-sysdep.h" 1
1576 # 20 "../sysdeps/unix/sysv/linux/dl-sysdep.h"
1577 # 1 "../sysdeps/generic/dl-sysdep.h" 1
1578 # 21 "../sysdeps/unix/sysv/linux/dl-sysdep.h" 2
1579 # 24 "../nptl/sysdeps/s390/tls.h" 2
1580
1581 # 1 "/usr/lib64/gcc/s390x-suse-linux/4.1.0/include/stdbool.h" 1 3 4
1582 # 26 "../nptl/sysdeps/s390/tls.h" 2
1583 # 1 "/usr/lib64/gcc/s390x-suse-linux/4.1.0/include/stddef.h" 1 3 4
1584 # 27 "../nptl/sysdeps/s390/tls.h" 2
1585
1586 # 1 "../include/stdlib.h" 1
1587
1588
1589
1590
1591
1592
1593 # 1 "/usr/lib64/gcc/s390x-suse-linux/4.1.0/include/stddef.h" 1 3 4
1594 # 8 "../include/stdlib.h" 2
1595 # 1 "../stdlib/stdlib.h" 1
1596 # 33 "../stdlib/stdlib.h"
1597 # 1 "/usr/lib64/gcc/s390x-suse-linux/4.1.0/include/stddef.h" 1 3 4
1598 # 34 "../stdlib/stdlib.h" 2
1599
1600
1601
1602
1603
1604
1605
1606
1607 # 1 "../sysdeps/unix/sysv/linux/bits/waitflags.h" 1
1608 # 43 "../stdlib/stdlib.h" 2
1609 # 1 "../bits/waitstatus.h" 1
1610 # 65 "../bits/waitstatus.h"
1611 # 1 "../include/endian.h" 1
1612 # 66 "../bits/waitstatus.h" 2
1613
1614 union wait
1615 {
1616 int w_status;
1617 struct
1618 {
1619
1620
1621
1622
1623
1624
1625
1626 unsigned int:16;
1627 unsigned int __w_retcode:8;
1628 unsigned int __w_coredump:1;
1629 unsigned int __w_termsig:7;
1630
1631 } __wait_terminated;
1632 struct
1633 {
1634
1635
1636
1637
1638
1639
1640 unsigned int:16;
1641 unsigned int __w_stopsig:8;
1642 unsigned int __w_stopval:8;
1643
1644 } __wait_stopped;
1645 };
1646 # 44 "../stdlib/stdlib.h" 2
1647 # 68 "../stdlib/stdlib.h"
1648 typedef union
1649 {
1650 union wait *__uptr;
1651 int *__iptr;
1652 } __WAIT_STATUS __attribute__ ((__transparent_union__));
1653 # 96 "../stdlib/stdlib.h"
1654
1655
1656 typedef struct
1657 {
1658 int quot;
1659 int rem;
1660 } div_t;
1661
1662
1663
1664 typedef struct
1665 {
1666 long int quot;
1667 long int rem;
1668 } ldiv_t;
1669
1670
1671
1672
1673
1674
1675
1676 __extension__ typedef struct
1677 {
1678 long long int quot;
1679 long long int rem;
1680 } lldiv_t;
1681
1682
1683 # 140 "../stdlib/stdlib.h"
1684 extern size_t __ctype_get_mb_cur_max (void) __attribute__ ((__nothrow__)) ;
1685
1686
1687
1688
1689 extern double atof (__const char *__nptr)
1690 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ;
1691
1692 extern int atoi (__const char *__nptr)
1693 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ;
1694
1695 extern long int atol (__const char *__nptr)
1696 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ;
1697
1698
1699
1700
1701
1702 __extension__ extern long long int atoll (__const char *__nptr)
1703 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ;
1704
1705
1706
1707
1708
1709 extern double strtod (__const char *__restrict __nptr,
1710 char **__restrict __endptr)
1711 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
1712
1713
1714
1715
1716
1717 extern float strtof (__const char *__restrict __nptr,
1718 char **__restrict __endptr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
1719
1720 extern long double strtold (__const char *__restrict __nptr,
1721 char **__restrict __endptr)
1722 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
1723
1724
1725
1726
1727
1728 extern long int strtol (__const char *__restrict __nptr,
1729 char **__restrict __endptr, int __base)
1730 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
1731
1732 extern unsigned long int strtoul (__const char *__restrict __nptr,
1733 char **__restrict __endptr, int __base)
1734 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
1735
1736
1737
1738
1739 __extension__
1740 extern long long int strtoq (__const char *__restrict __nptr,
1741 char **__restrict __endptr, int __base)
1742 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
1743
1744 __extension__
1745 extern unsigned long long int strtouq (__const char *__restrict __nptr,
1746 char **__restrict __endptr, int __base)
1747 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
1748
1749
1750
1751
1752
1753 __extension__
1754 extern long long int strtoll (__const char *__restrict __nptr,
1755 char **__restrict __endptr, int __base)
1756 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
1757
1758 __extension__
1759 extern unsigned long long int strtoull (__const char *__restrict __nptr,
1760 char **__restrict __endptr, int __base)
1761 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
1762
1763 # 236 "../stdlib/stdlib.h"
1764 # 1 "../include/xlocale.h" 1
1765 # 1 "../locale/xlocale.h" 1
1766 # 28 "../locale/xlocale.h"
1767 typedef struct __locale_struct
1768 {
1769
1770 struct locale_data *__locales[13];
1771
1772
1773 const unsigned short int *__ctype_b;
1774 const int *__ctype_tolower;
1775 const int *__ctype_toupper;
1776
1777
1778 const char *__names[13];
1779 } *__locale_t;
1780 # 1 "../include/xlocale.h" 2
1781 # 237 "../stdlib/stdlib.h" 2
1782
1783
1784
1785 extern long int strtol_l (__const char *__restrict __nptr,
1786 char **__restrict __endptr, int __base,
1787 __locale_t __loc) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 4))) ;
1788
1789 extern unsigned long int strtoul_l (__const char *__restrict __nptr,
1790 char **__restrict __endptr,
1791 int __base, __locale_t __loc)
1792 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 4))) ;
1793
1794 __extension__
1795 extern long long int strtoll_l (__const char *__restrict __nptr,
1796 char **__restrict __endptr, int __base,
1797 __locale_t __loc)
1798 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 4))) ;
1799
1800 __extension__
1801 extern unsigned long long int strtoull_l (__const char *__restrict __nptr,
1802 char **__restrict __endptr,
1803 int __base, __locale_t __loc)
1804 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 4))) ;
1805
1806 extern double strtod_l (__const char *__restrict __nptr,
1807 char **__restrict __endptr, __locale_t __loc)
1808 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 3))) ;
1809
1810 extern float strtof_l (__const char *__restrict __nptr,
1811 char **__restrict __endptr, __locale_t __loc)
1812 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 3))) ;
1813
1814 extern long double strtold_l (__const char *__restrict __nptr,
1815 char **__restrict __endptr,
1816 __locale_t __loc)
1817 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 3))) ;
1818
1819
1820
1821
1822
1823
1824 extern double __strtod_internal (__const char *__restrict __nptr,
1825 char **__restrict __endptr, int __group)
1826 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
1827 extern float __strtof_internal (__const char *__restrict __nptr,
1828 char **__restrict __endptr, int __group)
1829 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
1830 extern long double __strtold_internal (__const char *__restrict __nptr,
1831 char **__restrict __endptr,
1832 int __group)
1833 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
1834
1835 extern long int __strtol_internal (__const char *__restrict __nptr,
1836 char **__restrict __endptr,
1837 int __base, int __group)
1838 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
1839
1840
1841
1842 extern unsigned long int __strtoul_internal (__const char *__restrict __nptr,
1843 char **__restrict __endptr,
1844 int __base, int __group)
1845 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
1846
1847
1848
1849
1850 __extension__
1851 extern long long int __strtoll_internal (__const char *__restrict __nptr,
1852 char **__restrict __endptr,
1853 int __base, int __group)
1854 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
1855
1856
1857
1858 __extension__
1859 extern unsigned long long int __strtoull_internal (__const char *
1860 __restrict __nptr,
1861 char **__restrict __endptr,
1862 int __base, int __group)
1863 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
1864
1865
1866
1867
1868
1869
1870
1871
1872 extern __inline double
1873 __attribute__ ((__nothrow__)) strtod (__const char *__restrict __nptr, char **__restrict __endptr)
1874 {
1875 return __strtod_internal (__nptr, __endptr, 0);
1876 }
1877 extern __inline long int
1878 __attribute__ ((__nothrow__)) strtol (__const char *__restrict __nptr, char **__restrict __endptr, int __base)
1879
1880 {
1881 return __strtol_internal (__nptr, __endptr, __base, 0);
1882 }
1883 extern __inline unsigned long int
1884 __attribute__ ((__nothrow__)) strtoul (__const char *__restrict __nptr, char **__restrict __endptr, int __base)
1885
1886 {
1887 return __strtoul_internal (__nptr, __endptr, __base, 0);
1888 }
1889
1890
1891
1892
1893 extern __inline float
1894 __attribute__ ((__nothrow__)) strtof (__const char *__restrict __nptr, char **__restrict __endptr)
1895 {
1896 return __strtof_internal (__nptr, __endptr, 0);
1897 }
1898
1899 extern __inline long double
1900 __attribute__ ((__nothrow__)) strtold (__const char *__restrict __nptr, char **__restrict __endptr)
1901 {
1902 return __strtold_internal (__nptr, __endptr, 0);
1903 }
1904
1905
1906
1907
1908
1909 __extension__ extern __inline long long int
1910 __attribute__ ((__nothrow__)) strtoq (__const char *__restrict __nptr, char **__restrict __endptr, int __base)
1911
1912 {
1913 return __strtoll_internal (__nptr, __endptr, __base, 0);
1914 }
1915 __extension__ extern __inline unsigned long long int
1916 __attribute__ ((__nothrow__)) strtouq (__const char *__restrict __nptr, char **__restrict __endptr, int __base)
1917
1918 {
1919 return __strtoull_internal (__nptr, __endptr, __base, 0);
1920 }
1921
1922
1923
1924
1925 __extension__ extern __inline long long int
1926 __attribute__ ((__nothrow__)) strtoll (__const char *__restrict __nptr, char **__restrict __endptr, int __base)
1927
1928 {
1929 return __strtoll_internal (__nptr, __endptr, __base, 0);
1930 }
1931 __extension__ extern __inline unsigned long long int
1932 __attribute__ ((__nothrow__)) strtoull (__const char * __restrict __nptr, char **__restrict __endptr, int __base)
1933
1934 {
1935 return __strtoull_internal (__nptr, __endptr, __base, 0);
1936 }
1937
1938
1939
1940
1941 extern __inline double
1942 __attribute__ ((__nothrow__)) atof (__const char *__nptr)
1943 {
1944 return strtod (__nptr, (char **) ((void *)0));
1945 }
1946 extern __inline int
1947 __attribute__ ((__nothrow__)) atoi (__const char *__nptr)
1948 {
1949 return (int) strtol (__nptr, (char **) ((void *)0), 10);
1950 }
1951 extern __inline long int
1952 __attribute__ ((__nothrow__)) atol (__const char *__nptr)
1953 {
1954 return strtol (__nptr, (char **) ((void *)0), 10);
1955 }
1956
1957
1958
1959
1960 __extension__ extern __inline long long int
1961 __attribute__ ((__nothrow__)) atoll (__const char *__nptr)
1962 {
1963 return strtoll (__nptr, (char **) ((void *)0), 10);
1964 }
1965
1966 # 429 "../stdlib/stdlib.h"
1967 extern char *l64a (long int __n) __attribute__ ((__nothrow__)) ;
1968
1969
1970 extern long int a64l (__const char *__s)
1971 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ;
1972
1973
1974
1975
1976 # 1 "../include/sys/types.h" 1
1977 # 439 "../stdlib/stdlib.h" 2
1978
1979
1980
1981
1982
1983
1984 extern long int random (void) __attribute__ ((__nothrow__));
1985
1986
1987 extern void srandom (unsigned int __seed) __attribute__ ((__nothrow__));
1988
1989
1990
1991
1992
1993 extern char *initstate (unsigned int __seed, char *__statebuf,
1994 size_t __statelen) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
1995
1996
1997
1998 extern char *setstate (char *__statebuf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
1999
2000
2001
2002
2003
2004
2005
2006 struct random_data
2007 {
2008 int32_t *fptr;
2009 int32_t *rptr;
2010 int32_t *state;
2011 int rand_type;
2012 int rand_deg;
2013 int rand_sep;
2014 int32_t *end_ptr;
2015 };
2016
2017 extern int random_r (struct random_data *__restrict __buf,
2018 int32_t *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
2019
2020 extern int srandom_r (unsigned int __seed, struct random_data *__buf)
2021 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
2022
2023 extern int initstate_r (unsigned int __seed, char *__restrict __statebuf,
2024 size_t __statelen,
2025 struct random_data *__restrict __buf)
2026 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 4)));
2027
2028 extern int setstate_r (char *__restrict __statebuf,
2029 struct random_data *__restrict __buf)
2030 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
2031
2032
2033
2034
2035
2036
2037 extern int rand (void) __attribute__ ((__nothrow__));
2038
2039 extern void srand (unsigned int __seed) __attribute__ ((__nothrow__));
2040
2041
2042
2043
2044 extern int rand_r (unsigned int *__seed) __attribute__ ((__nothrow__));
2045
2046
2047
2048
2049
2050
2051
2052 extern double drand48 (void) __attribute__ ((__nothrow__));
2053 extern double erand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2054
2055
2056 extern long int lrand48 (void) __attribute__ ((__nothrow__));
2057 extern long int nrand48 (unsigned short int __xsubi[3])
2058 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2059
2060
2061 extern long int mrand48 (void) __attribute__ ((__nothrow__));
2062 extern long int jrand48 (unsigned short int __xsubi[3])
2063 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2064
2065
2066 extern void srand48 (long int __seedval) __attribute__ ((__nothrow__));
2067 extern unsigned short int *seed48 (unsigned short int __seed16v[3])
2068 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2069 extern void lcong48 (unsigned short int __param[7]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2070
2071
2072
2073
2074
2075 struct drand48_data
2076 {
2077 unsigned short int __x[3];
2078 unsigned short int __old_x[3];
2079 unsigned short int __c;
2080 unsigned short int __init;
2081 unsigned long long int __a;
2082 };
2083
2084
2085 extern int drand48_r (struct drand48_data *__restrict __buffer,
2086 double *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
2087 extern int erand48_r (unsigned short int __xsubi[3],
2088 struct drand48_data *__restrict __buffer,
2089 double *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
2090
2091
2092 extern int lrand48_r (struct drand48_data *__restrict __buffer,
2093 long int *__restrict __result)
2094 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
2095 extern int nrand48_r (unsigned short int __xsubi[3],
2096 struct drand48_data *__restrict __buffer,
2097 long int *__restrict __result)
2098 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
2099
2100
2101 extern int mrand48_r (struct drand48_data *__restrict __buffer,
2102 long int *__restrict __result)
2103 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
2104 extern int jrand48_r (unsigned short int __xsubi[3],
2105 struct drand48_data *__restrict __buffer,
2106 long int *__restrict __result)
2107 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
2108
2109
2110 extern int srand48_r (long int __seedval, struct drand48_data *__buffer)
2111 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
2112
2113 extern int seed48_r (unsigned short int __seed16v[3],
2114 struct drand48_data *__buffer) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
2115
2116 extern int lcong48_r (unsigned short int __param[7],
2117 struct drand48_data *__buffer)
2118 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128 extern void *malloc (size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) ;
2129
2130 extern void *calloc (size_t __nmemb, size_t __size)
2131 __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) ;
2132
2133
2134
2135
2136
2137
2138
2139 extern void *realloc (void *__ptr, size_t __size)
2140 __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__warn_unused_result__));
2141
2142 extern void free (void *__ptr) __attribute__ ((__nothrow__));
2143
2144
2145
2146
2147 extern void cfree (void *__ptr) __attribute__ ((__nothrow__));
2148
2149
2150
2151 # 1 "../include/alloca.h" 1
2152
2153
2154 # 1 "../stdlib/alloca.h" 1
2155 # 25 "../stdlib/alloca.h"
2156 # 1 "/usr/lib64/gcc/s390x-suse-linux/4.1.0/include/stddef.h" 1 3 4
2157 # 26 "../stdlib/alloca.h" 2
2158
2159
2160
2161
2162
2163
2164
2165 extern void *alloca (size_t __size) __attribute__ ((__nothrow__));
2166
2167
2168
2169
2170
2171
2172 # 4 "../include/alloca.h" 2
2173 # 1 "../sysdeps/s390/stackinfo.h" 1
2174 # 5 "../include/alloca.h" 2
2175
2176
2177
2178
2179 extern void *__alloca (size_t __size);
2180
2181
2182
2183
2184
2185 extern int __libc_use_alloca (size_t size) __attribute__ ((const));
2186 extern int __libc_alloca_cutoff (size_t size) __attribute__ ((const));
2187
2188
2189
2190 # 1 "../nptl/sysdeps/pthread/allocalim.h" 1
2191 # 20 "../nptl/sysdeps/pthread/allocalim.h"
2192 # 1 "../include/alloca.h" 1
2193 # 21 "../nptl/sysdeps/pthread/allocalim.h" 2
2194 # 1 "../include/limits.h" 1
2195 # 125 "../include/limits.h"
2196 # 1 "/usr/lib64/gcc/s390x-suse-linux/4.1.0/include/limits.h" 1 3 4
2197 # 126 "../include/limits.h" 2
2198 # 145 "../include/limits.h"
2199 # 1 "../include/bits/posix1_lim.h" 1
2200 # 1 "../posix/bits/posix1_lim.h" 1
2201 # 153 "../posix/bits/posix1_lim.h"
2202 # 1 "../nptl/sysdeps/unix/sysv/linux/bits/local_lim.h" 1
2203 # 36 "../nptl/sysdeps/unix/sysv/linux/bits/local_lim.h"
2204 # 1 "/usr/include/linux/limits.h" 1 3 4
2205 # 37 "../nptl/sysdeps/unix/sysv/linux/bits/local_lim.h" 2
2206 # 154 "../posix/bits/posix1_lim.h" 2
2207 # 1 "../include/bits/posix1_lim.h" 2
2208 # 146 "../include/limits.h" 2
2209
2210
2211
2212 # 1 "../include/bits/posix2_lim.h" 1
2213 # 1 "../posix/bits/posix2_lim.h" 1
2214 # 1 "../include/bits/posix2_lim.h" 2
2215 # 150 "../include/limits.h" 2
2216
2217
2218
2219 # 1 "../include/bits/xopen_lim.h" 1
2220 # 34 "../include/bits/xopen_lim.h"
2221 # 1 "/var/tmp/portage/sys-libs/glibc-2.4-r4/work/build-default-s390x-ibm-linux-gnu-nptl/bits/stdio_lim.h" 1
2222 # 35 "../include/bits/xopen_lim.h" 2
2223 # 154 "../include/limits.h" 2
2224 # 22 "../nptl/sysdeps/pthread/allocalim.h" 2
2225
2226
2227 extern inline int
2228 __libc_use_alloca (size_t size)
2229 {
2230 return (__builtin_expect (size <= 16384 / 4, 1)
2231 || __libc_alloca_cutoff (size));
2232 }
2233 # 21 "../include/alloca.h" 2
2234 # 613 "../stdlib/stdlib.h" 2
2235
2236
2237
2238
2239 extern void *valloc (size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) ;
2240
2241
2242
2243
2244 extern int posix_memalign (void **__memptr, size_t __alignment, size_t __size)
2245 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
2246
2247
2248
2249
2250 extern void abort (void) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__));
2251
2252
2253
2254 extern int atexit (void (*__func) (void)) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2255
2256
2257
2258
2259
2260 extern int on_exit (void (*__func) (int __status, void *__arg), void *__arg)
2261 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2262
2263
2264
2265
2266
2267
2268 extern void exit (int __status) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__));
2269
2270
2271
2272
2273
2274
2275 extern void _Exit (int __status) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__));
2276
2277
2278
2279
2280
2281
2282 extern char *getenv (__const char *__name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
2283
2284
2285
2286
2287 extern char *__secure_getenv (__const char *__name)
2288 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
2289
2290
2291
2292
2293
2294 extern int putenv (char *__string) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2295
2296
2297
2298
2299
2300 extern int setenv (__const char *__name, __const char *__value, int __replace)
2301 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
2302
2303
2304 extern int unsetenv (__const char *__name) __attribute__ ((__nothrow__));
2305
2306
2307
2308
2309
2310
2311 extern int clearenv (void) __attribute__ ((__nothrow__));
2312 # 698 "../stdlib/stdlib.h"
2313 extern char *mktemp (char *__template) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
2314 # 709 "../stdlib/stdlib.h"
2315 extern int mkstemp (char *__template) __attribute__ ((__nonnull__ (1))) ;
2316 # 719 "../stdlib/stdlib.h"
2317 extern int mkstemp64 (char *__template) __attribute__ ((__nonnull__ (1))) ;
2318 # 729 "../stdlib/stdlib.h"
2319 extern char *mkdtemp (char *__template) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
2320
2321
2322
2323
2324
2325
2326
2327
2328 extern int system (__const char *__command) ;
2329
2330
2331
2332
2333
2334
2335
2336 extern char *canonicalize_file_name (__const char *__name)
2337 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
2338 # 757 "../stdlib/stdlib.h"
2339 extern char *realpath (__const char *__restrict __name,
2340 char *__restrict __resolved) __attribute__ ((__nothrow__)) ;
2341
2342
2343
2344
2345
2346
2347 typedef int (*__compar_fn_t) (__const void *, __const void *);
2348
2349
2350 typedef __compar_fn_t comparison_fn_t;
2351
2352
2353
2354
2355
2356
2357 extern void *bsearch (__const void *__key, __const void *__base,
2358 size_t __nmemb, size_t __size, __compar_fn_t __compar)
2359 __attribute__ ((__nonnull__ (1, 2, 5))) ;
2360
2361
2362
2363 extern void qsort (void *__base, size_t __nmemb, size_t __size,
2364 __compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 4)));
2365
2366
2367
2368 extern int abs (int __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ;
2369 extern long int labs (long int __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ;
2370
2371
2372
2373 __extension__ extern long long int llabs (long long int __x)
2374 __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ;
2375
2376
2377
2378
2379
2380
2381
2382 extern div_t div (int __numer, int __denom)
2383 __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ;
2384 extern ldiv_t ldiv (long int __numer, long int __denom)
2385 __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ;
2386
2387
2388
2389
2390 __extension__ extern lldiv_t lldiv (long long int __numer,
2391 long long int __denom)
2392 __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ;
2393
2394 # 822 "../stdlib/stdlib.h"
2395 extern char *ecvt (double __value, int __ndigit, int *__restrict __decpt,
2396 int *__restrict __sign) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))) ;
2397
2398
2399
2400
2401 extern char *fcvt (double __value, int __ndigit, int *__restrict __decpt,
2402 int *__restrict __sign) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))) ;
2403
2404
2405
2406
2407 extern char *gcvt (double __value, int __ndigit, char *__buf)
2408 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3))) ;
2409
2410
2411
2412
2413 extern char *qecvt (long double __value, int __ndigit,
2414 int *__restrict __decpt, int *__restrict __sign)
2415 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))) ;
2416 extern char *qfcvt (long double __value, int __ndigit,
2417 int *__restrict __decpt, int *__restrict __sign)
2418 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))) ;
2419 extern char *qgcvt (long double __value, int __ndigit, char *__buf)
2420 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3))) ;
2421
2422
2423
2424
2425 extern int ecvt_r (double __value, int __ndigit, int *__restrict __decpt,
2426 int *__restrict __sign, char *__restrict __buf,
2427 size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5)));
2428 extern int fcvt_r (double __value, int __ndigit, int *__restrict __decpt,
2429 int *__restrict __sign, char *__restrict __buf,
2430 size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5)));
2431
2432 extern int qecvt_r (long double __value, int __ndigit,
2433 int *__restrict __decpt, int *__restrict __sign,
2434 char *__restrict __buf, size_t __len)
2435 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5)));
2436 extern int qfcvt_r (long double __value, int __ndigit,
2437 int *__restrict __decpt, int *__restrict __sign,
2438 char *__restrict __buf, size_t __len)
2439 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5)));
2440
2441
2442
2443
2444
2445
2446
2447 extern int mblen (__const char *__s, size_t __n) __attribute__ ((__nothrow__)) ;
2448
2449
2450 extern int mbtowc (wchar_t *__restrict __pwc,
2451 __const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__)) ;
2452
2453
2454 extern int wctomb (char *__s, wchar_t __wchar) __attribute__ ((__nothrow__)) ;
2455
2456
2457
2458 extern size_t mbstowcs (wchar_t *__restrict __pwcs,
2459 __const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__));
2460
2461 extern size_t wcstombs (char *__restrict __s,
2462 __const wchar_t *__restrict __pwcs, size_t __n)
2463 __attribute__ ((__nothrow__));
2464
2465
2466
2467
2468
2469
2470
2471
2472 extern int rpmatch (__const char *__response) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
2473 # 910 "../stdlib/stdlib.h"
2474 extern int getsubopt (char **__restrict __optionp,
2475 char *__const *__restrict __tokens,
2476 char **__restrict __valuep)
2477 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2, 3))) ;
2478
2479
2480
2481
2482
2483 extern void setkey (__const char *__key) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2484
2485
2486
2487
2488
2489
2490
2491 extern int posix_openpt (int __oflag) ;
2492
2493
2494
2495
2496
2497
2498
2499 extern int grantpt (int __fd) __attribute__ ((__nothrow__));
2500
2501
2502
2503 extern int unlockpt (int __fd) __attribute__ ((__nothrow__));
2504
2505
2506
2507
2508 extern char *ptsname (int __fd) __attribute__ ((__nothrow__)) ;
2509
2510
2511
2512
2513
2514
2515 extern int ptsname_r (int __fd, char *__buf, size_t __buflen)
2516 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
2517
2518
2519 extern int getpt (void);
2520
2521
2522
2523
2524
2525
2526 extern int getloadavg (double __loadavg[], int __nelem)
2527 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2528 # 978 "../stdlib/stdlib.h"
2529
2530 # 9 "../include/stdlib.h" 2
2531
2532
2533
2534
2535
2536
2537 extern __typeof (strtol_l) __strtol_l;
2538 extern __typeof (strtoul_l) __strtoul_l;
2539 extern __typeof (strtoll_l) __strtoll_l;
2540 extern __typeof (strtoull_l) __strtoull_l;
2541 extern __typeof (strtod_l) __strtod_l;
2542 extern __typeof (strtof_l) __strtof_l;
2543 extern __typeof (strtold_l) __strtold_l;
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561 extern long int __random (void);
2562 extern void __srandom (unsigned int __seed);
2563 extern char *__initstate (unsigned int __seed, char *__statebuf,
2564 size_t __statelen);
2565 extern char *__setstate (char *__statebuf);
2566 extern int __random_r (struct random_data *__buf, int32_t *__result);
2567 extern int __srandom_r (unsigned int __seed, struct random_data *__buf);
2568 extern int __initstate_r (unsigned int __seed, char *__statebuf,
2569 size_t __statelen, struct random_data *__buf);
2570 extern int __setstate_r (char *__statebuf, struct random_data *__buf);
2571 extern int __rand_r (unsigned int *__seed);
2572 extern int __erand48_r (unsigned short int __xsubi[3],
2573 struct drand48_data *__buffer, double *__result);
2574 extern int __nrand48_r (unsigned short int __xsubi[3],
2575 struct drand48_data *__buffer,
2576 long int *__result);
2577 extern int __jrand48_r (unsigned short int __xsubi[3],
2578 struct drand48_data *__buffer,
2579 long int *__result);
2580 extern int __srand48_r (long int __seedval,
2581 struct drand48_data *__buffer);
2582 extern int __seed48_r (unsigned short int __seed16v[3],
2583 struct drand48_data *__buffer);
2584 extern int __lcong48_r (unsigned short int __param[7],
2585 struct drand48_data *__buffer);
2586
2587
2588 extern int __drand48_iterate (unsigned short int __xsubi[3],
2589 struct drand48_data *__buffer);
2590
2591
2592 extern struct drand48_data __libc_drand48_data __attribute__ ((visibility ("hidden")));
2593
2594 extern int __setenv (__const char *__name, __const char *__value,
2595 int __replace);
2596 extern int __unsetenv (__const char *__name);
2597 extern int __clearenv (void);
2598 extern char *__canonicalize_file_name (__const char *__name);
2599 extern char *__realpath (__const char *__name, char *__resolved);
2600 extern int __ptsname_r (int __fd, char *__buf, size_t __buflen);
2601 extern int __getpt (void);
2602 extern int __posix_openpt (int __oflag);
2603
2604 extern int __add_to_environ (const char *name, const char *value,
2605 const char *combines, int replace);
2606
2607 extern void _quicksort (void *const pbase, size_t total_elems,
2608 size_t size, __compar_fn_t cmp);
2609
2610 extern int __on_exit (void (*__func) (int __status, void *__arg), void *__arg);
2611
2612 extern int __cxa_atexit (void (*func) (void *), void *arg, void *d);
2613 extern int __cxa_atexit_internal (void (*func) (void *), void *arg, void *d)
2614 __attribute__ ((visibility ("hidden")));
2615
2616 extern void __cxa_finalize (void *d);
2617
2618 extern int __posix_memalign (void **memptr, size_t alignment, size_t size);
2619
2620 extern void *__libc_memalign (size_t alignment, size_t size)
2621 __attribute__ ((__malloc__));
2622
2623 extern int __libc_system (const char *line);
2624
2625 extern double ____strtod_l_internal (__const char *__restrict __nptr,
2626 char **__restrict __endptr, int __group,
2627 __locale_t __loc);
2628 extern float ____strtof_l_internal (__const char *__restrict __nptr,
2629 char **__restrict __endptr, int __group,
2630 __locale_t __loc);
2631 extern long double ____strtold_l_internal (__const char *__restrict __nptr,
2632 char **__restrict __endptr,
2633 int __group, __locale_t __loc);
2634 extern long int ____strtol_l_internal (__const char *__restrict __nptr,
2635 char **__restrict __endptr,
2636 int __base, int __group,
2637 __locale_t __loc);
2638 extern unsigned long int ____strtoul_l_internal (__const char *
2639 __restrict __nptr,
2640 char **__restrict __endptr,
2641 int __base, int __group,
2642 __locale_t __loc);
2643 __extension__
2644 extern long long int ____strtoll_l_internal (__const char *__restrict __nptr,
2645 char **__restrict __endptr,
2646 int __base, int __group,
2647 __locale_t __loc);
2648 __extension__
2649 extern unsigned long long int ____strtoull_l_internal (__const char *
2650 __restrict __nptr,
2651 char **
2652 __restrict __endptr,
2653 int __base, int __group,
2654 __locale_t __loc);
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664 extern __inline double
2665 __attribute__ ((__nothrow__)) __strtod_l (__const char *__restrict __nptr, char **__restrict __endptr, __locale_t __loc)
2666
2667 {
2668 return ____strtod_l_internal (__nptr, __endptr, 0, __loc);
2669 }
2670 extern __inline long int
2671 __attribute__ ((__nothrow__)) __strtol_l (__const char *__restrict __nptr, char **__restrict __endptr, int __base, __locale_t __loc)
2672
2673 {
2674 return ____strtol_l_internal (__nptr, __endptr, __base, 0, __loc);
2675 }
2676 extern __inline unsigned long int
2677 __attribute__ ((__nothrow__)) __strtoul_l (__const char *__restrict __nptr, char **__restrict __endptr, int __base, __locale_t __loc)
2678
2679 {
2680 return ____strtoul_l_internal (__nptr, __endptr, __base, 0, __loc);
2681 }
2682 extern __inline float
2683 __attribute__ ((__nothrow__)) __strtof_l (__const char *__restrict __nptr, char **__restrict __endptr, __locale_t __loc)
2684
2685 {
2686 return ____strtof_l_internal (__nptr, __endptr, 0, __loc);
2687 }
2688 extern __inline long double
2689 __attribute__ ((__nothrow__)) __strtold_l (__const char *__restrict __nptr, char **__restrict __endptr, __locale_t __loc)
2690
2691 {
2692 return ____strtold_l_internal (__nptr, __endptr, 0, __loc);
2693 }
2694 __extension__ extern __inline long long int
2695 __attribute__ ((__nothrow__)) __strtoll_l (__const char *__restrict __nptr, char **__restrict __endptr, int __base, __locale_t __loc)
2696
2697 {
2698 return ____strtoll_l_internal (__nptr, __endptr, __base, 0, __loc);
2699 }
2700 __extension__ extern __inline unsigned long long int
2701 __attribute__ ((__nothrow__)) __strtoull_l (__const char * __restrict __nptr, char **__restrict __endptr, int __base, __locale_t __loc)
2702
2703 {
2704 return ____strtoull_l_internal (__nptr, __endptr, __base, 0, __loc);
2705 }
2706
2707 extern char *__ecvt (double __value, int __ndigit, int *__restrict __decpt,
2708 int *__restrict __sign);
2709 extern char *__fcvt (double __value, int __ndigit, int *__restrict __decpt,
2710 int *__restrict __sign);
2711 extern char *__gcvt (double __value, int __ndigit, char *__buf);
2712 extern int __ecvt_r (double __value, int __ndigit, int *__restrict __decpt,
2713 int *__restrict __sign, char *__restrict __buf,
2714 size_t __len);
2715 extern int __fcvt_r (double __value, int __ndigit, int *__restrict __decpt,
2716 int *__restrict __sign, char *__restrict __buf,
2717 size_t __len);
2718 extern char *__qecvt (long double __value, int __ndigit,
2719 int *__restrict __decpt, int *__restrict __sign);
2720 extern char *__qfcvt (long double __value, int __ndigit,
2721 int *__restrict __decpt, int *__restrict __sign);
2722 extern char *__qgcvt (long double __value, int __ndigit, char *__buf);
2723 extern int __qecvt_r (long double __value, int __ndigit,
2724 int *__restrict __decpt, int *__restrict __sign,
2725 char *__restrict __buf, size_t __len);
2726 extern int __qfcvt_r (long double __value, int __ndigit,
2727 int *__restrict __decpt, int *__restrict __sign,
2728 char *__restrict __buf, size_t __len);
2729 # 217 "../include/stdlib.h"
2730 extern void *__default_morecore (ptrdiff_t) __attribute__ ((__nothrow__));
2731
2732
2733
2734 # 29 "../nptl/sysdeps/s390/tls.h" 2
2735 # 1 "../nptl/sysdeps/pthread/list.h" 1
2736 # 29 "../nptl/sysdeps/pthread/list.h"
2737 typedef struct list_head
2738 {
2739 struct list_head *next;
2740 struct list_head *prev;
2741 } list_t;
2742 # 46 "../nptl/sysdeps/pthread/list.h"
2743 static inline void
2744 list_add (list_t *newp, list_t *head)
2745 {
2746 head->next->prev = newp;
2747 newp->next = head->next;
2748 newp->prev = head;
2749 head->next = newp;
2750 }
2751
2752
2753
2754 static inline void
2755 list_add_tail (list_t *newp, list_t *head)
2756 {
2757 head->prev->next = newp;
2758 newp->next = head;
2759 newp->prev = head->prev;
2760 head->prev = newp;
2761 }
2762
2763
2764
2765 static inline void
2766 list_del (list_t *elem)
2767 {
2768 elem->next->prev = elem->prev;
2769 elem->prev->next = elem->next;
2770 }
2771
2772
2773
2774 static inline void
2775 list_splice (list_t *add, list_t *head)
2776 {
2777
2778 if (add != add->next)
2779 {
2780 add->next->prev = head;
2781 add->prev->next = head->next;
2782 head->next->prev = add->prev;
2783 head->next = add->next;
2784 }
2785 }
2786 # 30 "../nptl/sysdeps/s390/tls.h" 2
2787
2788
2789
2790 typedef union dtv
2791 {
2792 size_t counter;
2793 struct
2794 {
2795 void *val;
2796 _Bool is_static;
2797 } pointer;
2798 } dtv_t;
2799
2800
2801 typedef struct
2802 {
2803 void *tcb;
2804
2805 dtv_t *dtv;
2806 void *self;
2807 int multiple_threads;
2808 uintptr_t sysinfo;
2809 uintptr_t stack_guard;
2810 } tcbhead_t;
2811 # 78 "../nptl/sysdeps/s390/tls.h"
2812 # 1 "../sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h" 1
2813 # 25 "../sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h"
2814 # 1 "../sysdeps/s390/s390-64/sysdep.h" 1
2815 # 21 "../sysdeps/s390/s390-64/sysdep.h"
2816 # 1 "../sysdeps/generic/sysdep.h" 1
2817 # 22 "../sysdeps/s390/s390-64/sysdep.h" 2
2818 # 26 "../sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h" 2
2819 # 1 "../sysdeps/unix/sysdep.h" 1
2820 # 19 "../sysdeps/unix/sysdep.h"
2821 # 1 "../sysdeps/generic/sysdep.h" 1
2822 # 20 "../sysdeps/unix/sysdep.h" 2
2823
2824 # 1 "../sysdeps/unix/sysv/linux/sys/syscall.h" 1
2825 # 25 "../sysdeps/unix/sysv/linux/sys/syscall.h"
2826 # 1 "/usr/include/asm/unistd.h" 1 3 4
2827 # 26 "../sysdeps/unix/sysv/linux/sys/syscall.h" 2
2828 # 22 "../sysdeps/unix/sysdep.h" 2
2829 # 27 "../sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h" 2
2830 # 1 "../sysdeps/unix/sysv/linux/dl-sysdep.h" 1
2831 # 20 "../sysdeps/unix/sysv/linux/dl-sysdep.h"
2832 # 1 "../sysdeps/generic/dl-sysdep.h" 1
2833 # 21 "../sysdeps/unix/sysv/linux/dl-sysdep.h" 2
2834 # 28 "../sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h" 2
2835 # 1 "../include/tls.h" 1
2836 # 29 "../sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h" 2
2837 # 79 "../nptl/sysdeps/s390/tls.h" 2
2838
2839
2840 # 1 "../nptl/descr.h" 1
2841 # 23 "../nptl/descr.h"
2842 # 1 "../include/limits.h" 1
2843 # 145 "../include/limits.h"
2844 # 1 "../include/bits/posix1_lim.h" 1
2845 # 146 "../include/limits.h" 2
2846
2847
2848
2849 # 1 "../include/bits/posix2_lim.h" 1
2850 # 150 "../include/limits.h" 2
2851 # 24 "../nptl/descr.h" 2
2852 # 1 "../include/sched.h" 1
2853
2854 # 1 "../posix/sched.h" 1
2855 # 29 "../posix/sched.h"
2856 # 1 "../include/time.h" 1
2857
2858
2859 # 1 "../time/time.h" 1
2860 # 4 "../include/time.h" 2
2861 # 30 "../posix/sched.h" 2
2862
2863
2864 # 1 "../sysdeps/unix/sysv/linux/bits/sched.h" 1
2865 # 65 "../sysdeps/unix/sysv/linux/bits/sched.h"
2866 struct sched_param
2867 {
2868 int __sched_priority;
2869 };
2870
2871
2872
2873
2874
2875 extern int clone (int (*__fn) (void *__arg), void *__child_stack,
2876 int __flags, void *__arg, ...) __attribute__ ((__nothrow__));
2877
2878
2879 extern int unshare (int __flags) __attribute__ ((__nothrow__));
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890 struct __sched_param
2891 {
2892 int __sched_priority;
2893 };
2894 # 104 "../sysdeps/unix/sysv/linux/bits/sched.h"
2895 typedef unsigned long int __cpu_mask;
2896
2897
2898
2899
2900
2901
2902 typedef struct
2903 {
2904 __cpu_mask __bits[1024 / (8 * sizeof (__cpu_mask))];
2905 } cpu_set_t;
2906 # 33 "../posix/sched.h" 2
2907
2908
2909
2910
2911
2912
2913
2914 extern int sched_setparam (__pid_t __pid, __const struct sched_param *__param)
2915 __attribute__ ((__nothrow__));
2916
2917
2918 extern int sched_getparam (__pid_t __pid, struct sched_param *__param) __attribute__ ((__nothrow__));
2919
2920
2921 extern int sched_setscheduler (__pid_t __pid, int __policy,
2922 __const struct sched_param *__param) __attribute__ ((__nothrow__));
2923
2924
2925 extern int sched_getscheduler (__pid_t __pid) __attribute__ ((__nothrow__));
2926
2927
2928 extern int sched_yield (void) __attribute__ ((__nothrow__));
2929
2930
2931 extern int sched_get_priority_max (int __algorithm) __attribute__ ((__nothrow__));
2932
2933
2934 extern int sched_get_priority_min (int __algorithm) __attribute__ ((__nothrow__));
2935
2936
2937 extern int sched_rr_get_interval (__pid_t __pid, struct timespec *__t) __attribute__ ((__nothrow__));
2938 # 76 "../posix/sched.h"
2939 extern int sched_setaffinity (__pid_t __pid, size_t __cpusetsize,
2940 __const cpu_set_t *__cpuset) __attribute__ ((__nothrow__));
2941
2942
2943 extern int sched_getaffinity (__pid_t __pid, size_t __cpusetsize,
2944 cpu_set_t *__cpuset) __attribute__ ((__nothrow__));
2945
2946
2947
2948 # 3 "../include/sched.h" 2
2949
2950
2951 extern int __sched_setparam (__pid_t __pid,
2952 __const struct sched_param *__param);
2953 extern int __sched_getparam (__pid_t __pid, struct sched_param *__param);
2954 extern int __sched_setscheduler (__pid_t __pid, int __policy,
2955 __const struct sched_param *__param);
2956
2957 extern int __sched_getscheduler (__pid_t __pid);
2958 extern int __sched_yield (void);
2959
2960 extern int __sched_get_priority_max (int __algorithm);
2961 extern int __sched_get_priority_min (int __algorithm);
2962 extern int __sched_rr_get_interval (__pid_t __pid, struct timespec *__t);
2963
2964
2965 extern int __clone (int (*__fn) (void *__arg), void *__child_stack,
2966 int __flags, void *__arg, ...);
2967 extern int __clone2 (int (*__fn) (void *__arg), void *__child_stack_base,
2968 size_t __child_stack_size, int __flags, void *__arg, ...);
2969 # 25 "../nptl/descr.h" 2
2970 # 1 "../include/setjmp.h" 1
2971
2972 # 1 "../setjmp/setjmp.h" 1
2973 # 28 "../setjmp/setjmp.h"
2974
2975
2976 # 1 "../sysdeps/s390/bits/setjmp.h" 1
2977 # 28 "../sysdeps/s390/bits/setjmp.h"
2978 # 1 "../sysdeps/s390/s390-64/bits/wordsize.h" 1
2979 # 29 "../sysdeps/s390/bits/setjmp.h" 2
2980
2981
2982
2983 typedef struct __s390_jmp_buf
2984 {
2985
2986 long int __gregs[10];
2987
2988
2989
2990 long __fpregs[8];
2991
2992
2993
2994
2995 } __jmp_buf[1];
2996 # 31 "../setjmp/setjmp.h" 2
2997 # 1 "../sysdeps/unix/sysv/linux/bits/sigset.h" 1
2998 # 32 "../setjmp/setjmp.h" 2
2999
3000
3001
3002
3003 typedef struct __jmp_buf_tag
3004 {
3005
3006
3007
3008
3009 __jmp_buf __jmpbuf;
3010 int __mask_was_saved;
3011 __sigset_t __saved_mask;
3012 } jmp_buf[1];
3013
3014
3015
3016
3017 extern int setjmp (jmp_buf __env) __attribute__ ((__nothrow__));
3018
3019
3020
3021
3022
3023
3024
3025 extern int __sigsetjmp (struct __jmp_buf_tag __env[1], int __savemask) __attribute__ ((__nothrow__));
3026
3027
3028
3029
3030 extern int _setjmp (struct __jmp_buf_tag __env[1]) __attribute__ ((__nothrow__));
3031 # 76 "../setjmp/setjmp.h"
3032
3033
3034
3035
3036 extern void longjmp (struct __jmp_buf_tag __env[1], int __val)
3037 __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__));
3038
3039
3040
3041
3042
3043
3044
3045 extern void _longjmp (struct __jmp_buf_tag __env[1], int __val)
3046 __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__));
3047
3048
3049
3050
3051
3052
3053
3054 typedef struct __jmp_buf_tag sigjmp_buf[1];
3055 # 108 "../setjmp/setjmp.h"
3056 extern void siglongjmp (sigjmp_buf __env, int __val)
3057 __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__));
3058
3059
3060
3061 # 3 "../include/setjmp.h" 2
3062
3063
3064
3065
3066 extern void __longjmp (__jmp_buf __env, int __val)
3067 __attribute__ ((__noreturn__));
3068
3069
3070
3071
3072
3073 extern int __sigjmp_save (jmp_buf __env, int __savemask);
3074
3075 extern void _longjmp_unwind (jmp_buf env, int val);
3076
3077 extern void __libc_siglongjmp (sigjmp_buf env, int val)
3078 __attribute__ ((noreturn));
3079 extern void __libc_longjmp (sigjmp_buf env, int val)
3080 __attribute__ ((noreturn));
3081
3082
3083
3084
3085 # 26 "../nptl/descr.h" 2
3086
3087 # 1 "../include/sys/types.h" 1
3088 # 28 "../nptl/descr.h" 2
3089 # 1 "../sysdeps/generic/hp-timing.h" 1
3090 # 71 "../sysdeps/generic/hp-timing.h"
3091 typedef int hp_timing_t;
3092 # 29 "../nptl/descr.h" 2
3093
3094 # 1 "../nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h" 1
3095 # 23 "../nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h"
3096 # 1 "../include/time.h" 1
3097
3098
3099
3100
3101 # 1 "../time/time.h" 1
3102 # 31 "../time/time.h"
3103
3104
3105
3106
3107
3108
3109
3110
3111 # 1 "/usr/lib64/gcc/s390x-suse-linux/4.1.0/include/stddef.h" 1 3 4
3112 # 40 "../time/time.h" 2
3113
3114
3115
3116 # 1 "../bits/time.h" 1
3117 # 44 "../time/time.h" 2
3118 # 132 "../time/time.h"
3119
3120
3121 struct tm
3122 {
3123 int tm_sec;
3124 int tm_min;
3125 int tm_hour;
3126 int tm_mday;
3127 int tm_mon;
3128 int tm_year;
3129 int tm_wday;
3130 int tm_yday;
3131 int tm_isdst;
3132
3133
3134 long int tm_gmtoff;
3135 __const char *tm_zone;
3136
3137
3138
3139
3140 };
3141
3142
3143
3144
3145
3146
3147
3148
3149 struct itimerspec
3150 {
3151 struct timespec it_interval;
3152 struct timespec it_value;
3153 };
3154
3155
3156 struct sigevent;
3157 # 181 "../time/time.h"
3158
3159
3160
3161 extern clock_t clock (void) __attribute__ ((__nothrow__));
3162
3163
3164 extern time_t time (time_t *__timer) __attribute__ ((__nothrow__));
3165
3166
3167 extern double difftime (time_t __time1, time_t __time0)
3168 __attribute__ ((__nothrow__)) __attribute__ ((__const__));
3169
3170
3171 extern time_t mktime (struct tm *__tp) __attribute__ ((__nothrow__));
3172
3173
3174
3175
3176
3177 extern size_t strftime (char *__restrict __s, size_t __maxsize,
3178 __const char *__restrict __format,
3179 __const struct tm *__restrict __tp) __attribute__ ((__nothrow__));
3180
3181
3182
3183
3184
3185 extern char *strptime (__const char *__restrict __s,
3186 __const char *__restrict __fmt, struct tm *__tp)
3187 __attribute__ ((__nothrow__));
3188
3189
3190
3191
3192
3193 # 1 "../include/xlocale.h" 1
3194 # 217 "../time/time.h" 2
3195
3196 extern size_t strftime_l (char *__restrict __s, size_t __maxsize,
3197 __const char *__restrict __format,
3198 __const struct tm *__restrict __tp,
3199 __locale_t __loc) __attribute__ ((__nothrow__));
3200
3201 extern char *strptime_l (__const char *__restrict __s,
3202 __const char *__restrict __fmt, struct tm *__tp,
3203 __locale_t __loc) __attribute__ ((__nothrow__));
3204
3205
3206
3207
3208
3209
3210 extern struct tm *gmtime (__const time_t *__timer) __attribute__ ((__nothrow__));
3211
3212
3213
3214 extern struct tm *localtime (__const time_t *__timer) __attribute__ ((__nothrow__));
3215
3216
3217
3218
3219
3220 extern struct tm *gmtime_r (__const time_t *__restrict __timer,
3221 struct tm *__restrict __tp) __attribute__ ((__nothrow__));
3222
3223
3224
3225 extern struct tm *localtime_r (__const time_t *__restrict __timer,
3226 struct tm *__restrict __tp) __attribute__ ((__nothrow__));
3227
3228
3229
3230
3231
3232 extern char *asctime (__const struct tm *__tp) __attribute__ ((__nothrow__));
3233
3234
3235 extern char *ctime (__const time_t *__timer) __attribute__ ((__nothrow__));
3236
3237
3238
3239
3240
3241
3242
3243 extern char *asctime_r (__const struct tm *__restrict __tp,
3244 char *__restrict __buf) __attribute__ ((__nothrow__));
3245
3246
3247 extern char *ctime_r (__const time_t *__restrict __timer,
3248 char *__restrict __buf) __attribute__ ((__nothrow__));
3249
3250
3251
3252
3253 extern char *__tzname[2];
3254 extern int __daylight;
3255 extern long int __timezone;
3256
3257
3258
3259
3260 extern char *tzname[2];
3261
3262
3263
3264 extern void tzset (void) __attribute__ ((__nothrow__));
3265
3266
3267
3268 extern int daylight;
3269 extern long int timezone;
3270
3271
3272
3273
3274
3275 extern int stime (__const time_t *__when) __attribute__ ((__nothrow__));
3276 # 312 "../time/time.h"
3277 extern time_t timegm (struct tm *__tp) __attribute__ ((__nothrow__));
3278
3279
3280 extern time_t timelocal (struct tm *__tp) __attribute__ ((__nothrow__));
3281
3282
3283 extern int dysize (int __year) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
3284 # 327 "../time/time.h"
3285 extern int nanosleep (__const struct timespec *__requested_time,
3286 struct timespec *__remaining);
3287
3288
3289
3290 extern int clock_getres (clockid_t __clock_id, struct timespec *__res) __attribute__ ((__nothrow__));
3291
3292
3293 extern int clock_gettime (clockid_t __clock_id, struct timespec *__tp) __attribute__ ((__nothrow__));
3294
3295
3296 extern int clock_settime (clockid_t __clock_id, __const struct timespec *__tp)
3297 __attribute__ ((__nothrow__));
3298
3299
3300
3301
3302
3303
3304 extern int clock_nanosleep (clockid_t __clock_id, int __flags,
3305 __const struct timespec *__req,
3306 struct timespec *__rem);
3307
3308
3309 extern int clock_getcpuclockid (pid_t __pid, clockid_t *__clock_id) __attribute__ ((__nothrow__));
3310
3311
3312
3313
3314 extern int timer_create (clockid_t __clock_id,
3315 struct sigevent *__restrict __evp,
3316 timer_t *__restrict __timerid) __attribute__ ((__nothrow__));
3317
3318
3319 extern int timer_delete (timer_t __timerid) __attribute__ ((__nothrow__));
3320
3321
3322 extern int timer_settime (timer_t __timerid, int __flags,
3323 __const struct itimerspec *__restrict __value,
3324 struct itimerspec *__restrict __ovalue) __attribute__ ((__nothrow__));
3325
3326
3327 extern int timer_gettime (timer_t __timerid, struct itimerspec *__value)
3328 __attribute__ ((__nothrow__));
3329
3330
3331 extern int timer_getoverrun (timer_t __timerid) __attribute__ ((__nothrow__));
3332 # 389 "../time/time.h"
3333 extern int getdate_err;
3334 # 398 "../time/time.h"
3335 extern struct tm *getdate (__const char *__string);
3336 # 412 "../time/time.h"
3337 extern int getdate_r (__const char *__restrict __string,
3338 struct tm *__restrict __resbufp);
3339
3340
3341
3342 # 6 "../include/time.h" 2
3343 # 1 "../include/xlocale.h" 1
3344 # 7 "../include/time.h" 2
3345
3346
3347
3348 extern __typeof (strftime_l) __strftime_l;
3349
3350 extern __typeof (strptime_l) __strptime_l;
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363 struct tm;
3364
3365
3366 extern const unsigned short int __mon_yday[2][13] __attribute__ ((visibility ("hidden")));
3367
3368
3369 extern struct tm _tmbuf __attribute__ ((visibility ("hidden")));
3370
3371
3372 extern char *__tzstring (const char *string);
3373
3374
3375 extern size_t __tzname_cur_max __attribute__ ((visibility ("hidden")));
3376
3377
3378 extern int __use_tzfile __attribute__ ((visibility ("hidden")));
3379
3380 extern void __tzfile_read (const char *file, size_t extra,
3381 char **extrap);
3382 extern void __tzfile_compute (time_t timer, int use_localtime,
3383 long int *leap_correct, int *leap_hit,
3384 struct tm *tp);
3385 extern void __tzfile_default (const char *std, const char *dst,
3386 long int stdoff, long int dstoff);
3387
3388
3389
3390
3391 extern time_t __mktime_internal (struct tm *__tp,
3392 struct tm *(*__func) (const time_t *,
3393 struct tm *),
3394 time_t *__offset);
3395 extern struct tm *__localtime_r (__const time_t *__timer,
3396 struct tm *__tp) __attribute__ ((visibility ("hidden")));
3397
3398 extern struct tm *__gmtime_r (__const time_t *__restrict __timer,
3399 struct tm *__restrict __tp);
3400
3401
3402
3403
3404
3405
3406 extern int __offtime (__const time_t *__timer,
3407 long int __offset,
3408 struct tm *__tp);
3409
3410 extern char *__asctime_r (__const struct tm *__tp, char *__buf);
3411 extern void __tzset (void);
3412
3413
3414 extern struct tm *__tz_convert (const time_t *timer, int use_localtime, struct tm *tp);
3415
3416
3417
3418 extern long int __tzname_max (void);
3419
3420 extern int __nanosleep (__const struct timespec *__requested_time,
3421 struct timespec *__remaining);
3422
3423 extern int __getdate_r (__const char *__string, struct tm *__resbufp);
3424
3425
3426
3427 extern int __getclktck (void);
3428
3429
3430
3431
3432
3433
3434 enum ptime_locale_status { not, loc, raw };
3435
3436 extern char * __strptime_internal (const char *rp, const char *fmt,
3437 struct tm *tm,
3438 enum ptime_locale_status *decided,
3439 int era_cnt, __locale_t locparam)
3440 ;
3441
3442
3443 extern double __difftime (time_t time1, time_t time0);
3444 # 114 "../include/time.h"
3445
3446 # 24 "../nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h" 2
3447 # 1 "../sysdeps/unix/sysv/linux/sys/param.h" 1
3448 # 22 "../sysdeps/unix/sysv/linux/sys/param.h"
3449 # 1 "../include/limits.h" 1
3450 # 145 "../include/limits.h"
3451 # 1 "../include/bits/posix1_lim.h" 1
3452 # 146 "../include/limits.h" 2
3453
3454
3455
3456 # 1 "../include/bits/posix2_lim.h" 1
3457 # 150 "../include/limits.h" 2
3458 # 23 "../sysdeps/unix/sysv/linux/sys/param.h" 2
3459
3460 # 1 "/usr/include/linux/param.h" 1 3 4
3461
3462
3463
3464 # 1 "/usr/include/asm/param.h" 1 3 4
3465 # 5 "/usr/include/linux/param.h" 2 3 4
3466 # 25 "../sysdeps/unix/sysv/linux/sys/param.h" 2
3467 # 42 "../sysdeps/unix/sysv/linux/sys/param.h"
3468 # 1 "../include/sys/types.h" 1
3469 # 43 "../sysdeps/unix/sysv/linux/sys/param.h" 2
3470 # 25 "../nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h" 2
3471
3472 # 1 "../include/atomic.h" 1
3473 # 26 "../include/atomic.h"
3474 # 1 "../sysdeps/s390/bits/atomic.h" 1
3475 # 22 "../sysdeps/s390/bits/atomic.h"
3476 typedef int8_t atomic8_t;
3477 typedef uint8_t uatomic8_t;
3478 typedef int_fast8_t atomic_fast8_t;
3479 typedef uint_fast8_t uatomic_fast8_t;
3480
3481 typedef int16_t atomic16_t;
3482 typedef uint16_t uatomic16_t;
3483 typedef int_fast16_t atomic_fast16_t;
3484 typedef uint_fast16_t uatomic_fast16_t;
3485
3486 typedef int32_t atomic32_t;
3487 typedef uint32_t uatomic32_t;
3488 typedef int_fast32_t atomic_fast32_t;
3489 typedef uint_fast32_t uatomic_fast32_t;
3490
3491 typedef int64_t atomic64_t;
3492 typedef uint64_t uatomic64_t;
3493 typedef int_fast64_t atomic_fast64_t;
3494 typedef uint_fast64_t uatomic_fast64_t;
3495
3496 typedef intptr_t atomicptr_t;
3497 typedef uintptr_t uatomicptr_t;
3498 typedef intmax_t atomic_max_t;
3499 typedef uintmax_t uatomic_max_t;
3500 # 27 "../include/atomic.h" 2
3501 # 27 "../nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h" 2
3502 # 153 "../nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h"
3503 static inline int
3504 __attribute__ ((always_inline))
3505 __lll_mutex_trylock (int *futex)
3506 {
3507 unsigned int old;
3508
3509 __asm __volatile ("cs %0,%3,%1"
3510 : "=d" (old), "=Q" (*futex)
3511 : "0" (0), "d" (1), "m" (*futex) : "cc", "memory" );
3512 return old != 0;
3513 }
3514
3515
3516
3517 static inline int
3518 __attribute__ ((always_inline))
3519 __lll_mutex_cond_trylock (int *futex)
3520 {
3521 unsigned int old;
3522
3523 __asm __volatile ("cs %0,%3,%1"
3524 : "=d" (old), "=Q" (*futex)
3525 : "0" (0), "d" (2), "m" (*futex) : "cc", "memory" );
3526 return old != 0;
3527 }
3528
3529
3530
3531 static inline int
3532 __attribute__ ((always_inline))
3533 __lll_robust_mutex_trylock (int *futex, int id)
3534 {
3535 unsigned int old;
3536
3537 __asm __volatile ("cs %0,%3,%1"
3538 : "=d" (old), "=Q" (*futex)
3539 : "0" (0), "d" (id), "m" (*futex) : "cc", "memory" );
3540 return old != 0;
3541 }
3542
3543
3544
3545
3546 extern void __lll_lock_wait (int *futex) __attribute__ ((visibility ("hidden")));
3547 extern int __lll_robust_lock_wait (int *futex) __attribute__ ((visibility ("hidden")));
3548
3549 static inline void
3550 __attribute__ ((always_inline))
3551 __lll_mutex_lock (int *futex)
3552 {
3553 if (({ __typeof (0) __old = (0); ({ __typeof (*futex) __result; if (sizeof (*futex) == 1) __result = (abort (), (__typeof (*futex)) 0); else if (sizeof (*futex) == 2) __result = (abort (), (__typeof (*futex)) 0); else if (sizeof (*futex) == 4) __result = ({ __typeof (futex) __archmem = (futex); __typeof (*futex) __archold = (__old); __asm __volatile ("cs %0,%2,%1" : "+d" (__archold), "=Q" (*__archmem) : "d" (1), "m" (*__archmem) : "cc" ); __archold; }); else if (sizeof (*futex) == 8) __result = ({ __typeof (futex) __archmem = (futex); __typeof (*futex) __archold = (__old); __asm __volatile ("csg %0,%2,%1" : "+d" (__archold), "=Q" (*__archmem) : "d" ((long) (1)), "m" (*__archmem) : "cc" ); __archold; }); else abort (); __result; }) != __old; }) != 0)
3554 __lll_lock_wait (futex);
3555 }
3556
3557
3558 static inline int
3559 __attribute__ ((always_inline))
3560 __lll_robust_mutex_lock (int *futex, int id)
3561 {
3562 int result = 0;
3563 if (({ __typeof (0) __old = (0); ({ __typeof (*futex) __result; if (sizeof (*futex) == 1) __result = (abort (), (__typeof (*futex)) 0); else if (sizeof (*futex) == 2) __result = (abort (), (__typeof (*futex)) 0); else if (sizeof (*futex) == 4) __result = ({ __typeof (futex) __archmem = (futex); __typeof (*futex) __archold = (__old); __asm __volatile ("cs %0,%2,%1" : "+d" (__archold), "=Q" (*__archmem) : "d" (id), "m" (*__archmem) : "cc" ); __archold; }); else if (sizeof (*futex) == 8) __result = ({ __typeof (futex) __archmem = (futex); __typeof (*futex) __archold = (__old); __asm __volatile ("csg %0,%2,%1" : "+d" (__archold), "=Q" (*__archmem) : "d" ((long) (id)), "m" (*__archmem) : "cc" ); __archold; }); else abort (); __result; }) != __old; }) != 0)
3564 result = __lll_robust_lock_wait (futex);
3565 return result;
3566 }
3567
3568
3569 static inline void
3570 __attribute__ ((always_inline))
3571 __lll_mutex_cond_lock (int *futex)
3572 {
3573 if (({ __typeof (0) __old = (0); ({ __typeof (*futex) __result; if (sizeof (*futex) == 1) __result = (abort (), (__typeof (*futex)) 0); else if (sizeof (*futex) == 2) __result = (abort (), (__typeof (*futex)) 0); else if (sizeof (*futex) == 4) __result = ({ __typeof (futex) __archmem = (futex); __typeof (*futex) __archold = (__old); __asm __volatile ("cs %0,%2,%1" : "+d" (__archold), "=Q" (*__archmem) : "d" (2), "m" (*__archmem) : "cc" ); __archold; }); else if (sizeof (*futex) == 8) __result = ({ __typeof (futex) __archmem = (futex); __typeof (*futex) __archold = (__old); __asm __volatile ("csg %0,%2,%1" : "+d" (__archold), "=Q" (*__archmem) : "d" ((long) (2)), "m" (*__archmem) : "cc" ); __archold; }); else abort (); __result; }) != __old; }) != 0)
3574 __lll_lock_wait (futex);
3575 }
3576
3577
3578
3579
3580
3581 extern int __lll_timedlock_wait
3582 (int *futex, const struct timespec *) __attribute__ ((visibility ("hidden")));
3583 extern int __lll_robust_timedlock_wait
3584 (int *futex, const struct timespec *) __attribute__ ((visibility ("hidden")));
3585
3586 static inline int
3587 __attribute__ ((always_inline))
3588 __lll_mutex_timedlock (int *futex, const struct timespec *abstime)
3589 {
3590 int result = 0;
3591 if (({ __typeof (0) __old = (0); ({ __typeof (*futex) __result; if (sizeof (*futex) == 1) __result = (abort (), (__typeof (*futex)) 0); else if (sizeof (*futex) == 2) __result = (abort (), (__typeof (*futex)) 0); else if (sizeof (*futex) == 4) __result = ({ __typeof (futex) __archmem = (futex); __typeof (*futex) __archold = (__old); __asm __volatile ("cs %0,%2,%1" : "+d" (__archold), "=Q" (*__archmem) : "d" (1), "m" (*__archmem) : "cc" ); __archold; }); else if (sizeof (*futex) == 8) __result = ({ __typeof (futex) __archmem = (futex); __typeof (*futex) __archold = (__old); __asm __volatile ("csg %0,%2,%1" : "+d" (__archold), "=Q" (*__archmem) : "d" ((long) (1)), "m" (*__archmem) : "cc" ); __archold; }); else abort (); __result; }) != __old; }) != 0)
3592 result = __lll_timedlock_wait (futex, abstime);
3593 return result;
3594 }
3595
3596
3597
3598 static inline int
3599 __attribute__ ((always_inline))
3600 __lll_robust_mutex_timedlock (int *futex, const struct timespec *abstime,
3601 int id)
3602 {
3603 int result = 0;
3604 if (({ __typeof (0) __old = (0); ({ __typeof (*futex) __result; if (sizeof (*futex) == 1) __result = (abort (), (__typeof (*futex)) 0); else if (sizeof (*futex) == 2) __result = (abort (), (__typeof (*futex)) 0); else if (sizeof (*futex) == 4) __result = ({ __typeof (futex) __archmem = (futex); __typeof (*futex) __archold = (__old); __asm __volatile ("cs %0,%2,%1" : "+d" (__archold), "=Q" (*__archmem) : "d" (id), "m" (*__archmem) : "cc" ); __archold; }); else if (sizeof (*futex) == 8) __result = ({ __typeof (futex) __archmem = (futex); __typeof (*futex) __archold = (__old); __asm __volatile ("csg %0,%2,%1" : "+d" (__archold), "=Q" (*__archmem) : "d" ((long) (id)), "m" (*__archmem) : "cc" ); __archold; }); else abort (); __result; }) != __old; }) != 0)
3605 result = __lll_robust_timedlock_wait (futex, abstime);
3606 return result;
3607 }
3608
3609
3610
3611
3612 static inline void
3613 __attribute__ ((always_inline))
3614 __lll_mutex_unlock (int *futex)
3615 {
3616 int oldval;
3617 int newval = 0;
3618
3619 do { __typeof (futex) __futex = (futex); __asm __volatile (" l %1,%0\n" "0: " "slr %2,%2" "\n" " cs %1,%2,%0\n" " jl 0b\n" "1:" : "=Q" (*__futex), "=&d" (oldval), "=&d" (newval) : "m" (*__futex) : "cc", "memory" ); } while (0);
3620 if (oldval > 1)
3621 ({ register unsigned long int __r2 asm ("2") = (unsigned long int) (futex); register unsigned long int __r3 asm ("3") = 1; register unsigned long int __r4 asm ("4") = (unsigned long int) (1); register unsigned long int __result asm ("2"); __asm __volatile ("svc %b1" : "=d" (__result) : "i" (238), "0" (__r2), "d" (__r3), "d" (__r4) : "cc", "memory" ); __result; });
3622 }
3623
3624
3625
3626
3627 static inline void
3628 __attribute__ ((always_inline))
3629 __lll_robust_mutex_unlock (int *futex, int mask)
3630 {
3631 int oldval;
3632 int newval = 0;
3633
3634 do { __typeof (futex) __futex = (futex); __asm __volatile (" l %1,%0\n" "0: " "slr %2,%2" "\n" " cs %1,%2,%0\n" " jl 0b\n" "1:" : "=Q" (*__futex), "=&d" (oldval), "=&d" (newval) : "m" (*__futex) : "cc", "memory" ); } while (0);
3635 if (oldval & mask)
3636 ({ register unsigned long int __r2 asm ("2") = (unsigned long int) (futex); register unsigned long int __r3 asm ("3") = 1; register unsigned long int __r4 asm ("4") = (unsigned long int) (1); register unsigned long int __result asm ("2"); __asm __volatile ("svc %b1" : "=d" (__result) : "i" (238), "0" (__r2), "d" (__r3), "d" (__r4) : "cc", "memory" ); __result; });
3637 }
3638
3639
3640
3641
3642 static inline void
3643 __attribute__ ((always_inline))
3644 __lll_mutex_unlock_force (int *futex)
3645 {
3646 *futex = 0;
3647 ({ register unsigned long int __r2 asm ("2") = (unsigned long int) (futex); register unsigned long int __r3 asm ("3") = 1; register unsigned long int __r4 asm ("4") = (unsigned long int) (1); register unsigned long int __result asm ("2"); __asm __volatile ("svc %b1" : "=d" (__result) : "i" (238), "0" (__r2), "d" (__r3), "d" (__r4) : "cc", "memory" ); __result; });
3648 }
3649 # 310 "../nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h"
3650 typedef int lll_lock_t;
3651 # 321 "../nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h"
3652 extern int lll_unlock_wake_cb (int *__futex) __attribute__ ((visibility ("hidden")));
3653 # 333 "../nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h"
3654 static inline void
3655 __attribute__ ((always_inline))
3656 __lll_wait_tid (int *ptid)
3657 {
3658 int tid;
3659
3660 while ((tid = *ptid) != 0)
3661 ({ register unsigned long int __r2 asm ("2") = (unsigned long int) (ptid); register unsigned long int __r3 asm ("3") = 0; register unsigned long int __r4 asm ("4") = (unsigned long int) (tid); register unsigned long int __r5 asm ("5") = 0ul; register unsigned long __result asm ("2"); __asm __volatile ("svc %b1" : "=d" (__result) : "i" (238), "0" (__r2), "d" (__r3), "d" (__r4), "d" (__r5) : "cc", "memory" ); __result; });
3662 }
3663
3664
3665 extern int __lll_timedwait_tid (int *, const struct timespec *)
3666 __attribute__ ((visibility ("hidden")));
3667 # 357 "../nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h"
3668 extern void __lll_cond_wait (pthread_cond_t *cond)
3669 __attribute__ ((visibility ("hidden")));
3670 extern int __lll_cond_timedwait (pthread_cond_t *cond,
3671 const struct timespec *abstime)
3672 __attribute__ ((visibility ("hidden")));
3673 extern void __lll_cond_wake (pthread_cond_t *cond)
3674 __attribute__ ((visibility ("hidden")));
3675 extern void __lll_cond_broadcast (pthread_cond_t *cond)
3676 __attribute__ ((visibility ("hidden")));
3677 # 31 "../nptl/descr.h" 2
3678 # 1 "../nptl/sysdeps/s390/pthreaddef.h" 1
3679 # 32 "../nptl/descr.h" 2
3680 # 1 "../sysdeps/unix/sysv/linux/dl-sysdep.h" 1
3681 # 20 "../sysdeps/unix/sysv/linux/dl-sysdep.h"
3682 # 1 "../sysdeps/generic/dl-sysdep.h" 1
3683 # 21 "../sysdeps/unix/sysv/linux/dl-sysdep.h" 2
3684 # 33 "../nptl/descr.h" 2
3685 # 1 "../nptl/../nptl_db/thread_db.h" 1
3686 # 26 "../nptl/../nptl_db/thread_db.h"
3687 # 1 "../include/pthread.h" 1
3688 # 1 "../nptl/sysdeps/pthread/pthread.h" 1
3689 # 27 "../nptl/sysdeps/pthread/pthread.h"
3690 # 1 "../include/signal.h" 1
3691
3692
3693 # 1 "../signal/signal.h" 1
3694 # 31 "../signal/signal.h"
3695
3696
3697 # 1 "../sysdeps/unix/sysv/linux/bits/sigset.h" 1
3698 # 34 "../signal/signal.h" 2
3699 # 400 "../signal/signal.h"
3700
3701 # 4 "../include/signal.h" 2
3702 # 28 "../nptl/sysdeps/pthread/pthread.h" 2
3703
3704
3705 # 1 "../sysdeps/s390/s390-64/bits/wordsize.h" 1
3706 # 31 "../nptl/sysdeps/pthread/pthread.h" 2
3707
3708
3709
3710 enum
3711 {
3712 PTHREAD_CREATE_JOINABLE,
3713
3714 PTHREAD_CREATE_DETACHED
3715
3716 };
3717
3718
3719
3720 enum
3721 {
3722 PTHREAD_MUTEX_TIMED_NP,
3723 PTHREAD_MUTEX_RECURSIVE_NP,
3724 PTHREAD_MUTEX_ERRORCHECK_NP,
3725 PTHREAD_MUTEX_ADAPTIVE_NP
3726
3727 ,
3728 PTHREAD_MUTEX_NORMAL = PTHREAD_MUTEX_TIMED_NP,
3729 PTHREAD_MUTEX_RECURSIVE = PTHREAD_MUTEX_RECURSIVE_NP,
3730 PTHREAD_MUTEX_ERRORCHECK = PTHREAD_MUTEX_ERRORCHECK_NP,
3731 PTHREAD_MUTEX_DEFAULT = PTHREAD_MUTEX_NORMAL
3732
3733
3734
3735 , PTHREAD_MUTEX_FAST_NP = PTHREAD_MUTEX_TIMED_NP
3736
3737 };
3738
3739
3740
3741
3742 enum
3743 {
3744 PTHREAD_MUTEX_STALLED_NP,
3745 PTHREAD_MUTEX_ROBUST_NP
3746 };
3747
3748
3749
3750
3751
3752 enum
3753 {
3754 PTHREAD_PRIO_NONE,
3755 PTHREAD_PRIO_INHERIT,
3756 PTHREAD_PRIO_PROTECT
3757 };
3758 # 113 "../nptl/sysdeps/pthread/pthread.h"
3759 enum
3760 {
3761 PTHREAD_RWLOCK_PREFER_READER_NP,
3762 PTHREAD_RWLOCK_PREFER_WRITER_NP,
3763 PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP,
3764 PTHREAD_RWLOCK_DEFAULT_NP = PTHREAD_RWLOCK_PREFER_READER_NP
3765 };
3766 # 143 "../nptl/sysdeps/pthread/pthread.h"
3767 enum
3768 {
3769 PTHREAD_INHERIT_SCHED,
3770
3771 PTHREAD_EXPLICIT_SCHED
3772
3773 };
3774
3775
3776
3777 enum
3778 {
3779 PTHREAD_SCOPE_SYSTEM,
3780
3781 PTHREAD_SCOPE_PROCESS
3782
3783 };
3784
3785
3786
3787 enum
3788 {
3789 PTHREAD_PROCESS_PRIVATE,
3790
3791 PTHREAD_PROCESS_SHARED
3792
3793 };
3794 # 178 "../nptl/sysdeps/pthread/pthread.h"
3795 struct _pthread_cleanup_buffer
3796 {
3797 void (*__routine) (void *);
3798 void *__arg;
3799 int __canceltype;
3800 struct _pthread_cleanup_buffer *__prev;
3801 };
3802
3803
3804 enum
3805 {
3806 PTHREAD_CANCEL_ENABLE,
3807
3808 PTHREAD_CANCEL_DISABLE
3809
3810 };
3811 enum
3812 {
3813 PTHREAD_CANCEL_DEFERRED,
3814
3815 PTHREAD_CANCEL_ASYNCHRONOUS
3816
3817 };
3818 # 216 "../nptl/sysdeps/pthread/pthread.h"
3819
3820
3821
3822
3823
3824 extern int pthread_create (pthread_t *__restrict __newthread,
3825 __const pthread_attr_t *__restrict __attr,
3826 void *(*__start_routine) (void *),
3827 void *__restrict __arg) __attribute__ ((__nothrow__));
3828
3829
3830
3831
3832
3833 extern void pthread_exit (void *__retval) __attribute__ ((__noreturn__));
3834
3835
3836
3837
3838
3839
3840
3841 extern int pthread_join (pthread_t __th, void **__thread_return);
3842
3843
3844
3845
3846 extern int pthread_tryjoin_np (pthread_t __th, void **__thread_return) __attribute__ ((__nothrow__));
3847
3848
3849
3850
3851
3852
3853
3854 extern int pthread_timedjoin_np (pthread_t __th, void **__thread_return,
3855 __const struct timespec *__abstime);
3856
3857
3858
3859
3860
3861
3862 extern int pthread_detach (pthread_t __th) __attribute__ ((__nothrow__));
3863
3864
3865
3866 extern pthread_t pthread_self (void) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
3867
3868
3869 extern int pthread_equal (pthread_t __thread1, pthread_t __thread2) __attribute__ ((__nothrow__));
3870
3871
3872
3873
3874
3875
3876
3877 extern int pthread_attr_init (pthread_attr_t *__attr) __attribute__ ((__nothrow__));
3878
3879
3880 extern int pthread_attr_destroy (pthread_attr_t *__attr) __attribute__ ((__nothrow__));
3881
3882
3883 extern int pthread_attr_getdetachstate (__const pthread_attr_t *__attr,
3884 int *__detachstate) __attribute__ ((__nothrow__));
3885
3886
3887 extern int pthread_attr_setdetachstate (pthread_attr_t *__attr,
3888 int __detachstate) __attribute__ ((__nothrow__));
3889
3890
3891
3892 extern int pthread_attr_getguardsize (__const pthread_attr_t *__attr,
3893 size_t *__guardsize) __attribute__ ((__nothrow__));
3894
3895
3896 extern int pthread_attr_setguardsize (pthread_attr_t *__attr,
3897 size_t __guardsize) __attribute__ ((__nothrow__));
3898
3899
3900
3901 extern int pthread_attr_getschedparam (__const pthread_attr_t *__restrict
3902 __attr,
3903 struct sched_param *__restrict __param)
3904 __attribute__ ((__nothrow__));
3905
3906
3907 extern int pthread_attr_setschedparam (pthread_attr_t *__restrict __attr,
3908 __const struct sched_param *__restrict
3909 __param) __attribute__ ((__nothrow__));
3910
3911
3912 extern int pthread_attr_getschedpolicy (__const pthread_attr_t *__restrict
3913 __attr, int *__restrict __policy)
3914 __attribute__ ((__nothrow__));
3915
3916
3917 extern int pthread_attr_setschedpolicy (pthread_attr_t *__attr, int __policy)
3918 __attribute__ ((__nothrow__));
3919
3920
3921 extern int pthread_attr_getinheritsched (__const pthread_attr_t *__restrict
3922 __attr, int *__restrict __inherit)
3923 __attribute__ ((__nothrow__));
3924
3925
3926 extern int pthread_attr_setinheritsched (pthread_attr_t *__attr,
3927 int __inherit) __attribute__ ((__nothrow__));
3928
3929
3930
3931 extern int pthread_attr_getscope (__const pthread_attr_t *__restrict __attr,
3932 int *__restrict __scope) __attribute__ ((__nothrow__));
3933
3934
3935 extern int pthread_attr_setscope (pthread_attr_t *__attr, int __scope)
3936 __attribute__ ((__nothrow__));
3937
3938
3939 extern int pthread_attr_getstackaddr (__const pthread_attr_t *__restrict
3940 __attr, void **__restrict __stackaddr)
3941 __attribute__ ((__nothrow__)) __attribute__ ((__deprecated__));
3942
3943
3944
3945
3946
3947 extern int pthread_attr_setstackaddr (pthread_attr_t *__attr,
3948 void *__stackaddr)
3949 __attribute__ ((__nothrow__)) __attribute__ ((__deprecated__));
3950
3951
3952 extern int pthread_attr_getstacksize (__const pthread_attr_t *__restrict
3953 __attr, size_t *__restrict __stacksize)
3954 __attribute__ ((__nothrow__));
3955
3956
3957
3958
3959 extern int pthread_attr_setstacksize (pthread_attr_t *__attr,
3960 size_t __stacksize) __attribute__ ((__nothrow__));
3961
3962
3963
3964 extern int pthread_attr_getstack (__const pthread_attr_t *__restrict __attr,
3965 void **__restrict __stackaddr,
3966 size_t *__restrict __stacksize) __attribute__ ((__nothrow__));
3967
3968
3969
3970
3971 extern int pthread_attr_setstack (pthread_attr_t *__attr, void *__stackaddr,
3972 size_t __stacksize) __attribute__ ((__nothrow__));
3973
3974
3975
3976
3977
3978 extern int pthread_attr_setaffinity_np (pthread_attr_t *__attr,
3979 size_t __cpusetsize,
3980 __const cpu_set_t *__cpuset) __attribute__ ((__nothrow__));
3981
3982
3983
3984 extern int pthread_attr_getaffinity_np (__const pthread_attr_t *__attr,
3985 size_t __cpusetsize,
3986 cpu_set_t *__cpuset) __attribute__ ((__nothrow__));
3987
3988
3989
3990
3991
3992 extern int pthread_getattr_np (pthread_t __th, pthread_attr_t *__attr) __attribute__ ((__nothrow__));
3993
3994
3995
3996
3997
3998
3999
4000 extern int pthread_setschedparam (pthread_t __target_thread, int __policy,
4001 __const struct sched_param *__param)
4002 __attribute__ ((__nothrow__));
4003
4004
4005 extern int pthread_getschedparam (pthread_t __target_thread,
4006 int *__restrict __policy,
4007 struct sched_param *__restrict __param)
4008 __attribute__ ((__nothrow__));
4009
4010
4011 extern int pthread_setschedprio (pthread_t __target_thread, int __prio)
4012 __attribute__ ((__nothrow__));
4013
4014
4015
4016
4017 extern int pthread_getconcurrency (void) __attribute__ ((__nothrow__));
4018
4019
4020 extern int pthread_setconcurrency (int __level) __attribute__ ((__nothrow__));
4021
4022
4023
4024
4025
4026
4027
4028 extern int pthread_yield (void) __attribute__ ((__nothrow__));
4029
4030
4031
4032
4033 extern int pthread_setaffinity_np (pthread_t __th, size_t __cpusetsize,
4034 __const cpu_set_t *__cpuset) __attribute__ ((__nothrow__));
4035
4036
4037 extern int pthread_getaffinity_np (pthread_t __th, size_t __cpusetsize,
4038 cpu_set_t *__cpuset) __attribute__ ((__nothrow__));
4039 # 448 "../nptl/sysdeps/pthread/pthread.h"
4040 extern int pthread_once (pthread_once_t *__once_control,
4041 void (*__init_routine) (void));
4042 # 460 "../nptl/sysdeps/pthread/pthread.h"
4043 extern int pthread_setcancelstate (int __state, int *__oldstate);
4044
4045
4046
4047 extern int pthread_setcanceltype (int __type, int *__oldtype);
4048
4049
4050 extern int pthread_cancel (pthread_t __th);
4051
4052
4053
4054
4055 extern void pthread_testcancel (void);
4056
4057
4058
4059
4060 typedef struct
4061 {
4062 struct
4063 {
4064 __jmp_buf __cancel_jmp_buf;
4065 int __mask_was_saved;
4066 } __cancel_jmp_buf[1];
4067 void *__pad[4];
4068 } __pthread_unwind_buf_t __attribute__ ((__aligned__));
4069 # 494 "../nptl/sysdeps/pthread/pthread.h"
4070 struct __pthread_cleanup_frame
4071 {
4072 void (*__cancel_routine) (void *);
4073 void *__cancel_arg;
4074 int __do_it;
4075 int __cancel_type;
4076 };
4077 # 634 "../nptl/sysdeps/pthread/pthread.h"
4078 extern void __pthread_register_cancel (__pthread_unwind_buf_t *__buf)
4079 ;
4080 # 645 "../nptl/sysdeps/pthread/pthread.h"
4081 extern void __pthread_unregister_cancel (__pthread_unwind_buf_t *__buf)
4082 ;
4083 # 668 "../nptl/sysdeps/pthread/pthread.h"
4084 extern void __pthread_register_cancel_defer (__pthread_unwind_buf_t *__buf)
4085 ;
4086 # 680 "../nptl/sysdeps/pthread/pthread.h"
4087 extern void __pthread_unregister_cancel_restore (__pthread_unwind_buf_t *__buf)
4088 ;
4089
4090
4091
4092 extern void __pthread_unwind_next (__pthread_unwind_buf_t *__buf)
4093 __attribute__ ((__noreturn__))
4094
4095
4096
4097 ;
4098
4099
4100
4101 struct __jmp_buf_tag;
4102 extern int __sigsetjmp (struct __jmp_buf_tag *__env, int __savemask) __attribute__ ((__nothrow__));
4103
4104
4105
4106
4107
4108 extern int pthread_mutex_init (pthread_mutex_t *__mutex,
4109 __const pthread_mutexattr_t *__mutexattr)
4110 __attribute__ ((__nothrow__));
4111
4112
4113 extern int pthread_mutex_destroy (pthread_mutex_t *__mutex) __attribute__ ((__nothrow__));
4114
4115
4116 extern int pthread_mutex_trylock (pthread_mutex_t *_mutex) __attribute__ ((__nothrow__));
4117
4118
4119 extern int pthread_mutex_lock (pthread_mutex_t *__mutex) __attribute__ ((__nothrow__));
4120
4121
4122
4123 extern int pthread_mutex_timedlock (pthread_mutex_t *__restrict __mutex,
4124 __const struct timespec *__restrict
4125 __abstime) __attribute__ ((__nothrow__));
4126
4127
4128
4129 extern int pthread_mutex_unlock (pthread_mutex_t *__mutex) __attribute__ ((__nothrow__));
4130
4131
4132
4133
4134 extern int pthread_mutex_getprioceiling (__const pthread_mutex_t *
4135 __restrict __mutex,
4136 int *__restrict __prioceiling)
4137 __attribute__ ((__nothrow__));
4138
4139
4140
4141 extern int pthread_mutex_setprioceiling (pthread_mutex_t *__restrict __mutex,
4142 int __prioceiling,
4143 int *__restrict __old_ceiling)
4144 __attribute__ ((__nothrow__));
4145
4146
4147
4148
4149
4150 extern int pthread_mutex_consistent_np (pthread_mutex_t *__mutex) __attribute__ ((__nothrow__));
4151
4152
4153
4154
4155
4156
4157
4158 extern int pthread_mutexattr_init (pthread_mutexattr_t *__attr) __attribute__ ((__nothrow__));
4159
4160
4161 extern int pthread_mutexattr_destroy (pthread_mutexattr_t *__attr) __attribute__ ((__nothrow__));
4162
4163
4164 extern int pthread_mutexattr_getpshared (__const pthread_mutexattr_t *
4165 __restrict __attr,
4166 int *__restrict __pshared) __attribute__ ((__nothrow__));
4167
4168
4169 extern int pthread_mutexattr_setpshared (pthread_mutexattr_t *__attr,
4170 int __pshared) __attribute__ ((__nothrow__));
4171
4172
4173
4174 extern int pthread_mutexattr_gettype (__const pthread_mutexattr_t *__restrict
4175 __attr, int *__restrict __kind) __attribute__ ((__nothrow__));
4176
4177
4178
4179
4180 extern int pthread_mutexattr_settype (pthread_mutexattr_t *__attr, int __kind)
4181 __attribute__ ((__nothrow__));
4182
4183
4184 extern int pthread_mutexattr_getprotocol (__const pthread_mutexattr_t *
4185 __restrict __attr,
4186 int *__restrict __protocol) __attribute__ ((__nothrow__));
4187
4188
4189
4190 extern int pthread_mutexattr_setprotocol (pthread_mutexattr_t *__attr,
4191 int __protocol) __attribute__ ((__nothrow__));
4192
4193
4194 extern int pthread_mutexattr_getprioceiling (__const pthread_mutexattr_t *
4195 __restrict __attr,
4196 int *__restrict __prioceiling)
4197 __attribute__ ((__nothrow__));
4198
4199
4200 extern int pthread_mutexattr_setprioceiling (pthread_mutexattr_t *__attr,
4201 int __prioceiling) __attribute__ ((__nothrow__));
4202
4203
4204
4205
4206 extern int pthread_mutexattr_getrobust_np (__const pthread_mutexattr_t *__attr,
4207 int *__robustness) __attribute__ ((__nothrow__));
4208
4209
4210 extern int pthread_mutexattr_setrobust_np (pthread_mutexattr_t *__attr,
4211 int __robustness) __attribute__ ((__nothrow__));
4212 # 813 "../nptl/sysdeps/pthread/pthread.h"
4213 extern int pthread_rwlock_init (pthread_rwlock_t *__restrict __rwlock,
4214 __const pthread_rwlockattr_t *__restrict
4215 __attr) __attribute__ ((__nothrow__));
4216
4217
4218 extern int pthread_rwlock_destroy (pthread_rwlock_t *__rwlock) __attribute__ ((__nothrow__));
4219
4220
4221 extern int pthread_rwlock_rdlock (pthread_rwlock_t *__rwlock) __attribute__ ((__nothrow__));
4222
4223
4224 extern int pthread_rwlock_tryrdlock (pthread_rwlock_t *__rwlock) __attribute__ ((__nothrow__));
4225
4226
4227
4228 extern int pthread_rwlock_timedrdlock (pthread_rwlock_t *__restrict __rwlock,
4229 __const struct timespec *__restrict
4230 __abstime) __attribute__ ((__nothrow__));
4231
4232
4233
4234 extern int pthread_rwlock_wrlock (pthread_rwlock_t *__rwlock) __attribute__ ((__nothrow__));
4235
4236
4237 extern int pthread_rwlock_trywrlock (pthread_rwlock_t *__rwlock) __attribute__ ((__nothrow__));
4238
4239
4240
4241 extern int pthread_rwlock_timedwrlock (pthread_rwlock_t *__restrict __rwlock,
4242 __const struct timespec *__restrict
4243 __abstime) __attribute__ ((__nothrow__));
4244
4245
4246
4247 extern int pthread_rwlock_unlock (pthread_rwlock_t *__rwlock) __attribute__ ((__nothrow__));
4248
4249
4250
4251
4252
4253 extern int pthread_rwlockattr_init (pthread_rwlockattr_t *__attr) __attribute__ ((__nothrow__));
4254
4255
4256 extern int pthread_rwlockattr_destroy (pthread_rwlockattr_t *__attr) __attribute__ ((__nothrow__));
4257
4258
4259 extern int pthread_rwlockattr_getpshared (__const pthread_rwlockattr_t *
4260 __restrict __attr,
4261 int *__restrict __pshared) __attribute__ ((__nothrow__));
4262
4263
4264 extern int pthread_rwlockattr_setpshared (pthread_rwlockattr_t *__attr,
4265 int __pshared) __attribute__ ((__nothrow__));
4266
4267
4268 extern int pthread_rwlockattr_getkind_np (__const pthread_rwlockattr_t *
4269 __restrict __attr,
4270 int *__restrict __pref) __attribute__ ((__nothrow__));
4271
4272
4273 extern int pthread_rwlockattr_setkind_np (pthread_rwlockattr_t *__attr,
4274 int __pref) __attribute__ ((__nothrow__));
4275
4276
4277
4278
4279
4280
4281
4282 extern int pthread_cond_init (pthread_cond_t *__restrict __cond,
4283 __const pthread_condattr_t *__restrict
4284 __cond_attr) __attribute__ ((__nothrow__));
4285
4286
4287 extern int pthread_cond_destroy (pthread_cond_t *__cond) __attribute__ ((__nothrow__));
4288
4289
4290 extern int pthread_cond_signal (pthread_cond_t *__cond) __attribute__ ((__nothrow__));
4291
4292
4293 extern int pthread_cond_broadcast (pthread_cond_t *__cond) __attribute__ ((__nothrow__));
4294
4295
4296
4297
4298
4299
4300 extern int pthread_cond_wait (pthread_cond_t *__restrict __cond,
4301 pthread_mutex_t *__restrict __mutex);
4302 # 910 "../nptl/sysdeps/pthread/pthread.h"
4303 extern int pthread_cond_timedwait (pthread_cond_t *__restrict __cond,
4304 pthread_mutex_t *__restrict __mutex,
4305 __const struct timespec *__restrict
4306 __abstime);
4307
4308
4309
4310
4311 extern int pthread_condattr_init (pthread_condattr_t *__attr) __attribute__ ((__nothrow__));
4312
4313
4314 extern int pthread_condattr_destroy (pthread_condattr_t *__attr) __attribute__ ((__nothrow__));
4315
4316
4317 extern int pthread_condattr_getpshared (__const pthread_condattr_t *
4318 __restrict __attr,
4319 int *__restrict __pshared) __attribute__ ((__nothrow__));
4320
4321
4322 extern int pthread_condattr_setpshared (pthread_condattr_t *__attr,
4323 int __pshared) __attribute__ ((__nothrow__));
4324
4325
4326
4327 extern int pthread_condattr_getclock (__const pthread_condattr_t *
4328 __restrict __attr,
4329 __clockid_t *__restrict __clock_id)
4330 __attribute__ ((__nothrow__));
4331
4332
4333 extern int pthread_condattr_setclock (pthread_condattr_t *__attr,
4334 __clockid_t __clock_id) __attribute__ ((__nothrow__));
4335 # 951 "../nptl/sysdeps/pthread/pthread.h"
4336 extern int pthread_spin_init (pthread_spinlock_t *__lock, int __pshared)
4337 __attribute__ ((__nothrow__));
4338
4339
4340 extern int pthread_spin_destroy (pthread_spinlock_t *__lock) __attribute__ ((__nothrow__));
4341
4342
4343 extern int pthread_spin_lock (pthread_spinlock_t *__lock) __attribute__ ((__nothrow__));
4344
4345
4346 extern int pthread_spin_trylock (pthread_spinlock_t *__lock) __attribute__ ((__nothrow__));
4347
4348
4349 extern int pthread_spin_unlock (pthread_spinlock_t *__lock) __attribute__ ((__nothrow__));
4350
4351
4352
4353
4354
4355
4356 extern int pthread_barrier_init (pthread_barrier_t *__restrict __barrier,
4357 __const pthread_barrierattr_t *__restrict
4358 __attr, unsigned int __count) __attribute__ ((__nothrow__));
4359
4360
4361 extern int pthread_barrier_destroy (pthread_barrier_t *__barrier) __attribute__ ((__nothrow__));
4362
4363
4364 extern int pthread_barrier_wait (pthread_barrier_t *__barrier) __attribute__ ((__nothrow__));
4365
4366
4367
4368 extern int pthread_barrierattr_init (pthread_barrierattr_t *__attr) __attribute__ ((__nothrow__));
4369
4370
4371 extern int pthread_barrierattr_destroy (pthread_barrierattr_t *__attr) __attribute__ ((__nothrow__));
4372
4373
4374 extern int pthread_barrierattr_getpshared (__const pthread_barrierattr_t *
4375 __restrict __attr,
4376 int *__restrict __pshared) __attribute__ ((__nothrow__));
4377
4378
4379 extern int pthread_barrierattr_setpshared (pthread_barrierattr_t *__attr,
4380 int __pshared) __attribute__ ((__nothrow__));
4381 # 1007 "../nptl/sysdeps/pthread/pthread.h"
4382 extern int pthread_key_create (pthread_key_t *__key,
4383 void (*__destr_function) (void *)) __attribute__ ((__nothrow__));
4384
4385
4386 extern int pthread_key_delete (pthread_key_t __key) __attribute__ ((__nothrow__));
4387
4388
4389 extern void *pthread_getspecific (pthread_key_t __key) __attribute__ ((__nothrow__));
4390
4391
4392 extern int pthread_setspecific (pthread_key_t __key,
4393 __const void *__pointer) __attribute__ ((__nothrow__));
4394
4395
4396
4397
4398 extern int pthread_getcpuclockid (pthread_t __thread_id,
4399 __clockid_t *__clock_id) __attribute__ ((__nothrow__));
4400 # 1039 "../nptl/sysdeps/pthread/pthread.h"
4401 extern int pthread_atfork (void (*__prepare) (void),
4402 void (*__parent) (void),
4403 void (*__child) (void)) __attribute__ ((__nothrow__));
4404
4405
4406 # 2 "../include/pthread.h" 2
4407
4408
4409 extern void __pthread_initialize (void) __attribute__ ((weak));
4410 # 27 "../nptl/../nptl_db/thread_db.h" 2
4411
4412 # 1 "../include/sys/types.h" 1
4413 # 29 "../nptl/../nptl_db/thread_db.h" 2
4414 # 1 "../sysdeps/unix/sysv/linux/s390/sys/procfs.h" 1
4415 # 32 "../sysdeps/unix/sysv/linux/s390/sys/procfs.h"
4416 # 1 "../include/sys/time.h" 1
4417
4418 # 1 "../time/sys/time.h" 1
4419 # 29 "../time/sys/time.h"
4420 # 1 "../bits/time.h" 1
4421 # 30 "../time/sys/time.h" 2
4422 # 39 "../time/sys/time.h"
4423
4424 # 57 "../time/sys/time.h"
4425 struct timezone
4426 {
4427 int tz_minuteswest;
4428 int tz_dsttime;
4429 };
4430
4431 typedef struct timezone *__restrict __timezone_ptr_t;
4432 # 73 "../time/sys/time.h"
4433 extern int gettimeofday (struct timeval *__restrict __tv,
4434 __timezone_ptr_t __tz) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4435
4436
4437
4438
4439 extern int settimeofday (__const struct timeval *__tv,
4440 __const struct timezone *__tz)
4441 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4442
4443
4444
4445
4446
4447 extern int adjtime (__const struct timeval *__delta,
4448 struct timeval *__olddelta) __attribute__ ((__nothrow__));
4449
4450
4451
4452
4453 enum __itimer_which
4454 {
4455
4456 ITIMER_REAL = 0,
4457
4458
4459 ITIMER_VIRTUAL = 1,
4460
4461
4462
4463 ITIMER_PROF = 2
4464
4465 };
4466
4467
4468
4469 struct itimerval
4470 {
4471
4472 struct timeval it_interval;
4473
4474 struct timeval it_value;
4475 };
4476
4477
4478
4479
4480 typedef enum __itimer_which __itimer_which_t;
4481
4482
4483
4484
4485
4486
4487 extern int getitimer (__itimer_which_t __which,
4488 struct itimerval *__value) __attribute__ ((__nothrow__));
4489
4490
4491
4492
4493 extern int setitimer (__itimer_which_t __which,
4494 __const struct itimerval *__restrict __new,
4495 struct itimerval *__restrict __old) __attribute__ ((__nothrow__));
4496
4497
4498
4499
4500 extern int utimes (__const char *__file, __const struct timeval __tvp[2])
4501 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4502
4503
4504
4505 extern int lutimes (__const char *__file, __const struct timeval __tvp[2])
4506 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4507
4508
4509 extern int futimes (int __fd, __const struct timeval __tvp[2]) __attribute__ ((__nothrow__));
4510
4511
4512
4513
4514
4515
4516 extern int futimesat (int __fd, __const char *__file,
4517 __const struct timeval __tvp[2]) __attribute__ ((__nothrow__));
4518 # 191 "../time/sys/time.h"
4519
4520 # 3 "../include/sys/time.h" 2
4521
4522
4523 extern int __gettimeofday (struct timeval *__tv,
4524 struct timezone *__tz);
4525 extern int __gettimeofday_internal (struct timeval *__tv,
4526 struct timezone *__tz)
4527 __attribute__ ((visibility ("hidden")));
4528 extern int __settimeofday (__const struct timeval *__tv,
4529 __const struct timezone *__tz)
4530 __attribute__ ((visibility ("hidden")));
4531 extern int __adjtime (__const struct timeval *__delta,
4532 struct timeval *__olddelta);
4533 extern int __getitimer (enum __itimer_which __which,
4534 struct itimerval *__value);
4535 extern int __setitimer (enum __itimer_which __which,
4536 __const struct itimerval *__restrict __new,
4537 struct itimerval *__restrict __old)
4538 __attribute__ ((visibility ("hidden")));
4539 extern int __utimes (__const char *__file, const struct timeval __tvp[2])
4540 __attribute__ ((visibility ("hidden")));
4541 extern int __futimes (int fd, __const struct timeval tvp[2]) __attribute__ ((visibility ("hidden")));
4542 # 33 "../sysdeps/unix/sysv/linux/s390/sys/procfs.h" 2
4543 # 1 "../include/sys/types.h" 1
4544 # 34 "../sysdeps/unix/sysv/linux/s390/sys/procfs.h" 2
4545 # 1 "../sysdeps/unix/sysv/linux/s390/sys/user.h" 1
4546 # 26 "../sysdeps/unix/sysv/linux/s390/sys/user.h"
4547 struct _user_psw_struct
4548 {
4549 unsigned long mask;
4550 unsigned long addr;
4551 };
4552
4553 struct _user_fpregs_struct
4554 {
4555 unsigned int fpc;
4556 double fprs[16];
4557 };
4558
4559 struct _user_per_struct
4560 {
4561 unsigned long control_regs[3];
4562 unsigned single_step : 1;
4563 unsigned instruction_fetch : 1;
4564 unsigned : 30;
4565 unsigned long starting_addr;
4566 unsigned long ending_addr;
4567 unsigned short perc_atmid;
4568 unsigned long address;
4569 unsigned char access_id;
4570 };
4571
4572 struct _user_regs_struct
4573 {
4574 struct _user_psw_struct psw;
4575 unsigned long gprs[16];
4576 unsigned int acrs[16];
4577 unsigned long orig_gpr2;
4578 struct _user_fpregs_struct fp_regs;
4579 struct _user_per_struct per_info;
4580 unsigned long ieee_instruction_pointer;
4581 };
4582
4583 struct user {
4584 struct _user_regs_struct regs;
4585 unsigned long int u_tsize;
4586 unsigned long int u_dsize;
4587 unsigned long int u_ssize;
4588 unsigned long start_code;
4589 unsigned long start_stack;
4590 long int signal;
4591 struct _user_regs_struct *u_ar0;
4592 unsigned long magic;
4593 char u_comm[32];
4594 };
4595 # 35 "../sysdeps/unix/sysv/linux/s390/sys/procfs.h" 2
4596 # 1 "../sysdeps/unix/sysv/linux/s390/sys/ucontext.h" 1
4597 # 23 "../sysdeps/unix/sysv/linux/s390/sys/ucontext.h"
4598 struct ucontext;
4599 typedef struct ucontext ucontext_t;
4600
4601 # 1 "../include/signal.h" 1
4602
4603
4604
4605
4606 # 1 "../signal/signal.h" 1
4607 # 31 "../signal/signal.h"
4608
4609
4610 # 1 "../sysdeps/unix/sysv/linux/bits/sigset.h" 1
4611 # 103 "../sysdeps/unix/sysv/linux/bits/sigset.h"
4612 extern int __sigismember (__const __sigset_t *, int);
4613 extern int __sigaddset (__sigset_t *, int);
4614 extern int __sigdelset (__sigset_t *, int);
4615 # 117 "../sysdeps/unix/sysv/linux/bits/sigset.h"
4616 extern __inline int __sigismember (__const __sigset_t *__set, int __sig) { unsigned long int __mask = (((unsigned long int) 1) << (((__sig) - 1) % (8 * sizeof (unsigned long int)))); unsigned long int __word = (((__sig) - 1) / (8 * sizeof (unsigned long int))); return (__set->__val[__word] & __mask) ? 1 : 0; }
4617 extern __inline int __sigaddset ( __sigset_t *__set, int __sig) { unsigned long int __mask = (((unsigned long int) 1) << (((__sig) - 1) % (8 * sizeof (unsigned long int)))); unsigned long int __word = (((__sig) - 1) / (8 * sizeof (unsigned long int))); return ((__set->__val[__word] |= __mask), 0); }
4618 extern __inline int __sigdelset ( __sigset_t *__set, int __sig) { unsigned long int __mask = (((unsigned long int) 1) << (((__sig) - 1) % (8 * sizeof (unsigned long int)))); unsigned long int __word = (((__sig) - 1) / (8 * sizeof (unsigned long int))); return ((__set->__val[__word] &= ~__mask), 0); }
4619 # 34 "../signal/signal.h" 2
4620
4621
4622
4623
4624
4625
4626
4627 typedef __sig_atomic_t sig_atomic_t;
4628
4629 # 58 "../signal/signal.h"
4630 # 1 "../sysdeps/unix/sysv/linux/bits/signum.h" 1
4631 # 59 "../signal/signal.h" 2
4632 # 75 "../signal/signal.h"
4633 typedef void (*__sighandler_t) (int);
4634
4635
4636
4637
4638 extern __sighandler_t __sysv_signal (int __sig, __sighandler_t __handler)
4639 __attribute__ ((__nothrow__));
4640
4641 extern __sighandler_t sysv_signal (int __sig, __sighandler_t __handler)
4642 __attribute__ ((__nothrow__));
4643
4644
4645
4646
4647
4648
4649
4650 extern __sighandler_t signal (int __sig, __sighandler_t __handler)
4651 __attribute__ ((__nothrow__));
4652 # 104 "../signal/signal.h"
4653
4654
4655
4656
4657
4658 extern __sighandler_t bsd_signal (int __sig, __sighandler_t __handler)
4659 __attribute__ ((__nothrow__));
4660
4661
4662
4663
4664
4665
4666 extern int kill (__pid_t __pid, int __sig) __attribute__ ((__nothrow__));
4667
4668
4669
4670
4671
4672
4673 extern int killpg (__pid_t __pgrp, int __sig) __attribute__ ((__nothrow__));
4674
4675
4676
4677
4678 extern int raise (int __sig) __attribute__ ((__nothrow__));
4679
4680
4681
4682
4683 extern __sighandler_t ssignal (int __sig, __sighandler_t __handler)
4684 __attribute__ ((__nothrow__));
4685 extern int gsignal (int __sig) __attribute__ ((__nothrow__));
4686
4687
4688
4689
4690 extern void psignal (int __sig, __const char *__s);
4691 # 153 "../signal/signal.h"
4692 extern int __sigpause (int __sig_or_mask, int __is_sig);
4693 # 162 "../signal/signal.h"
4694 extern int sigpause (int __sig) __asm__ ("__xpg_sigpause");
4695 # 181 "../signal/signal.h"
4696 extern int sigblock (int __mask) __attribute__ ((__nothrow__)) __attribute__ ((__deprecated__));
4697
4698
4699 extern int sigsetmask (int __mask) __attribute__ ((__nothrow__)) __attribute__ ((__deprecated__));
4700
4701
4702 extern int siggetmask (void) __attribute__ ((__nothrow__)) __attribute__ ((__deprecated__));
4703 # 196 "../signal/signal.h"
4704 typedef __sighandler_t sighandler_t;
4705
4706
4707
4708
4709 typedef __sighandler_t sig_t;
4710 # 212 "../signal/signal.h"
4711 # 1 "../sysdeps/unix/sysv/linux/s390/bits/siginfo.h" 1
4712 # 25 "../sysdeps/unix/sysv/linux/s390/bits/siginfo.h"
4713 # 1 "../sysdeps/s390/s390-64/bits/wordsize.h" 1
4714 # 26 "../sysdeps/unix/sysv/linux/s390/bits/siginfo.h" 2
4715
4716
4717
4718
4719
4720
4721
4722 typedef union sigval
4723 {
4724 int sival_int;
4725 void *sival_ptr;
4726 } sigval_t;
4727 # 51 "../sysdeps/unix/sysv/linux/s390/bits/siginfo.h"
4728 typedef struct siginfo
4729 {
4730 int si_signo;
4731 int si_errno;
4732
4733 int si_code;
4734
4735 union
4736 {
4737 int _pad[((128 / sizeof (int)) - 4)];
4738
4739
4740 struct
4741 {
4742 __pid_t si_pid;
4743 __uid_t si_uid;
4744 } _kill;
4745
4746
4747 struct
4748 {
4749 int si_tid;