more ices
[ICEs.git] / 318007 / buf0buf.i.0
1 # 1 "buf/buf0buf.c"
2 # 1 "<built-in>"
3 # 1 "<command-line>"
4 # 1 "buf/buf0buf.c"
5 # 23 "buf/buf0buf.c"
6 # 1 "./include/buf0buf.h" 1
7 # 26 "./include/buf0buf.h"
8 # 1 "./include/univ.i" 1
9 # 33 "./include/univ.i"
10 # 1 "./../include/my_global.h" 1
11 # 83 "./../include/my_global.h"
12 # 1 "./../include/my_config.h" 1
13 # 84 "./../include/my_global.h" 2
14 # 241 "./../include/my_global.h"
15 # 1 "/usr/include/pthread.h" 1 3 4
16 # 23 "/usr/include/pthread.h" 3 4
17 # 1 "/usr/include/features.h" 1 3 4
18 # 347 "/usr/include/features.h" 3 4
19 # 1 "/usr/include/sys/cdefs.h" 1 3 4
20 # 353 "/usr/include/sys/cdefs.h" 3 4
21 # 1 "/usr/include/bits/wordsize.h" 1 3 4
22 # 354 "/usr/include/sys/cdefs.h" 2 3 4
23 # 348 "/usr/include/features.h" 2 3 4
24 # 371 "/usr/include/features.h" 3 4
25 # 1 "/usr/include/gnu/stubs.h" 1 3 4
26
27
28
29 # 1 "/usr/include/bits/wordsize.h" 1 3 4
30 # 5 "/usr/include/gnu/stubs.h" 2 3 4
31
32
33
34
35 # 1 "/usr/include/gnu/stubs-64.h" 1 3 4
36 # 10 "/usr/include/gnu/stubs.h" 2 3 4
37 # 372 "/usr/include/features.h" 2 3 4
38 # 24 "/usr/include/pthread.h" 2 3 4
39 # 1 "/usr/include/endian.h" 1 3 4
40 # 37 "/usr/include/endian.h" 3 4
41 # 1 "/usr/include/bits/endian.h" 1 3 4
42 # 38 "/usr/include/endian.h" 2 3 4
43 # 61 "/usr/include/endian.h" 3 4
44 # 1 "/usr/include/bits/byteswap.h" 1 3 4
45 # 62 "/usr/include/endian.h" 2 3 4
46 # 25 "/usr/include/pthread.h" 2 3 4
47 # 1 "/usr/include/sched.h" 1 3 4
48 # 26 "/usr/include/sched.h" 3 4
49 # 1 "/usr/include/bits/types.h" 1 3 4
50 # 28 "/usr/include/bits/types.h" 3 4
51 # 1 "/usr/include/bits/wordsize.h" 1 3 4
52 # 29 "/usr/include/bits/types.h" 2 3 4
53
54
55 typedef unsigned char __u_char;
56 typedef unsigned short int __u_short;
57 typedef unsigned int __u_int;
58 typedef unsigned long int __u_long;
59
60
61 typedef signed char __int8_t;
62 typedef unsigned char __uint8_t;
63 typedef signed short int __int16_t;
64 typedef unsigned short int __uint16_t;
65 typedef signed int __int32_t;
66 typedef unsigned int __uint32_t;
67
68 typedef signed long int __int64_t;
69 typedef unsigned long int __uint64_t;
70
71
72
73
74
75
76
77 typedef long int __quad_t;
78 typedef unsigned long int __u_quad_t;
79 # 131 "/usr/include/bits/types.h" 3 4
80 # 1 "/usr/include/bits/typesizes.h" 1 3 4
81 # 132 "/usr/include/bits/types.h" 2 3 4
82
83
84 typedef unsigned long int __dev_t;
85 typedef unsigned int __uid_t;
86 typedef unsigned int __gid_t;
87 typedef unsigned long int __ino_t;
88 typedef unsigned long int __ino64_t;
89 typedef unsigned int __mode_t;
90 typedef unsigned long int __nlink_t;
91 typedef long int __off_t;
92 typedef long int __off64_t;
93 typedef int __pid_t;
94 typedef struct { int __val[2]; } __fsid_t;
95 typedef long int __clock_t;
96 typedef unsigned long int __rlim_t;
97 typedef unsigned long int __rlim64_t;
98 typedef unsigned int __id_t;
99 typedef long int __time_t;
100 typedef unsigned int __useconds_t;
101 typedef long int __suseconds_t;
102
103 typedef int __daddr_t;
104 typedef long int __swblk_t;
105 typedef int __key_t;
106
107
108 typedef int __clockid_t;
109
110
111 typedef void * __timer_t;
112
113
114 typedef long int __blksize_t;
115
116
117
118
119 typedef long int __blkcnt_t;
120 typedef long int __blkcnt64_t;
121
122
123 typedef unsigned long int __fsblkcnt_t;
124 typedef unsigned long int __fsblkcnt64_t;
125
126
127 typedef unsigned long int __fsfilcnt_t;
128 typedef unsigned long int __fsfilcnt64_t;
129
130 typedef long int __ssize_t;
131
132
133
134 typedef __off64_t __loff_t;
135 typedef __quad_t *__qaddr_t;
136 typedef char *__caddr_t;
137
138
139 typedef long int __intptr_t;
140
141
142 typedef unsigned int __socklen_t;
143 # 27 "/usr/include/sched.h" 2 3 4
144
145
146 # 1 "/usr/lib/gcc/powerpc64-unknown-linux-gnu/4.3.4/include/stddef.h" 1 3 4
147 # 214 "/usr/lib/gcc/powerpc64-unknown-linux-gnu/4.3.4/include/stddef.h" 3 4
148 typedef long unsigned int size_t;
149 # 30 "/usr/include/sched.h" 2 3 4
150
151
152 # 1 "/usr/include/time.h" 1 3 4
153 # 120 "/usr/include/time.h" 3 4
154 struct timespec
155 {
156 __time_t tv_sec;
157 long int tv_nsec;
158 };
159 # 33 "/usr/include/sched.h" 2 3 4
160
161
162 # 1 "/usr/include/bits/sched.h" 1 3 4
163 # 71 "/usr/include/bits/sched.h" 3 4
164 struct sched_param
165 {
166 int __sched_priority;
167 };
168
169
170
171
172
173 extern int clone (int (*__fn) (void *__arg), void *__child_stack,
174 int __flags, void *__arg, ...) __attribute__ ((__nothrow__));
175
176
177 extern int unshare (int __flags) __attribute__ ((__nothrow__));
178
179
180 extern int sched_getcpu (void) __attribute__ ((__nothrow__));
181
182
183
184
185
186
187
188
189
190
191 struct __sched_param
192 {
193 int __sched_priority;
194 };
195 # 113 "/usr/include/bits/sched.h" 3 4
196 typedef unsigned long int __cpu_mask;
197
198
199
200
201
202
203 typedef struct
204 {
205 __cpu_mask __bits[1024 / (8 * sizeof (__cpu_mask))];
206 } cpu_set_t;
207 # 196 "/usr/include/bits/sched.h" 3 4
208
209
210 extern int __sched_cpucount (size_t __setsize, const cpu_set_t *__setp)
211 __attribute__ ((__nothrow__));
212 extern cpu_set_t *__sched_cpualloc (size_t __count) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
213 extern void __sched_cpufree (cpu_set_t *__set) __attribute__ ((__nothrow__));
214
215
216 # 36 "/usr/include/sched.h" 2 3 4
217
218
219
220
221
222
223
224 extern int sched_setparam (__pid_t __pid, __const struct sched_param *__param)
225 __attribute__ ((__nothrow__));
226
227
228 extern int sched_getparam (__pid_t __pid, struct sched_param *__param) __attribute__ ((__nothrow__));
229
230
231 extern int sched_setscheduler (__pid_t __pid, int __policy,
232 __const struct sched_param *__param) __attribute__ ((__nothrow__));
233
234
235 extern int sched_getscheduler (__pid_t __pid) __attribute__ ((__nothrow__));
236
237
238 extern int sched_yield (void) __attribute__ ((__nothrow__));
239
240
241 extern int sched_get_priority_max (int __algorithm) __attribute__ ((__nothrow__));
242
243
244 extern int sched_get_priority_min (int __algorithm) __attribute__ ((__nothrow__));
245
246
247 extern int sched_rr_get_interval (__pid_t __pid, struct timespec *__t) __attribute__ ((__nothrow__));
248 # 110 "/usr/include/sched.h" 3 4
249 extern int sched_setaffinity (__pid_t __pid, size_t __cpusetsize,
250 __const cpu_set_t *__cpuset) __attribute__ ((__nothrow__));
251
252
253 extern int sched_getaffinity (__pid_t __pid, size_t __cpusetsize,
254 cpu_set_t *__cpuset) __attribute__ ((__nothrow__));
255
256
257
258 # 26 "/usr/include/pthread.h" 2 3 4
259 # 1 "/usr/include/time.h" 1 3 4
260 # 30 "/usr/include/time.h" 3 4
261
262
263
264
265
266
267
268
269 # 1 "/usr/lib/gcc/powerpc64-unknown-linux-gnu/4.3.4/include/stddef.h" 1 3 4
270 # 39 "/usr/include/time.h" 2 3 4
271
272
273
274 # 1 "/usr/include/bits/time.h" 1 3 4
275 # 43 "/usr/include/time.h" 2 3 4
276 # 58 "/usr/include/time.h" 3 4
277
278
279 typedef __clock_t clock_t;
280
281
282
283 # 74 "/usr/include/time.h" 3 4
284
285
286 typedef __time_t time_t;
287
288
289
290 # 92 "/usr/include/time.h" 3 4
291 typedef __clockid_t clockid_t;
292 # 104 "/usr/include/time.h" 3 4
293 typedef __timer_t timer_t;
294 # 131 "/usr/include/time.h" 3 4
295
296
297 struct tm
298 {
299 int tm_sec;
300 int tm_min;
301 int tm_hour;
302 int tm_mday;
303 int tm_mon;
304 int tm_year;
305 int tm_wday;
306 int tm_yday;
307 int tm_isdst;
308
309
310 long int tm_gmtoff;
311 __const char *tm_zone;
312
313
314
315
316 };
317
318
319
320
321
322
323
324
325 struct itimerspec
326 {
327 struct timespec it_interval;
328 struct timespec it_value;
329 };
330
331
332 struct sigevent;
333
334
335
336
337
338 typedef __pid_t pid_t;
339
340
341
342
343
344
345
346
347 extern clock_t clock (void) __attribute__ ((__nothrow__));
348
349
350 extern time_t time (time_t *__timer) __attribute__ ((__nothrow__));
351
352
353 extern double difftime (time_t __time1, time_t __time0)
354 __attribute__ ((__nothrow__)) __attribute__ ((__const__));
355
356
357 extern time_t mktime (struct tm *__tp) __attribute__ ((__nothrow__));
358
359
360
361
362
363 extern size_t strftime (char *__restrict __s, size_t __maxsize,
364 __const char *__restrict __format,
365 __const struct tm *__restrict __tp) __attribute__ ((__nothrow__));
366
367
368
369
370
371 extern char *strptime (__const char *__restrict __s,
372 __const char *__restrict __fmt, struct tm *__tp)
373 __attribute__ ((__nothrow__));
374
375
376
377
378
379 # 1 "/usr/include/xlocale.h" 1 3 4
380 # 28 "/usr/include/xlocale.h" 3 4
381 typedef struct __locale_struct
382 {
383
384 struct locale_data *__locales[13];
385
386
387 const unsigned short int *__ctype_b;
388 const int *__ctype_tolower;
389 const int *__ctype_toupper;
390
391
392 const char *__names[13];
393 } *__locale_t;
394
395
396 typedef __locale_t locale_t;
397 # 216 "/usr/include/time.h" 2 3 4
398
399 extern size_t strftime_l (char *__restrict __s, size_t __maxsize,
400 __const char *__restrict __format,
401 __const struct tm *__restrict __tp,
402 __locale_t __loc) __attribute__ ((__nothrow__));
403
404
405
406 extern char *strptime_l (__const char *__restrict __s,
407 __const char *__restrict __fmt, struct tm *__tp,
408 __locale_t __loc) __attribute__ ((__nothrow__));
409
410
411
412
413
414
415 extern struct tm *gmtime (__const time_t *__timer) __attribute__ ((__nothrow__));
416
417
418
419 extern struct tm *localtime (__const time_t *__timer) __attribute__ ((__nothrow__));
420
421
422
423
424
425 extern struct tm *gmtime_r (__const time_t *__restrict __timer,
426 struct tm *__restrict __tp) __attribute__ ((__nothrow__));
427
428
429
430 extern struct tm *localtime_r (__const time_t *__restrict __timer,
431 struct tm *__restrict __tp) __attribute__ ((__nothrow__));
432
433
434
435
436
437 extern char *asctime (__const struct tm *__tp) __attribute__ ((__nothrow__));
438
439
440 extern char *ctime (__const time_t *__timer) __attribute__ ((__nothrow__));
441
442
443
444
445
446
447
448 extern char *asctime_r (__const struct tm *__restrict __tp,
449 char *__restrict __buf) __attribute__ ((__nothrow__));
450
451
452 extern char *ctime_r (__const time_t *__restrict __timer,
453 char *__restrict __buf) __attribute__ ((__nothrow__));
454
455
456
457
458 extern char *__tzname[2];
459 extern int __daylight;
460 extern long int __timezone;
461
462
463
464
465 extern char *tzname[2];
466
467
468
469 extern void tzset (void) __attribute__ ((__nothrow__));
470
471
472
473 extern int daylight;
474 extern long int timezone;
475
476
477
478
479
480 extern int stime (__const time_t *__when) __attribute__ ((__nothrow__));
481 # 313 "/usr/include/time.h" 3 4
482 extern time_t timegm (struct tm *__tp) __attribute__ ((__nothrow__));
483
484
485 extern time_t timelocal (struct tm *__tp) __attribute__ ((__nothrow__));
486
487
488 extern int dysize (int __year) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
489 # 328 "/usr/include/time.h" 3 4
490 extern int nanosleep (__const struct timespec *__requested_time,
491 struct timespec *__remaining);
492
493
494
495 extern int clock_getres (clockid_t __clock_id, struct timespec *__res) __attribute__ ((__nothrow__));
496
497
498 extern int clock_gettime (clockid_t __clock_id, struct timespec *__tp) __attribute__ ((__nothrow__));
499
500
501 extern int clock_settime (clockid_t __clock_id, __const struct timespec *__tp)
502 __attribute__ ((__nothrow__));
503
504
505
506
507
508
509 extern int clock_nanosleep (clockid_t __clock_id, int __flags,
510 __const struct timespec *__req,
511 struct timespec *__rem);
512
513
514 extern int clock_getcpuclockid (pid_t __pid, clockid_t *__clock_id) __attribute__ ((__nothrow__));
515
516
517
518
519 extern int timer_create (clockid_t __clock_id,
520 struct sigevent *__restrict __evp,
521 timer_t *__restrict __timerid) __attribute__ ((__nothrow__));
522
523
524 extern int timer_delete (timer_t __timerid) __attribute__ ((__nothrow__));
525
526
527 extern int timer_settime (timer_t __timerid, int __flags,
528 __const struct itimerspec *__restrict __value,
529 struct itimerspec *__restrict __ovalue) __attribute__ ((__nothrow__));
530
531
532 extern int timer_gettime (timer_t __timerid, struct itimerspec *__value)
533 __attribute__ ((__nothrow__));
534
535
536 extern int timer_getoverrun (timer_t __timerid) __attribute__ ((__nothrow__));
537 # 390 "/usr/include/time.h" 3 4
538 extern int getdate_err;
539 # 399 "/usr/include/time.h" 3 4
540 extern struct tm *getdate (__const char *__string);
541 # 413 "/usr/include/time.h" 3 4
542 extern int getdate_r (__const char *__restrict __string,
543 struct tm *__restrict __resbufp);
544
545
546
547 # 27 "/usr/include/pthread.h" 2 3 4
548
549
550 # 1 "/usr/include/signal.h" 1 3 4
551 # 31 "/usr/include/signal.h" 3 4
552
553
554 # 1 "/usr/include/bits/sigset.h" 1 3 4
555 # 24 "/usr/include/bits/sigset.h" 3 4
556 typedef int __sig_atomic_t;
557
558
559
560
561 typedef struct
562 {
563 unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))];
564 } __sigset_t;
565 # 34 "/usr/include/signal.h" 2 3 4
566 # 50 "/usr/include/signal.h" 3 4
567 typedef __sigset_t sigset_t;
568 # 408 "/usr/include/signal.h" 3 4
569
570 # 30 "/usr/include/pthread.h" 2 3 4
571 # 1 "/usr/include/bits/pthreadtypes.h" 1 3 4
572 # 24 "/usr/include/bits/pthreadtypes.h" 3 4
573 # 1 "/usr/include/bits/wordsize.h" 1 3 4
574 # 25 "/usr/include/bits/pthreadtypes.h" 2 3 4
575 # 51 "/usr/include/bits/pthreadtypes.h" 3 4
576 typedef unsigned long int pthread_t;
577
578
579 typedef union
580 {
581 char __size[56];
582 long int __align;
583 } pthread_attr_t;
584
585
586
587 typedef struct __pthread_internal_list
588 {
589 struct __pthread_internal_list *__prev;
590 struct __pthread_internal_list *__next;
591 } __pthread_list_t;
592 # 77 "/usr/include/bits/pthreadtypes.h" 3 4
593 typedef union
594 {
595 struct __pthread_mutex_s
596 {
597 int __lock;
598 unsigned int __count;
599 int __owner;
600
601 unsigned int __nusers;
602
603
604
605 int __kind;
606
607 int __spins;
608 __pthread_list_t __list;
609 # 102 "/usr/include/bits/pthreadtypes.h" 3 4
610 } __data;
611 char __size[40];
612 long int __align;
613 } pthread_mutex_t;
614
615 typedef union
616 {
617 char __size[4];
618 int __align;
619 } pthread_mutexattr_t;
620
621
622
623
624 typedef union
625 {
626 struct
627 {
628 int __lock;
629 unsigned int __futex;
630 __extension__ unsigned long long int __total_seq;
631 __extension__ unsigned long long int __wakeup_seq;
632 __extension__ unsigned long long int __woken_seq;
633 void *__mutex;
634 unsigned int __nwaiters;
635 unsigned int __broadcast_seq;
636 } __data;
637 char __size[48];
638 __extension__ long long int __align;
639 } pthread_cond_t;
640
641 typedef union
642 {
643 char __size[4];
644 int __align;
645 } pthread_condattr_t;
646
647
648
649 typedef unsigned int pthread_key_t;
650
651
652
653 typedef int pthread_once_t;
654
655
656
657
658
659 typedef union
660 {
661
662 struct
663 {
664 int __lock;
665 unsigned int __nr_readers;
666 unsigned int __readers_wakeup;
667 unsigned int __writer_wakeup;
668 unsigned int __nr_readers_queued;
669 unsigned int __nr_writers_queued;
670 int __writer;
671 int __shared;
672 unsigned long int __pad1;
673 unsigned long int __pad2;
674
675
676 unsigned int __flags;
677 } __data;
678 # 188 "/usr/include/bits/pthreadtypes.h" 3 4
679 char __size[56];
680 long int __align;
681 } pthread_rwlock_t;
682
683 typedef union
684 {
685 char __size[8];
686 long int __align;
687 } pthread_rwlockattr_t;
688
689
690
691
692
693 typedef volatile int pthread_spinlock_t;
694
695
696
697
698 typedef union
699 {
700 char __size[32];
701 long int __align;
702 } pthread_barrier_t;
703
704 typedef union
705 {
706 char __size[4];
707 int __align;
708 } pthread_barrierattr_t;
709 # 31 "/usr/include/pthread.h" 2 3 4
710 # 1 "/usr/include/bits/setjmp.h" 1 3 4
711 # 33 "/usr/include/bits/setjmp.h" 3 4
712 # 1 "/usr/include/bits/wordsize.h" 1 3 4
713 # 34 "/usr/include/bits/setjmp.h" 2 3 4
714 # 44 "/usr/include/bits/setjmp.h" 3 4
715 typedef long int __jmp_buf[64] __attribute__ ((__aligned__ (16)));
716 # 32 "/usr/include/pthread.h" 2 3 4
717 # 1 "/usr/include/bits/wordsize.h" 1 3 4
718 # 33 "/usr/include/pthread.h" 2 3 4
719
720
721
722 enum
723 {
724 PTHREAD_CREATE_JOINABLE,
725
726 PTHREAD_CREATE_DETACHED
727
728 };
729
730
731
732 enum
733 {
734 PTHREAD_MUTEX_TIMED_NP,
735 PTHREAD_MUTEX_RECURSIVE_NP,
736 PTHREAD_MUTEX_ERRORCHECK_NP,
737 PTHREAD_MUTEX_ADAPTIVE_NP
738
739 ,
740 PTHREAD_MUTEX_NORMAL = PTHREAD_MUTEX_TIMED_NP,
741 PTHREAD_MUTEX_RECURSIVE = PTHREAD_MUTEX_RECURSIVE_NP,
742 PTHREAD_MUTEX_ERRORCHECK = PTHREAD_MUTEX_ERRORCHECK_NP,
743 PTHREAD_MUTEX_DEFAULT = PTHREAD_MUTEX_NORMAL
744
745
746
747 , PTHREAD_MUTEX_FAST_NP = PTHREAD_MUTEX_TIMED_NP
748
749 };
750
751
752
753
754 enum
755 {
756 PTHREAD_MUTEX_STALLED,
757 PTHREAD_MUTEX_STALLED_NP = PTHREAD_MUTEX_STALLED,
758 PTHREAD_MUTEX_ROBUST,
759 PTHREAD_MUTEX_ROBUST_NP = PTHREAD_MUTEX_ROBUST
760 };
761
762
763
764
765
766 enum
767 {
768 PTHREAD_PRIO_NONE,
769 PTHREAD_PRIO_INHERIT,
770 PTHREAD_PRIO_PROTECT
771 };
772 # 117 "/usr/include/pthread.h" 3 4
773 enum
774 {
775 PTHREAD_RWLOCK_PREFER_READER_NP,
776 PTHREAD_RWLOCK_PREFER_WRITER_NP,
777 PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP,
778 PTHREAD_RWLOCK_DEFAULT_NP = PTHREAD_RWLOCK_PREFER_READER_NP
779 };
780 # 149 "/usr/include/pthread.h" 3 4
781 enum
782 {
783 PTHREAD_INHERIT_SCHED,
784
785 PTHREAD_EXPLICIT_SCHED
786
787 };
788
789
790
791 enum
792 {
793 PTHREAD_SCOPE_SYSTEM,
794
795 PTHREAD_SCOPE_PROCESS
796
797 };
798
799
800
801 enum
802 {
803 PTHREAD_PROCESS_PRIVATE,
804
805 PTHREAD_PROCESS_SHARED
806
807 };
808 # 184 "/usr/include/pthread.h" 3 4
809 struct _pthread_cleanup_buffer
810 {
811 void (*__routine) (void *);
812 void *__arg;
813 int __canceltype;
814 struct _pthread_cleanup_buffer *__prev;
815 };
816
817
818 enum
819 {
820 PTHREAD_CANCEL_ENABLE,
821
822 PTHREAD_CANCEL_DISABLE
823
824 };
825 enum
826 {
827 PTHREAD_CANCEL_DEFERRED,
828
829 PTHREAD_CANCEL_ASYNCHRONOUS
830
831 };
832 # 222 "/usr/include/pthread.h" 3 4
833
834
835
836
837
838 extern int pthread_create (pthread_t *__restrict __newthread,
839 __const pthread_attr_t *__restrict __attr,
840 void *(*__start_routine) (void *),
841 void *__restrict __arg) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 3)));
842
843
844
845
846
847 extern void pthread_exit (void *__retval) __attribute__ ((__noreturn__));
848
849
850
851
852
853
854
855 extern int pthread_join (pthread_t __th, void **__thread_return);
856
857
858
859
860 extern int pthread_tryjoin_np (pthread_t __th, void **__thread_return) __attribute__ ((__nothrow__));
861
862
863
864
865
866
867
868 extern int pthread_timedjoin_np (pthread_t __th, void **__thread_return,
869 __const struct timespec *__abstime);
870
871
872
873
874
875
876 extern int pthread_detach (pthread_t __th) __attribute__ ((__nothrow__));
877
878
879
880 extern pthread_t pthread_self (void) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
881
882
883 extern int pthread_equal (pthread_t __thread1, pthread_t __thread2) __attribute__ ((__nothrow__));
884
885
886
887
888
889
890
891 extern int pthread_attr_init (pthread_attr_t *__attr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
892
893
894 extern int pthread_attr_destroy (pthread_attr_t *__attr)
895 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
896
897
898 extern int pthread_attr_getdetachstate (__const pthread_attr_t *__attr,
899 int *__detachstate)
900 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
901
902
903 extern int pthread_attr_setdetachstate (pthread_attr_t *__attr,
904 int __detachstate)
905 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
906
907
908
909 extern int pthread_attr_getguardsize (__const pthread_attr_t *__attr,
910 size_t *__guardsize)
911 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
912
913
914 extern int pthread_attr_setguardsize (pthread_attr_t *__attr,
915 size_t __guardsize)
916 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
917
918
919
920 extern int pthread_attr_getschedparam (__const pthread_attr_t *__restrict
921 __attr,
922 struct sched_param *__restrict __param)
923 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
924
925
926 extern int pthread_attr_setschedparam (pthread_attr_t *__restrict __attr,
927 __const struct sched_param *__restrict
928 __param) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
929
930
931 extern int pthread_attr_getschedpolicy (__const pthread_attr_t *__restrict
932 __attr, int *__restrict __policy)
933 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
934
935
936 extern int pthread_attr_setschedpolicy (pthread_attr_t *__attr, int __policy)
937 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
938
939
940 extern int pthread_attr_getinheritsched (__const pthread_attr_t *__restrict
941 __attr, int *__restrict __inherit)
942 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
943
944
945 extern int pthread_attr_setinheritsched (pthread_attr_t *__attr,
946 int __inherit)
947 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
948
949
950
951 extern int pthread_attr_getscope (__const pthread_attr_t *__restrict __attr,
952 int *__restrict __scope)
953 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
954
955
956 extern int pthread_attr_setscope (pthread_attr_t *__attr, int __scope)
957 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
958
959
960 extern int pthread_attr_getstackaddr (__const pthread_attr_t *__restrict
961 __attr, void **__restrict __stackaddr)
962 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__deprecated__));
963
964
965
966
967
968 extern int pthread_attr_setstackaddr (pthread_attr_t *__attr,
969 void *__stackaddr)
970 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__deprecated__));
971
972
973 extern int pthread_attr_getstacksize (__const pthread_attr_t *__restrict
974 __attr, size_t *__restrict __stacksize)
975 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
976
977
978
979
980 extern int pthread_attr_setstacksize (pthread_attr_t *__attr,
981 size_t __stacksize)
982 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
983
984
985
986 extern int pthread_attr_getstack (__const pthread_attr_t *__restrict __attr,
987 void **__restrict __stackaddr,
988 size_t *__restrict __stacksize)
989 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2, 3)));
990
991
992
993
994 extern int pthread_attr_setstack (pthread_attr_t *__attr, void *__stackaddr,
995 size_t __stacksize) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
996
997
998
999
1000
1001 extern int pthread_attr_setaffinity_np (pthread_attr_t *__attr,
1002 size_t __cpusetsize,
1003 __const cpu_set_t *__cpuset)
1004 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 3)));
1005
1006
1007
1008 extern int pthread_attr_getaffinity_np (__const pthread_attr_t *__attr,
1009 size_t __cpusetsize,
1010 cpu_set_t *__cpuset)
1011 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 3)));
1012
1013
1014
1015
1016
1017 extern int pthread_getattr_np (pthread_t __th, pthread_attr_t *__attr)
1018 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
1019
1020
1021
1022
1023
1024
1025
1026 extern int pthread_setschedparam (pthread_t __target_thread, int __policy,
1027 __const struct sched_param *__param)
1028 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3)));
1029
1030
1031 extern int pthread_getschedparam (pthread_t __target_thread,
1032 int *__restrict __policy,
1033 struct sched_param *__restrict __param)
1034 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3)));
1035
1036
1037 extern int pthread_setschedprio (pthread_t __target_thread, int __prio)
1038 __attribute__ ((__nothrow__));
1039
1040
1041
1042
1043 extern int pthread_getconcurrency (void) __attribute__ ((__nothrow__));
1044
1045
1046 extern int pthread_setconcurrency (int __level) __attribute__ ((__nothrow__));
1047
1048
1049
1050
1051
1052
1053
1054 extern int pthread_yield (void) __attribute__ ((__nothrow__));
1055
1056
1057
1058
1059 extern int pthread_setaffinity_np (pthread_t __th, size_t __cpusetsize,
1060 __const cpu_set_t *__cpuset)
1061 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3)));
1062
1063
1064 extern int pthread_getaffinity_np (pthread_t __th, size_t __cpusetsize,
1065 cpu_set_t *__cpuset)
1066 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3)));
1067 # 468 "/usr/include/pthread.h" 3 4
1068 extern int pthread_once (pthread_once_t *__once_control,
1069 void (*__init_routine) (void)) __attribute__ ((__nonnull__ (1, 2)));
1070 # 480 "/usr/include/pthread.h" 3 4
1071 extern int pthread_setcancelstate (int __state, int *__oldstate);
1072
1073
1074
1075 extern int pthread_setcanceltype (int __type, int *__oldtype);
1076
1077
1078 extern int pthread_cancel (pthread_t __th);
1079
1080
1081
1082
1083 extern void pthread_testcancel (void);
1084
1085
1086
1087
1088 typedef struct
1089 {
1090 struct
1091 {
1092 __jmp_buf __cancel_jmp_buf;
1093 int __mask_was_saved;
1094 } __cancel_jmp_buf[1];
1095 void *__pad[4];
1096 } __pthread_unwind_buf_t __attribute__ ((__aligned__));
1097 # 514 "/usr/include/pthread.h" 3 4
1098 struct __pthread_cleanup_frame
1099 {
1100 void (*__cancel_routine) (void *);
1101 void *__cancel_arg;
1102 int __do_it;
1103 int __cancel_type;
1104 };
1105 # 654 "/usr/include/pthread.h" 3 4
1106 extern void __pthread_register_cancel (__pthread_unwind_buf_t *__buf)
1107 ;
1108 # 666 "/usr/include/pthread.h" 3 4
1109 extern void __pthread_unregister_cancel (__pthread_unwind_buf_t *__buf)
1110 ;
1111 # 689 "/usr/include/pthread.h" 3 4
1112 extern void __pthread_register_cancel_defer (__pthread_unwind_buf_t *__buf)
1113 ;
1114 # 702 "/usr/include/pthread.h" 3 4
1115 extern void __pthread_unregister_cancel_restore (__pthread_unwind_buf_t *__buf)
1116 ;
1117
1118
1119
1120 extern void __pthread_unwind_next (__pthread_unwind_buf_t *__buf)
1121 __attribute__ ((__noreturn__))
1122
1123 __attribute__ ((__weak__))
1124
1125 ;
1126
1127
1128
1129 struct __jmp_buf_tag;
1130 extern int __sigsetjmp (struct __jmp_buf_tag *__env, int __savemask) __attribute__ ((__nothrow__));
1131
1132
1133
1134
1135
1136 extern int pthread_mutex_init (pthread_mutex_t *__mutex,
1137 __const pthread_mutexattr_t *__mutexattr)
1138 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
1139
1140
1141 extern int pthread_mutex_destroy (pthread_mutex_t *__mutex)
1142 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
1143
1144
1145 extern int pthread_mutex_trylock (pthread_mutex_t *__mutex)
1146 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
1147
1148
1149 extern int pthread_mutex_lock (pthread_mutex_t *__mutex)
1150 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
1151
1152
1153
1154 extern int pthread_mutex_timedlock (pthread_mutex_t *__restrict __mutex,
1155 __const struct timespec *__restrict
1156 __abstime) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
1157
1158
1159
1160 extern int pthread_mutex_unlock (pthread_mutex_t *__mutex)
1161 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
1162
1163
1164
1165
1166 extern int pthread_mutex_getprioceiling (__const pthread_mutex_t *
1167 __restrict __mutex,
1168 int *__restrict __prioceiling)
1169 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
1170
1171
1172
1173 extern int pthread_mutex_setprioceiling (pthread_mutex_t *__restrict __mutex,
1174 int __prioceiling,
1175 int *__restrict __old_ceiling)
1176 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 3)));
1177
1178
1179
1180
1181
1182 extern int pthread_mutex_consistent_np (pthread_mutex_t *__mutex)
1183 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
1184
1185 extern int pthread_mutex_consistent_np (pthread_mutex_t *__mutex)
1186 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
1187 # 782 "/usr/include/pthread.h" 3 4
1188 extern int pthread_mutexattr_init (pthread_mutexattr_t *__attr)
1189 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
1190
1191
1192 extern int pthread_mutexattr_destroy (pthread_mutexattr_t *__attr)
1193 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
1194
1195
1196 extern int pthread_mutexattr_getpshared (__const pthread_mutexattr_t *
1197 __restrict __attr,
1198 int *__restrict __pshared)
1199 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
1200
1201
1202 extern int pthread_mutexattr_setpshared (pthread_mutexattr_t *__attr,
1203 int __pshared)
1204 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
1205
1206
1207
1208 extern int pthread_mutexattr_gettype (__const pthread_mutexattr_t *__restrict
1209 __attr, int *__restrict __kind)
1210 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
1211
1212
1213
1214
1215 extern int pthread_mutexattr_settype (pthread_mutexattr_t *__attr, int __kind)
1216 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
1217
1218
1219 extern int pthread_mutexattr_getprotocol (__const pthread_mutexattr_t *
1220 __restrict __attr,
1221 int *__restrict __protocol)
1222 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
1223
1224
1225
1226 extern int pthread_mutexattr_setprotocol (pthread_mutexattr_t *__attr,
1227 int __protocol)
1228 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
1229
1230
1231 extern int pthread_mutexattr_getprioceiling (__const pthread_mutexattr_t *
1232 __restrict __attr,
1233 int *__restrict __prioceiling)
1234 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
1235
1236
1237 extern int pthread_mutexattr_setprioceiling (pthread_mutexattr_t *__attr,
1238 int __prioceiling)
1239 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
1240
1241
1242
1243
1244 extern int pthread_mutexattr_getrobust (__const pthread_mutexattr_t *__attr,
1245 int *__robustness)
1246 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
1247
1248 extern int pthread_mutexattr_getrobust_np (__const pthread_mutexattr_t *__attr,
1249 int *__robustness)
1250 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
1251
1252
1253
1254 extern int pthread_mutexattr_setrobust (pthread_mutexattr_t *__attr,
1255 int __robustness)
1256 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
1257
1258 extern int pthread_mutexattr_setrobust_np (pthread_mutexattr_t *__attr,
1259 int __robustness)
1260 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
1261 # 864 "/usr/include/pthread.h" 3 4
1262 extern int pthread_rwlock_init (pthread_rwlock_t *__restrict __rwlock,
1263 __const pthread_rwlockattr_t *__restrict
1264 __attr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
1265
1266
1267 extern int pthread_rwlock_destroy (pthread_rwlock_t *__rwlock)
1268 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
1269
1270
1271 extern int pthread_rwlock_rdlock (pthread_rwlock_t *__rwlock)
1272 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
1273
1274
1275 extern int pthread_rwlock_tryrdlock (pthread_rwlock_t *__rwlock)
1276 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
1277
1278
1279
1280 extern int pthread_rwlock_timedrdlock (pthread_rwlock_t *__restrict __rwlock,
1281 __const struct timespec *__restrict
1282 __abstime) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
1283
1284
1285
1286 extern int pthread_rwlock_wrlock (pthread_rwlock_t *__rwlock)
1287 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
1288
1289
1290 extern int pthread_rwlock_trywrlock (pthread_rwlock_t *__rwlock)
1291 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
1292
1293
1294
1295 extern int pthread_rwlock_timedwrlock (pthread_rwlock_t *__restrict __rwlock,
1296 __const struct timespec *__restrict
1297 __abstime) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
1298
1299
1300
1301 extern int pthread_rwlock_unlock (pthread_rwlock_t *__rwlock)
1302 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
1303
1304
1305
1306
1307
1308 extern int pthread_rwlockattr_init (pthread_rwlockattr_t *__attr)
1309 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
1310
1311
1312 extern int pthread_rwlockattr_destroy (pthread_rwlockattr_t *__attr)
1313 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
1314
1315
1316 extern int pthread_rwlockattr_getpshared (__const pthread_rwlockattr_t *
1317 __restrict __attr,
1318 int *__restrict __pshared)
1319 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
1320
1321
1322 extern int pthread_rwlockattr_setpshared (pthread_rwlockattr_t *__attr,
1323 int __pshared)
1324 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
1325
1326
1327 extern int pthread_rwlockattr_getkind_np (__const pthread_rwlockattr_t *
1328 __restrict __attr,
1329 int *__restrict __pref)
1330 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
1331
1332
1333 extern int pthread_rwlockattr_setkind_np (pthread_rwlockattr_t *__attr,
1334 int __pref) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
1335
1336
1337
1338
1339
1340
1341
1342 extern int pthread_cond_init (pthread_cond_t *__restrict __cond,
1343 __const pthread_condattr_t *__restrict
1344 __cond_attr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
1345
1346
1347 extern int pthread_cond_destroy (pthread_cond_t *__cond)
1348 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
1349
1350
1351 extern int pthread_cond_signal (pthread_cond_t *__cond)
1352 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
1353
1354
1355 extern int pthread_cond_broadcast (pthread_cond_t *__cond)
1356 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
1357
1358
1359
1360
1361
1362
1363 extern int pthread_cond_wait (pthread_cond_t *__restrict __cond,
1364 pthread_mutex_t *__restrict __mutex)
1365 __attribute__ ((__nonnull__ (1, 2)));
1366 # 976 "/usr/include/pthread.h" 3 4
1367 extern int pthread_cond_timedwait (pthread_cond_t *__restrict __cond,
1368 pthread_mutex_t *__restrict __mutex,
1369 __const struct timespec *__restrict
1370 __abstime) __attribute__ ((__nonnull__ (1, 2, 3)));
1371
1372
1373
1374
1375 extern int pthread_condattr_init (pthread_condattr_t *__attr)
1376 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
1377
1378
1379 extern int pthread_condattr_destroy (pthread_condattr_t *__attr)
1380 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
1381
1382
1383 extern int pthread_condattr_getpshared (__const pthread_condattr_t *
1384 __restrict __attr,
1385 int *__restrict __pshared)
1386 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
1387
1388
1389 extern int pthread_condattr_setpshared (pthread_condattr_t *__attr,
1390 int __pshared) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
1391
1392
1393
1394 extern int pthread_condattr_getclock (__const pthread_condattr_t *
1395 __restrict __attr,
1396 __clockid_t *__restrict __clock_id)
1397 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
1398
1399
1400 extern int pthread_condattr_setclock (pthread_condattr_t *__attr,
1401 __clockid_t __clock_id)
1402 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
1403 # 1020 "/usr/include/pthread.h" 3 4
1404 extern int pthread_spin_init (pthread_spinlock_t *__lock, int __pshared)
1405 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
1406
1407
1408 extern int pthread_spin_destroy (pthread_spinlock_t *__lock)
1409 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
1410
1411
1412 extern int pthread_spin_lock (pthread_spinlock_t *__lock)
1413 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
1414
1415
1416 extern int pthread_spin_trylock (pthread_spinlock_t *__lock)
1417 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
1418
1419
1420 extern int pthread_spin_unlock (pthread_spinlock_t *__lock)
1421 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
1422
1423
1424
1425
1426
1427
1428 extern int pthread_barrier_init (pthread_barrier_t *__restrict __barrier,
1429 __const pthread_barrierattr_t *__restrict
1430 __attr, unsigned int __count)
1431 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
1432
1433
1434 extern int pthread_barrier_destroy (pthread_barrier_t *__barrier)
1435 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
1436
1437
1438 extern int pthread_barrier_wait (pthread_barrier_t *__barrier)
1439 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
1440
1441
1442
1443 extern int pthread_barrierattr_init (pthread_barrierattr_t *__attr)
1444 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
1445
1446
1447 extern int pthread_barrierattr_destroy (pthread_barrierattr_t *__attr)
1448 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
1449
1450
1451 extern int pthread_barrierattr_getpshared (__const pthread_barrierattr_t *
1452 __restrict __attr,
1453 int *__restrict __pshared)
1454 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
1455
1456
1457 extern int pthread_barrierattr_setpshared (pthread_barrierattr_t *__attr,
1458 int __pshared)
1459 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
1460 # 1087 "/usr/include/pthread.h" 3 4
1461 extern int pthread_key_create (pthread_key_t *__key,
1462 void (*__destr_function) (void *))
1463 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
1464
1465
1466 extern int pthread_key_delete (pthread_key_t __key) __attribute__ ((__nothrow__));
1467
1468
1469 extern void *pthread_getspecific (pthread_key_t __key) __attribute__ ((__nothrow__));
1470
1471
1472 extern int pthread_setspecific (pthread_key_t __key,
1473 __const void *__pointer) __attribute__ ((__nothrow__)) ;
1474
1475
1476
1477
1478 extern int pthread_getcpuclockid (pthread_t __thread_id,
1479 __clockid_t *__clock_id)
1480 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
1481 # 1121 "/usr/include/pthread.h" 3 4
1482 extern int pthread_atfork (void (*__prepare) (void),
1483 void (*__parent) (void),
1484 void (*__child) (void)) __attribute__ ((__nothrow__));
1485
1486
1487
1488
1489 extern __inline int
1490 __attribute__ ((__nothrow__)) pthread_equal (pthread_t __thread1, pthread_t __thread2)
1491 {
1492 return __thread1 == __thread2;
1493 }
1494
1495
1496
1497 # 242 "./../include/my_global.h" 2
1498 # 311 "./../include/my_global.h"
1499 # 1 "/usr/include/stdio.h" 1 3 4
1500 # 30 "/usr/include/stdio.h" 3 4
1501
1502
1503
1504
1505 # 1 "/usr/lib/gcc/powerpc64-unknown-linux-gnu/4.3.4/include/stddef.h" 1 3 4
1506 # 35 "/usr/include/stdio.h" 2 3 4
1507 # 45 "/usr/include/stdio.h" 3 4
1508 struct _IO_FILE;
1509
1510
1511
1512 typedef struct _IO_FILE FILE;
1513
1514
1515
1516
1517
1518 # 65 "/usr/include/stdio.h" 3 4
1519 typedef struct _IO_FILE __FILE;
1520 # 75 "/usr/include/stdio.h" 3 4
1521 # 1 "/usr/include/libio.h" 1 3 4
1522 # 32 "/usr/include/libio.h" 3 4
1523 # 1 "/usr/include/_G_config.h" 1 3 4
1524 # 15 "/usr/include/_G_config.h" 3 4
1525 # 1 "/usr/lib/gcc/powerpc64-unknown-linux-gnu/4.3.4/include/stddef.h" 1 3 4
1526 # 16 "/usr/include/_G_config.h" 2 3 4
1527
1528
1529
1530
1531 # 1 "/usr/include/wchar.h" 1 3 4
1532 # 83 "/usr/include/wchar.h" 3 4
1533 typedef struct
1534 {
1535 int __count;
1536 union
1537 {
1538
1539 unsigned int __wch;
1540
1541
1542
1543 char __wchb[4];
1544 } __value;
1545 } __mbstate_t;
1546 # 21 "/usr/include/_G_config.h" 2 3 4
1547
1548 typedef struct
1549 {
1550 __off_t __pos;
1551 __mbstate_t __state;
1552 } _G_fpos_t;
1553 typedef struct
1554 {
1555 __off64_t __pos;
1556 __mbstate_t __state;
1557 } _G_fpos64_t;
1558 # 53 "/usr/include/_G_config.h" 3 4
1559 typedef int _G_int16_t __attribute__ ((__mode__ (__HI__)));
1560 typedef int _G_int32_t __attribute__ ((__mode__ (__SI__)));
1561 typedef unsigned int _G_uint16_t __attribute__ ((__mode__ (__HI__)));
1562 typedef unsigned int _G_uint32_t __attribute__ ((__mode__ (__SI__)));
1563 # 33 "/usr/include/libio.h" 2 3 4
1564 # 53 "/usr/include/libio.h" 3 4
1565 # 1 "/usr/lib/gcc/powerpc64-unknown-linux-gnu/4.3.4/include/stdarg.h" 1 3 4
1566 # 43 "/usr/lib/gcc/powerpc64-unknown-linux-gnu/4.3.4/include/stdarg.h" 3 4
1567 typedef __builtin_va_list __gnuc_va_list;
1568 # 54 "/usr/include/libio.h" 2 3 4
1569 # 170 "/usr/include/libio.h" 3 4
1570 struct _IO_jump_t; struct _IO_FILE;
1571 # 180 "/usr/include/libio.h" 3 4
1572 typedef void _IO_lock_t;
1573
1574
1575
1576
1577
1578 struct _IO_marker {
1579 struct _IO_marker *_next;
1580 struct _IO_FILE *_sbuf;
1581
1582
1583
1584 int _pos;
1585 # 203 "/usr/include/libio.h" 3 4
1586 };
1587
1588
1589 enum __codecvt_result
1590 {
1591 __codecvt_ok,
1592 __codecvt_partial,
1593 __codecvt_error,
1594 __codecvt_noconv
1595 };
1596 # 271 "/usr/include/libio.h" 3 4
1597 struct _IO_FILE {
1598 int _flags;
1599
1600
1601
1602
1603 char* _IO_read_ptr;
1604 char* _IO_read_end;
1605 char* _IO_read_base;
1606 char* _IO_write_base;
1607 char* _IO_write_ptr;
1608 char* _IO_write_end;
1609 char* _IO_buf_base;
1610 char* _IO_buf_end;
1611
1612 char *_IO_save_base;
1613 char *_IO_backup_base;
1614 char *_IO_save_end;
1615
1616 struct _IO_marker *_markers;
1617
1618 struct _IO_FILE *_chain;
1619
1620 int _fileno;
1621
1622
1623
1624 int _flags2;
1625
1626 __off_t _old_offset;
1627
1628
1629
1630 unsigned short _cur_column;
1631 signed char _vtable_offset;
1632 char _shortbuf[1];
1633
1634
1635
1636 _IO_lock_t *_lock;
1637 # 319 "/usr/include/libio.h" 3 4
1638 __off64_t _offset;
1639 # 328 "/usr/include/libio.h" 3 4
1640 void *__pad1;
1641 void *__pad2;
1642 void *__pad3;
1643 void *__pad4;
1644 size_t __pad5;
1645
1646 int _mode;
1647
1648 char _unused2[15 * sizeof (int) - 4 * sizeof (void *) - sizeof (size_t)];
1649
1650 };
1651
1652
1653 typedef struct _IO_FILE _IO_FILE;
1654
1655
1656 struct _IO_FILE_plus;
1657
1658 extern struct _IO_FILE_plus _IO_2_1_stdin_;
1659 extern struct _IO_FILE_plus _IO_2_1_stdout_;
1660 extern struct _IO_FILE_plus _IO_2_1_stderr_;
1661 # 364 "/usr/include/libio.h" 3 4
1662 typedef __ssize_t __io_read_fn (void *__cookie, char *__buf, size_t __nbytes);
1663
1664
1665
1666
1667
1668
1669
1670 typedef __ssize_t __io_write_fn (void *__cookie, __const char *__buf,
1671 size_t __n);
1672
1673
1674
1675
1676
1677
1678
1679 typedef int __io_seek_fn (void *__cookie, __off64_t *__pos, int __w);
1680
1681
1682 typedef int __io_close_fn (void *__cookie);
1683
1684
1685
1686
1687 typedef __io_read_fn cookie_read_function_t;
1688 typedef __io_write_fn cookie_write_function_t;
1689 typedef __io_seek_fn cookie_seek_function_t;
1690 typedef __io_close_fn cookie_close_function_t;
1691
1692
1693 typedef struct
1694 {
1695 __io_read_fn *read;
1696 __io_write_fn *write;
1697 __io_seek_fn *seek;
1698 __io_close_fn *close;
1699 } _IO_cookie_io_functions_t;
1700 typedef _IO_cookie_io_functions_t cookie_io_functions_t;
1701
1702 struct _IO_cookie_file;
1703
1704
1705 extern void _IO_cookie_init (struct _IO_cookie_file *__cfile, int __read_write,
1706 void *__cookie, _IO_cookie_io_functions_t __fns);
1707
1708
1709
1710
1711
1712
1713
1714 extern int __underflow (_IO_FILE *);
1715 extern int __uflow (_IO_FILE *);
1716 extern int __overflow (_IO_FILE *, int);
1717 # 458 "/usr/include/libio.h" 3 4
1718 extern int _IO_getc (_IO_FILE *__fp);
1719 extern int _IO_putc (int __c, _IO_FILE *__fp);
1720 extern int _IO_feof (_IO_FILE *__fp) __attribute__ ((__nothrow__));
1721 extern int _IO_ferror (_IO_FILE *__fp) __attribute__ ((__nothrow__));
1722
1723 extern int _IO_peekc_locked (_IO_FILE *__fp);
1724
1725
1726
1727
1728
1729 extern void _IO_flockfile (_IO_FILE *) __attribute__ ((__nothrow__));
1730 extern void _IO_funlockfile (_IO_FILE *) __attribute__ ((__nothrow__));
1731 extern int _IO_ftrylockfile (_IO_FILE *) __attribute__ ((__nothrow__));
1732 # 488 "/usr/include/libio.h" 3 4
1733 extern int _IO_vfscanf (_IO_FILE * __restrict, const char * __restrict,
1734 __gnuc_va_list, int *__restrict);
1735 extern int _IO_vfprintf (_IO_FILE *__restrict, const char *__restrict,
1736 __gnuc_va_list);
1737 extern __ssize_t _IO_padn (_IO_FILE *, int, __ssize_t);
1738 extern size_t _IO_sgetn (_IO_FILE *, void *, size_t);
1739
1740 extern __off64_t _IO_seekoff (_IO_FILE *, __off64_t, int, int);
1741 extern __off64_t _IO_seekpos (_IO_FILE *, __off64_t, int);
1742
1743 extern void _IO_free_backup_area (_IO_FILE *) __attribute__ ((__nothrow__));
1744 # 76 "/usr/include/stdio.h" 2 3 4
1745
1746
1747
1748
1749 typedef __gnuc_va_list va_list;
1750 # 89 "/usr/include/stdio.h" 3 4
1751
1752
1753 typedef _G_fpos_t fpos_t;
1754
1755
1756
1757
1758
1759 typedef _G_fpos64_t fpos64_t;
1760 # 141 "/usr/include/stdio.h" 3 4
1761 # 1 "/usr/include/bits/stdio_lim.h" 1 3 4
1762 # 142 "/usr/include/stdio.h" 2 3 4
1763
1764
1765
1766 extern struct _IO_FILE *stdin;
1767 extern struct _IO_FILE *stdout;
1768 extern struct _IO_FILE *stderr;
1769
1770
1771
1772
1773
1774
1775
1776 extern int remove (__const char *__filename) __attribute__ ((__nothrow__));
1777
1778 extern int rename (__const char *__old, __const char *__new) __attribute__ ((__nothrow__));
1779
1780
1781
1782
1783 extern int renameat (int __oldfd, __const char *__old, int __newfd,
1784 __const char *__new) __attribute__ ((__nothrow__));
1785
1786
1787
1788
1789
1790
1791
1792
1793 extern FILE *tmpfile (void) __attribute__ ((__warn_unused_result__));
1794 # 182 "/usr/include/stdio.h" 3 4
1795 extern FILE *tmpfile64 (void) __attribute__ ((__warn_unused_result__));
1796
1797
1798
1799 extern char *tmpnam (char *__s) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
1800
1801
1802
1803
1804
1805 extern char *tmpnam_r (char *__s) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
1806 # 204 "/usr/include/stdio.h" 3 4
1807 extern char *tempnam (__const char *__dir, __const char *__pfx)
1808 __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__warn_unused_result__));
1809
1810
1811
1812
1813
1814
1815
1816
1817 extern int fclose (FILE *__stream);
1818
1819
1820
1821
1822 extern int fflush (FILE *__stream);
1823
1824 # 229 "/usr/include/stdio.h" 3 4
1825 extern int fflush_unlocked (FILE *__stream);
1826 # 239 "/usr/include/stdio.h" 3 4
1827 extern int fcloseall (void);
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837 extern FILE *fopen (__const char *__restrict __filename,
1838 __const char *__restrict __modes) __attribute__ ((__warn_unused_result__));
1839
1840
1841
1842
1843 extern FILE *freopen (__const char *__restrict __filename,
1844 __const char *__restrict __modes,
1845 FILE *__restrict __stream) __attribute__ ((__warn_unused_result__));
1846 # 272 "/usr/include/stdio.h" 3 4
1847
1848
1849 extern FILE *fopen64 (__const char *__restrict __filename,
1850 __const char *__restrict __modes) __attribute__ ((__warn_unused_result__));
1851 extern FILE *freopen64 (__const char *__restrict __filename,
1852 __const char *__restrict __modes,
1853 FILE *__restrict __stream) __attribute__ ((__warn_unused_result__));
1854
1855
1856
1857
1858 extern FILE *fdopen (int __fd, __const char *__modes) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
1859
1860
1861
1862
1863
1864 extern FILE *fopencookie (void *__restrict __magic_cookie,
1865 __const char *__restrict __modes,
1866 _IO_cookie_io_functions_t __io_funcs) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
1867
1868
1869
1870
1871 extern FILE *fmemopen (void *__s, size_t __len, __const char *__modes)
1872 __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
1873
1874
1875
1876
1877 extern FILE *open_memstream (char **__bufloc, size_t *__sizeloc) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
1878
1879
1880
1881
1882
1883
1884 extern void setbuf (FILE *__restrict __stream, char *__restrict __buf) __attribute__ ((__nothrow__));
1885
1886
1887
1888 extern int setvbuf (FILE *__restrict __stream, char *__restrict __buf,
1889 int __modes, size_t __n) __attribute__ ((__nothrow__));
1890
1891
1892
1893
1894
1895 extern void setbuffer (FILE *__restrict __stream, char *__restrict __buf,
1896 size_t __size) __attribute__ ((__nothrow__));
1897
1898
1899 extern void setlinebuf (FILE *__stream) __attribute__ ((__nothrow__));
1900
1901
1902
1903
1904
1905
1906
1907
1908 extern int fprintf (FILE *__restrict __stream,
1909 __const char *__restrict __format, ...);
1910
1911
1912
1913
1914 extern int printf (__const char *__restrict __format, ...);
1915
1916 extern int sprintf (char *__restrict __s,
1917 __const char *__restrict __format, ...) __attribute__ ((__nothrow__));
1918
1919
1920
1921
1922
1923 extern int vfprintf (FILE *__restrict __s, __const char *__restrict __format,
1924 __gnuc_va_list __arg);
1925
1926
1927
1928
1929 extern int vprintf (__const char *__restrict __format, __gnuc_va_list __arg);
1930
1931 extern int vsprintf (char *__restrict __s, __const char *__restrict __format,
1932 __gnuc_va_list __arg) __attribute__ ((__nothrow__));
1933
1934
1935
1936
1937
1938 extern int snprintf (char *__restrict __s, size_t __maxlen,
1939 __const char *__restrict __format, ...)
1940 __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 4)));
1941
1942 extern int vsnprintf (char *__restrict __s, size_t __maxlen,
1943 __const char *__restrict __format, __gnuc_va_list __arg)
1944 __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 0)));
1945
1946
1947
1948
1949
1950
1951 extern int vasprintf (char **__restrict __ptr, __const char *__restrict __f,
1952 __gnuc_va_list __arg)
1953 __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 0))) __attribute__ ((__warn_unused_result__));
1954 extern int __asprintf (char **__restrict __ptr,
1955 __const char *__restrict __fmt, ...)
1956 __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 3))) __attribute__ ((__warn_unused_result__));
1957 extern int asprintf (char **__restrict __ptr,
1958 __const char *__restrict __fmt, ...)
1959 __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 3))) __attribute__ ((__warn_unused_result__));
1960 # 394 "/usr/include/stdio.h" 3 4
1961 extern int vdprintf (int __fd, __const char *__restrict __fmt,
1962 __gnuc_va_list __arg)
1963 __attribute__ ((__format__ (__printf__, 2, 0)));
1964 extern int dprintf (int __fd, __const char *__restrict __fmt, ...)
1965 __attribute__ ((__format__ (__printf__, 2, 3)));
1966
1967
1968
1969
1970
1971
1972
1973
1974 extern int fscanf (FILE *__restrict __stream,
1975 __const char *__restrict __format, ...) __attribute__ ((__warn_unused_result__));
1976
1977
1978
1979
1980 extern int scanf (__const char *__restrict __format, ...) __attribute__ ((__warn_unused_result__));
1981
1982 extern int sscanf (__const char *__restrict __s,
1983 __const char *__restrict __format, ...) __attribute__ ((__nothrow__));
1984 # 445 "/usr/include/stdio.h" 3 4
1985
1986
1987
1988
1989
1990
1991
1992
1993 extern int vfscanf (FILE *__restrict __s, __const char *__restrict __format,
1994 __gnuc_va_list __arg)
1995 __attribute__ ((__format__ (__scanf__, 2, 0))) __attribute__ ((__warn_unused_result__));
1996
1997
1998
1999
2000
2001 extern int vscanf (__const char *__restrict __format, __gnuc_va_list __arg)
2002 __attribute__ ((__format__ (__scanf__, 1, 0))) __attribute__ ((__warn_unused_result__));
2003
2004
2005 extern int vsscanf (__const char *__restrict __s,
2006 __const char *__restrict __format, __gnuc_va_list __arg)
2007 __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__scanf__, 2, 0)));
2008 # 504 "/usr/include/stdio.h" 3 4
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018 extern int fgetc (FILE *__stream);
2019 extern int getc (FILE *__stream);
2020
2021
2022
2023
2024
2025 extern int getchar (void);
2026
2027 # 532 "/usr/include/stdio.h" 3 4
2028 extern int getc_unlocked (FILE *__stream);
2029 extern int getchar_unlocked (void);
2030 # 543 "/usr/include/stdio.h" 3 4
2031 extern int fgetc_unlocked (FILE *__stream);
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043 extern int fputc (int __c, FILE *__stream);
2044 extern int putc (int __c, FILE *__stream);
2045
2046
2047
2048
2049
2050 extern int putchar (int __c);
2051
2052 # 576 "/usr/include/stdio.h" 3 4
2053 extern int fputc_unlocked (int __c, FILE *__stream);
2054
2055
2056
2057
2058
2059
2060
2061 extern int putc_unlocked (int __c, FILE *__stream);
2062 extern int putchar_unlocked (int __c);
2063
2064
2065
2066
2067
2068
2069 extern int getw (FILE *__stream);
2070
2071
2072 extern int putw (int __w, FILE *__stream);
2073
2074
2075
2076
2077
2078
2079
2080
2081 extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream)
2082 __attribute__ ((__warn_unused_result__));
2083
2084
2085
2086
2087
2088
2089 extern char *gets (char *__s) __attribute__ ((__warn_unused_result__));
2090
2091 # 622 "/usr/include/stdio.h" 3 4
2092 extern char *fgets_unlocked (char *__restrict __s, int __n,
2093 FILE *__restrict __stream) __attribute__ ((__warn_unused_result__));
2094 # 638 "/usr/include/stdio.h" 3 4
2095 extern __ssize_t __getdelim (char **__restrict __lineptr,
2096 size_t *__restrict __n, int __delimiter,
2097 FILE *__restrict __stream) __attribute__ ((__warn_unused_result__));
2098 extern __ssize_t getdelim (char **__restrict __lineptr,
2099 size_t *__restrict __n, int __delimiter,
2100 FILE *__restrict __stream) __attribute__ ((__warn_unused_result__));
2101
2102
2103
2104
2105
2106
2107
2108 extern __ssize_t getline (char **__restrict __lineptr,
2109 size_t *__restrict __n,
2110 FILE *__restrict __stream) __attribute__ ((__warn_unused_result__));
2111
2112
2113
2114
2115
2116
2117
2118
2119 extern int fputs (__const char *__restrict __s, FILE *__restrict __stream);
2120
2121
2122
2123
2124
2125 extern int puts (__const char *__s);
2126
2127
2128
2129
2130
2131
2132 extern int ungetc (int __c, FILE *__stream);
2133
2134
2135
2136
2137
2138
2139 extern size_t fread (void *__restrict __ptr, size_t __size,
2140 size_t __n, FILE *__restrict __stream) __attribute__ ((__warn_unused_result__));
2141
2142
2143
2144
2145 extern size_t fwrite (__const void *__restrict __ptr, size_t __size,
2146 size_t __n, FILE *__restrict __s) __attribute__ ((__warn_unused_result__));
2147
2148 # 699 "/usr/include/stdio.h" 3 4
2149 extern int fputs_unlocked (__const char *__restrict __s,
2150 FILE *__restrict __stream);
2151 # 710 "/usr/include/stdio.h" 3 4
2152 extern size_t fread_unlocked (void *__restrict __ptr, size_t __size,
2153 size_t __n, FILE *__restrict __stream) __attribute__ ((__warn_unused_result__));
2154 extern size_t fwrite_unlocked (__const void *__restrict __ptr, size_t __size,
2155 size_t __n, FILE *__restrict __stream) __attribute__ ((__warn_unused_result__));
2156
2157
2158
2159
2160
2161
2162
2163
2164 extern int fseek (FILE *__stream, long int __off, int __whence);
2165
2166
2167
2168
2169 extern long int ftell (FILE *__stream) __attribute__ ((__warn_unused_result__));
2170
2171
2172
2173
2174 extern void rewind (FILE *__stream);
2175
2176 # 746 "/usr/include/stdio.h" 3 4
2177 extern int fseeko (FILE *__stream, __off_t __off, int __whence);
2178
2179
2180
2181
2182 extern __off_t ftello (FILE *__stream) __attribute__ ((__warn_unused_result__));
2183 # 765 "/usr/include/stdio.h" 3 4
2184
2185
2186
2187
2188
2189
2190 extern int fgetpos (FILE *__restrict __stream, fpos_t *__restrict __pos);
2191
2192
2193
2194
2195 extern int fsetpos (FILE *__stream, __const fpos_t *__pos);
2196 # 788 "/usr/include/stdio.h" 3 4
2197
2198
2199
2200 extern int fseeko64 (FILE *__stream, __off64_t __off, int __whence);
2201 extern __off64_t ftello64 (FILE *__stream) __attribute__ ((__warn_unused_result__));
2202 extern int fgetpos64 (FILE *__restrict __stream, fpos64_t *__restrict __pos);
2203 extern int fsetpos64 (FILE *__stream, __const fpos64_t *__pos);
2204
2205
2206
2207
2208 extern void clearerr (FILE *__stream) __attribute__ ((__nothrow__));
2209
2210 extern int feof (FILE *__stream) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
2211
2212 extern int ferror (FILE *__stream) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
2213
2214
2215
2216
2217 extern void clearerr_unlocked (FILE *__stream) __attribute__ ((__nothrow__));
2218 extern int feof_unlocked (FILE *__stream) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
2219 extern int ferror_unlocked (FILE *__stream) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
2220
2221
2222
2223
2224
2225
2226
2227
2228 extern void perror (__const char *__s);
2229
2230
2231
2232
2233
2234
2235 # 1 "/usr/include/bits/sys_errlist.h" 1 3 4
2236 # 27 "/usr/include/bits/sys_errlist.h" 3 4
2237 extern int sys_nerr;
2238 extern __const char *__const sys_errlist[];
2239
2240
2241 extern int _sys_nerr;
2242 extern __const char *__const _sys_errlist[];
2243 # 827 "/usr/include/stdio.h" 2 3 4
2244
2245
2246
2247
2248 extern int fileno (FILE *__stream) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
2249
2250
2251
2252
2253 extern int fileno_unlocked (FILE *__stream) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
2254 # 846 "/usr/include/stdio.h" 3 4
2255 extern FILE *popen (__const char *__command, __const char *__modes) __attribute__ ((__warn_unused_result__));
2256
2257
2258
2259
2260
2261 extern int pclose (FILE *__stream);
2262
2263
2264
2265
2266
2267 extern char *ctermid (char *__s) __attribute__ ((__nothrow__));
2268
2269
2270
2271
2272
2273 extern char *cuserid (char *__s);
2274
2275
2276
2277
2278 struct obstack;
2279
2280
2281 extern int obstack_printf (struct obstack *__restrict __obstack,
2282 __const char *__restrict __format, ...)
2283 __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 3)));
2284 extern int obstack_vprintf (struct obstack *__restrict __obstack,
2285 __const char *__restrict __format,
2286 __gnuc_va_list __args)
2287 __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 0)));
2288
2289
2290
2291
2292
2293
2294
2295 extern void flockfile (FILE *__stream) __attribute__ ((__nothrow__));
2296
2297
2298
2299 extern int ftrylockfile (FILE *__stream) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
2300
2301
2302 extern void funlockfile (FILE *__stream) __attribute__ ((__nothrow__));
2303 # 907 "/usr/include/stdio.h" 3 4
2304 # 1 "/usr/include/bits/stdio.h" 1 3 4
2305 # 44 "/usr/include/bits/stdio.h" 3 4
2306 extern __inline int
2307 getchar (void)
2308 {
2309 return _IO_getc (stdin);
2310 }
2311
2312
2313
2314
2315 extern __inline int
2316 fgetc_unlocked (FILE *__fp)
2317 {
2318 return (__builtin_expect (((__fp)->_IO_read_ptr >= (__fp)->_IO_read_end), 0) ? __uflow (__fp) : *(unsigned char *) (__fp)->_IO_read_ptr++);
2319 }
2320
2321
2322
2323
2324
2325 extern __inline int
2326 getc_unlocked (FILE *__fp)
2327 {
2328 return (__builtin_expect (((__fp)->_IO_read_ptr >= (__fp)->_IO_read_end), 0) ? __uflow (__fp) : *(unsigned char *) (__fp)->_IO_read_ptr++);
2329 }
2330
2331
2332 extern __inline int
2333 getchar_unlocked (void)
2334 {
2335 return (__builtin_expect (((stdin)->_IO_read_ptr >= (stdin)->_IO_read_end), 0) ? __uflow (stdin) : *(unsigned char *) (stdin)->_IO_read_ptr++);
2336 }
2337
2338
2339
2340
2341 extern __inline int
2342 putchar (int __c)
2343 {
2344 return _IO_putc (__c, stdout);
2345 }
2346
2347
2348
2349
2350 extern __inline int
2351 fputc_unlocked (int __c, FILE *__stream)
2352 {
2353 return (__builtin_expect (((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end), 0) ? __overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (__c)));
2354 }
2355
2356
2357
2358
2359
2360 extern __inline int
2361 putc_unlocked (int __c, FILE *__stream)
2362 {
2363 return (__builtin_expect (((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end), 0) ? __overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (__c)));
2364 }
2365
2366
2367 extern __inline int
2368 putchar_unlocked (int __c)
2369 {
2370 return (__builtin_expect (((stdout)->_IO_write_ptr >= (stdout)->_IO_write_end), 0) ? __overflow (stdout, (unsigned char) (__c)) : (unsigned char) (*(stdout)->_IO_write_ptr++ = (__c)));
2371 }
2372
2373
2374
2375
2376
2377 extern __inline __ssize_t
2378 getline (char **__lineptr, size_t *__n, FILE *__stream)
2379 {
2380 return __getdelim (__lineptr, __n, '\n', __stream);
2381 }
2382
2383
2384
2385
2386
2387 extern __inline int
2388 __attribute__ ((__nothrow__)) feof_unlocked (FILE *__stream)
2389 {
2390 return (((__stream)->_flags & 0x10) != 0);
2391 }
2392
2393
2394 extern __inline int
2395 __attribute__ ((__nothrow__)) ferror_unlocked (FILE *__stream)
2396 {
2397 return (((__stream)->_flags & 0x20) != 0);
2398 }
2399 # 908 "/usr/include/stdio.h" 2 3 4
2400
2401
2402 # 1 "/usr/include/bits/stdio2.h" 1 3 4
2403 # 24 "/usr/include/bits/stdio2.h" 3 4
2404 extern int __sprintf_chk (char *__restrict __s, int __flag, size_t __slen,
2405 __const char *__restrict __format, ...) __attribute__ ((__nothrow__));
2406 extern int __vsprintf_chk (char *__restrict __s, int __flag, size_t __slen,
2407 __const char *__restrict __format,
2408 __gnuc_va_list __ap) __attribute__ ((__nothrow__));
2409
2410
2411 extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int
2412 __attribute__ ((__nothrow__)) sprintf (char *__restrict __s, __const char *__restrict __fmt, ...)
2413 {
2414 return __builtin___sprintf_chk (__s, 2 - 1,
2415 __builtin_object_size (__s, 2 > 1), __fmt, __builtin_va_arg_pack ());
2416 }
2417
2418
2419
2420
2421
2422
2423 extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int
2424 __attribute__ ((__nothrow__)) vsprintf (char *__restrict __s, __const char *__restrict __fmt, __gnuc_va_list __ap)
2425
2426 {
2427 return __builtin___vsprintf_chk (__s, 2 - 1,
2428 __builtin_object_size (__s, 2 > 1), __fmt, __ap);
2429 }
2430
2431
2432
2433 extern int __snprintf_chk (char *__restrict __s, size_t __n, int __flag,
2434 size_t __slen, __const char *__restrict __format,
2435 ...) __attribute__ ((__nothrow__));
2436 extern int __vsnprintf_chk (char *__restrict __s, size_t __n, int __flag,
2437 size_t __slen, __const char *__restrict __format,
2438 __gnuc_va_list __ap) __attribute__ ((__nothrow__));
2439
2440
2441 extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int
2442 __attribute__ ((__nothrow__)) snprintf (char *__restrict __s, size_t __n, __const char *__restrict __fmt, ...)
2443
2444 {
2445 return __builtin___snprintf_chk (__s, __n, 2 - 1,
2446 __builtin_object_size (__s, 2 > 1), __fmt, __builtin_va_arg_pack ());
2447 }
2448
2449
2450
2451
2452
2453
2454 extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int
2455 __attribute__ ((__nothrow__)) vsnprintf (char *__restrict __s, size_t __n, __const char *__restrict __fmt, __gnuc_va_list __ap)
2456
2457 {
2458 return __builtin___vsnprintf_chk (__s, __n, 2 - 1,
2459 __builtin_object_size (__s, 2 > 1), __fmt, __ap);
2460 }
2461
2462
2463
2464
2465
2466 extern int __fprintf_chk (FILE *__restrict __stream, int __flag,
2467 __const char *__restrict __format, ...);
2468 extern int __printf_chk (int __flag, __const char *__restrict __format, ...);
2469 extern int __vfprintf_chk (FILE *__restrict __stream, int __flag,
2470 __const char *__restrict __format, __gnuc_va_list __ap);
2471 extern int __vprintf_chk (int __flag, __const char *__restrict __format,
2472 __gnuc_va_list __ap);
2473
2474
2475 extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int
2476 fprintf (FILE *__restrict __stream, __const char *__restrict __fmt, ...)
2477 {
2478 return __fprintf_chk (__stream, 2 - 1, __fmt,
2479 __builtin_va_arg_pack ());
2480 }
2481
2482 extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int
2483 printf (__const char *__restrict __fmt, ...)
2484 {
2485 return __printf_chk (2 - 1, __fmt, __builtin_va_arg_pack ());
2486 }
2487
2488
2489
2490
2491
2492
2493
2494 extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int
2495 vprintf (__const char *__restrict __fmt, __gnuc_va_list __ap)
2496 {
2497
2498 return __vfprintf_chk (stdout, 2 - 1, __fmt, __ap);
2499
2500
2501
2502 }
2503
2504 extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int
2505 vfprintf (FILE *__restrict __stream,
2506 __const char *__restrict __fmt, __gnuc_va_list __ap)
2507 {
2508 return __vfprintf_chk (__stream, 2 - 1, __fmt, __ap);
2509 }
2510
2511
2512
2513 extern int __asprintf_chk (char **__restrict __ptr, int __flag,
2514 __const char *__restrict __fmt, ...)
2515 __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 4))) __attribute__ ((__warn_unused_result__));
2516 extern int __vasprintf_chk (char **__restrict __ptr, int __flag,
2517 __const char *__restrict __fmt, __gnuc_va_list __arg)
2518 __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 0))) __attribute__ ((__warn_unused_result__));
2519 extern int __dprintf_chk (int __fd, int __flag, __const char *__restrict __fmt,
2520 ...) __attribute__ ((__format__ (__printf__, 3, 4)));
2521 extern int __vdprintf_chk (int __fd, int __flag,
2522 __const char *__restrict __fmt, __gnuc_va_list __arg)
2523 __attribute__ ((__format__ (__printf__, 3, 0)));
2524 extern int __obstack_printf_chk (struct obstack *__restrict __obstack,
2525 int __flag, __const char *__restrict __format,
2526 ...)
2527 __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 4)));
2528 extern int __obstack_vprintf_chk (struct obstack *__restrict __obstack,
2529 int __flag,
2530 __const char *__restrict __format,
2531 __gnuc_va_list __args)
2532 __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 0)));
2533
2534
2535 extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int
2536 __attribute__ ((__nothrow__)) asprintf (char **__restrict __ptr, __const char *__restrict __fmt, ...)
2537 {
2538 return __asprintf_chk (__ptr, 2 - 1, __fmt,
2539 __builtin_va_arg_pack ());
2540 }
2541
2542 extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int
2543 __attribute__ ((__nothrow__)) __asprintf (char **__restrict __ptr, __const char *__restrict __fmt, ...)
2544
2545 {
2546 return __asprintf_chk (__ptr, 2 - 1, __fmt,
2547 __builtin_va_arg_pack ());
2548 }
2549
2550 extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int
2551 dprintf (int __fd, __const char *__restrict __fmt, ...)
2552 {
2553 return __dprintf_chk (__fd, 2 - 1, __fmt,
2554 __builtin_va_arg_pack ());
2555 }
2556
2557 extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int
2558 __attribute__ ((__nothrow__)) obstack_printf (struct obstack *__restrict __obstack, __const char *__restrict __fmt, ...)
2559
2560 {
2561 return __obstack_printf_chk (__obstack, 2 - 1, __fmt,
2562 __builtin_va_arg_pack ());
2563 }
2564 # 195 "/usr/include/bits/stdio2.h" 3 4
2565 extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int
2566 __attribute__ ((__nothrow__)) vasprintf (char **__restrict __ptr, __const char *__restrict __fmt, __gnuc_va_list __ap)
2567
2568 {
2569 return __vasprintf_chk (__ptr, 2 - 1, __fmt, __ap);
2570 }
2571
2572 extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int
2573 vdprintf (int __fd, __const char *__restrict __fmt, __gnuc_va_list __ap)
2574 {
2575 return __vdprintf_chk (__fd, 2 - 1, __fmt, __ap);
2576 }
2577
2578 extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int
2579 __attribute__ ((__nothrow__)) obstack_vprintf (struct obstack *__restrict __obstack, __const char *__restrict __fmt, __gnuc_va_list __ap)
2580
2581 {
2582 return __obstack_vprintf_chk (__obstack, 2 - 1, __fmt,
2583 __ap);
2584 }
2585
2586
2587
2588
2589
2590 extern char *__gets_chk (char *__str, size_t) __attribute__ ((__warn_unused_result__));
2591 extern char *__gets_warn (char *__str) __asm__ ("" "gets")
2592 __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("please use fgets or getline instead, gets can't " "specify buffer size")));
2593
2594
2595 extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) char *
2596 gets (char *__str)
2597 {
2598 if (__builtin_object_size (__str, 2 > 1) != (size_t) -1)
2599 return __gets_chk (__str, __builtin_object_size (__str, 2 > 1));
2600 return __gets_warn (__str);
2601 }
2602
2603 extern char *__fgets_chk (char *__restrict __s, size_t __size, int __n,
2604 FILE *__restrict __stream) __attribute__ ((__warn_unused_result__));
2605 extern char *__fgets_alias (char *__restrict __s, int __n, FILE *__restrict __stream) __asm__ ("" "fgets") __attribute__ ((__warn_unused_result__));
2606
2607
2608 extern char *__fgets_chk_warn (char *__restrict __s, size_t __size, int __n, FILE *__restrict __stream) __asm__ ("" "__fgets_chk")
2609
2610
2611 __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("fgets called with bigger size than length " "of destination buffer")));
2612
2613
2614 extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) char *
2615 fgets (char *__restrict __s, int __n, FILE *__restrict __stream)
2616 {
2617 if (__builtin_object_size (__s, 2 > 1) != (size_t) -1)
2618 {
2619 if (!__builtin_constant_p (__n) || __n <= 0)
2620 return __fgets_chk (__s, __builtin_object_size (__s, 2 > 1), __n, __stream);
2621
2622 if ((size_t) __n > __builtin_object_size (__s, 2 > 1))
2623 return __fgets_chk_warn (__s, __builtin_object_size (__s, 2 > 1), __n, __stream);
2624 }
2625 return __fgets_alias (__s, __n, __stream);
2626 }
2627
2628 extern size_t __fread_chk (void *__restrict __ptr, size_t __ptrlen,
2629 size_t __size, size_t __n,
2630 FILE *__restrict __stream) __attribute__ ((__warn_unused_result__));
2631 extern size_t __fread_alias (void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __stream) __asm__ ("" "fread") __attribute__ ((__warn_unused_result__));
2632
2633
2634
2635 extern size_t __fread_chk_warn (void *__restrict __ptr, size_t __ptrlen, size_t __size, size_t __n, FILE *__restrict __stream) __asm__ ("" "__fread_chk")
2636
2637
2638
2639
2640 __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("fread called with bigger size * nmemb than length " "of destination buffer")));
2641
2642
2643 extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) size_t
2644 fread (void *__restrict __ptr, size_t __size, size_t __n,
2645 FILE *__restrict __stream)
2646 {
2647 if (__builtin_object_size (__ptr, 0) != (size_t) -1)
2648 {
2649 if (!__builtin_constant_p (__size)
2650 || !__builtin_constant_p (__n)
2651 || (__size | __n) >= (((size_t) 1) << (8 * sizeof (size_t) / 2)))
2652 return __fread_chk (__ptr, __builtin_object_size (__ptr, 0), __size, __n, __stream);
2653
2654 if (__size * __n > __builtin_object_size (__ptr, 0))
2655 return __fread_chk_warn (__ptr, __builtin_object_size (__ptr, 0), __size, __n, __stream);
2656 }
2657 return __fread_alias (__ptr, __size, __n, __stream);
2658 }
2659
2660
2661 extern char *__fgets_unlocked_chk (char *__restrict __s, size_t __size,
2662 int __n, FILE *__restrict __stream) __attribute__ ((__warn_unused_result__));
2663 extern char *__fgets_unlocked_alias (char *__restrict __s, int __n, FILE *__restrict __stream) __asm__ ("" "fgets_unlocked") __attribute__ ((__warn_unused_result__));
2664
2665
2666 extern char *__fgets_unlocked_chk_warn (char *__restrict __s, size_t __size, int __n, FILE *__restrict __stream) __asm__ ("" "__fgets_unlocked_chk")
2667
2668
2669 __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("fgets_unlocked called with bigger size than length " "of destination buffer")));
2670
2671
2672 extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) char *
2673 fgets_unlocked (char *__restrict __s, int __n, FILE *__restrict __stream)
2674 {
2675 if (__builtin_object_size (__s, 2 > 1) != (size_t) -1)
2676 {
2677 if (!__builtin_constant_p (__n) || __n <= 0)
2678 return __fgets_unlocked_chk (__s, __builtin_object_size (__s, 2 > 1), __n, __stream);
2679
2680 if ((size_t) __n > __builtin_object_size (__s, 2 > 1))
2681 return __fgets_unlocked_chk_warn (__s, __builtin_object_size (__s, 2 > 1), __n, __stream);
2682 }
2683 return __fgets_unlocked_alias (__s, __n, __stream);
2684 }
2685
2686
2687
2688
2689 extern size_t __fread_unlocked_chk (void *__restrict __ptr, size_t __ptrlen,
2690 size_t __size, size_t __n,
2691 FILE *__restrict __stream) __attribute__ ((__warn_unused_result__));
2692 extern size_t __fread_unlocked_alias (void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __stream) __asm__ ("" "fread_unlocked") __attribute__ ((__warn_unused_result__));
2693
2694
2695
2696 extern size_t __fread_unlocked_chk_warn (void *__restrict __ptr, size_t __ptrlen, size_t __size, size_t __n, FILE *__restrict __stream) __asm__ ("" "__fread_unlocked_chk")
2697
2698
2699
2700
2701 __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("fread_unlocked called with bigger size * nmemb than " "length of destination buffer")));
2702
2703
2704 extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) size_t
2705 fread_unlocked (void *__restrict __ptr, size_t __size, size_t __n,
2706 FILE *__restrict __stream)
2707 {
2708 if (__builtin_object_size (__ptr, 0) != (size_t) -1)
2709 {
2710 if (!__builtin_constant_p (__size)
2711 || !__builtin_constant_p (__n)
2712 || (__size | __n) >= (((size_t) 1) << (8 * sizeof (size_t) / 2)))
2713 return __fread_unlocked_chk (__ptr, __builtin_object_size (__ptr, 0), __size, __n,
2714 __stream);
2715
2716 if (__size * __n > __builtin_object_size (__ptr, 0))
2717 return __fread_unlocked_chk_warn (__ptr, __builtin_object_size (__ptr, 0), __size, __n,
2718 __stream);
2719 }
2720
2721
2722 if (__builtin_constant_p (__size)
2723 && __builtin_constant_p (__n)
2724 && (__size | __n) < (((size_t) 1) << (8 * sizeof (size_t) / 2))
2725 && __size * __n <= 8)
2726 {
2727 size_t __cnt = __size * __n;
2728 char *__cptr = (char *) __ptr;
2729 if (__cnt == 0)
2730 return 0;
2731
2732 for (; __cnt > 0; --__cnt)
2733 {
2734 int __c = (__builtin_expect (((__stream)->_IO_read_ptr >= (__stream)->_IO_read_end), 0) ? __uflow (__stream) : *(unsigned char *) (__stream)->_IO_read_ptr++);
2735 if (__c == (-1))
2736 break;
2737 *__cptr++ = __c;
2738 }
2739 return (__cptr - (char *) __ptr) / __size;
2740 }
2741
2742 return __fread_unlocked_alias (__ptr, __size, __n, __stream);
2743 }
2744 # 911 "/usr/include/stdio.h" 2 3 4
2745
2746
2747
2748
2749
2750
2751 # 312 "./../include/my_global.h" 2
2752
2753
2754 # 1 "/usr/include/stdlib.h" 1 3 4
2755 # 33 "/usr/include/stdlib.h" 3 4
2756 # 1 "/usr/lib/gcc/powerpc64-unknown-linux-gnu/4.3.4/include/stddef.h" 1 3 4
2757 # 326 "/usr/lib/gcc/powerpc64-unknown-linux-gnu/4.3.4/include/stddef.h" 3 4
2758 typedef int wchar_t;
2759 # 34 "/usr/include/stdlib.h" 2 3 4
2760
2761
2762
2763
2764
2765
2766
2767
2768 # 1 "/usr/include/bits/waitflags.h" 1 3 4
2769 # 43 "/usr/include/stdlib.h" 2 3 4
2770 # 1 "/usr/include/bits/waitstatus.h" 1 3 4
2771 # 67 "/usr/include/bits/waitstatus.h" 3 4
2772 union wait
2773 {
2774 int w_status;
2775 struct
2776 {
2777
2778
2779
2780
2781
2782
2783
2784 unsigned int:16;
2785 unsigned int __w_retcode:8;
2786 unsigned int __w_coredump:1;
2787 unsigned int __w_termsig:7;
2788
2789 } __wait_terminated;
2790 struct
2791 {
2792
2793
2794
2795
2796
2797
2798 unsigned int:16;
2799 unsigned int __w_stopsig:8;
2800 unsigned int __w_stopval:8;
2801
2802 } __wait_stopped;
2803 };
2804 # 44 "/usr/include/stdlib.h" 2 3 4
2805 # 68 "/usr/include/stdlib.h" 3 4
2806 typedef union
2807 {
2808 union wait *__uptr;
2809 int *__iptr;
2810 } __WAIT_STATUS __attribute__ ((__transparent_union__));
2811 # 96 "/usr/include/stdlib.h" 3 4
2812
2813
2814 typedef struct
2815 {
2816 int quot;
2817 int rem;
2818 } div_t;
2819
2820
2821
2822 typedef struct
2823 {
2824 long int quot;
2825 long int rem;
2826 } ldiv_t;
2827
2828
2829
2830
2831
2832
2833
2834 __extension__ typedef struct
2835 {
2836 long long int quot;
2837 long long int rem;
2838 } lldiv_t;
2839
2840
2841 # 140 "/usr/include/stdlib.h" 3 4
2842 extern size_t __ctype_get_mb_cur_max (void) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
2843
2844
2845
2846
2847 extern double atof (__const char *__nptr)
2848 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
2849
2850 extern int atoi (__const char *__nptr)
2851 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
2852
2853 extern long int atol (__const char *__nptr)
2854 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
2855
2856
2857
2858
2859
2860 __extension__ extern long long int atoll (__const char *__nptr)
2861 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
2862
2863
2864
2865
2866
2867 extern double strtod (__const char *__restrict __nptr,
2868 char **__restrict __endptr)
2869 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
2870
2871
2872
2873
2874
2875 extern float strtof (__const char *__restrict __nptr,
2876 char **__restrict __endptr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
2877
2878 extern long double strtold (__const char *__restrict __nptr,
2879 char **__restrict __endptr)
2880 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
2881
2882
2883
2884
2885
2886 extern long int strtol (__const char *__restrict __nptr,
2887 char **__restrict __endptr, int __base)
2888 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
2889
2890 extern unsigned long int strtoul (__const char *__restrict __nptr,
2891 char **__restrict __endptr, int __base)
2892 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
2893
2894
2895
2896
2897 __extension__
2898 extern long long int strtoq (__const char *__restrict __nptr,
2899 char **__restrict __endptr, int __base)
2900 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
2901
2902 __extension__
2903 extern unsigned long long int strtouq (__const char *__restrict __nptr,
2904 char **__restrict __endptr, int __base)
2905 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
2906
2907
2908
2909
2910
2911 __extension__
2912 extern long long int strtoll (__const char *__restrict __nptr,
2913 char **__restrict __endptr, int __base)
2914 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
2915
2916 __extension__
2917 extern unsigned long long int strtoull (__const char *__restrict __nptr,
2918 char **__restrict __endptr, int __base)
2919 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
2920
2921 # 240 "/usr/include/stdlib.h" 3 4
2922 extern long int strtol_l (__const char *__restrict __nptr,
2923 char **__restrict __endptr, int __base,
2924 __locale_t __loc) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 4))) __attribute__ ((__warn_unused_result__));
2925
2926 extern unsigned long int strtoul_l (__const char *__restrict __nptr,
2927 char **__restrict __endptr,
2928 int __base, __locale_t __loc)
2929 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 4))) __attribute__ ((__warn_unused_result__));
2930
2931 __extension__
2932 extern long long int strtoll_l (__const char *__restrict __nptr,
2933 char **__restrict __endptr, int __base,
2934 __locale_t __loc)
2935 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 4))) __attribute__ ((__warn_unused_result__));
2936
2937 __extension__
2938 extern unsigned long long int strtoull_l (__const char *__restrict __nptr,
2939 char **__restrict __endptr,
2940 int __base, __locale_t __loc)
2941 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 4))) __attribute__ ((__warn_unused_result__));
2942
2943 extern double strtod_l (__const char *__restrict __nptr,
2944 char **__restrict __endptr, __locale_t __loc)
2945 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 3))) __attribute__ ((__warn_unused_result__));
2946
2947 extern float strtof_l (__const char *__restrict __nptr,
2948 char **__restrict __endptr, __locale_t __loc)
2949 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 3))) __attribute__ ((__warn_unused_result__));
2950
2951 extern long double strtold_l (__const char *__restrict __nptr,
2952 char **__restrict __endptr,
2953 __locale_t __loc)
2954 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 3))) __attribute__ ((__warn_unused_result__));
2955
2956
2957
2958
2959
2960 extern __inline double
2961 __attribute__ ((__nothrow__)) atof (__const char *__nptr)
2962 {
2963 return strtod (__nptr, (char **) ((void *)0));
2964 }
2965 extern __inline int
2966 __attribute__ ((__nothrow__)) atoi (__const char *__nptr)
2967 {
2968 return (int) strtol (__nptr, (char **) ((void *)0), 10);
2969 }
2970 extern __inline long int
2971 __attribute__ ((__nothrow__)) atol (__const char *__nptr)
2972 {
2973 return strtol (__nptr, (char **) ((void *)0), 10);
2974 }
2975
2976
2977
2978
2979 __extension__ extern __inline long long int
2980 __attribute__ ((__nothrow__)) atoll (__const char *__nptr)
2981 {
2982 return strtoll (__nptr, (char **) ((void *)0), 10);
2983 }
2984
2985 # 311 "/usr/include/stdlib.h" 3 4
2986 extern char *l64a (long int __n) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
2987
2988
2989 extern long int a64l (__const char *__s)
2990 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
2991
2992
2993
2994
2995 # 1 "/usr/include/sys/types.h" 1 3 4
2996 # 29 "/usr/include/sys/types.h" 3 4
2997
2998
2999
3000
3001
3002
3003 typedef __u_char u_char;
3004 typedef __u_short u_short;
3005 typedef __u_int u_int;
3006 typedef __u_long u_long;
3007 typedef __quad_t quad_t;
3008 typedef __u_quad_t u_quad_t;
3009 typedef __fsid_t fsid_t;
3010
3011
3012
3013
3014 typedef __loff_t loff_t;
3015
3016
3017
3018 typedef __ino_t ino_t;
3019
3020
3021
3022
3023
3024
3025 typedef __ino64_t ino64_t;
3026
3027
3028
3029
3030 typedef __dev_t dev_t;
3031
3032
3033
3034
3035 typedef __gid_t gid_t;
3036
3037
3038
3039
3040 typedef __mode_t mode_t;
3041
3042
3043
3044
3045 typedef __nlink_t nlink_t;
3046
3047
3048
3049
3050 typedef __uid_t uid_t;
3051
3052
3053
3054
3055
3056 typedef __off_t off_t;
3057
3058
3059
3060
3061
3062
3063 typedef __off64_t off64_t;
3064 # 105 "/usr/include/sys/types.h" 3 4
3065 typedef __id_t id_t;
3066
3067
3068
3069
3070 typedef __ssize_t ssize_t;
3071
3072
3073
3074
3075
3076 typedef __daddr_t daddr_t;
3077 typedef __caddr_t caddr_t;
3078
3079
3080
3081
3082
3083 typedef __key_t key_t;
3084 # 137 "/usr/include/sys/types.h" 3 4
3085 typedef __useconds_t useconds_t;
3086
3087
3088
3089 typedef __suseconds_t suseconds_t;
3090
3091
3092
3093
3094
3095 # 1 "/usr/lib/gcc/powerpc64-unknown-linux-gnu/4.3.4/include/stddef.h" 1 3 4
3096 # 148 "/usr/include/sys/types.h" 2 3 4
3097
3098
3099
3100 typedef unsigned long int ulong;
3101 typedef unsigned short int ushort;
3102 typedef unsigned int uint;
3103 # 195 "/usr/include/sys/types.h" 3 4
3104 typedef int int8_t __attribute__ ((__mode__ (__QI__)));
3105 typedef int int16_t __attribute__ ((__mode__ (__HI__)));
3106 typedef int int32_t __attribute__ ((__mode__ (__SI__)));
3107 typedef int int64_t __attribute__ ((__mode__ (__DI__)));
3108
3109
3110 typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__)));
3111 typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__)));
3112 typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__)));
3113 typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__)));
3114
3115 typedef int register_t __attribute__ ((__mode__ (__word__)));
3116 # 220 "/usr/include/sys/types.h" 3 4
3117 # 1 "/usr/include/sys/select.h" 1 3 4
3118 # 31 "/usr/include/sys/select.h" 3 4
3119 # 1 "/usr/include/bits/select.h" 1 3 4
3120 # 32 "/usr/include/sys/select.h" 2 3 4
3121
3122
3123 # 1 "/usr/include/bits/sigset.h" 1 3 4
3124 # 35 "/usr/include/sys/select.h" 2 3 4
3125 # 46 "/usr/include/sys/select.h" 3 4
3126 # 1 "/usr/include/bits/time.h" 1 3 4
3127 # 69 "/usr/include/bits/time.h" 3 4
3128 struct timeval
3129 {
3130 __time_t tv_sec;
3131 __suseconds_t tv_usec;
3132 };
3133 # 47 "/usr/include/sys/select.h" 2 3 4
3134 # 55 "/usr/include/sys/select.h" 3 4
3135 typedef long int __fd_mask;
3136 # 67 "/usr/include/sys/select.h" 3 4
3137 typedef struct
3138 {
3139
3140
3141
3142 __fd_mask fds_bits[1024 / (8 * sizeof (__fd_mask))];
3143
3144
3145
3146
3147
3148 } fd_set;
3149
3150
3151
3152
3153
3154
3155 typedef __fd_mask fd_mask;
3156 # 99 "/usr/include/sys/select.h" 3 4
3157
3158 # 109 "/usr/include/sys/select.h" 3 4
3159 extern int select (int __nfds, fd_set *__restrict __readfds,
3160 fd_set *__restrict __writefds,
3161 fd_set *__restrict __exceptfds,
3162 struct timeval *__restrict __timeout);
3163 # 121 "/usr/include/sys/select.h" 3 4
3164 extern int pselect (int __nfds, fd_set *__restrict __readfds,
3165 fd_set *__restrict __writefds,
3166 fd_set *__restrict __exceptfds,
3167 const struct timespec *__restrict __timeout,
3168 const __sigset_t *__restrict __sigmask);
3169
3170
3171
3172 # 221 "/usr/include/sys/types.h" 2 3 4
3173
3174
3175 # 1 "/usr/include/sys/sysmacros.h" 1 3 4
3176 # 30 "/usr/include/sys/sysmacros.h" 3 4
3177 __extension__
3178 extern unsigned int gnu_dev_major (unsigned long long int __dev)
3179 __attribute__ ((__nothrow__));
3180 __extension__
3181 extern unsigned int gnu_dev_minor (unsigned long long int __dev)
3182 __attribute__ ((__nothrow__));
3183 __extension__
3184 extern unsigned long long int gnu_dev_makedev (unsigned int __major,
3185 unsigned int __minor)
3186 __attribute__ ((__nothrow__));
3187
3188
3189 __extension__ extern __inline unsigned int
3190 __attribute__ ((__nothrow__)) gnu_dev_major (unsigned long long int __dev)
3191 {
3192 return ((__dev >> 8) & 0xfff) | ((unsigned int) (__dev >> 32) & ~0xfff);
3193 }
3194
3195 __extension__ extern __inline unsigned int
3196 __attribute__ ((__nothrow__)) gnu_dev_minor (unsigned long long int __dev)
3197 {
3198 return (__dev & 0xff) | ((unsigned int) (__dev >> 12) & ~0xff);
3199 }
3200
3201 __extension__ extern __inline unsigned long long int
3202 __attribute__ ((__nothrow__)) gnu_dev_makedev (unsigned int __major, unsigned int __minor)
3203 {
3204 return ((__minor & 0xff) | ((__major & 0xfff) << 8)
3205 | (((unsigned long long int) (__minor & ~0xff)) << 12)
3206 | (((unsigned long long int) (__major & ~0xfff)) << 32));
3207 }
3208 # 224 "/usr/include/sys/types.h" 2 3 4
3209
3210
3211
3212
3213 typedef __blksize_t blksize_t;
3214
3215
3216
3217
3218
3219
3220 typedef __blkcnt_t blkcnt_t;
3221
3222
3223
3224 typedef __fsblkcnt_t fsblkcnt_t;
3225
3226
3227
3228 typedef __fsfilcnt_t fsfilcnt_t;
3229 # 262 "/usr/include/sys/types.h" 3 4
3230 typedef __blkcnt64_t blkcnt64_t;
3231 typedef __fsblkcnt64_t fsblkcnt64_t;
3232 typedef __fsfilcnt64_t fsfilcnt64_t;
3233 # 273 "/usr/include/sys/types.h" 3 4
3234
3235 # 321 "/usr/include/stdlib.h" 2 3 4
3236
3237
3238
3239
3240
3241
3242 extern long int random (void) __attribute__ ((__nothrow__));
3243
3244
3245 extern void srandom (unsigned int __seed) __attribute__ ((__nothrow__));
3246
3247
3248
3249
3250
3251 extern char *initstate (unsigned int __seed, char *__statebuf,
3252 size_t __statelen) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
3253
3254
3255
3256 extern char *setstate (char *__statebuf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
3257
3258
3259
3260
3261
3262
3263
3264 struct random_data
3265 {
3266 int32_t *fptr;
3267 int32_t *rptr;
3268 int32_t *state;
3269 int rand_type;
3270 int rand_deg;
3271 int rand_sep;
3272 int32_t *end_ptr;
3273 };
3274
3275 extern int random_r (struct random_data *__restrict __buf,
3276 int32_t *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
3277
3278 extern int srandom_r (unsigned int __seed, struct random_data *__buf)
3279 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
3280
3281 extern int initstate_r (unsigned int __seed, char *__restrict __statebuf,
3282 size_t __statelen,
3283 struct random_data *__restrict __buf)
3284 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 4)));
3285
3286 extern int setstate_r (char *__restrict __statebuf,
3287 struct random_data *__restrict __buf)
3288 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
3289
3290
3291
3292
3293
3294
3295 extern int rand (void) __attribute__ ((__nothrow__));
3296
3297 extern void srand (unsigned int __seed) __attribute__ ((__nothrow__));
3298
3299
3300
3301
3302 extern int rand_r (unsigned int *__seed) __attribute__ ((__nothrow__));
3303
3304
3305
3306
3307
3308
3309
3310 extern double drand48 (void) __attribute__ ((__nothrow__));
3311 extern double erand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
3312
3313
3314 extern long int lrand48 (void) __attribute__ ((__nothrow__));
3315 extern long int nrand48 (unsigned short int __xsubi[3])
3316 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
3317
3318
3319 extern long int mrand48 (void) __attribute__ ((__nothrow__));
3320 extern long int jrand48 (unsigned short int __xsubi[3])
3321 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
3322
3323
3324 extern void srand48 (long int __seedval) __attribute__ ((__nothrow__));
3325 extern unsigned short int *seed48 (unsigned short int __seed16v[3])
3326 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
3327 extern void lcong48 (unsigned short int __param[7]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
3328
3329
3330
3331
3332
3333 struct drand48_data
3334 {
3335 unsigned short int __x[3];
3336 unsigned short int __old_x[3];
3337 unsigned short int __c;
3338 unsigned short int __init;
3339 unsigned long long int __a;
3340 };
3341
3342
3343 extern int drand48_r (struct drand48_data *__restrict __buffer,
3344 double *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
3345 extern int erand48_r (unsigned short int __xsubi[3],
3346 struct drand48_data *__restrict __buffer,
3347 double *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
3348
3349
3350 extern int lrand48_r (struct drand48_data *__restrict __buffer,
3351 long int *__restrict __result)
3352 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
3353 extern int nrand48_r (unsigned short int __xsubi[3],
3354 struct drand48_data *__restrict __buffer,
3355 long int *__restrict __result)
3356 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
3357
3358
3359 extern int mrand48_r (struct drand48_data *__restrict __buffer,
3360 long int *__restrict __result)
3361 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
3362 extern int jrand48_r (unsigned short int __xsubi[3],
3363 struct drand48_data *__restrict __buffer,
3364 long int *__restrict __result)
3365 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
3366
3367
3368 extern int srand48_r (long int __seedval, struct drand48_data *__buffer)
3369 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
3370
3371 extern int seed48_r (unsigned short int __seed16v[3],
3372 struct drand48_data *__buffer) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
3373
3374 extern int lcong48_r (unsigned short int __param[7],
3375 struct drand48_data *__buffer)
3376 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386 extern void *malloc (size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__warn_unused_result__));
3387
3388 extern void *calloc (size_t __nmemb, size_t __size)
3389 __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__warn_unused_result__));
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400 extern void *realloc (void *__ptr, size_t __size)
3401 __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
3402
3403 extern void free (void *__ptr) __attribute__ ((__nothrow__));
3404
3405
3406
3407
3408 extern void cfree (void *__ptr) __attribute__ ((__nothrow__));
3409
3410
3411
3412 # 1 "/usr/include/alloca.h" 1 3 4
3413 # 25 "/usr/include/alloca.h" 3 4
3414 # 1 "/usr/lib/gcc/powerpc64-unknown-linux-gnu/4.3.4/include/stddef.h" 1 3 4
3415 # 26 "/usr/include/alloca.h" 2 3 4
3416
3417
3418
3419
3420
3421
3422
3423 extern void *alloca (size_t __size) __attribute__ ((__nothrow__));
3424
3425
3426
3427
3428
3429
3430 # 498 "/usr/include/stdlib.h" 2 3 4
3431
3432
3433
3434
3435 extern void *valloc (size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__warn_unused_result__));
3436
3437
3438
3439
3440 extern int posix_memalign (void **__memptr, size_t __alignment, size_t __size)
3441 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
3442
3443
3444
3445
3446 extern void abort (void) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__));
3447
3448
3449
3450 extern int atexit (void (*__func) (void)) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
3451 # 527 "/usr/include/stdlib.h" 3 4
3452 extern int at_quick_exit (void (*__func) (void)) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
3453
3454
3455
3456
3457
3458
3459
3460 extern int on_exit (void (*__func) (int __status, void *__arg), void *__arg)
3461 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
3462
3463
3464
3465
3466
3467
3468 extern void exit (int __status) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__));
3469
3470
3471
3472
3473
3474
3475
3476 extern void quick_exit (int __status) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__));
3477
3478
3479
3480
3481
3482
3483
3484 extern void _Exit (int __status) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__));
3485
3486
3487
3488
3489
3490
3491 extern char *getenv (__const char *__name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
3492
3493
3494
3495
3496 extern char *__secure_getenv (__const char *__name)
3497 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
3498
3499
3500
3501
3502
3503 extern int putenv (char *__string) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
3504
3505
3506
3507
3508
3509 extern int setenv (__const char *__name, __const char *__value, int __replace)
3510 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
3511
3512
3513 extern int unsetenv (__const char *__name) __attribute__ ((__nothrow__));
3514
3515
3516
3517
3518
3519
3520 extern int clearenv (void) __attribute__ ((__nothrow__));
3521 # 604 "/usr/include/stdlib.h" 3 4
3522 extern char *mktemp (char *__template) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
3523 # 615 "/usr/include/stdlib.h" 3 4
3524 extern int mkstemp (char *__template) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
3525 # 625 "/usr/include/stdlib.h" 3 4
3526 extern int mkstemp64 (char *__template) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
3527 # 635 "/usr/include/stdlib.h" 3 4
3528 extern char *mkdtemp (char *__template) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
3529 # 646 "/usr/include/stdlib.h" 3 4
3530 extern int mkostemp (char *__template, int __flags) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
3531 # 656 "/usr/include/stdlib.h" 3 4
3532 extern int mkostemp64 (char *__template, int __flags) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542 extern int system (__const char *__command) __attribute__ ((__warn_unused_result__));
3543
3544
3545
3546
3547
3548
3549 extern char *canonicalize_file_name (__const char *__name)
3550 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
3551 # 683 "/usr/include/stdlib.h" 3 4
3552 extern char *realpath (__const char *__restrict __name,
3553 char *__restrict __resolved) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
3554
3555
3556
3557
3558
3559
3560 typedef int (*__compar_fn_t) (__const void *, __const void *);
3561
3562
3563 typedef __compar_fn_t comparison_fn_t;
3564
3565
3566
3567 typedef int (*__compar_d_fn_t) (__const void *, __const void *, void *);
3568
3569
3570
3571
3572
3573 extern void *bsearch (__const void *__key, __const void *__base,
3574 size_t __nmemb, size_t __size, __compar_fn_t __compar)
3575 __attribute__ ((__nonnull__ (1, 2, 5))) __attribute__ ((__warn_unused_result__));
3576
3577
3578
3579 extern void qsort (void *__base, size_t __nmemb, size_t __size,
3580 __compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 4)));
3581
3582 extern void qsort_r (void *__base, size_t __nmemb, size_t __size,
3583 __compar_d_fn_t __compar, void *__arg)
3584 __attribute__ ((__nonnull__ (1, 4)));
3585
3586
3587
3588
3589 extern int abs (int __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)) __attribute__ ((__warn_unused_result__));
3590 extern long int labs (long int __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)) __attribute__ ((__warn_unused_result__));
3591
3592
3593
3594 __extension__ extern long long int llabs (long long int __x)
3595 __attribute__ ((__nothrow__)) __attribute__ ((__const__)) __attribute__ ((__warn_unused_result__));
3596
3597
3598
3599
3600
3601
3602
3603 extern div_t div (int __numer, int __denom)
3604 __attribute__ ((__nothrow__)) __attribute__ ((__const__)) __attribute__ ((__warn_unused_result__));
3605 extern ldiv_t ldiv (long int __numer, long int __denom)
3606 __attribute__ ((__nothrow__)) __attribute__ ((__const__)) __attribute__ ((__warn_unused_result__));
3607
3608
3609
3610
3611 __extension__ extern lldiv_t lldiv (long long int __numer,
3612 long long int __denom)
3613 __attribute__ ((__nothrow__)) __attribute__ ((__const__)) __attribute__ ((__warn_unused_result__));
3614
3615 # 756 "/usr/include/stdlib.h" 3 4
3616 extern char *ecvt (double __value, int __ndigit, int *__restrict __decpt,
3617 int *__restrict __sign) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))) __attribute__ ((__warn_unused_result__));
3618
3619
3620
3621
3622 extern char *fcvt (double __value, int __ndigit, int *__restrict __decpt,
3623 int *__restrict __sign) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))) __attribute__ ((__warn_unused_result__));
3624
3625
3626
3627
3628 extern char *gcvt (double __value, int __ndigit, char *__buf)
3629 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3))) __attribute__ ((__warn_unused_result__));
3630
3631
3632
3633
3634 extern char *qecvt (long double __value, int __ndigit,
3635 int *__restrict __decpt, int *__restrict __sign)
3636 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))) __attribute__ ((__warn_unused_result__));
3637 extern char *qfcvt (long double __value, int __ndigit,
3638 int *__restrict __decpt, int *__restrict __sign)
3639 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))) __attribute__ ((__warn_unused_result__));
3640 extern char *qgcvt (long double __value, int __ndigit, char *__buf)
3641 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3))) __attribute__ ((__warn_unused_result__));
3642
3643
3644
3645
3646 extern int ecvt_r (double __value, int __ndigit, int *__restrict __decpt,
3647 int *__restrict __sign, char *__restrict __buf,
3648 size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5)));
3649 extern int fcvt_r (double __value, int __ndigit, int *__restrict __decpt,
3650 int *__restrict __sign, char *__restrict __buf,
3651 size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5)));
3652
3653 extern int qecvt_r (long double __value, int __ndigit,
3654 int *__restrict __decpt, int *__restrict __sign,
3655 char *__restrict __buf, size_t __len)
3656 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5)));
3657 extern int qfcvt_r (long double __value, int __ndigit,
3658 int *__restrict __decpt, int *__restrict __sign,
3659 char *__restrict __buf, size_t __len)
3660 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5)));
3661
3662
3663
3664
3665
3666
3667
3668 extern int mblen (__const char *__s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
3669
3670
3671 extern int mbtowc (wchar_t *__restrict __pwc,
3672 __const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
3673
3674
3675 extern int wctomb (char *__s, wchar_t __wchar) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
3676
3677
3678
3679 extern size_t mbstowcs (wchar_t *__restrict __pwcs,
3680 __const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__));
3681
3682 extern size_t wcstombs (char *__restrict __s,
3683 __const wchar_t *__restrict __pwcs, size_t __n)
3684 __attribute__ ((__nothrow__));
3685
3686
3687
3688
3689
3690
3691
3692
3693 extern int rpmatch (__const char *__response) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
3694 # 844 "/usr/include/stdlib.h" 3 4
3695 extern int getsubopt (char **__restrict __optionp,
3696 char *__const *__restrict __tokens,
3697 char **__restrict __valuep)
3698 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2, 3))) __attribute__ ((__warn_unused_result__));
3699
3700
3701
3702
3703
3704 extern void setkey (__const char *__key) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
3705
3706
3707
3708
3709
3710
3711
3712 extern int posix_openpt (int __oflag) __attribute__ ((__warn_unused_result__));
3713
3714
3715
3716
3717
3718
3719
3720 extern int grantpt (int __fd) __attribute__ ((__nothrow__));
3721
3722
3723
3724 extern int unlockpt (int __fd) __attribute__ ((__nothrow__));
3725
3726
3727
3728
3729 extern char *ptsname (int __fd) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
3730
3731
3732
3733
3734
3735
3736 extern int ptsname_r (int __fd, char *__buf, size_t __buflen)
3737 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
3738
3739
3740 extern int getpt (void);
3741
3742
3743
3744
3745
3746
3747 extern int getloadavg (double __loadavg[], int __nelem)
3748 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
3749
3750
3751
3752
3753
3754 # 1 "/usr/include/bits/stdlib.h" 1 3 4
3755 # 24 "/usr/include/bits/stdlib.h" 3 4
3756 extern char *__realpath_chk (__const char *__restrict __name,
3757 char *__restrict __resolved,
3758 size_t __resolvedlen) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
3759 extern char *__realpath_alias (__const char *__restrict __name, char *__restrict __resolved) __asm__ ("" "realpath") __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
3760
3761
3762 extern char *__realpath_chk_warn (__const char *__restrict __name, char *__restrict __resolved, size_t __resolvedlen) __asm__ ("" "__realpath_chk") __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__))
3763
3764
3765
3766 __attribute__((__warning__ ("second argument of realpath must be either NULL or at " "least PATH_MAX bytes long buffer")));
3767
3768
3769 extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) char *
3770 __attribute__ ((__nothrow__)) realpath (__const char *__restrict __name, char *__restrict __resolved)
3771 {
3772 if (__builtin_object_size (__resolved, 2 > 1) != (size_t) -1)
3773 {
3774
3775
3776
3777
3778 return __realpath_chk (__name, __resolved, __builtin_object_size (__resolved, 2 > 1));
3779 }
3780
3781 return __realpath_alias (__name, __resolved);
3782 }
3783
3784
3785 extern int __ptsname_r_chk (int __fd, char *__buf, size_t __buflen,
3786 size_t __nreal) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
3787 extern int __ptsname_r_alias (int __fd, char *__buf, size_t __buflen) __asm__ ("" "ptsname_r") __attribute__ ((__nothrow__))
3788
3789 __attribute__ ((__nonnull__ (2)));
3790 extern int __ptsname_r_chk_warn (int __fd, char *__buf, size_t __buflen, size_t __nreal) __asm__ ("" "__ptsname_r_chk") __attribute__ ((__nothrow__))
3791
3792
3793 __attribute__ ((__nonnull__ (2))) __attribute__((__warning__ ("ptsname_r called with buflen bigger than " "size of buf")));
3794
3795
3796 extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int
3797 __attribute__ ((__nothrow__)) ptsname_r (int __fd, char *__buf, size_t __buflen)
3798 {
3799 if (__builtin_object_size (__buf, 2 > 1) != (size_t) -1)
3800 {
3801 if (!__builtin_constant_p (__buflen))
3802 return __ptsname_r_chk (__fd, __buf, __buflen, __builtin_object_size (__buf, 2 > 1));
3803 if (__buflen > __builtin_object_size (__buf, 2 > 1))
3804 return __ptsname_r_chk_warn (__fd, __buf, __buflen, __builtin_object_size (__buf, 2 > 1));
3805 }
3806 return __ptsname_r_alias (__fd, __buf, __buflen);
3807 }
3808
3809
3810 extern int __wctomb_chk (char *__s, wchar_t __wchar, size_t __buflen)
3811 __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
3812 extern int __wctomb_alias (char *__s, wchar_t __wchar) __asm__ ("" "wctomb") __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
3813
3814
3815 extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) int
3816 __attribute__ ((__nothrow__)) wctomb (char *__s, wchar_t __wchar)
3817 {
3818
3819
3820
3821
3822
3823
3824
3825 if (__builtin_object_size (__s, 2 > 1) != (size_t) -1 && 16 > __builtin_object_size (__s, 2 > 1))
3826 return __wctomb_chk (__s, __wchar, __builtin_object_size (__s, 2 > 1));
3827 return __wctomb_alias (__s, __wchar);
3828 }
3829
3830
3831 extern size_t __mbstowcs_chk (wchar_t *__restrict __dst,
3832 __const char *__restrict __src,
3833 size_t __len, size_t __dstlen) __attribute__ ((__nothrow__));
3834 extern size_t __mbstowcs_alias (wchar_t *__restrict __dst, __const char *__restrict __src, size_t __len) __asm__ ("" "mbstowcs") __attribute__ ((__nothrow__));
3835
3836
3837
3838 extern size_t __mbstowcs_chk_warn (wchar_t *__restrict __dst, __const char *__restrict __src, size_t __len, size_t __dstlen) __asm__ ("" "__mbstowcs_chk") __attribute__ ((__nothrow__))
3839
3840
3841
3842 __attribute__((__warning__ ("mbstowcs called with dst buffer smaller than len " "* sizeof (wchar_t)")));
3843
3844
3845 extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) size_t
3846 __attribute__ ((__nothrow__)) mbstowcs (wchar_t *__restrict __dst, __const char *__restrict __src, size_t __len)
3847
3848 {
3849 if (__builtin_object_size (__dst, 2 > 1) != (size_t) -1)
3850 {
3851 if (!__builtin_constant_p (__len))
3852 return __mbstowcs_chk (__dst, __src, __len,
3853 __builtin_object_size (__dst, 2 > 1) / sizeof (wchar_t));
3854
3855 if (__len > __builtin_object_size (__dst, 2 > 1) / sizeof (wchar_t))
3856 return __mbstowcs_chk_warn (__dst, __src, __len,
3857 __builtin_object_size (__dst, 2 > 1) / sizeof (wchar_t));
3858 }
3859 return __mbstowcs_alias (__dst, __src, __len);
3860 }
3861
3862
3863 extern size_t __wcstombs_chk (char *__restrict __dst,
3864 __const wchar_t *__restrict __src,
3865 size_t __len, size_t __dstlen) __attribute__ ((__nothrow__));
3866 extern size_t __wcstombs_alias (char *__restrict __dst, __const wchar_t *__restrict __src, size_t __len) __asm__ ("" "wcstombs") __attribute__ ((__nothrow__));
3867
3868
3869
3870 extern size_t __wcstombs_chk_warn (char *__restrict __dst, __const wchar_t *__restrict __src, size_t __len, size_t __dstlen) __asm__ ("" "__wcstombs_chk") __attribute__ ((__nothrow__))
3871
3872
3873
3874 __attribute__((__warning__ ("wcstombs called with dst buffer smaller than len")));
3875
3876 extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) size_t
3877 __attribute__ ((__nothrow__)) wcstombs (char *__restrict __dst, __const wchar_t *__restrict __src, size_t __len)
3878
3879 {
3880 if (__builtin_object_size (__dst, 2 > 1) != (size_t) -1)
3881 {
3882 if (!__builtin_constant_p (__len))
3883 return __wcstombs_chk (__dst, __src, __len, __builtin_object_size (__dst, 2 > 1));
3884 if (__len > __builtin_object_size (__dst, 2 > 1))
3885 return __wcstombs_chk_warn (__dst, __src, __len, __builtin_object_size (__dst, 2 > 1));
3886 }
3887 return __wcstombs_alias (__dst, __src, __len);
3888 }
3889 # 904 "/usr/include/stdlib.h" 2 3 4
3890 # 912 "/usr/include/stdlib.h" 3 4
3891
3892 # 315 "./../include/my_global.h" 2
3893
3894
3895 # 1 "/usr/lib/gcc/powerpc64-unknown-linux-gnu/4.3.4/include/stddef.h" 1 3 4
3896 # 152 "/usr/lib/gcc/powerpc64-unknown-linux-gnu/4.3.4/include/stddef.h" 3 4
3897 typedef long int ptrdiff_t;
3898 # 318 "./../include/my_global.h" 2
3899
3900
3901 # 1 "/usr/include/math.h" 1 3 4
3902 # 30 "/usr/include/math.h" 3 4
3903
3904
3905
3906
3907 # 1 "/usr/include/bits/huge_val.h" 1 3 4
3908 # 35 "/usr/include/math.h" 2 3 4
3909
3910 # 1 "/usr/include/bits/huge_valf.h" 1 3 4
3911 # 37 "/usr/include/math.h" 2 3 4
3912 # 1 "/usr/include/bits/huge_vall.h" 1 3 4
3913 # 38 "/usr/include/math.h" 2 3 4
3914
3915
3916 # 1 "/usr/include/bits/inf.h" 1 3 4
3917 # 41 "/usr/include/math.h" 2 3 4
3918
3919
3920 # 1 "/usr/include/bits/nan.h" 1 3 4
3921 # 44 "/usr/include/math.h" 2 3 4
3922
3923
3924
3925 # 1 "/usr/include/bits/mathdef.h" 1 3 4
3926 # 38 "/usr/include/bits/mathdef.h" 3 4
3927 typedef float float_t;
3928
3929 typedef double double_t;
3930 # 48 "/usr/include/math.h" 2 3 4
3931 # 71 "/usr/include/math.h" 3 4
3932 # 1 "/usr/include/bits/mathcalls.h" 1 3 4
3933 # 53 "/usr/include/bits/mathcalls.h" 3 4
3934
3935
3936 extern double acos (double __x) __attribute__ ((__nothrow__)); extern double __acos (double __x) __attribute__ ((__nothrow__));
3937
3938 extern double asin (double __x) __attribute__ ((__nothrow__)); extern double __asin (double __x) __attribute__ ((__nothrow__));
3939
3940 extern double atan (double __x) __attribute__ ((__nothrow__)); extern double __atan (double __x) __attribute__ ((__nothrow__));
3941
3942 extern double atan2 (double __y, double __x) __attribute__ ((__nothrow__)); extern double __atan2 (double __y, double __x) __attribute__ ((__nothrow__));
3943
3944
3945 extern double cos (double __x) __attribute__ ((__nothrow__)); extern double __cos (double __x) __attribute__ ((__nothrow__));
3946
3947 extern double sin (double __x) __attribute__ ((__nothrow__)); extern double __sin (double __x) __attribute__ ((__nothrow__));
3948
3949 extern double tan (double __x) __attribute__ ((__nothrow__)); extern double __tan (double __x) __attribute__ ((__nothrow__));
3950
3951
3952
3953
3954 extern double cosh (double __x) __attribute__ ((__nothrow__)); extern double __cosh (double __x) __attribute__ ((__nothrow__));
3955
3956 extern double sinh (double __x) __attribute__ ((__nothrow__)); extern double __sinh (double __x) __attribute__ ((__nothrow__));
3957
3958 extern double tanh (double __x) __attribute__ ((__nothrow__)); extern double __tanh (double __x) __attribute__ ((__nothrow__));
3959
3960
3961
3962
3963 extern void sincos (double __x, double *__sinx, double *__cosx) __attribute__ ((__nothrow__)); extern void __sincos (double __x, double *__sinx, double *__cosx) __attribute__ ((__nothrow__));
3964
3965
3966
3967
3968
3969
3970 extern double acosh (double __x) __attribute__ ((__nothrow__)); extern double __acosh (double __x) __attribute__ ((__nothrow__));
3971
3972 extern double asinh (double __x) __attribute__ ((__nothrow__)); extern double __asinh (double __x) __attribute__ ((__nothrow__));
3973
3974 extern double atanh (double __x) __attribute__ ((__nothrow__)); extern double __atanh (double __x) __attribute__ ((__nothrow__));
3975
3976
3977
3978
3979
3980
3981
3982 extern double exp (double __x) __attribute__ ((__nothrow__)); extern double __exp (double __x) __attribute__ ((__nothrow__));
3983
3984
3985 extern double frexp (double __x, int *__exponent) __attribute__ ((__nothrow__)); extern double __frexp (double __x, int *__exponent) __attribute__ ((__nothrow__));
3986
3987
3988 extern double ldexp (double __x, int __exponent) __attribute__ ((__nothrow__)); extern double __ldexp (double __x, int __exponent) __attribute__ ((__nothrow__));
3989
3990
3991 extern double log (double __x) __attribute__ ((__nothrow__)); extern double __log (double __x) __attribute__ ((__nothrow__));
3992
3993
3994 extern double log10 (double __x) __attribute__ ((__nothrow__)); extern double __log10 (double __x) __attribute__ ((__nothrow__));
3995
3996
3997 extern double modf (double __x, double *__iptr) __attribute__ ((__nothrow__)); extern double __modf (double __x, double *__iptr) __attribute__ ((__nothrow__));
3998
3999
4000
4001
4002 extern double exp10 (double __x) __attribute__ ((__nothrow__)); extern double __exp10 (double __x) __attribute__ ((__nothrow__));
4003
4004 extern double pow10 (double __x) __attribute__ ((__nothrow__)); extern double __pow10 (double __x) __attribute__ ((__nothrow__));
4005
4006
4007
4008
4009
4010 extern double expm1 (double __x) __attribute__ ((__nothrow__)); extern double __expm1 (double __x) __attribute__ ((__nothrow__));
4011
4012
4013 extern double log1p (double __x) __attribute__ ((__nothrow__)); extern double __log1p (double __x) __attribute__ ((__nothrow__));
4014
4015
4016 extern double logb (double __x) __attribute__ ((__nothrow__)); extern double __logb (double __x) __attribute__ ((__nothrow__));
4017
4018
4019
4020
4021
4022
4023 extern double exp2 (double __x) __attribute__ ((__nothrow__)); extern double __exp2 (double __x) __attribute__ ((__nothrow__));
4024
4025
4026 extern double log2 (double __x) __attribute__ ((__nothrow__)); extern double __log2 (double __x) __attribute__ ((__nothrow__));
4027
4028
4029
4030
4031
4032
4033
4034
4035 extern double pow (double __x, double __y) __attribute__ ((__nothrow__)); extern double __pow (double __x, double __y) __attribute__ ((__nothrow__));
4036
4037
4038 extern double sqrt (double __x) __attribute__ ((__nothrow__)); extern double __sqrt (double __x) __attribute__ ((__nothrow__));
4039
4040
4041
4042
4043
4044 extern double hypot (double __x, double __y) __attribute__ ((__nothrow__)); extern double __hypot (double __x, double __y) __attribute__ ((__nothrow__));
4045
4046
4047
4048
4049
4050
4051 extern double cbrt (double __x) __attribute__ ((__nothrow__)); extern double __cbrt (double __x) __attribute__ ((__nothrow__));
4052
4053
4054
4055
4056
4057
4058
4059
4060 extern double ceil (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __ceil (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
4061
4062
4063 extern double fabs (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __fabs (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
4064
4065
4066 extern double floor (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __floor (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
4067
4068
4069 extern double fmod (double __x, double __y) __attribute__ ((__nothrow__)); extern double __fmod (double __x, double __y) __attribute__ ((__nothrow__));
4070
4071
4072
4073
4074 extern int __isinf (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
4075
4076
4077 extern int __finite (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
4078
4079
4080
4081
4082
4083 extern int isinf (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
4084
4085
4086 extern int finite (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
4087
4088
4089 extern double drem (double __x, double __y) __attribute__ ((__nothrow__)); extern double __drem (double __x, double __y) __attribute__ ((__nothrow__));
4090
4091
4092
4093 extern double significand (double __x) __attribute__ ((__nothrow__)); extern double __significand (double __x) __attribute__ ((__nothrow__));
4094
4095
4096
4097
4098
4099 extern double copysign (double __x, double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __copysign (double __x, double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
4100
4101
4102
4103
4104
4105
4106 extern double nan (__const char *__tagb) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __nan (__const char *__tagb) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
4107
4108
4109
4110
4111
4112 extern int __isnan (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
4113
4114
4115
4116 extern int isnan (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
4117
4118
4119 extern double j0 (double) __attribute__ ((__nothrow__)); extern double __j0 (double) __attribute__ ((__nothrow__));
4120 extern double j1 (double) __attribute__ ((__nothrow__)); extern double __j1 (double) __attribute__ ((__nothrow__));
4121 extern double jn (int, double) __attribute__ ((__nothrow__)); extern double __jn (int, double) __attribute__ ((__nothrow__));
4122 extern double y0 (double) __attribute__ ((__nothrow__)); extern double __y0 (double) __attribute__ ((__nothrow__));
4123 extern double y1 (double) __attribute__ ((__nothrow__)); extern double __y1 (double) __attribute__ ((__nothrow__));
4124 extern double yn (int, double) __attribute__ ((__nothrow__)); extern double __yn (int, double) __attribute__ ((__nothrow__));
4125
4126
4127
4128
4129
4130
4131 extern double erf (double) __attribute__ ((__nothrow__)); extern double __erf (double) __attribute__ ((__nothrow__));
4132 extern double erfc (double) __attribute__ ((__nothrow__)); extern double __erfc (double) __attribute__ ((__nothrow__));
4133 extern double lgamma (double) __attribute__ ((__nothrow__)); extern double __lgamma (double) __attribute__ ((__nothrow__));
4134
4135
4136
4137
4138
4139
4140 extern double tgamma (double) __attribute__ ((__nothrow__)); extern double __tgamma (double) __attribute__ ((__nothrow__));
4141
4142
4143
4144
4145
4146 extern double gamma (double) __attribute__ ((__nothrow__)); extern double __gamma (double) __attribute__ ((__nothrow__));
4147
4148
4149
4150
4151
4152
4153 extern double lgamma_r (double, int *__signgamp) __attribute__ ((__nothrow__)); extern double __lgamma_r (double, int *__signgamp) __attribute__ ((__nothrow__));
4154
4155
4156
4157
4158
4159
4160
4161 extern double rint (double __x) __attribute__ ((__nothrow__)); extern double __rint (double __x) __attribute__ ((__nothrow__));
4162
4163
4164 extern double nextafter (double __x, double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __nextafter (double __x, double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
4165
4166 extern double nexttoward (double __x, long double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __nexttoward (double __x, long double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
4167
4168
4169
4170 extern double remainder (double __x, double __y) __attribute__ ((__nothrow__)); extern double __remainder (double __x, double __y) __attribute__ ((__nothrow__));
4171
4172
4173
4174 extern double scalbn (double __x, int __n) __attribute__ ((__nothrow__)); extern double __scalbn (double __x, int __n) __attribute__ ((__nothrow__));
4175
4176
4177
4178 extern int ilogb (double __x) __attribute__ ((__nothrow__)); extern int __ilogb (double __x) __attribute__ ((__nothrow__));
4179
4180
4181
4182
4183 extern double scalbln (double __x, long int __n) __attribute__ ((__nothrow__)); extern double __scalbln (double __x, long int __n) __attribute__ ((__nothrow__));
4184
4185
4186
4187 extern double nearbyint (double __x) __attribute__ ((__nothrow__)); extern double __nearbyint (double __x) __attribute__ ((__nothrow__));
4188
4189
4190
4191 extern double round (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __round (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
4192
4193
4194
4195 extern double trunc (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __trunc (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
4196
4197
4198
4199
4200 extern double remquo (double __x, double __y, int *__quo) __attribute__ ((__nothrow__)); extern double __remquo (double __x, double __y, int *__quo) __attribute__ ((__nothrow__));
4201
4202
4203
4204
4205
4206
4207 extern long int lrint (double __x) __attribute__ ((__nothrow__)); extern long int __lrint (double __x) __attribute__ ((__nothrow__));
4208 extern long long int llrint (double __x) __attribute__ ((__nothrow__)); extern long long int __llrint (double __x) __attribute__ ((__nothrow__));
4209
4210
4211
4212 extern long int lround (double __x) __attribute__ ((__nothrow__)); extern long int __lround (double __x) __attribute__ ((__nothrow__));
4213 extern long long int llround (double __x) __attribute__ ((__nothrow__)); extern long long int __llround (double __x) __attribute__ ((__nothrow__));
4214
4215
4216
4217 extern double fdim (double __x, double __y) __attribute__ ((__nothrow__)); extern double __fdim (double __x, double __y) __attribute__ ((__nothrow__));
4218
4219
4220 extern double fmax (double __x, double __y) __attribute__ ((__nothrow__)); extern double __fmax (double __x, double __y) __attribute__ ((__nothrow__));
4221
4222
4223 extern double fmin (double __x, double __y) __attribute__ ((__nothrow__)); extern double __fmin (double __x, double __y) __attribute__ ((__nothrow__));
4224
4225
4226
4227 extern int __fpclassify (double __value) __attribute__ ((__nothrow__))
4228 __attribute__ ((__const__));
4229
4230
4231 extern int __signbit (double __value) __attribute__ ((__nothrow__))
4232 __attribute__ ((__const__));
4233
4234
4235
4236 extern double fma (double __x, double __y, double __z) __attribute__ ((__nothrow__)); extern double __fma (double __x, double __y, double __z) __attribute__ ((__nothrow__));
4237
4238
4239
4240
4241
4242
4243
4244
4245 extern double scalb (double __x, double __n) __attribute__ ((__nothrow__)); extern double __scalb (double __x, double __n) __attribute__ ((__nothrow__));
4246 # 72 "/usr/include/math.h" 2 3 4
4247 # 94 "/usr/include/math.h" 3 4
4248 # 1 "/usr/include/bits/mathcalls.h" 1 3 4
4249 # 53 "/usr/include/bits/mathcalls.h" 3 4
4250
4251
4252 extern float acosf (float __x) __attribute__ ((__nothrow__)); extern float __acosf (float __x) __attribute__ ((__nothrow__));
4253
4254 extern float asinf (float __x) __attribute__ ((__nothrow__)); extern float __asinf (float __x) __attribute__ ((__nothrow__));
4255
4256 extern float atanf (float __x) __attribute__ ((__nothrow__)); extern float __atanf (float __x) __attribute__ ((__nothrow__));
4257
4258 extern float atan2f (float __y, float __x) __attribute__ ((__nothrow__)); extern float __atan2f (float __y, float __x) __attribute__ ((__nothrow__));
4259
4260
4261 extern float cosf (float __x) __attribute__ ((__nothrow__)); extern float __cosf (float __x) __attribute__ ((__nothrow__));
4262
4263 extern float sinf (float __x) __attribute__ ((__nothrow__)); extern float __sinf (float __x) __attribute__ ((__nothrow__));
4264
4265 extern float tanf (float __x) __attribute__ ((__nothrow__)); extern float __tanf (float __x) __attribute__ ((__nothrow__));
4266
4267
4268
4269
4270 extern float coshf (float __x) __attribute__ ((__nothrow__)); extern float __coshf (float __x) __attribute__ ((__nothrow__));
4271
4272 extern float sinhf (float __x) __attribute__ ((__nothrow__)); extern float __sinhf (float __x) __attribute__ ((__nothrow__));
4273
4274 extern float tanhf (float __x) __attribute__ ((__nothrow__)); extern float __tanhf (float __x) __attribute__ ((__nothrow__));
4275
4276
4277
4278
4279 extern void sincosf (float __x, float *__sinx, float *__cosx) __attribute__ ((__nothrow__)); extern void __sincosf (float __x, float *__sinx, float *__cosx) __attribute__ ((__nothrow__));
4280
4281
4282
4283
4284
4285
4286 extern float acoshf (float __x) __attribute__ ((__nothrow__)); extern float __acoshf (float __x) __attribute__ ((__nothrow__));
4287
4288 extern float asinhf (float __x) __attribute__ ((__nothrow__)); extern float __asinhf (float __x) __attribute__ ((__nothrow__));
4289
4290 extern float atanhf (float __x) __attribute__ ((__nothrow__)); extern float __atanhf (float __x) __attribute__ ((__nothrow__));
4291
4292
4293
4294
4295
4296
4297
4298 extern float expf (float __x) __attribute__ ((__nothrow__)); extern float __expf (float __x) __attribute__ ((__nothrow__));
4299
4300
4301 extern float frexpf (float __x, int *__exponent) __attribute__ ((__nothrow__)); extern float __frexpf (float __x, int *__exponent) __attribute__ ((__nothrow__));
4302
4303
4304 extern float ldexpf (float __x, int __exponent) __attribute__ ((__nothrow__)); extern float __ldexpf (float __x, int __exponent) __attribute__ ((__nothrow__));
4305
4306
4307 extern float logf (float __x) __attribute__ ((__nothrow__)); extern float __logf (float __x) __attribute__ ((__nothrow__));
4308
4309
4310 extern float log10f (float __x) __attribute__ ((__nothrow__)); extern float __log10f (float __x) __attribute__ ((__nothrow__));
4311
4312
4313 extern float modff (float __x, float *__iptr) __attribute__ ((__nothrow__)); extern float __modff (float __x, float *__iptr) __attribute__ ((__nothrow__));
4314
4315
4316
4317
4318 extern float exp10f (float __x) __attribute__ ((__nothrow__)); extern float __exp10f (float __x) __attribute__ ((__nothrow__));
4319
4320 extern float pow10f (float __x) __attribute__ ((__nothrow__)); extern float __pow10f (float __x) __attribute__ ((__nothrow__));
4321
4322
4323
4324
4325
4326 extern float expm1f (float __x) __attribute__ ((__nothrow__)); extern float __expm1f (float __x) __attribute__ ((__nothrow__));
4327
4328
4329 extern float log1pf (float __x) __attribute__ ((__nothrow__)); extern float __log1pf (float __x) __attribute__ ((__nothrow__));
4330
4331
4332 extern float logbf (float __x) __attribute__ ((__nothrow__)); extern float __logbf (float __x) __attribute__ ((__nothrow__));
4333
4334
4335
4336
4337
4338
4339 extern float exp2f (float __x) __attribute__ ((__nothrow__)); extern float __exp2f (float __x) __attribute__ ((__nothrow__));
4340
4341
4342 extern float log2f (float __x) __attribute__ ((__nothrow__)); extern float __log2f (float __x) __attribute__ ((__nothrow__));
4343
4344
4345
4346
4347
4348
4349
4350
4351 extern float powf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __powf (float __x, float __y) __attribute__ ((__nothrow__));
4352
4353
4354 extern float sqrtf (float __x) __attribute__ ((__nothrow__)); extern float __sqrtf (float __x) __attribute__ ((__nothrow__));
4355
4356
4357
4358
4359
4360 extern float hypotf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __hypotf (float __x, float __y) __attribute__ ((__nothrow__));
4361
4362
4363
4364
4365
4366
4367 extern float cbrtf (float __x) __attribute__ ((__nothrow__)); extern float __cbrtf (float __x) __attribute__ ((__nothrow__));
4368
4369
4370
4371
4372
4373
4374
4375
4376 extern float ceilf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __ceilf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
4377
4378
4379 extern float fabsf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __fabsf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
4380
4381
4382 extern float floorf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __floorf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
4383
4384
4385 extern float fmodf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __fmodf (float __x, float __y) __attribute__ ((__nothrow__));
4386
4387
4388
4389
4390 extern int __isinff (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
4391
4392
4393 extern int __finitef (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
4394
4395
4396
4397
4398
4399 extern int isinff (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
4400
4401
4402 extern int finitef (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
4403
4404
4405 extern float dremf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __dremf (float __x, float __y) __attribute__ ((__nothrow__));
4406
4407
4408
4409 extern float significandf (float __x) __attribute__ ((__nothrow__)); extern float __significandf (float __x) __attribute__ ((__nothrow__));
4410
4411
4412
4413
4414
4415 extern float copysignf (float __x, float __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __copysignf (float __x, float __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
4416
4417
4418
4419
4420
4421
4422 extern float nanf (__const char *__tagb) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __nanf (__const char *__tagb) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
4423
4424
4425
4426
4427
4428 extern int __isnanf (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
4429
4430
4431
4432 extern int isnanf (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
4433
4434
4435 extern float j0f (float) __attribute__ ((__nothrow__)); extern float __j0f (float) __attribute__ ((__nothrow__));
4436 extern float j1f (float) __attribute__ ((__nothrow__)); extern float __j1f (float) __attribute__ ((__nothrow__));
4437 extern float jnf (int, float) __attribute__ ((__nothrow__)); extern float __jnf (int, float) __attribute__ ((__nothrow__));
4438 extern float y0f (float) __attribute__ ((__nothrow__)); extern float __y0f (float) __attribute__ ((__nothrow__));
4439 extern float y1f (float) __attribute__ ((__nothrow__)); extern float __y1f (float) __attribute__ ((__nothrow__));
4440 extern float ynf (int, float) __attribute__ ((__nothrow__)); extern float __ynf (int, float) __attribute__ ((__nothrow__));
4441
4442
4443
4444
4445
4446
4447 extern float erff (float) __attribute__ ((__nothrow__)); extern float __erff (float) __attribute__ ((__nothrow__));
4448 extern float erfcf (float) __attribute__ ((__nothrow__)); extern float __erfcf (float) __attribute__ ((__nothrow__));
4449 extern float lgammaf (float) __attribute__ ((__nothrow__)); extern float __lgammaf (float) __attribute__ ((__nothrow__));
4450
4451
4452
4453
4454
4455
4456 extern float tgammaf (float) __attribute__ ((__nothrow__)); extern float __tgammaf (float) __attribute__ ((__nothrow__));
4457
4458
4459
4460
4461
4462 extern float gammaf (float) __attribute__ ((__nothrow__)); extern float __gammaf (float) __attribute__ ((__nothrow__));
4463
4464
4465
4466
4467
4468
4469 extern float lgammaf_r (float, int *__signgamp) __attribute__ ((__nothrow__)); extern float __lgammaf_r (float, int *__signgamp) __attribute__ ((__nothrow__));
4470
4471
4472
4473
4474
4475
4476
4477 extern float rintf (float __x) __attribute__ ((__nothrow__)); extern float __rintf (float __x) __attribute__ ((__nothrow__));
4478
4479
4480 extern float nextafterf (float __x, float __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __nextafterf (float __x, float __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
4481
4482 extern float nexttowardf (float __x, long double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __nexttowardf (float __x, long double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
4483
4484
4485
4486 extern float remainderf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __remainderf (float __x, float __y) __attribute__ ((__nothrow__));
4487
4488
4489
4490 extern float scalbnf (float __x, int __n) __attribute__ ((__nothrow__)); extern float __scalbnf (float __x, int __n) __attribute__ ((__nothrow__));
4491
4492
4493
4494 extern int ilogbf (float __x) __attribute__ ((__nothrow__)); extern int __ilogbf (float __x) __attribute__ ((__nothrow__));
4495
4496
4497
4498
4499 extern float scalblnf (float __x, long int __n) __attribute__ ((__nothrow__)); extern float __scalblnf (float __x, long int __n) __attribute__ ((__nothrow__));
4500
4501
4502
4503 extern float nearbyintf (float __x) __attribute__ ((__nothrow__)); extern float __nearbyintf (float __x) __attribute__ ((__nothrow__));
4504
4505
4506
4507 extern float roundf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __roundf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
4508
4509
4510
4511 extern float truncf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __truncf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
4512
4513
4514
4515
4516 extern float remquof (float __x, float __y, int *__quo) __attribute__ ((__nothrow__)); extern float __remquof (float __x, float __y, int *__quo) __attribute__ ((__nothrow__));
4517
4518
4519
4520
4521
4522
4523 extern long int lrintf (float __x) __attribute__ ((__nothrow__)); extern long int __lrintf (float __x) __attribute__ ((__nothrow__));
4524 extern long long int llrintf (float __x) __attribute__ ((__nothrow__)); extern long long int __llrintf (float __x) __attribute__ ((__nothrow__));
4525
4526
4527
4528 extern long int lroundf (float __x) __attribute__ ((__nothrow__)); extern long int __lroundf (float __x) __attribute__ ((__nothrow__));
4529 extern long long int llroundf (float __x) __attribute__ ((__nothrow__)); extern long long int __llroundf (float __x) __attribute__ ((__nothrow__));
4530
4531
4532
4533 extern float fdimf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __fdimf (float __x, float __y) __attribute__ ((__nothrow__));
4534
4535
4536 extern float fmaxf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __fmaxf (float __x, float __y) __attribute__ ((__nothrow__));
4537
4538
4539 extern float fminf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __fminf (float __x, float __y) __attribute__ ((__nothrow__));
4540
4541
4542
4543 extern int __fpclassifyf (float __value) __attribute__ ((__nothrow__))
4544 __attribute__ ((__const__));
4545
4546
4547 extern int __signbitf (float __value) __attribute__ ((__nothrow__))
4548 __attribute__ ((__const__));
4549
4550
4551
4552 extern float fmaf (float __x, float __y, float __z) __attribute__ ((__nothrow__)); extern float __fmaf (float __x, float __y, float __z) __attribute__ ((__nothrow__));
4553
4554
4555
4556
4557
4558
4559