initial import
[ICEs.git] / bfin-2625 / netlib.i.0
1 # 1 "netlib.c"
2 # 1 "<built-in>"
3 # 1 "<command line>"
4 # 1 "netlib.c"
5 char netlib_id[]="@(#)netlib.c (c) Copyright 1993-2004 Hewlett-Packard Company. Version 2.3pl2";
6 # 53 "netlib.c"
7 # 1 "../config.h" 1
8 # 54 "netlib.c" 2
9
10
11
12
13
14
15 # 1 "/usr/include/limits.h" 1 3 4
16 # 26 "/usr/include/limits.h" 3 4
17 # 1 "/usr/include/features.h" 1 3 4
18 # 308 "/usr/include/features.h" 3 4
19 # 1 "/usr/include/sys/cdefs.h" 1 3 4
20 # 309 "/usr/include/features.h" 2 3 4
21 # 331 "/usr/include/features.h" 3 4
22 # 1 "/usr/include/gnu/stubs.h" 1 3 4
23 # 332 "/usr/include/features.h" 2 3 4
24 # 27 "/usr/include/limits.h" 2 3 4
25 # 124 "/usr/include/limits.h" 3 4
26 # 1 "/home/roc/toolchain/svn/gcc4.1/uclinux/bin/../lib/gcc/bfin-uclinux/4.1.1/include/limits.h" 1 3 4
27 # 125 "/usr/include/limits.h" 2 3 4
28 # 144 "/usr/include/limits.h" 3 4
29 # 1 "/usr/include/bits/posix1_lim.h" 1 3 4
30 # 153 "/usr/include/bits/posix1_lim.h" 3 4
31 # 1 "/usr/include/bits/local_lim.h" 1 3 4
32 # 36 "/usr/include/bits/local_lim.h" 3 4
33 # 1 "/usr/include/linux/limits.h" 1 3 4
34 # 37 "/usr/include/bits/local_lim.h" 2 3 4
35 # 154 "/usr/include/bits/posix1_lim.h" 2 3 4
36 # 145 "/usr/include/limits.h" 2 3 4
37
38
39
40 # 1 "/usr/include/bits/posix2_lim.h" 1 3 4
41 # 149 "/usr/include/limits.h" 2 3 4
42 # 61 "netlib.c" 2
43 # 1 "/usr/include/signal.h" 1 3 4
44 # 31 "/usr/include/signal.h" 3 4
45
46
47 # 1 "/usr/include/bits/sigset.h" 1 3 4
48 # 23 "/usr/include/bits/sigset.h" 3 4
49 typedef int __sig_atomic_t;
50
51
52
53
54 typedef struct
55 {
56 unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))];
57 } __sigset_t;
58 # 103 "/usr/include/bits/sigset.h" 3 4
59 extern int __sigismember (__const __sigset_t *, int);
60 extern int __sigaddset (__sigset_t *, int);
61 extern int __sigdelset (__sigset_t *, int);
62 # 117 "/usr/include/bits/sigset.h" 3 4
63 extern __inline int __sigismember (__const __sigset_t *__set, int __sig) { unsigned long int __mask = (((unsigned long int) 1) << (((__sig) - 1) % (8 * sizeof (unsigned long int)))); unsigned long int __word = (((__sig) - 1) / (8 * sizeof (unsigned long int))); return (__set->__val[__word] & __mask) ? 1 : 0; }
64 extern __inline int __sigaddset ( __sigset_t *__set, int __sig) { unsigned long int __mask = (((unsigned long int) 1) << (((__sig) - 1) % (8 * sizeof (unsigned long int)))); unsigned long int __word = (((__sig) - 1) / (8 * sizeof (unsigned long int))); return ((__set->__val[__word] |= __mask), 0); }
65 extern __inline int __sigdelset ( __sigset_t *__set, int __sig) { unsigned long int __mask = (((unsigned long int) 1) << (((__sig) - 1) % (8 * sizeof (unsigned long int)))); unsigned long int __word = (((__sig) - 1) / (8 * sizeof (unsigned long int))); return ((__set->__val[__word] &= ~__mask), 0); }
66 # 34 "/usr/include/signal.h" 2 3 4
67
68
69
70
71
72
73
74 typedef __sig_atomic_t sig_atomic_t;
75
76
77
78
79
80
81
82
83 typedef __sigset_t sigset_t;
84
85
86
87
88
89
90 # 1 "/usr/include/bits/types.h" 1 3 4
91 # 28 "/usr/include/bits/types.h" 3 4
92 # 1 "/usr/include/bits/wordsize.h" 1 3 4
93 # 29 "/usr/include/bits/types.h" 2 3 4
94
95
96 # 1 "/home/roc/toolchain/svn/gcc4.1/uclinux/bin/../lib/gcc/bfin-uclinux/4.1.1/include/stddef.h" 1 3 4
97 # 214 "/home/roc/toolchain/svn/gcc4.1/uclinux/bin/../lib/gcc/bfin-uclinux/4.1.1/include/stddef.h" 3 4
98 typedef long unsigned int size_t;
99 # 32 "/usr/include/bits/types.h" 2 3 4
100
101
102 typedef unsigned char __u_char;
103 typedef unsigned short int __u_short;
104 typedef unsigned int __u_int;
105 typedef unsigned long int __u_long;
106
107
108 typedef signed char __int8_t;
109 typedef unsigned char __uint8_t;
110 typedef signed short int __int16_t;
111 typedef unsigned short int __uint16_t;
112 typedef signed int __int32_t;
113 typedef unsigned int __uint32_t;
114
115
116
117
118 __extension__ typedef signed long long int __int64_t;
119 __extension__ typedef unsigned long long int __uint64_t;
120
121
122
123
124
125
126
127 __extension__ typedef long long int __quad_t;
128 __extension__ typedef unsigned long long int __u_quad_t;
129 # 129 "/usr/include/bits/types.h" 3 4
130 # 1 "/usr/include/bits/typesizes.h" 1 3 4
131 # 130 "/usr/include/bits/types.h" 2 3 4
132
133
134
135
136
137
138 __extension__ typedef __u_quad_t __dev_t;
139 __extension__ typedef unsigned int __uid_t;
140 __extension__ typedef unsigned int __gid_t;
141 __extension__ typedef unsigned long int __ino_t;
142 __extension__ typedef __u_quad_t __ino64_t;
143 __extension__ typedef unsigned int __mode_t;
144 __extension__ typedef unsigned int __nlink_t;
145 __extension__ typedef long int __off_t;
146 __extension__ typedef __quad_t __off64_t;
147 __extension__ typedef int __pid_t;
148 __extension__ typedef struct { int __val[2]; } __fsid_t;
149 __extension__ typedef long int __clock_t;
150 __extension__ typedef unsigned long int __rlim_t;
151 __extension__ typedef __u_quad_t __rlim64_t;
152 __extension__ typedef unsigned int __id_t;
153 __extension__ typedef long int __time_t;
154 __extension__ typedef unsigned int __useconds_t;
155 __extension__ typedef long int __suseconds_t;
156
157 __extension__ typedef int __daddr_t;
158 __extension__ typedef long int __swblk_t;
159 __extension__ typedef int __key_t;
160
161
162 __extension__ typedef int __clockid_t;
163
164
165 __extension__ typedef int __timer_t;
166
167
168 __extension__ typedef long int __blksize_t;
169
170
171
172
173 __extension__ typedef long int __blkcnt_t;
174 __extension__ typedef __quad_t __blkcnt64_t;
175
176
177 __extension__ typedef unsigned long int __fsblkcnt_t;
178 __extension__ typedef __u_quad_t __fsblkcnt64_t;
179
180
181 __extension__ typedef unsigned long int __fsfilcnt_t;
182 __extension__ typedef __u_quad_t __fsfilcnt64_t;
183
184 __extension__ typedef int __ssize_t;
185
186
187
188 typedef __off64_t __loff_t;
189 typedef __quad_t *__qaddr_t;
190 typedef char *__caddr_t;
191
192
193 __extension__ typedef int __intptr_t;
194
195
196 __extension__ typedef unsigned int __socklen_t;
197 # 58 "/usr/include/signal.h" 2 3 4
198 # 1 "/usr/include/bits/signum.h" 1 3 4
199 # 59 "/usr/include/signal.h" 2 3 4
200 # 75 "/usr/include/signal.h" 3 4
201 typedef void (*__sighandler_t) (int);
202
203
204
205
206 extern __sighandler_t __sysv_signal (int __sig, __sighandler_t __handler)
207 __attribute__ ((__nothrow__));
208 # 90 "/usr/include/signal.h" 3 4
209
210
211 extern __sighandler_t signal (int __sig, __sighandler_t __handler)
212 __attribute__ ((__nothrow__));
213 # 104 "/usr/include/signal.h" 3 4
214
215 # 117 "/usr/include/signal.h" 3 4
216 extern int kill (__pid_t __pid, int __sig) __attribute__ ((__nothrow__));
217
218
219
220
221
222
223 extern int killpg (__pid_t __pgrp, int __sig) __attribute__ ((__nothrow__));
224
225
226
227
228 extern int raise (int __sig) __attribute__ ((__nothrow__));
229
230
231
232
233 extern __sighandler_t ssignal (int __sig, __sighandler_t __handler)
234 __attribute__ ((__nothrow__));
235 extern int gsignal (int __sig) __attribute__ ((__nothrow__));
236
237
238
239
240 extern void psignal (int __sig, __const char *__s);
241 # 153 "/usr/include/signal.h" 3 4
242 extern int __sigpause (int __sig_or_mask, int __is_sig);
243 # 181 "/usr/include/signal.h" 3 4
244 extern int sigblock (int __mask) __attribute__ ((__nothrow__)) __attribute__ ((__deprecated__));
245
246
247 extern int sigsetmask (int __mask) __attribute__ ((__nothrow__)) __attribute__ ((__deprecated__));
248
249
250 extern int siggetmask (void) __attribute__ ((__nothrow__)) __attribute__ ((__deprecated__));
251 # 201 "/usr/include/signal.h" 3 4
252 typedef __sighandler_t sig_t;
253
254
255
256
257
258
259
260 # 1 "/usr/include/time.h" 1 3 4
261 # 118 "/usr/include/time.h" 3 4
262 struct timespec
263 {
264 __time_t tv_sec;
265 long int tv_nsec;
266 };
267 # 210 "/usr/include/signal.h" 2 3 4
268
269
270 # 1 "/usr/include/bits/siginfo.h" 1 3 4
271 # 25 "/usr/include/bits/siginfo.h" 3 4
272 # 1 "/usr/include/bits/wordsize.h" 1 3 4
273 # 26 "/usr/include/bits/siginfo.h" 2 3 4
274
275
276
277
278
279
280
281 typedef union sigval
282 {
283 int sival_int;
284 void *sival_ptr;
285 } sigval_t;
286 # 51 "/usr/include/bits/siginfo.h" 3 4
287 typedef struct siginfo
288 {
289 int si_signo;
290 int si_errno;
291
292 int si_code;
293
294 union
295 {
296 int _pad[((128 / sizeof (int)) - 3)];
297
298
299 struct
300 {
301 __pid_t si_pid;
302 __uid_t si_uid;
303 } _kill;
304
305
306 struct
307 {
308 int si_tid;
309 int si_overrun;
310 sigval_t si_sigval;
311 } _timer;
312
313
314 struct
315 {
316 __pid_t si_pid;
317 __uid_t si_uid;
318 sigval_t si_sigval;
319 } _rt;
320
321
322 struct
323 {
324 __pid_t si_pid;
325 __uid_t si_uid;
326 int si_status;
327 __clock_t si_utime;
328 __clock_t si_stime;
329 } _sigchld;
330
331
332 struct
333 {
334 void *si_addr;
335 } _sigfault;
336
337
338 struct
339 {
340 long int si_band;
341 int si_fd;
342 } _sigpoll;
343 } _sifields;
344 } siginfo_t;
345 # 129 "/usr/include/bits/siginfo.h" 3 4
346 enum
347 {
348 SI_ASYNCNL = -60,
349
350 SI_TKILL = -6,
351
352 SI_SIGIO,
353
354 SI_ASYNCIO,
355
356 SI_MESGQ,
357
358 SI_TIMER,
359
360 SI_QUEUE,
361
362 SI_USER,
363
364 SI_KERNEL = 0x80
365
366 };
367
368
369
370 enum
371 {
372 ILL_ILLOPC = 1,
373
374 ILL_ILLOPN,
375
376 ILL_ILLADR,
377
378 ILL_ILLTRP,
379
380 ILL_PRVOPC,
381
382 ILL_PRVREG,
383
384 ILL_COPROC,
385
386 ILL_BADSTK
387
388 };
389
390
391 enum
392 {
393 FPE_INTDIV = 1,
394
395 FPE_INTOVF,
396
397 FPE_FLTDIV,
398
399 FPE_FLTOVF,
400
401 FPE_FLTUND,
402
403 FPE_FLTRES,
404
405 FPE_FLTINV,
406
407 FPE_FLTSUB
408
409 };
410
411
412 enum
413 {
414 SEGV_MAPERR = 1,
415
416 SEGV_ACCERR
417
418 };
419
420
421 enum
422 {
423 BUS_ADRALN = 1,
424
425 BUS_ADRERR,
426
427 BUS_OBJERR
428
429 };
430
431
432 enum
433 {
434 TRAP_BRKPT = 1,
435
436 TRAP_TRACE
437
438 };
439
440
441 enum
442 {
443 CLD_EXITED = 1,
444
445 CLD_KILLED,
446
447 CLD_DUMPED,
448
449 CLD_TRAPPED,
450
451 CLD_STOPPED,
452
453 CLD_CONTINUED
454
455 };
456
457
458 enum
459 {
460 POLL_IN = 1,
461
462 POLL_OUT,
463
464 POLL_MSG,
465
466 POLL_ERR,
467
468 POLL_PRI,
469
470 POLL_HUP
471
472 };
473 # 273 "/usr/include/bits/siginfo.h" 3 4
474 typedef struct sigevent
475 {
476 sigval_t sigev_value;
477 int sigev_signo;
478 int sigev_notify;
479
480 union
481 {
482 int _pad[((64 / sizeof (int)) - 3)];
483
484
485
486 __pid_t _tid;
487
488 struct
489 {
490 void (*_function) (sigval_t);
491 void *_attribute;
492 } _sigev_thread;
493 } _sigev_un;
494 } sigevent_t;
495
496
497
498
499
500
501 enum
502 {
503 SIGEV_SIGNAL = 0,
504
505 SIGEV_NONE,
506
507 SIGEV_THREAD,
508
509
510 SIGEV_THREAD_ID = 4
511
512 };
513 # 213 "/usr/include/signal.h" 2 3 4
514
515
516
517 extern int sigemptyset (sigset_t *__set) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
518
519
520 extern int sigfillset (sigset_t *__set) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
521
522
523 extern int sigaddset (sigset_t *__set, int __signo) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
524
525
526 extern int sigdelset (sigset_t *__set, int __signo) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
527
528
529 extern int sigismember (__const sigset_t *__set, int __signo)
530 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
531 # 246 "/usr/include/signal.h" 3 4
532 # 1 "/usr/include/bits/sigaction.h" 1 3 4
533 # 25 "/usr/include/bits/sigaction.h" 3 4
534 struct sigaction
535 {
536
537
538 union
539 {
540
541 __sighandler_t sa_handler;
542
543 void (*sa_sigaction) (int, siginfo_t *, void *);
544 }
545 __sigaction_handler;
546
547
548
549
550
551
552
553 __sigset_t sa_mask;
554
555
556 int sa_flags;
557
558
559 void (*sa_restorer) (void);
560 };
561 # 247 "/usr/include/signal.h" 2 3 4
562
563
564 extern int sigprocmask (int __how, __const sigset_t *__restrict __set,
565 sigset_t *__restrict __oset) __attribute__ ((__nothrow__));
566
567
568
569
570
571
572 extern int sigsuspend (__const sigset_t *__set) __attribute__ ((__nonnull__ (1)));
573
574
575 extern int sigaction (int __sig, __const struct sigaction *__restrict __act,
576 struct sigaction *__restrict __oact) __attribute__ ((__nothrow__));
577
578
579 extern int sigpending (sigset_t *__set) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
580
581
582
583
584
585
586 extern int sigwait (__const sigset_t *__restrict __set, int *__restrict __sig)
587 __attribute__ ((__nonnull__ (1, 2)));
588
589
590
591
592
593
594 extern int sigwaitinfo (__const sigset_t *__restrict __set,
595 siginfo_t *__restrict __info) __attribute__ ((__nonnull__ (1)));
596
597
598
599
600
601
602 extern int sigtimedwait (__const sigset_t *__restrict __set,
603 siginfo_t *__restrict __info,
604 __const struct timespec *__restrict __timeout)
605 __attribute__ ((__nonnull__ (1)));
606
607
608
609 extern int sigqueue (__pid_t __pid, int __sig, __const union sigval __val)
610 __attribute__ ((__nothrow__));
611 # 304 "/usr/include/signal.h" 3 4
612 extern __const char *__const _sys_siglist[65];
613 extern __const char *__const sys_siglist[65];
614
615
616 struct sigvec
617 {
618 __sighandler_t sv_handler;
619 int sv_mask;
620
621 int sv_flags;
622
623 };
624 # 328 "/usr/include/signal.h" 3 4
625 extern int sigvec (int __sig, __const struct sigvec *__vec,
626 struct sigvec *__ovec) __attribute__ ((__nothrow__));
627
628
629
630 # 1 "/usr/include/bits/sigcontext.h" 1 3 4
631 # 28 "/usr/include/bits/sigcontext.h" 3 4
632 # 1 "/usr/include/asm/sigcontext.h" 1 3 4
633 # 11 "/usr/include/asm/sigcontext.h" 3 4
634 # 1 "/usr/include/asm-i386/sigcontext.h" 1 3 4
635 # 19 "/usr/include/asm-i386/sigcontext.h" 3 4
636 struct _fpreg {
637 unsigned short significand[4];
638 unsigned short exponent;
639 };
640
641 struct _fpxreg {
642 unsigned short significand[4];
643 unsigned short exponent;
644 unsigned short padding[3];
645 };
646
647 struct _xmmreg {
648 unsigned long element[4];
649 };
650
651 struct _fpstate {
652
653 unsigned long cw;
654 unsigned long sw;
655 unsigned long tag;
656 unsigned long ipoff;
657 unsigned long cssel;
658 unsigned long dataoff;
659 unsigned long datasel;
660 struct _fpreg _st[8];
661 unsigned short status;
662 unsigned short magic;
663
664
665 unsigned long _fxsr_env[6];
666 unsigned long mxcsr;
667 unsigned long reserved;
668 struct _fpxreg _fxsr_st[8];
669 struct _xmmreg _xmm[8];
670 unsigned long padding[56];
671 };
672
673
674
675 struct sigcontext {
676 unsigned short gs, __gsh;
677 unsigned short fs, __fsh;
678 unsigned short es, __esh;
679 unsigned short ds, __dsh;
680 unsigned long edi;
681 unsigned long esi;
682 unsigned long ebp;
683 unsigned long esp;
684 unsigned long ebx;
685 unsigned long edx;
686 unsigned long ecx;
687 unsigned long eax;
688 unsigned long trapno;
689 unsigned long err;
690 unsigned long eip;
691 unsigned short cs, __csh;
692 unsigned long eflags;
693 unsigned long esp_at_signal;
694 unsigned short ss, __ssh;
695 struct _fpstate * fpstate;
696 unsigned long oldmask;
697 unsigned long cr2;
698 };
699 # 12 "/usr/include/asm/sigcontext.h" 2 3 4
700 # 29 "/usr/include/bits/sigcontext.h" 2 3 4
701 # 334 "/usr/include/signal.h" 2 3 4
702
703
704 extern int sigreturn (struct sigcontext *__scp) __attribute__ ((__nothrow__));
705 # 346 "/usr/include/signal.h" 3 4
706 extern int siginterrupt (int __sig, int __interrupt) __attribute__ ((__nothrow__));
707
708 # 1 "/usr/include/bits/sigstack.h" 1 3 4
709 # 26 "/usr/include/bits/sigstack.h" 3 4
710 struct sigstack
711 {
712 void *ss_sp;
713 int ss_onstack;
714 };
715
716
717
718 enum
719 {
720 SS_ONSTACK = 1,
721
722 SS_DISABLE
723
724 };
725 # 50 "/usr/include/bits/sigstack.h" 3 4
726 typedef struct sigaltstack
727 {
728 void *ss_sp;
729 int ss_flags;
730 size_t ss_size;
731 } stack_t;
732 # 349 "/usr/include/signal.h" 2 3 4
733 # 357 "/usr/include/signal.h" 3 4
734 extern int sigstack (struct sigstack *__ss, struct sigstack *__oss)
735 __attribute__ ((__nothrow__)) __attribute__ ((__deprecated__));
736
737
738
739 extern int sigaltstack (__const struct sigaltstack *__restrict __ss,
740 struct sigaltstack *__restrict __oss) __attribute__ ((__nothrow__));
741 # 386 "/usr/include/signal.h" 3 4
742 # 1 "/usr/include/bits/pthreadtypes.h" 1 3 4
743 # 23 "/usr/include/bits/pthreadtypes.h" 3 4
744 # 1 "/usr/include/bits/sched.h" 1 3 4
745 # 83 "/usr/include/bits/sched.h" 3 4
746 struct __sched_param
747 {
748 int __sched_priority;
749 };
750 # 24 "/usr/include/bits/pthreadtypes.h" 2 3 4
751
752 typedef int __atomic_lock_t;
753
754
755 struct _pthread_fastlock
756 {
757 long int __status;
758 __atomic_lock_t __spinlock;
759
760 };
761
762
763
764 typedef struct _pthread_descr_struct *_pthread_descr;
765
766
767
768
769
770 typedef struct __pthread_attr_s
771 {
772 int __detachstate;
773 int __schedpolicy;
774 struct __sched_param __schedparam;
775 int __inheritsched;
776 int __scope;
777 size_t __guardsize;
778 int __stackaddr_set;
779 void *__stackaddr;
780 size_t __stacksize;
781 } pthread_attr_t;
782
783
784
785
786
787 __extension__ typedef long long __pthread_cond_align_t;
788
789
790
791
792 typedef struct
793 {
794 struct _pthread_fastlock __c_lock;
795 _pthread_descr __c_waiting;
796 char __padding[48 - sizeof (struct _pthread_fastlock)
797 - sizeof (_pthread_descr) - sizeof (__pthread_cond_align_t)];
798 __pthread_cond_align_t __align;
799 } pthread_cond_t;
800
801
802
803 typedef struct
804 {
805 int __dummy;
806 } pthread_condattr_t;
807
808
809 typedef unsigned int pthread_key_t;
810
811
812
813
814
815 typedef struct
816 {
817 int __m_reserved;
818 int __m_count;
819 _pthread_descr __m_owner;
820 int __m_kind;
821 struct _pthread_fastlock __m_lock;
822 } pthread_mutex_t;
823
824
825
826 typedef struct
827 {
828 int __mutexkind;
829 } pthread_mutexattr_t;
830
831
832
833 typedef int pthread_once_t;
834 # 152 "/usr/include/bits/pthreadtypes.h" 3 4
835 typedef unsigned long int pthread_t;
836 # 387 "/usr/include/signal.h" 2 3 4
837 # 1 "/usr/include/bits/sigthread.h" 1 3 4
838 # 31 "/usr/include/bits/sigthread.h" 3 4
839 extern int pthread_sigmask (int __how,
840 __const __sigset_t *__restrict __newmask,
841 __sigset_t *__restrict __oldmask)__attribute__ ((__nothrow__));
842
843
844 extern int pthread_kill (pthread_t __threadid, int __signo) __attribute__ ((__nothrow__));
845 # 388 "/usr/include/signal.h" 2 3 4
846
847
848
849
850
851
852 extern int __libc_current_sigrtmin (void) __attribute__ ((__nothrow__));
853
854 extern int __libc_current_sigrtmax (void) __attribute__ ((__nothrow__));
855
856
857
858
859 # 62 "netlib.c" 2
860
861
862
863 # 1 "/usr/include/sys/types.h" 1 3 4
864 # 29 "/usr/include/sys/types.h" 3 4
865
866
867
868
869
870
871 typedef __u_char u_char;
872 typedef __u_short u_short;
873 typedef __u_int u_int;
874 typedef __u_long u_long;
875 typedef __quad_t quad_t;
876 typedef __u_quad_t u_quad_t;
877 typedef __fsid_t fsid_t;
878
879
880
881
882 typedef __loff_t loff_t;
883
884
885
886 typedef __ino_t ino_t;
887 # 62 "/usr/include/sys/types.h" 3 4
888 typedef __dev_t dev_t;
889
890
891
892
893 typedef __gid_t gid_t;
894
895
896
897
898 typedef __mode_t mode_t;
899
900
901
902
903 typedef __nlink_t nlink_t;
904
905
906
907
908 typedef __uid_t uid_t;
909
910
911
912
913
914 typedef __off_t off_t;
915 # 100 "/usr/include/sys/types.h" 3 4
916 typedef __pid_t pid_t;
917
918
919
920
921 typedef __id_t id_t;
922
923
924
925
926 typedef __ssize_t ssize_t;
927
928
929
930
931
932 typedef __daddr_t daddr_t;
933 typedef __caddr_t caddr_t;
934
935
936
937
938
939 typedef __key_t key_t;
940 # 133 "/usr/include/sys/types.h" 3 4
941 # 1 "/usr/include/time.h" 1 3 4
942 # 74 "/usr/include/time.h" 3 4
943
944
945 typedef __time_t time_t;
946
947
948
949 # 92 "/usr/include/time.h" 3 4
950 typedef __clockid_t clockid_t;
951 # 104 "/usr/include/time.h" 3 4
952 typedef __timer_t timer_t;
953 # 134 "/usr/include/sys/types.h" 2 3 4
954 # 147 "/usr/include/sys/types.h" 3 4
955 # 1 "/home/roc/toolchain/svn/gcc4.1/uclinux/bin/../lib/gcc/bfin-uclinux/4.1.1/include/stddef.h" 1 3 4
956 # 148 "/usr/include/sys/types.h" 2 3 4
957
958
959
960 typedef unsigned long int ulong;
961 typedef unsigned short int ushort;
962 typedef unsigned int uint;
963 # 191 "/usr/include/sys/types.h" 3 4
964 typedef int int8_t __attribute__ ((__mode__ (__QI__)));
965 typedef int int16_t __attribute__ ((__mode__ (__HI__)));
966 typedef int int32_t __attribute__ ((__mode__ (__SI__)));
967 typedef int int64_t __attribute__ ((__mode__ (__DI__)));
968
969
970 typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__)));
971 typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__)));
972 typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__)));
973 typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__)));
974
975 typedef int register_t __attribute__ ((__mode__ (__word__)));
976 # 213 "/usr/include/sys/types.h" 3 4
977 # 1 "/usr/include/endian.h" 1 3 4
978 # 37 "/usr/include/endian.h" 3 4
979 # 1 "/usr/include/bits/endian.h" 1 3 4
980 # 38 "/usr/include/endian.h" 2 3 4
981 # 214 "/usr/include/sys/types.h" 2 3 4
982
983
984 # 1 "/usr/include/sys/select.h" 1 3 4
985 # 31 "/usr/include/sys/select.h" 3 4
986 # 1 "/usr/include/bits/select.h" 1 3 4
987 # 32 "/usr/include/sys/select.h" 2 3 4
988
989
990 # 1 "/usr/include/bits/sigset.h" 1 3 4
991 # 35 "/usr/include/sys/select.h" 2 3 4
992 # 44 "/usr/include/sys/select.h" 3 4
993 # 1 "/usr/include/time.h" 1 3 4
994 # 45 "/usr/include/sys/select.h" 2 3 4
995
996 # 1 "/usr/include/bits/time.h" 1 3 4
997 # 69 "/usr/include/bits/time.h" 3 4
998 struct timeval
999 {
1000 __time_t tv_sec;
1001 __suseconds_t tv_usec;
1002 };
1003 # 47 "/usr/include/sys/select.h" 2 3 4
1004
1005
1006 typedef __suseconds_t suseconds_t;
1007
1008
1009
1010
1011
1012 typedef long int __fd_mask;
1013 # 67 "/usr/include/sys/select.h" 3 4
1014 typedef struct
1015 {
1016
1017
1018
1019
1020
1021
1022 __fd_mask __fds_bits[1024 / (8 * sizeof (__fd_mask))];
1023
1024
1025 } fd_set;
1026
1027
1028
1029
1030
1031
1032 typedef __fd_mask fd_mask;
1033 # 99 "/usr/include/sys/select.h" 3 4
1034
1035 # 109 "/usr/include/sys/select.h" 3 4
1036 extern int select (int __nfds, fd_set *__restrict __readfds,
1037 fd_set *__restrict __writefds,
1038 fd_set *__restrict __exceptfds,
1039 struct timeval *__restrict __timeout);
1040 # 128 "/usr/include/sys/select.h" 3 4
1041
1042 # 217 "/usr/include/sys/types.h" 2 3 4
1043
1044
1045 # 1 "/usr/include/sys/sysmacros.h" 1 3 4
1046 # 29 "/usr/include/sys/sysmacros.h" 3 4
1047 __extension__
1048 extern __inline unsigned int gnu_dev_major (unsigned long long int __dev)
1049 __attribute__ ((__nothrow__));
1050 __extension__
1051 extern __inline unsigned int gnu_dev_minor (unsigned long long int __dev)
1052 __attribute__ ((__nothrow__));
1053 __extension__
1054 extern __inline unsigned long long int gnu_dev_makedev (unsigned int __major,
1055 unsigned int __minor)
1056 __attribute__ ((__nothrow__));
1057
1058
1059 __extension__ extern __inline unsigned int
1060 __attribute__ ((__nothrow__)) gnu_dev_major (unsigned long long int __dev)
1061 {
1062 return ((__dev >> 8) & 0xfff) | ((unsigned int) (__dev >> 32) & ~0xfff);
1063 }
1064
1065 __extension__ extern __inline unsigned int
1066 __attribute__ ((__nothrow__)) gnu_dev_minor (unsigned long long int __dev)
1067 {
1068 return (__dev & 0xff) | ((unsigned int) (__dev >> 12) & ~0xff);
1069 }
1070
1071 __extension__ extern __inline unsigned long long int
1072 __attribute__ ((__nothrow__)) gnu_dev_makedev (unsigned int __major, unsigned int __minor)
1073 {
1074 return ((__minor & 0xff) | ((__major & 0xfff) << 8)
1075 | (((unsigned long long int) (__minor & ~0xff)) << 12)
1076 | (((unsigned long long int) (__major & ~0xfff)) << 32));
1077 }
1078 # 220 "/usr/include/sys/types.h" 2 3 4
1079 # 231 "/usr/include/sys/types.h" 3 4
1080 typedef __blkcnt_t blkcnt_t;
1081
1082
1083
1084 typedef __fsblkcnt_t fsblkcnt_t;
1085
1086
1087
1088 typedef __fsfilcnt_t fsfilcnt_t;
1089 # 266 "/usr/include/sys/types.h" 3 4
1090 # 1 "/usr/include/bits/pthreadtypes.h" 1 3 4
1091 # 267 "/usr/include/sys/types.h" 2 3 4
1092
1093
1094
1095 # 66 "netlib.c" 2
1096 # 1 "/usr/include/fcntl.h" 1 3 4
1097 # 29 "/usr/include/fcntl.h" 3 4
1098
1099
1100
1101
1102 # 1 "/usr/include/bits/fcntl.h" 1 3 4
1103 # 138 "/usr/include/bits/fcntl.h" 3 4
1104 struct flock
1105 {
1106 short int l_type;
1107 short int l_whence;
1108
1109 __off_t l_start;
1110 __off_t l_len;
1111
1112
1113
1114
1115 __pid_t l_pid;
1116 };
1117 # 183 "/usr/include/bits/fcntl.h" 3 4
1118
1119
1120
1121 extern ssize_t readahead (int __fd, __off64_t __offset, size_t __count)
1122 __attribute__ ((__nothrow__));
1123
1124
1125 # 34 "/usr/include/fcntl.h" 2 3 4
1126 # 63 "/usr/include/fcntl.h" 3 4
1127 extern int fcntl (int __fd, int __cmd, ...);
1128 # 72 "/usr/include/fcntl.h" 3 4
1129 extern int open (__const char *__file, int __oflag, ...) __attribute__ ((__nonnull__ (1)));
1130 # 91 "/usr/include/fcntl.h" 3 4
1131 extern int creat (__const char *__file, __mode_t __mode) __attribute__ ((__nonnull__ (1)));
1132 # 120 "/usr/include/fcntl.h" 3 4
1133 extern int lockf (int __fd, int __cmd, __off_t __len);
1134 # 174 "/usr/include/fcntl.h" 3 4
1135
1136 # 67 "netlib.c" 2
1137 # 1 "/usr/include/stdio.h" 1 3 4
1138 # 30 "/usr/include/stdio.h" 3 4
1139
1140
1141
1142
1143 # 1 "/home/roc/toolchain/svn/gcc4.1/uclinux/bin/../lib/gcc/bfin-uclinux/4.1.1/include/stddef.h" 1 3 4
1144 # 35 "/usr/include/stdio.h" 2 3 4
1145 # 44 "/usr/include/stdio.h" 3 4
1146
1147
1148 typedef struct _IO_FILE FILE;
1149
1150
1151
1152
1153
1154 # 62 "/usr/include/stdio.h" 3 4
1155 typedef struct _IO_FILE __FILE;
1156 # 72 "/usr/include/stdio.h" 3 4
1157 # 1 "/usr/include/libio.h" 1 3 4
1158 # 32 "/usr/include/libio.h" 3 4
1159 # 1 "/usr/include/_G_config.h" 1 3 4
1160 # 14 "/usr/include/_G_config.h" 3 4
1161 # 1 "/home/roc/toolchain/svn/gcc4.1/uclinux/bin/../lib/gcc/bfin-uclinux/4.1.1/include/stddef.h" 1 3 4
1162 # 326 "/home/roc/toolchain/svn/gcc4.1/uclinux/bin/../lib/gcc/bfin-uclinux/4.1.1/include/stddef.h" 3 4
1163 typedef int wchar_t;
1164 # 355 "/home/roc/toolchain/svn/gcc4.1/uclinux/bin/../lib/gcc/bfin-uclinux/4.1.1/include/stddef.h" 3 4
1165 typedef unsigned int wint_t;
1166 # 15 "/usr/include/_G_config.h" 2 3 4
1167 # 24 "/usr/include/_G_config.h" 3 4
1168 # 1 "/usr/include/wchar.h" 1 3 4
1169 # 48 "/usr/include/wchar.h" 3 4
1170 # 1 "/home/roc/toolchain/svn/gcc4.1/uclinux/bin/../lib/gcc/bfin-uclinux/4.1.1/include/stddef.h" 1 3 4
1171 # 49 "/usr/include/wchar.h" 2 3 4
1172
1173 # 1 "/usr/include/bits/wchar.h" 1 3 4
1174 # 51 "/usr/include/wchar.h" 2 3 4
1175 # 76 "/usr/include/wchar.h" 3 4
1176 typedef struct
1177 {
1178 int __count;
1179 union
1180 {
1181 wint_t __wch;
1182 char __wchb[4];
1183 } __value;
1184 } __mbstate_t;
1185 # 25 "/usr/include/_G_config.h" 2 3 4
1186
1187 typedef struct
1188 {
1189 __off_t __pos;
1190 __mbstate_t __state;
1191 } _G_fpos_t;
1192 typedef struct
1193 {
1194 __off64_t __pos;
1195 __mbstate_t __state;
1196 } _G_fpos64_t;
1197 # 44 "/usr/include/_G_config.h" 3 4
1198 # 1 "/usr/include/gconv.h" 1 3 4
1199 # 28 "/usr/include/gconv.h" 3 4
1200 # 1 "/usr/include/wchar.h" 1 3 4
1201 # 48 "/usr/include/wchar.h" 3 4
1202 # 1 "/home/roc/toolchain/svn/gcc4.1/uclinux/bin/../lib/gcc/bfin-uclinux/4.1.1/include/stddef.h" 1 3 4
1203 # 49 "/usr/include/wchar.h" 2 3 4
1204 # 29 "/usr/include/gconv.h" 2 3 4
1205
1206
1207 # 1 "/home/roc/toolchain/svn/gcc4.1/uclinux/bin/../lib/gcc/bfin-uclinux/4.1.1/include/stddef.h" 1 3 4
1208 # 32 "/usr/include/gconv.h" 2 3 4
1209
1210
1211
1212
1213
1214 enum
1215 {
1216 __GCONV_OK = 0,
1217 __GCONV_NOCONV,
1218 __GCONV_NODB,
1219 __GCONV_NOMEM,
1220
1221 __GCONV_EMPTY_INPUT,
1222 __GCONV_FULL_OUTPUT,
1223 __GCONV_ILLEGAL_INPUT,
1224 __GCONV_INCOMPLETE_INPUT,
1225
1226 __GCONV_ILLEGAL_DESCRIPTOR,
1227 __GCONV_INTERNAL_ERROR
1228 };
1229
1230
1231
1232 enum
1233 {
1234 __GCONV_IS_LAST = 0x0001,
1235 __GCONV_IGNORE_ERRORS = 0x0002
1236 };
1237
1238
1239
1240 struct __gconv_step;
1241 struct __gconv_step_data;
1242 struct __gconv_loaded_object;
1243 struct __gconv_trans_data;
1244
1245
1246
1247 typedef int (*__gconv_fct) (struct __gconv_step *, struct __gconv_step_data *,
1248 __const unsigned char **, __const unsigned char *,
1249 unsigned char **, size_t *, int, int);
1250
1251
1252 typedef wint_t (*__gconv_btowc_fct) (struct __gconv_step *, unsigned char);
1253
1254
1255 typedef int (*__gconv_init_fct) (struct __gconv_step *);
1256 typedef void (*__gconv_end_fct) (struct __gconv_step *);
1257
1258
1259
1260 typedef int (*__gconv_trans_fct) (struct __gconv_step *,
1261 struct __gconv_step_data *, void *,
1262 __const unsigned char *,
1263 __const unsigned char **,
1264 __const unsigned char *, unsigned char **,
1265 size_t *);
1266
1267
1268 typedef int (*__gconv_trans_context_fct) (void *, __const unsigned char *,
1269 __const unsigned char *,
1270 unsigned char *, unsigned char *);
1271
1272
1273 typedef int (*__gconv_trans_query_fct) (__const char *, __const char ***,
1274 size_t *);
1275
1276
1277 typedef int (*__gconv_trans_init_fct) (void **, const char *);
1278 typedef void (*__gconv_trans_end_fct) (void *);
1279
1280 struct __gconv_trans_data
1281 {
1282
1283 __gconv_trans_fct __trans_fct;
1284 __gconv_trans_context_fct __trans_context_fct;
1285 __gconv_trans_end_fct __trans_end_fct;
1286 void *__data;
1287 struct __gconv_trans_data *__next;
1288 };
1289
1290
1291
1292 struct __gconv_step
1293 {
1294 struct __gconv_loaded_object *__shlib_handle;
1295 __const char *__modname;
1296
1297 int __counter;
1298
1299 char *__from_name;
1300 char *__to_name;
1301
1302 __gconv_fct __fct;
1303 __gconv_btowc_fct __btowc_fct;
1304 __gconv_init_fct __init_fct;
1305 __gconv_end_fct __end_fct;
1306
1307
1308
1309 int __min_needed_from;
1310 int __max_needed_from;
1311 int __min_needed_to;
1312 int __max_needed_to;
1313
1314
1315 int __stateful;
1316
1317 void *__data;
1318 };
1319
1320
1321
1322 struct __gconv_step_data
1323 {
1324 unsigned char *__outbuf;
1325 unsigned char *__outbufend;
1326
1327
1328
1329 int __flags;
1330
1331
1332
1333 int __invocation_counter;
1334
1335
1336
1337 int __internal_use;
1338
1339 __mbstate_t *__statep;
1340 __mbstate_t __state;
1341
1342
1343
1344 struct __gconv_trans_data *__trans;
1345 };
1346
1347
1348
1349 typedef struct __gconv_info
1350 {
1351 size_t __nsteps;
1352 struct __gconv_step *__steps;
1353 __extension__ struct __gconv_step_data __data [];
1354 } *__gconv_t;
1355 # 45 "/usr/include/_G_config.h" 2 3 4
1356 typedef union
1357 {
1358 struct __gconv_info __cd;
1359 struct
1360 {
1361 struct __gconv_info __cd;
1362 struct __gconv_step_data __data;
1363 } __combined;
1364 } _G_iconv_t;
1365
1366 typedef int _G_int16_t __attribute__ ((__mode__ (__HI__)));
1367 typedef int _G_int32_t __attribute__ ((__mode__ (__SI__)));
1368 typedef unsigned int _G_uint16_t __attribute__ ((__mode__ (__HI__)));
1369 typedef unsigned int _G_uint32_t __attribute__ ((__mode__ (__SI__)));
1370 # 33 "/usr/include/libio.h" 2 3 4
1371 # 53 "/usr/include/libio.h" 3 4
1372 # 1 "/home/roc/toolchain/svn/gcc4.1/uclinux/bin/../lib/gcc/bfin-uclinux/4.1.1/include/stdarg.h" 1 3 4
1373 # 43 "/home/roc/toolchain/svn/gcc4.1/uclinux/bin/../lib/gcc/bfin-uclinux/4.1.1/include/stdarg.h" 3 4
1374 typedef __builtin_va_list __gnuc_va_list;
1375 # 54 "/usr/include/libio.h" 2 3 4
1376 # 166 "/usr/include/libio.h" 3 4
1377 struct _IO_jump_t; struct _IO_FILE;
1378 # 176 "/usr/include/libio.h" 3 4
1379 typedef void _IO_lock_t;
1380
1381
1382
1383
1384
1385 struct _IO_marker {
1386 struct _IO_marker *_next;
1387 struct _IO_FILE *_sbuf;
1388
1389
1390
1391 int _pos;
1392 # 199 "/usr/include/libio.h" 3 4
1393 };
1394
1395
1396 enum __codecvt_result
1397 {
1398 __codecvt_ok,
1399 __codecvt_partial,
1400 __codecvt_error,
1401 __codecvt_noconv
1402 };
1403 # 267 "/usr/include/libio.h" 3 4
1404 struct _IO_FILE {
1405 int _flags;
1406
1407
1408
1409
1410 char* _IO_read_ptr;
1411 char* _IO_read_end;
1412 char* _IO_read_base;
1413 char* _IO_write_base;
1414 char* _IO_write_ptr;
1415 char* _IO_write_end;
1416 char* _IO_buf_base;
1417 char* _IO_buf_end;
1418
1419 char *_IO_save_base;
1420 char *_IO_backup_base;
1421 char *_IO_save_end;
1422
1423 struct _IO_marker *_markers;
1424
1425 struct _IO_FILE *_chain;
1426
1427 int _fileno;
1428
1429
1430
1431 int _flags2;
1432
1433 __off_t _old_offset;
1434
1435
1436
1437 unsigned short _cur_column;
1438 signed char _vtable_offset;
1439 char _shortbuf[1];
1440
1441
1442
1443 _IO_lock_t *_lock;
1444 # 315 "/usr/include/libio.h" 3 4
1445 __off64_t _offset;
1446
1447
1448
1449
1450
1451 void *__pad1;
1452 void *__pad2;
1453
1454 int _mode;
1455
1456 char _unused2[15 * sizeof (int) - 2 * sizeof (void *)];
1457
1458 };
1459
1460
1461 typedef struct _IO_FILE _IO_FILE;
1462
1463
1464 struct _IO_FILE_plus;
1465
1466 extern struct _IO_FILE_plus _IO_2_1_stdin_;
1467 extern struct _IO_FILE_plus _IO_2_1_stdout_;
1468 extern struct _IO_FILE_plus _IO_2_1_stderr_;
1469 # 354 "/usr/include/libio.h" 3 4
1470 typedef __ssize_t __io_read_fn (void *__cookie, char *__buf, size_t __nbytes);
1471
1472
1473
1474
1475
1476
1477
1478 typedef __ssize_t __io_write_fn (void *__cookie, __const char *__buf,
1479 size_t __n);
1480
1481
1482
1483
1484
1485
1486
1487 typedef int __io_seek_fn (void *__cookie, __off64_t *__pos, int __w);
1488
1489
1490 typedef int __io_close_fn (void *__cookie);
1491 # 406 "/usr/include/libio.h" 3 4
1492 extern int __underflow (_IO_FILE *) __attribute__ ((__nothrow__));
1493 extern int __uflow (_IO_FILE *) __attribute__ ((__nothrow__));
1494 extern int __overflow (_IO_FILE *, int) __attribute__ ((__nothrow__));
1495 extern wint_t __wunderflow (_IO_FILE *) __attribute__ ((__nothrow__));
1496 extern wint_t __wuflow (_IO_FILE *) __attribute__ ((__nothrow__));
1497 extern wint_t __woverflow (_IO_FILE *, wint_t) __attribute__ ((__nothrow__));
1498 # 444 "/usr/include/libio.h" 3 4
1499 extern int _IO_getc (_IO_FILE *__fp) __attribute__ ((__nothrow__));
1500 extern int _IO_putc (int __c, _IO_FILE *__fp) __attribute__ ((__nothrow__));
1501 extern int _IO_feof (_IO_FILE *__fp) __attribute__ ((__nothrow__));
1502 extern int _IO_ferror (_IO_FILE *__fp) __attribute__ ((__nothrow__));
1503
1504 extern int _IO_peekc_locked (_IO_FILE *__fp) __attribute__ ((__nothrow__));
1505
1506
1507
1508
1509
1510 extern void _IO_flockfile (_IO_FILE *) __attribute__ ((__nothrow__));
1511 extern void _IO_funlockfile (_IO_FILE *) __attribute__ ((__nothrow__));
1512 extern int _IO_ftrylockfile (_IO_FILE *) __attribute__ ((__nothrow__));
1513 # 474 "/usr/include/libio.h" 3 4
1514 extern int _IO_vfscanf (_IO_FILE * __restrict, const char * __restrict,
1515 __gnuc_va_list, int *__restrict) __attribute__ ((__nothrow__));
1516 extern int _IO_vfprintf (_IO_FILE *__restrict, const char *__restrict,
1517 __gnuc_va_list) __attribute__ ((__nothrow__));
1518 extern __ssize_t _IO_padn (_IO_FILE *, int, __ssize_t) __attribute__ ((__nothrow__));
1519 extern size_t _IO_sgetn (_IO_FILE *, void *, size_t) __attribute__ ((__nothrow__));
1520
1521 extern __off64_t _IO_seekoff (_IO_FILE *, __off64_t, int, int) __attribute__ ((__nothrow__));
1522 extern __off64_t _IO_seekpos (_IO_FILE *, __off64_t, int) __attribute__ ((__nothrow__));
1523
1524 extern void _IO_free_backup_area (_IO_FILE *) __attribute__ ((__nothrow__));
1525 # 73 "/usr/include/stdio.h" 2 3 4
1526 # 86 "/usr/include/stdio.h" 3 4
1527
1528
1529 typedef _G_fpos_t fpos_t;
1530
1531
1532
1533
1534 # 138 "/usr/include/stdio.h" 3 4
1535 # 1 "/usr/include/bits/stdio_lim.h" 1 3 4
1536 # 139 "/usr/include/stdio.h" 2 3 4
1537
1538
1539
1540 extern struct _IO_FILE *stdin;
1541 extern struct _IO_FILE *stdout;
1542 extern struct _IO_FILE *stderr;
1543
1544
1545
1546
1547
1548
1549
1550 extern int remove (__const char *__filename) __attribute__ ((__nothrow__));
1551
1552 extern int rename (__const char *__old, __const char *__new) __attribute__ ((__nothrow__));
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562 extern FILE *tmpfile (void);
1563 # 178 "/usr/include/stdio.h" 3 4
1564 extern char *tmpnam (char *__s) __attribute__ ((__nothrow__));
1565
1566
1567
1568
1569
1570 extern char *tmpnam_r (char *__s) __attribute__ ((__nothrow__));
1571 # 196 "/usr/include/stdio.h" 3 4
1572 extern char *tempnam (__const char *__dir, __const char *__pfx)
1573 __attribute__ ((__nothrow__)) __attribute__ ((__malloc__));
1574
1575
1576
1577
1578
1579
1580
1581
1582 extern int fclose (FILE *__stream);
1583
1584
1585
1586
1587 extern int fflush (FILE *__stream);
1588
1589 # 221 "/usr/include/stdio.h" 3 4
1590 extern int fflush_unlocked (FILE *__stream);
1591 # 235 "/usr/include/stdio.h" 3 4
1592
1593
1594
1595
1596
1597
1598 extern FILE *fopen (__const char *__restrict __filename,
1599 __const char *__restrict __modes);
1600
1601
1602
1603
1604 extern FILE *freopen (__const char *__restrict __filename,
1605 __const char *__restrict __modes,
1606 FILE *__restrict __stream);
1607 # 262 "/usr/include/stdio.h" 3 4
1608
1609 # 273 "/usr/include/stdio.h" 3 4
1610 extern FILE *fdopen (int __fd, __const char *__modes) __attribute__ ((__nothrow__));
1611 # 294 "/usr/include/stdio.h" 3 4
1612
1613
1614
1615 extern void setbuf (FILE *__restrict __stream, char *__restrict __buf) __attribute__ ((__nothrow__));
1616
1617
1618
1619 extern int setvbuf (FILE *__restrict __stream, char *__restrict __buf,
1620 int __modes, size_t __n) __attribute__ ((__nothrow__));
1621
1622
1623
1624
1625
1626 extern void setbuffer (FILE *__restrict __stream, char *__restrict __buf,
1627 size_t __size) __attribute__ ((__nothrow__));
1628
1629
1630 extern void setlinebuf (FILE *__stream) __attribute__ ((__nothrow__));
1631
1632
1633
1634
1635
1636
1637
1638
1639 extern int fprintf (FILE *__restrict __stream,
1640 __const char *__restrict __format, ...);
1641
1642
1643
1644
1645 extern int printf (__const char *__restrict __format, ...);
1646
1647 extern int sprintf (char *__restrict __s,
1648 __const char *__restrict __format, ...) __attribute__ ((__nothrow__));
1649
1650
1651
1652
1653
1654 extern int vfprintf (FILE *__restrict __s, __const char *__restrict __format,
1655 __gnuc_va_list __arg);
1656
1657
1658
1659
1660 extern int vprintf (__const char *__restrict __format, __gnuc_va_list __arg);
1661
1662 extern int vsprintf (char *__restrict __s, __const char *__restrict __format,
1663 __gnuc_va_list __arg) __attribute__ ((__nothrow__));
1664
1665
1666
1667
1668
1669 extern int snprintf (char *__restrict __s, size_t __maxlen,
1670 __const char *__restrict __format, ...)
1671 __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 4)));
1672
1673 extern int vsnprintf (char *__restrict __s, size_t __maxlen,
1674 __const char *__restrict __format, __gnuc_va_list __arg)
1675 __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 0)));
1676
1677 # 388 "/usr/include/stdio.h" 3 4
1678
1679
1680
1681
1682
1683 extern int fscanf (FILE *__restrict __stream,
1684 __const char *__restrict __format, ...);
1685
1686
1687
1688
1689 extern int scanf (__const char *__restrict __format, ...);
1690
1691 extern int sscanf (__const char *__restrict __s,
1692 __const char *__restrict __format, ...) __attribute__ ((__nothrow__));
1693
1694 # 430 "/usr/include/stdio.h" 3 4
1695
1696
1697
1698
1699
1700 extern int fgetc (FILE *__stream);
1701 extern int getc (FILE *__stream);
1702
1703
1704
1705
1706
1707 extern int getchar (void);
1708
1709 # 454 "/usr/include/stdio.h" 3 4
1710 extern int getc_unlocked (FILE *__stream);
1711 extern int getchar_unlocked (void);
1712 # 465 "/usr/include/stdio.h" 3 4
1713 extern int fgetc_unlocked (FILE *__stream);
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725 extern int fputc (int __c, FILE *__stream);
1726 extern int putc (int __c, FILE *__stream);
1727
1728
1729
1730
1731
1732 extern int putchar (int __c);
1733
1734 # 498 "/usr/include/stdio.h" 3 4
1735 extern int fputc_unlocked (int __c, FILE *__stream);
1736
1737
1738
1739
1740
1741
1742
1743 extern int putc_unlocked (int __c, FILE *__stream);
1744 extern int putchar_unlocked (int __c);
1745
1746
1747
1748
1749
1750
1751 extern int getw (FILE *__stream);
1752
1753
1754 extern int putw (int __w, FILE *__stream);
1755
1756
1757
1758
1759
1760
1761
1762
1763 extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream);
1764
1765
1766
1767
1768
1769
1770 extern char *gets (char *__s);
1771
1772 # 578 "/usr/include/stdio.h" 3 4
1773
1774
1775
1776
1777
1778 extern int fputs (__const char *__restrict __s, FILE *__restrict __stream);
1779
1780
1781
1782
1783
1784 extern int puts (__const char *__s);
1785
1786
1787
1788
1789
1790
1791 extern int ungetc (int __c, FILE *__stream);
1792
1793
1794
1795
1796
1797
1798 extern size_t fread (void *__restrict __ptr, size_t __size,
1799 size_t __n, FILE *__restrict __stream);
1800
1801
1802
1803
1804 extern size_t fwrite (__const void *__restrict __ptr, size_t __size,
1805 size_t __n, FILE *__restrict __s);
1806
1807 # 631 "/usr/include/stdio.h" 3 4
1808 extern size_t fread_unlocked (void *__restrict __ptr, size_t __size,
1809 size_t __n, FILE *__restrict __stream);
1810 extern size_t fwrite_unlocked (__const void *__restrict __ptr, size_t __size,
1811 size_t __n, FILE *__restrict __stream);
1812
1813
1814
1815
1816
1817
1818
1819
1820 extern int fseek (FILE *__stream, long int __off, int __whence);
1821
1822
1823
1824
1825 extern long int ftell (FILE *__stream);
1826
1827
1828
1829
1830 extern void rewind (FILE *__stream);
1831
1832 # 686 "/usr/include/stdio.h" 3 4
1833
1834
1835
1836
1837
1838
1839 extern int fgetpos (FILE *__restrict __stream, fpos_t *__restrict __pos);
1840
1841
1842
1843
1844 extern int fsetpos (FILE *__stream, __const fpos_t *__pos);
1845 # 709 "/usr/include/stdio.h" 3 4
1846
1847 # 718 "/usr/include/stdio.h" 3 4
1848
1849
1850 extern void clearerr (FILE *__stream) __attribute__ ((__nothrow__));
1851
1852 extern int feof (FILE *__stream) __attribute__ ((__nothrow__));
1853
1854 extern int ferror (FILE *__stream) __attribute__ ((__nothrow__));
1855
1856
1857
1858
1859 extern void clearerr_unlocked (FILE *__stream) __attribute__ ((__nothrow__));
1860 extern int feof_unlocked (FILE *__stream) __attribute__ ((__nothrow__));
1861 extern int ferror_unlocked (FILE *__stream) __attribute__ ((__nothrow__));
1862
1863
1864
1865
1866
1867
1868
1869
1870 extern void perror (__const char *__s);
1871
1872
1873
1874
1875
1876
1877 # 1 "/usr/include/bits/sys_errlist.h" 1 3 4
1878 # 27 "/usr/include/bits/sys_errlist.h" 3 4
1879 extern int sys_nerr;
1880 extern __const char *__const sys_errlist[];
1881 # 748 "/usr/include/stdio.h" 2 3 4
1882
1883
1884
1885
1886 extern int fileno (FILE *__stream) __attribute__ ((__nothrow__));
1887
1888
1889
1890
1891 extern int fileno_unlocked (FILE *__stream) __attribute__ ((__nothrow__));
1892 # 767 "/usr/include/stdio.h" 3 4
1893 extern FILE *popen (__const char *__command, __const char *__modes);
1894
1895
1896
1897
1898
1899 extern int pclose (FILE *__stream);
1900
1901
1902
1903
1904
1905 extern char *ctermid (char *__s) __attribute__ ((__nothrow__));
1906 # 807 "/usr/include/stdio.h" 3 4
1907 extern void flockfile (FILE *__stream) __attribute__ ((__nothrow__));
1908
1909
1910
1911 extern int ftrylockfile (FILE *__stream) __attribute__ ((__nothrow__));
1912
1913
1914 extern void funlockfile (FILE *__stream) __attribute__ ((__nothrow__));
1915 # 828 "/usr/include/stdio.h" 3 4
1916 # 1 "/usr/include/bits/stdio.h" 1 3 4
1917 # 33 "/usr/include/bits/stdio.h" 3 4
1918 extern __inline int
1919 vprintf (__const char *__restrict __fmt, __gnuc_va_list __arg)
1920 {
1921 return vfprintf (stdout, __fmt, __arg);
1922 }
1923
1924
1925 extern __inline int
1926 getchar (void)
1927 {
1928 return _IO_getc (stdin);
1929 }
1930
1931
1932
1933
1934 extern __inline int
1935 getc_unlocked (FILE *__fp)
1936 {
1937 return (__builtin_expect ((__fp)->_IO_read_ptr >= (__fp)->_IO_read_end, 0) ? __uflow (__fp) : *(unsigned char *) (__fp)->_IO_read_ptr++);
1938 }
1939
1940
1941 extern __inline int
1942 getchar_unlocked (void)
1943 {
1944 return (__builtin_expect ((stdin)->_IO_read_ptr >= (stdin)->_IO_read_end, 0) ? __uflow (stdin) : *(unsigned char *) (stdin)->_IO_read_ptr++);
1945 }
1946
1947
1948
1949
1950 extern __inline int
1951 putchar (int __c)
1952 {
1953 return _IO_putc (__c, stdout);
1954 }
1955
1956
1957
1958
1959 extern __inline int
1960 fputc_unlocked (int __c, FILE *__stream)
1961 {
1962 return (__builtin_expect ((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end, 0) ? __overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (__c)));
1963 }
1964
1965
1966
1967
1968
1969 extern __inline int
1970 putc_unlocked (int __c, FILE *__stream)
1971 {
1972 return (__builtin_expect ((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end, 0) ? __overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (__c)));
1973 }
1974
1975
1976 extern __inline int
1977 putchar_unlocked (int __c)
1978 {
1979 return (__builtin_expect ((stdout)->_IO_write_ptr >= (stdout)->_IO_write_end, 0) ? __overflow (stdout, (unsigned char) (__c)) : (unsigned char) (*(stdout)->_IO_write_ptr++ = (__c)));
1980 }
1981 # 111 "/usr/include/bits/stdio.h" 3 4
1982 extern __inline int
1983 __attribute__ ((__nothrow__)) feof_unlocked (FILE *__stream)
1984 {
1985 return (((__stream)->_flags & 0x10) != 0);
1986 }
1987
1988
1989 extern __inline int
1990 __attribute__ ((__nothrow__)) ferror_unlocked (FILE *__stream)
1991 {
1992 return (((__stream)->_flags & 0x20) != 0);
1993 }
1994 # 829 "/usr/include/stdio.h" 2 3 4
1995
1996
1997
1998
1999
2000
2001 # 68 "netlib.c" 2
2002 # 1 "/usr/include/stdlib.h" 1 3 4
2003 # 33 "/usr/include/stdlib.h" 3 4
2004 # 1 "/home/roc/toolchain/svn/gcc4.1/uclinux/bin/../lib/gcc/bfin-uclinux/4.1.1/include/stddef.h" 1 3 4
2005 # 34 "/usr/include/stdlib.h" 2 3 4
2006
2007
2008 # 96 "/usr/include/stdlib.h" 3 4
2009
2010
2011 typedef struct
2012 {
2013 int quot;
2014 int rem;
2015 } div_t;
2016
2017
2018
2019 typedef struct
2020 {
2021 long int quot;
2022 long int rem;
2023 } ldiv_t;
2024
2025
2026
2027 # 140 "/usr/include/stdlib.h" 3 4
2028 extern size_t __ctype_get_mb_cur_max (void) __attribute__ ((__nothrow__));
2029
2030
2031
2032
2033 extern double atof (__const char *__nptr)
2034 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
2035
2036 extern int atoi (__const char *__nptr)
2037 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
2038
2039 extern long int atol (__const char *__nptr)
2040 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
2041
2042
2043
2044
2045
2046 __extension__ extern long long int atoll (__const char *__nptr)
2047 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
2048
2049
2050
2051
2052
2053 extern double strtod (__const char *__restrict __nptr,
2054 char **__restrict __endptr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2055
2056 # 181 "/usr/include/stdlib.h" 3 4
2057
2058
2059 extern long int strtol (__const char *__restrict __nptr,
2060 char **__restrict __endptr, int __base)
2061 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2062
2063 extern unsigned long int strtoul (__const char *__restrict __nptr,
2064 char **__restrict __endptr, int __base)
2065 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2066
2067
2068
2069
2070 __extension__
2071 extern long long int strtoq (__const char *__restrict __nptr,
2072 char **__restrict __endptr, int __base)
2073 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2074
2075 __extension__
2076 extern unsigned long long int strtouq (__const char *__restrict __nptr,
2077 char **__restrict __endptr, int __base)
2078 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2079
2080
2081
2082
2083
2084 __extension__
2085 extern long long int strtoll (__const char *__restrict __nptr,
2086 char **__restrict __endptr, int __base)
2087 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2088
2089 __extension__
2090 extern unsigned long long int strtoull (__const char *__restrict __nptr,
2091 char **__restrict __endptr, int __base)
2092 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2093
2094 # 277 "/usr/include/stdlib.h" 3 4
2095 extern double __strtod_internal (__const char *__restrict __nptr,
2096 char **__restrict __endptr, int __group)
2097 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2098 extern float __strtof_internal (__const char *__restrict __nptr,
2099 char **__restrict __endptr, int __group)
2100 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2101 extern long double __strtold_internal (__const char *__restrict __nptr,
2102 char **__restrict __endptr,
2103 int __group) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2104
2105 extern long int __strtol_internal (__const char *__restrict __nptr,
2106 char **__restrict __endptr,
2107 int __base, int __group)
2108 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2109
2110
2111
2112 extern unsigned long int __strtoul_internal (__const char *__restrict __nptr,
2113 char **__restrict __endptr,
2114 int __base, int __group)
2115 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2116
2117
2118
2119
2120 __extension__
2121 extern long long int __strtoll_internal (__const char *__restrict __nptr,
2122 char **__restrict __endptr,
2123 int __base, int __group)
2124 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2125
2126
2127
2128 __extension__
2129 extern unsigned long long int __strtoull_internal (__const char *
2130 __restrict __nptr,
2131 char **__restrict __endptr,
2132 int __base, int __group)
2133 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2134
2135
2136
2137
2138
2139
2140
2141
2142 extern __inline double
2143 __attribute__ ((__nothrow__)) strtod (__const char *__restrict __nptr, char **__restrict __endptr)
2144 {
2145 return __strtod_internal (__nptr, __endptr, 0);
2146 }
2147 extern __inline long int
2148 __attribute__ ((__nothrow__)) strtol (__const char *__restrict __nptr, char **__restrict __endptr, int __base)
2149
2150 {
2151 return __strtol_internal (__nptr, __endptr, __base, 0);
2152 }
2153 extern __inline unsigned long int
2154 __attribute__ ((__nothrow__)) strtoul (__const char *__restrict __nptr, char **__restrict __endptr, int __base)
2155
2156 {
2157 return __strtoul_internal (__nptr, __endptr, __base, 0);
2158 }
2159
2160 # 359 "/usr/include/stdlib.h" 3 4
2161 __extension__ extern __inline long long int
2162 __attribute__ ((__nothrow__)) strtoq (__const char *__restrict __nptr, char **__restrict __endptr, int __base)
2163
2164 {
2165 return __strtoll_internal (__nptr, __endptr, __base, 0);
2166 }
2167 __extension__ extern __inline unsigned long long int
2168 __attribute__ ((__nothrow__)) strtouq (__const char *__restrict __nptr, char **__restrict __endptr, int __base)
2169
2170 {
2171 return __strtoull_internal (__nptr, __endptr, __base, 0);
2172 }
2173
2174
2175
2176
2177 __extension__ extern __inline long long int
2178 __attribute__ ((__nothrow__)) strtoll (__const char *__restrict __nptr, char **__restrict __endptr, int __base)
2179
2180 {
2181 return __strtoll_internal (__nptr, __endptr, __base, 0);
2182 }
2183 __extension__ extern __inline unsigned long long int
2184 __attribute__ ((__nothrow__)) strtoull (__const char * __restrict __nptr, char **__restrict __endptr, int __base)
2185
2186 {
2187 return __strtoull_internal (__nptr, __endptr, __base, 0);
2188 }
2189
2190
2191
2192
2193 extern __inline double
2194 __attribute__ ((__nothrow__)) atof (__const char *__nptr)
2195 {
2196 return strtod (__nptr, (char **) ((void *)0));
2197 }
2198 extern __inline int
2199 __attribute__ ((__nothrow__)) atoi (__const char *__nptr)
2200 {
2201 return (int) strtol (__nptr, (char **) ((void *)0), 10);
2202 }
2203 extern __inline long int
2204 __attribute__ ((__nothrow__)) atol (__const char *__nptr)
2205 {
2206 return strtol (__nptr, (char **) ((void *)0), 10);
2207 }
2208
2209
2210
2211
2212 __extension__ extern __inline long long int
2213 __attribute__ ((__nothrow__)) atoll (__const char *__nptr)
2214 {
2215 return strtoll (__nptr, (char **) ((void *)0), 10);
2216 }
2217
2218 # 424 "/usr/include/stdlib.h" 3 4
2219 extern char *l64a (long int __n) __attribute__ ((__nothrow__));
2220
2221
2222 extern long int a64l (__const char *__s)
2223 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
2224 # 440 "/usr/include/stdlib.h" 3 4
2225 extern long int random (void) __attribute__ ((__nothrow__));
2226
2227
2228 extern void srandom (unsigned int __seed) __attribute__ ((__nothrow__));
2229
2230
2231
2232
2233
2234 extern char *initstate (unsigned int __seed, char *__statebuf,
2235 size_t __statelen) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
2236
2237
2238
2239 extern char *setstate (char *__statebuf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2240
2241
2242
2243
2244
2245
2246
2247 struct random_data
2248 {
2249 int32_t *fptr;
2250 int32_t *rptr;
2251 int32_t *state;
2252 int rand_type;
2253 int rand_deg;
2254 int rand_sep;
2255 int32_t *end_ptr;
2256 };
2257
2258 extern int random_r (struct random_data *__restrict __buf,
2259 int32_t *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
2260
2261 extern int srandom_r (unsigned int __seed, struct random_data *__buf)
2262 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
2263
2264 extern int initstate_r (unsigned int __seed, char *__restrict __statebuf,
2265 size_t __statelen,
2266 struct random_data *__restrict __buf)
2267 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 4)));
2268
2269 extern int setstate_r (char *__restrict __statebuf,
2270 struct random_data *__restrict __buf)
2271 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
2272
2273
2274
2275
2276
2277
2278 extern int rand (void) __attribute__ ((__nothrow__));
2279
2280 extern void srand (unsigned int __seed) __attribute__ ((__nothrow__));
2281
2282
2283
2284
2285 extern int rand_r (unsigned int *__seed) __attribute__ ((__nothrow__));
2286
2287
2288
2289
2290
2291
2292
2293 extern double drand48 (void) __attribute__ ((__nothrow__));
2294 extern double erand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2295
2296
2297 extern long int lrand48 (void) __attribute__ ((__nothrow__));
2298 extern long int nrand48 (unsigned short int __xsubi[3])
2299 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2300
2301
2302 extern long int mrand48 (void) __attribute__ ((__nothrow__));
2303 extern long int jrand48 (unsigned short int __xsubi[3])
2304 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2305
2306
2307 extern void srand48 (long int __seedval) __attribute__ ((__nothrow__));
2308 extern unsigned short int *seed48 (unsigned short int __seed16v[3])
2309 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2310 extern void lcong48 (unsigned short int __param[7]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2311
2312
2313
2314
2315
2316 struct drand48_data
2317 {
2318 unsigned short int __x[3];
2319 unsigned short int __old_x[3];
2320 unsigned short int __c;
2321 unsigned short int __init;
2322 unsigned long long int __a;
2323 };
2324
2325
2326 extern int drand48_r (struct drand48_data *__restrict __buffer,
2327 double *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
2328 extern int erand48_r (unsigned short int __xsubi[3],
2329 struct drand48_data *__restrict __buffer,
2330 double *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
2331
2332
2333 extern int lrand48_r (struct drand48_data *__restrict __buffer,
2334 long int *__restrict __result)
2335 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
2336 extern int nrand48_r (unsigned short int __xsubi[3],
2337 struct drand48_data *__restrict __buffer,
2338 long int *__restrict __result)
2339 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
2340
2341
2342 extern int mrand48_r (struct drand48_data *__restrict __buffer,
2343 long int *__restrict __result)
2344 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
2345 extern int jrand48_r (unsigned short int __xsubi[3],
2346 struct drand48_data *__restrict __buffer,
2347 long int *__restrict __result)
2348 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
2349
2350
2351 extern int srand48_r (long int __seedval, struct drand48_data *__buffer)
2352 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
2353
2354 extern int seed48_r (unsigned short int __seed16v[3],
2355 struct drand48_data *__buffer) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
2356
2357 extern int lcong48_r (unsigned short int __param[7],
2358 struct drand48_data *__buffer)
2359 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369 extern void *malloc (size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__));
2370
2371 extern void *calloc (size_t __nmemb, size_t __size)
2372 __attribute__ ((__nothrow__)) __attribute__ ((__malloc__));
2373
2374
2375
2376
2377
2378
2379
2380 extern void *realloc (void *__ptr, size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__));
2381
2382 extern void free (void *__ptr) __attribute__ ((__nothrow__));
2383
2384
2385
2386
2387 extern void cfree (void *__ptr) __attribute__ ((__nothrow__));
2388
2389
2390
2391 # 1 "/usr/include/alloca.h" 1 3 4
2392 # 25 "/usr/include/alloca.h" 3 4
2393 # 1 "/home/roc/toolchain/svn/gcc4.1/uclinux/bin/../lib/gcc/bfin-uclinux/4.1.1/include/stddef.h" 1 3 4
2394 # 26 "/usr/include/alloca.h" 2 3 4
2395
2396
2397
2398
2399
2400
2401
2402 extern void *alloca (size_t __size) __attribute__ ((__nothrow__));
2403
2404
2405
2406
2407
2408
2409 # 607 "/usr/include/stdlib.h" 2 3 4
2410
2411
2412
2413
2414 extern void *valloc (size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__));
2415 # 620 "/usr/include/stdlib.h" 3 4
2416
2417
2418 extern void abort (void) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__));
2419
2420
2421
2422 extern int atexit (void (*__func) (void)) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2423
2424
2425
2426
2427
2428 extern int on_exit (void (*__func) (int __status, void *__arg), void *__arg)
2429 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2430
2431
2432
2433
2434
2435
2436 extern void exit (int __status) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__));
2437
2438 # 652 "/usr/include/stdlib.h" 3 4
2439
2440
2441 extern char *getenv (__const char *__name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2442
2443
2444
2445
2446 extern char *__secure_getenv (__const char *__name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2447
2448
2449
2450
2451
2452 extern int putenv (char *__string) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2453
2454
2455
2456
2457
2458 extern int setenv (__const char *__name, __const char *__value, int __replace)
2459 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
2460
2461
2462 extern int unsetenv (__const char *__name) __attribute__ ((__nothrow__));
2463
2464
2465
2466
2467
2468
2469 extern int clearenv (void) __attribute__ ((__nothrow__));
2470 # 691 "/usr/include/stdlib.h" 3 4
2471 extern char *mktemp (char *__template) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2472 # 702 "/usr/include/stdlib.h" 3 4
2473 extern int mkstemp (char *__template) __attribute__ ((__nonnull__ (1)));
2474 # 721 "/usr/include/stdlib.h" 3 4
2475 extern char *mkdtemp (char *__template) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2476
2477
2478
2479
2480
2481
2482
2483
2484 extern int system (__const char *__command);
2485
2486 # 749 "/usr/include/stdlib.h" 3 4
2487 extern char *realpath (__const char *__restrict __name,
2488 char *__restrict __resolved) __attribute__ ((__nothrow__));
2489
2490
2491
2492
2493
2494
2495 typedef int (*__compar_fn_t) (__const void *, __const void *);
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505 extern void *bsearch (__const void *__key, __const void *__base,
2506 size_t __nmemb, size_t __size, __compar_fn_t __compar)
2507 __attribute__ ((__nonnull__ (1, 2, 5)));
2508
2509
2510
2511 extern void qsort (void *__base, size_t __nmemb, size_t __size,
2512 __compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 4)));
2513
2514
2515
2516 extern int abs (int __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
2517 extern long int labs (long int __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530 extern div_t div (int __numer, int __denom)
2531 __attribute__ ((__nothrow__)) __attribute__ ((__const__));
2532 extern ldiv_t ldiv (long int __numer, long int __denom)
2533 __attribute__ ((__nothrow__)) __attribute__ ((__const__));
2534
2535 # 814 "/usr/include/stdlib.h" 3 4
2536 extern char *ecvt (double __value, int __ndigit, int *__restrict __decpt,
2537 int *__restrict __sign) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4)));
2538
2539
2540
2541
2542 extern char *fcvt (double __value, int __ndigit, int *__restrict __decpt,
2543 int *__restrict __sign) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4)));
2544
2545
2546
2547
2548 extern char *gcvt (double __value, int __ndigit, char *__buf)
2549 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3)));
2550
2551
2552
2553
2554 extern char *qecvt (long double __value, int __ndigit,
2555 int *__restrict __decpt, int *__restrict __sign)
2556 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4)));
2557 extern char *qfcvt (long double __value, int __ndigit,
2558 int *__restrict __decpt, int *__restrict __sign)
2559 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4)));
2560 extern char *qgcvt (long double __value, int __ndigit, char *__buf)
2561 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3)));
2562
2563
2564
2565
2566 extern int ecvt_r (double __value, int __ndigit, int *__restrict __decpt,
2567 int *__restrict __sign, char *__restrict __buf,
2568 size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5)));
2569 extern int fcvt_r (double __value, int __ndigit, int *__restrict __decpt,
2570 int *__restrict __sign, char *__restrict __buf,
2571 size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5)));
2572
2573 extern int qecvt_r (long double __value, int __ndigit,
2574 int *__restrict __decpt, int *__restrict __sign,
2575 char *__restrict __buf, size_t __len)
2576 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5)));
2577 extern int qfcvt_r (long double __value, int __ndigit,
2578 int *__restrict __decpt, int *__restrict __sign,
2579 char *__restrict __buf, size_t __len)
2580 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5)));
2581
2582
2583
2584
2585
2586
2587
2588 extern int mblen (__const char *__s, size_t __n) __attribute__ ((__nothrow__));
2589
2590
2591 extern int mbtowc (wchar_t *__restrict __pwc,
2592 __const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__));
2593
2594
2595 extern int wctomb (char *__s, wchar_t __wchar) __attribute__ ((__nothrow__));
2596
2597
2598
2599 extern size_t mbstowcs (wchar_t *__restrict __pwcs,
2600 __const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__));
2601
2602 extern size_t wcstombs (char *__restrict __s,
2603 __const wchar_t *__restrict __pwcs, size_t __n)
2604 __attribute__ ((__nothrow__));
2605
2606
2607
2608
2609
2610
2611
2612
2613 extern int rpmatch (__const char *__response) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2614 # 954 "/usr/include/stdlib.h" 3 4
2615 extern int getloadavg (double __loadavg[], int __nelem)
2616 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
2617
2618
2619
2620
2621
2622
2623 # 69 "netlib.c" 2
2624 # 1 "/usr/include/math.h" 1 3 4
2625 # 29 "/usr/include/math.h" 3 4
2626
2627
2628
2629
2630 # 1 "/usr/include/bits/huge_val.h" 1 3 4
2631 # 34 "/usr/include/math.h" 2 3 4
2632 # 46 "/usr/include/math.h" 3 4
2633 # 1 "/usr/include/bits/mathdef.h" 1 3 4
2634 # 47 "/usr/include/math.h" 2 3 4
2635 # 70 "/usr/include/math.h" 3 4
2636 # 1 "/usr/include/bits/mathcalls.h" 1 3 4
2637 # 53 "/usr/include/bits/mathcalls.h" 3 4
2638
2639
2640 extern double acos (double __x) __attribute__ ((__nothrow__)); extern double __acos (double __x) __attribute__ ((__nothrow__));
2641
2642 extern double asin (double __x) __attribute__ ((__nothrow__)); extern double __asin (double __x) __attribute__ ((__nothrow__));
2643
2644 extern double atan (double __x) __attribute__ ((__nothrow__)); extern double __atan (double __x) __attribute__ ((__nothrow__));
2645
2646 extern double atan2 (double __y, double __x) __attribute__ ((__nothrow__)); extern double __atan2 (double __y, double __x) __attribute__ ((__nothrow__));
2647
2648
2649 extern double cos (double __x) __attribute__ ((__nothrow__)); extern double __cos (double __x) __attribute__ ((__nothrow__));
2650
2651 extern double sin (double __x) __attribute__ ((__nothrow__)); extern double __sin (double __x) __attribute__ ((__nothrow__));
2652
2653 extern double tan (double __x) __attribute__ ((__nothrow__)); extern double __tan (double __x) __attribute__ ((__nothrow__));
2654
2655
2656
2657
2658 extern double cosh (double __x) __attribute__ ((__nothrow__)); extern double __cosh (double __x) __attribute__ ((__nothrow__));
2659
2660 extern double sinh (double __x) __attribute__ ((__nothrow__)); extern double __sinh (double __x) __attribute__ ((__nothrow__));
2661
2662 extern double tanh (double __x) __attribute__ ((__nothrow__)); extern double __tanh (double __x) __attribute__ ((__nothrow__));
2663
2664 # 87 "/usr/include/bits/mathcalls.h" 3 4
2665
2666
2667 extern double acosh (double __x) __attribute__ ((__nothrow__)); extern double __acosh (double __x) __attribute__ ((__nothrow__));
2668
2669 extern double asinh (double __x) __attribute__ ((__nothrow__)); extern double __asinh (double __x) __attribute__ ((__nothrow__));
2670
2671 extern double atanh (double __x) __attribute__ ((__nothrow__)); extern double __atanh (double __x) __attribute__ ((__nothrow__));
2672
2673
2674
2675
2676
2677
2678
2679 extern double exp (double __x) __attribute__ ((__nothrow__)); extern double __exp (double __x) __attribute__ ((__nothrow__));
2680
2681
2682 extern double frexp (double __x, int *__exponent) __attribute__ ((__nothrow__)); extern double __frexp (double __x, int *__exponent) __attribute__ ((__nothrow__));
2683
2684
2685 extern double ldexp (double __x, int __exponent) __attribute__ ((__nothrow__)); extern double __ldexp (double __x, int __exponent) __attribute__ ((__nothrow__));
2686
2687
2688 extern double log (double __x) __attribute__ ((__nothrow__)); extern double __log (double __x) __attribute__ ((__nothrow__));
2689
2690
2691 extern double log10 (double __x) __attribute__ ((__nothrow__)); extern double __log10 (double __x) __attribute__ ((__nothrow__));
2692
2693
2694 extern double modf (double __x, double *__iptr) __attribute__ ((__nothrow__)); extern double __modf (double __x, double *__iptr) __attribute__ ((__nothrow__));
2695
2696 # 127 "/usr/include/bits/mathcalls.h" 3 4
2697
2698
2699 extern double expm1 (double __x) __attribute__ ((__nothrow__)); extern double __expm1 (double __x) __attribute__ ((__nothrow__));
2700
2701
2702 extern double log1p (double __x) __attribute__ ((__nothrow__)); extern double __log1p (double __x) __attribute__ ((__nothrow__));
2703
2704
2705 extern double logb (double __x) __attribute__ ((__nothrow__)); extern double __logb (double __x) __attribute__ ((__nothrow__));
2706
2707 # 152 "/usr/include/bits/mathcalls.h" 3 4
2708
2709
2710 extern double pow (double __x, double __y) __attribute__ ((__nothrow__)); extern double __pow (double __x, double __y) __attribute__ ((__nothrow__));
2711
2712
2713 extern double sqrt (double __x) __attribute__ ((__nothrow__)); extern double __sqrt (double __x) __attribute__ ((__nothrow__));
2714
2715
2716
2717
2718
2719 extern double hypot (double __x, double __y) __attribute__ ((__nothrow__)); extern double __hypot (double __x, double __y) __attribute__ ((__nothrow__));
2720
2721
2722
2723
2724
2725
2726 extern double cbrt (double __x) __attribute__ ((__nothrow__)); extern double __cbrt (double __x) __attribute__ ((__nothrow__));
2727
2728
2729
2730
2731
2732
2733
2734
2735 extern double ceil (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __ceil (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
2736
2737
2738 extern double fabs (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __fabs (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
2739
2740
2741 extern double floor (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __floor (double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
2742
2743
2744 extern double fmod (double __x, double __y) __attribute__ ((__nothrow__)); extern double __fmod (double __x, double __y) __attribute__ ((__nothrow__));
2745
2746
2747
2748
2749 extern int __isinf (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
2750
2751
2752 extern int __finite (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
2753
2754
2755
2756
2757
2758 extern int isinf (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
2759
2760
2761 extern int finite (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
2762
2763
2764 extern double drem (double __x, double __y) __attribute__ ((__nothrow__)); extern double __drem (double __x, double __y) __attribute__ ((__nothrow__));
2765
2766
2767
2768 extern double significand (double __x) __attribute__ ((__nothrow__)); extern double __significand (double __x) __attribute__ ((__nothrow__));
2769
2770
2771
2772
2773
2774 extern double copysign (double __x, double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __copysign (double __x, double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
2775
2776 # 231 "/usr/include/bits/mathcalls.h" 3 4
2777 extern int __isnan (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
2778
2779
2780
2781 extern int isnan (double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
2782
2783
2784 extern double j0 (double) __attribute__ ((__nothrow__)); extern double __j0 (double) __attribute__ ((__nothrow__));
2785 extern double j1 (double) __attribute__ ((__nothrow__)); extern double __j1 (double) __attribute__ ((__nothrow__));
2786 extern double jn (int, double) __attribute__ ((__nothrow__)); extern double __jn (int, double) __attribute__ ((__nothrow__));
2787 extern double y0 (double) __attribute__ ((__nothrow__)); extern double __y0 (double) __attribute__ ((__nothrow__));
2788 extern double y1 (double) __attribute__ ((__nothrow__)); extern double __y1 (double) __attribute__ ((__nothrow__));
2789 extern double yn (int, double) __attribute__ ((__nothrow__)); extern double __yn (int, double) __attribute__ ((__nothrow__));
2790
2791
2792
2793
2794
2795
2796 extern double erf (double) __attribute__ ((__nothrow__)); extern double __erf (double) __attribute__ ((__nothrow__));
2797 extern double erfc (double) __attribute__ ((__nothrow__)); extern double __erfc (double) __attribute__ ((__nothrow__));
2798 extern double lgamma (double) __attribute__ ((__nothrow__)); extern double __lgamma (double) __attribute__ ((__nothrow__));
2799
2800 # 265 "/usr/include/bits/mathcalls.h" 3 4
2801 extern double gamma (double) __attribute__ ((__nothrow__)); extern double __gamma (double) __attribute__ ((__nothrow__));
2802
2803
2804
2805
2806
2807
2808 extern double lgamma_r (double, int *__signgamp) __attribute__ ((__nothrow__)); extern double __lgamma_r (double, int *__signgamp) __attribute__ ((__nothrow__));
2809
2810
2811
2812
2813
2814
2815
2816 extern double rint (double __x) __attribute__ ((__nothrow__)); extern double __rint (double __x) __attribute__ ((__nothrow__));
2817
2818
2819 extern double nextafter (double __x, double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern double __nextafter (double __x, double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
2820
2821
2822
2823
2824
2825 extern double remainder (double __x, double __y) __attribute__ ((__nothrow__)); extern double __remainder (double __x, double __y) __attribute__ ((__nothrow__));
2826
2827
2828
2829 extern double scalbn (double __x, int __n) __attribute__ ((__nothrow__)); extern double __scalbn (double __x, int __n) __attribute__ ((__nothrow__));
2830
2831
2832
2833 extern int ilogb (double __x) __attribute__ ((__nothrow__)); extern int __ilogb (double __x) __attribute__ ((__nothrow__));
2834 # 71 "/usr/include/math.h" 2 3 4
2835 # 93 "/usr/include/math.h" 3 4
2836 # 1 "/usr/include/bits/mathcalls.h" 1 3 4
2837 # 53 "/usr/include/bits/mathcalls.h" 3 4
2838
2839
2840 extern float acosf (float __x) __attribute__ ((__nothrow__)); extern float __acosf (float __x) __attribute__ ((__nothrow__));
2841
2842 extern float asinf (float __x) __attribute__ ((__nothrow__)); extern float __asinf (float __x) __attribute__ ((__nothrow__));
2843
2844 extern float atanf (float __x) __attribute__ ((__nothrow__)); extern float __atanf (float __x) __attribute__ ((__nothrow__));
2845
2846 extern float atan2f (float __y, float __x) __attribute__ ((__nothrow__)); extern float __atan2f (float __y, float __x) __attribute__ ((__nothrow__));
2847
2848
2849 extern float cosf (float __x) __attribute__ ((__nothrow__)); extern float __cosf (float __x) __attribute__ ((__nothrow__));
2850
2851 extern float sinf (float __x) __attribute__ ((__nothrow__)); extern float __sinf (float __x) __attribute__ ((__nothrow__));
2852
2853 extern float tanf (float __x) __attribute__ ((__nothrow__)); extern float __tanf (float __x) __attribute__ ((__nothrow__));
2854
2855
2856
2857
2858 extern float coshf (float __x) __attribute__ ((__nothrow__)); extern float __coshf (float __x) __attribute__ ((__nothrow__));
2859
2860 extern float sinhf (float __x) __attribute__ ((__nothrow__)); extern float __sinhf (float __x) __attribute__ ((__nothrow__));
2861
2862 extern float tanhf (float __x) __attribute__ ((__nothrow__)); extern float __tanhf (float __x) __attribute__ ((__nothrow__));
2863
2864 # 87 "/usr/include/bits/mathcalls.h" 3 4
2865
2866
2867 extern float acoshf (float __x) __attribute__ ((__nothrow__)); extern float __acoshf (float __x) __attribute__ ((__nothrow__));
2868
2869 extern float asinhf (float __x) __attribute__ ((__nothrow__)); extern float __asinhf (float __x) __attribute__ ((__nothrow__));
2870
2871 extern float atanhf (float __x) __attribute__ ((__nothrow__)); extern float __atanhf (float __x) __attribute__ ((__nothrow__));
2872
2873
2874
2875
2876
2877
2878
2879 extern float expf (float __x) __attribute__ ((__nothrow__)); extern float __expf (float __x) __attribute__ ((__nothrow__));
2880
2881
2882 extern float frexpf (float __x, int *__exponent) __attribute__ ((__nothrow__)); extern float __frexpf (float __x, int *__exponent) __attribute__ ((__nothrow__));
2883
2884
2885 extern float ldexpf (float __x, int __exponent) __attribute__ ((__nothrow__)); extern float __ldexpf (float __x, int __exponent) __attribute__ ((__nothrow__));
2886
2887
2888 extern float logf (float __x) __attribute__ ((__nothrow__)); extern float __logf (float __x) __attribute__ ((__nothrow__));
2889
2890
2891 extern float log10f (float __x) __attribute__ ((__nothrow__)); extern float __log10f (float __x) __attribute__ ((__nothrow__));
2892
2893
2894 extern float modff (float __x, float *__iptr) __attribute__ ((__nothrow__)); extern float __modff (float __x, float *__iptr) __attribute__ ((__nothrow__));
2895
2896 # 127 "/usr/include/bits/mathcalls.h" 3 4
2897
2898
2899 extern float expm1f (float __x) __attribute__ ((__nothrow__)); extern float __expm1f (float __x) __attribute__ ((__nothrow__));
2900
2901
2902 extern float log1pf (float __x) __attribute__ ((__nothrow__)); extern float __log1pf (float __x) __attribute__ ((__nothrow__));
2903
2904
2905 extern float logbf (float __x) __attribute__ ((__nothrow__)); extern float __logbf (float __x) __attribute__ ((__nothrow__));
2906
2907 # 152 "/usr/include/bits/mathcalls.h" 3 4
2908
2909
2910 extern float powf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __powf (float __x, float __y) __attribute__ ((__nothrow__));
2911
2912
2913 extern float sqrtf (float __x) __attribute__ ((__nothrow__)); extern float __sqrtf (float __x) __attribute__ ((__nothrow__));
2914
2915
2916
2917
2918
2919 extern float hypotf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __hypotf (float __x, float __y) __attribute__ ((__nothrow__));
2920
2921
2922
2923
2924
2925
2926 extern float cbrtf (float __x) __attribute__ ((__nothrow__)); extern float __cbrtf (float __x) __attribute__ ((__nothrow__));
2927
2928
2929
2930
2931
2932
2933
2934
2935 extern float ceilf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __ceilf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
2936
2937
2938 extern float fabsf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __fabsf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
2939
2940
2941 extern float floorf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __floorf (float __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
2942
2943
2944 extern float fmodf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __fmodf (float __x, float __y) __attribute__ ((__nothrow__));
2945
2946
2947
2948
2949 extern int __isinff (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
2950
2951
2952 extern int __finitef (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
2953
2954
2955
2956
2957
2958 extern int isinff (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
2959
2960
2961 extern int finitef (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
2962
2963
2964 extern float dremf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __dremf (float __x, float __y) __attribute__ ((__nothrow__));
2965
2966
2967
2968 extern float significandf (float __x) __attribute__ ((__nothrow__)); extern float __significandf (float __x) __attribute__ ((__nothrow__));
2969
2970
2971
2972
2973
2974 extern float copysignf (float __x, float __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __copysignf (float __x, float __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
2975
2976 # 231 "/usr/include/bits/mathcalls.h" 3 4
2977 extern int __isnanf (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
2978
2979
2980
2981 extern int isnanf (float __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
2982
2983
2984 extern float j0f (float) __attribute__ ((__nothrow__)); extern float __j0f (float) __attribute__ ((__nothrow__));
2985 extern float j1f (float) __attribute__ ((__nothrow__)); extern float __j1f (float) __attribute__ ((__nothrow__));
2986 extern float jnf (int, float) __attribute__ ((__nothrow__)); extern float __jnf (int, float) __attribute__ ((__nothrow__));
2987 extern float y0f (float) __attribute__ ((__nothrow__)); extern float __y0f (float) __attribute__ ((__nothrow__));
2988 extern float y1f (float) __attribute__ ((__nothrow__)); extern float __y1f (float) __attribute__ ((__nothrow__));
2989 extern float ynf (int, float) __attribute__ ((__nothrow__)); extern float __ynf (int, float) __attribute__ ((__nothrow__));
2990
2991
2992
2993
2994
2995
2996 extern float erff (float) __attribute__ ((__nothrow__)); extern float __erff (float) __attribute__ ((__nothrow__));
2997 extern float erfcf (float) __attribute__ ((__nothrow__)); extern float __erfcf (float) __attribute__ ((__nothrow__));
2998 extern float lgammaf (float) __attribute__ ((__nothrow__)); extern float __lgammaf (float) __attribute__ ((__nothrow__));
2999
3000 # 265 "/usr/include/bits/mathcalls.h" 3 4
3001 extern float gammaf (float) __attribute__ ((__nothrow__)); extern float __gammaf (float) __attribute__ ((__nothrow__));
3002
3003
3004
3005
3006
3007
3008 extern float lgammaf_r (float, int *__signgamp) __attribute__ ((__nothrow__)); extern float __lgammaf_r (float, int *__signgamp) __attribute__ ((__nothrow__));
3009
3010
3011
3012
3013
3014
3015
3016 extern float rintf (float __x) __attribute__ ((__nothrow__)); extern float __rintf (float __x) __attribute__ ((__nothrow__));
3017
3018
3019 extern float nextafterf (float __x, float __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern float __nextafterf (float __x, float __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
3020
3021
3022
3023
3024
3025 extern float remainderf (float __x, float __y) __attribute__ ((__nothrow__)); extern float __remainderf (float __x, float __y) __attribute__ ((__nothrow__));
3026
3027
3028
3029 extern float scalbnf (float __x, int __n) __attribute__ ((__nothrow__)); extern float __scalbnf (float __x, int __n) __attribute__ ((__nothrow__));
3030
3031
3032
3033 extern int ilogbf (float __x) __attribute__ ((__nothrow__)); extern int __ilogbf (float __x) __attribute__ ((__nothrow__));
3034 # 94 "/usr/include/math.h" 2 3 4
3035 # 114 "/usr/include/math.h" 3 4
3036 # 1 "/usr/include/bits/mathcalls.h" 1 3 4
3037 # 53 "/usr/include/bits/mathcalls.h" 3 4
3038
3039
3040 extern long double acosl (long double __x) __attribute__ ((__nothrow__)); extern long double __acosl (long double __x) __attribute__ ((__nothrow__));
3041
3042 extern long double asinl (long double __x) __attribute__ ((__nothrow__)); extern long double __asinl (long double __x) __attribute__ ((__nothrow__));
3043
3044 extern long double atanl (long double __x) __attribute__ ((__nothrow__)); extern long double __atanl (long double __x) __attribute__ ((__nothrow__));
3045
3046 extern long double atan2l (long double __y, long double __x) __attribute__ ((__nothrow__)); extern long double __atan2l (long double __y, long double __x) __attribute__ ((__nothrow__));
3047
3048
3049 extern long double cosl (long double __x) __attribute__ ((__nothrow__)); extern long double __cosl (long double __x) __attribute__ ((__nothrow__));
3050
3051 extern long double sinl (long double __x) __attribute__ ((__nothrow__)); extern long double __sinl (long double __x) __attribute__ ((__nothrow__));
3052
3053 extern long double tanl (long double __x) __attribute__ ((__nothrow__)); extern long double __tanl (long double __x) __attribute__ ((__nothrow__));
3054
3055
3056
3057
3058 extern long double coshl (long double __x) __attribute__ ((__nothrow__)); extern long double __coshl (long double __x) __attribute__ ((__nothrow__));
3059
3060 extern long double sinhl (long double __x) __attribute__ ((__nothrow__)); extern long double __sinhl (long double __x) __attribute__ ((__nothrow__));
3061
3062 extern long double tanhl (long double __x) __attribute__ ((__nothrow__)); extern long double __tanhl (long double __x) __attribute__ ((__nothrow__));
3063
3064 # 87 "/usr/include/bits/mathcalls.h" 3 4
3065
3066
3067 extern long double acoshl (long double __x) __attribute__ ((__nothrow__)); extern long double __acoshl (long double __x) __attribute__ ((__nothrow__));
3068
3069 extern long double asinhl (long double __x) __attribute__ ((__nothrow__)); extern long double __asinhl (long double __x) __attribute__ ((__nothrow__));
3070
3071 extern long double atanhl (long double __x) __attribute__ ((__nothrow__)); extern long double __atanhl (long double __x) __attribute__ ((__nothrow__));
3072
3073
3074
3075
3076
3077
3078
3079 extern long double expl (long double __x) __attribute__ ((__nothrow__)); extern long double __expl (long double __x) __attribute__ ((__nothrow__));
3080
3081
3082 extern long double frexpl (long double __x, int *__exponent) __attribute__ ((__nothrow__)); extern long double __frexpl (long double __x, int *__exponent) __attribute__ ((__nothrow__));
3083
3084
3085 extern long double ldexpl (long double __x, int __exponent) __attribute__ ((__nothrow__)); extern long double __ldexpl (long double __x, int __exponent) __attribute__ ((__nothrow__));
3086
3087
3088 extern long double logl (long double __x) __attribute__ ((__nothrow__)); extern long double __logl (long double __x) __attribute__ ((__nothrow__));
3089
3090
3091 extern long double log10l (long double __x) __attribute__ ((__nothrow__)); extern long double __log10l (long double __x) __attribute__ ((__nothrow__));
3092
3093
3094 extern long double modfl (long double __x, long double *__iptr) __attribute__ ((__nothrow__)); extern long double __modfl (long double __x, long double *__iptr) __attribute__ ((__nothrow__));
3095
3096 # 127 "/usr/include/bits/mathcalls.h" 3 4
3097
3098
3099 extern long double expm1l (long double __x) __attribute__ ((__nothrow__)); extern long double __expm1l (long double __x) __attribute__ ((__nothrow__));
3100
3101
3102 extern long double log1pl (long double __x) __attribute__ ((__nothrow__)); extern long double __log1pl (long double __x) __attribute__ ((__nothrow__));
3103
3104
3105 extern long double logbl (long double __x) __attribute__ ((__nothrow__)); extern long double __logbl (long double __x) __attribute__ ((__nothrow__));
3106
3107 # 152 "/usr/include/bits/mathcalls.h" 3 4
3108
3109
3110 extern long double powl (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double __powl (long double __x, long double __y) __attribute__ ((__nothrow__));
3111
3112
3113 extern long double sqrtl (long double __x) __attribute__ ((__nothrow__)); extern long double __sqrtl (long double __x) __attribute__ ((__nothrow__));
3114
3115
3116
3117
3118
3119 extern long double hypotl (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double __hypotl (long double __x, long double __y) __attribute__ ((__nothrow__));
3120
3121
3122
3123
3124
3125
3126 extern long double cbrtl (long double __x) __attribute__ ((__nothrow__)); extern long double __cbrtl (long double __x) __attribute__ ((__nothrow__));
3127
3128
3129
3130
3131
3132
3133
3134
3135 extern long double ceill (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double __ceill (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
3136
3137
3138 extern long double fabsl (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double __fabsl (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
3139
3140
3141 extern long double floorl (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double __floorl (long double __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
3142
3143
3144 extern long double fmodl (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double __fmodl (long double __x, long double __y) __attribute__ ((__nothrow__));
3145
3146
3147
3148
3149 extern int __isinfl (long double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
3150
3151
3152 extern int __finitel (long double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
3153
3154
3155
3156
3157
3158 extern int isinfl (long double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
3159
3160
3161 extern int finitel (long double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
3162
3163
3164 extern long double dreml (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double __dreml (long double __x, long double __y) __attribute__ ((__nothrow__));
3165
3166
3167
3168 extern long double significandl (long double __x) __attribute__ ((__nothrow__)); extern long double __significandl (long double __x) __attribute__ ((__nothrow__));
3169
3170
3171
3172
3173
3174 extern long double copysignl (long double __x, long double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double __copysignl (long double __x, long double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
3175
3176 # 231 "/usr/include/bits/mathcalls.h" 3 4
3177 extern int __isnanl (long double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
3178
3179
3180
3181 extern int isnanl (long double __value) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
3182
3183
3184 extern long double j0l (long double) __attribute__ ((__nothrow__)); extern long double __j0l (long double) __attribute__ ((__nothrow__));
3185 extern long double j1l (long double) __attribute__ ((__nothrow__)); extern long double __j1l (long double) __attribute__ ((__nothrow__));
3186 extern long double jnl (int, long double) __attribute__ ((__nothrow__)); extern long double __jnl (int, long double) __attribute__ ((__nothrow__));
3187 extern long double y0l (long double) __attribute__ ((__nothrow__)); extern long double __y0l (long double) __attribute__ ((__nothrow__));
3188 extern long double y1l (long double) __attribute__ ((__nothrow__)); extern long double __y1l (long double) __attribute__ ((__nothrow__));
3189 extern long double ynl (int, long double) __attribute__ ((__nothrow__)); extern long double __ynl (int, long double) __attribute__ ((__nothrow__));
3190
3191
3192
3193
3194
3195
3196 extern long double erfl (long double) __attribute__ ((__nothrow__)); extern long double __erfl (long double) __attribute__ ((__nothrow__));
3197 extern long double erfcl (long double) __attribute__ ((__nothrow__)); extern long double __erfcl (long double) __attribute__ ((__nothrow__));
3198 extern long double lgammal (long double) __attribute__ ((__nothrow__)); extern long double __lgammal (long double) __attribute__ ((__nothrow__));
3199
3200 # 265 "/usr/include/bits/mathcalls.h" 3 4
3201 extern long double gammal (long double) __attribute__ ((__nothrow__)); extern long double __gammal (long double) __attribute__ ((__nothrow__));
3202
3203
3204
3205
3206
3207
3208 extern long double lgammal_r (long double, int *__signgamp) __attribute__ ((__nothrow__)); extern long double __lgammal_r (long double, int *__signgamp) __attribute__ ((__nothrow__));
3209
3210
3211
3212
3213
3214
3215
3216 extern long double rintl (long double __x) __attribute__ ((__nothrow__)); extern long double __rintl (long double __x) __attribute__ ((__nothrow__));
3217
3218
3219 extern long double nextafterl (long double __x, long double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__)); extern long double __nextafterl (long double __x, long double __y) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
3220
3221
3222
3223
3224
3225 extern long double remainderl (long double __x, long double __y) __attribute__ ((__nothrow__)); extern long double __remainderl (long double __x, long double __y) __attribute__ ((__nothrow__));
3226
3227
3228
3229 extern long double scalbnl (long double __x, int __n) __attribute__ ((__nothrow__)); extern long double __scalbnl (long double __x, int __n) __attribute__ ((__nothrow__));
3230
3231
3232
3233 extern int ilogbl (long double __x) __attribute__ ((__nothrow__)); extern int __ilogbl (long double __x) __attribute__ ((__nothrow__));
3234 # 115 "/usr/include/math.h" 2 3 4
3235 # 130 "/usr/include/math.h" 3 4
3236 extern int signgam;
3237 # 257 "/usr/include/math.h" 3 4
3238 typedef enum
3239 {
3240 _IEEE_ = -1,
3241 _SVID_,
3242 _XOPEN_,
3243 _POSIX_,
3244 _ISOC_
3245 } _LIB_VERSION_TYPE;
3246
3247
3248
3249
3250 extern _LIB_VERSION_TYPE _LIB_VERSION;
3251 # 282 "/usr/include/math.h" 3 4
3252 struct exception
3253
3254 {
3255 int type;
3256 char *name;
3257 double arg1;
3258 double arg2;
3259 double retval;
3260 };
3261
3262
3263
3264
3265 extern int matherr (struct exception *__exc);
3266 # 382 "/usr/include/math.h" 3 4
3267 # 1 "/usr/include/bits/mathinline.h" 1 3 4
3268 # 291 "/usr/include/bits/mathinline.h" 3 4
3269 extern __inline double __sgn (double) __attribute__ ((__nothrow__)); extern __inline double __attribute__ ((__nothrow__)) __sgn (double __x) { return __x == 0.0 ? 0.0 : (__x > 0.0 ? 1.0 : -1.0); } extern __inline float __sgnf (float) __attribute__ ((__nothrow__)); extern __inline float __attribute__ ((__nothrow__)) __sgnf (float __x) { return __x == 0.0 ? 0.0 : (__x > 0.0 ? 1.0 : -1.0); } extern __inline long double __sgnl (long double) __attribute__ ((__nothrow__)); extern __inline long double __attribute__ ((__nothrow__)) __sgnl (long double __x) { return __x == 0.0 ? 0.0 : (__x > 0.0 ? 1.0 : -1.0); }
3270 # 433 "/usr/include/bits/mathinline.h" 3 4
3271 extern __inline long double __attribute__ ((__nothrow__)) __atan2l (long double __y, long double __x) { return __builtin_atan2l (__y, __x); }
3272 # 473 "/usr/include/bits/mathinline.h" 3 4
3273 extern __inline double __attribute__ ((__nothrow__)) fabs (double __x) { return __builtin_fabs (__x); }
3274
3275 extern __inline float __attribute__ ((__nothrow__)) fabsf (float __x) { return __builtin_fabsf (__x); }
3276 extern __inline long double __attribute__ ((__nothrow__)) fabsl (long double __x) { return __builtin_fabsl (__x); }
3277
3278 extern __inline long double __attribute__ ((__nothrow__)) __fabsl (long double __x) { return __builtin_fabsl (__x); }
3279 # 506 "/usr/include/bits/mathinline.h" 3 4
3280 extern __inline long double __sgn1l (long double) __attribute__ ((__nothrow__)); extern __inline long double __attribute__ ((__nothrow__)) __sgn1l (long double __x) { __extension__ union { long double __xld; unsigned int __xi[3]; } __n = { __xld: __x }; __n.__xi[2] = (__n.__xi[2] & 0x8000) | 0x3fff; __n.__xi[1] = 0x80000000; __n.__xi[0] = 0; return __n.__xld; }
3281 # 530 "/usr/include/bits/mathinline.h" 3 4
3282 extern __inline double __attribute__ ((__nothrow__)) floor (double __x) { register long double __value; __volatile unsigned short int __cw; __volatile unsigned short int __cwtmp; __asm __volatile ("fnstcw %0" : "=m" (__cw)); __cwtmp = (__cw & 0xf3ff) | 0x0400; __asm __volatile ("fldcw %0" : : "m" (__cwtmp)); __asm __volatile ("frndint" : "=t" (__value) : "0" (__x)); __asm __volatile ("fldcw %0" : : "m" (__cw)); return __value; } extern __inline float __attribute__ ((__nothrow__)) floorf (float __x) { register long double __value; __volatile unsigned short int __cw; __volatile unsigned short int __cwtmp; __asm __volatile ("fnstcw %0" : "=m" (__cw)); __cwtmp = (__cw & 0xf3ff) | 0x0400; __asm __volatile ("fldcw %0" : : "m" (__cwtmp)); __asm __volatile ("frndint" : "=t" (__value) : "0" (__x)); __asm __volatile ("fldcw %0" : : "m" (__cw)); return __value; } extern __inline long double __attribute__ ((__nothrow__)) floorl (long double __x) { register long double __value; __volatile unsigned short int __cw; __volatile unsigned short int __cwtmp; __asm __volatile ("fnstcw %0" : "=m" (__cw)); __cwtmp = (__cw & 0xf3ff) | 0x0400; __asm __volatile ("fldcw %0" : : "m" (__cwtmp)); __asm __volatile ("frndint" : "=t" (__value) : "0" (__x)); __asm __volatile ("fldcw %0" : : "m" (__cw)); return __value; }
3283 # 541 "/usr/include/bits/mathinline.h" 3 4
3284 extern __inline double __attribute__ ((__nothrow__)) ceil (double __x) { register long double __value; __volatile unsigned short int __cw; __volatile unsigned short int __cwtmp; __asm __volatile ("fnstcw %0" : "=m" (__cw)); __cwtmp = (__cw & 0xf3ff) | 0x0800; __asm __volatile ("fldcw %0" : : "m" (__cwtmp)); __asm __volatile ("frndint" : "=t" (__value) : "0" (__x)); __asm __volatile ("fldcw %0" : : "m" (__cw)); return __value; } extern __inline float __attribute__ ((__nothrow__)) ceilf (float __x) { register long double __value; __volatile unsigned short int __cw; __volatile unsigned short int __cwtmp; __asm __volatile ("fnstcw %0" : "=m" (__cw)); __cwtmp = (__cw & 0xf3ff) | 0x0800; __asm __volatile ("fldcw %0" : : "m" (__cwtmp)); __asm __volatile ("frndint" : "=t" (__value) : "0" (__x)); __asm __volatile ("fldcw %0" : : "m" (__cw)); return __value; } extern __inline long double __attribute__ ((__nothrow__)) ceill (long double __x) { register long double __value; __volatile unsigned short int __cw; __volatile unsigned short int __cwtmp; __asm __volatile ("fnstcw %0" : "=m" (__cw)); __cwtmp = (__cw & 0xf3ff) | 0x0800; __asm __volatile ("fldcw %0" : : "m" (__cwtmp)); __asm __volatile ("frndint" : "=t" (__value) : "0" (__x)); __asm __volatile ("fldcw %0" : : "m" (__cw)); return __value; }
3285 # 713 "/usr/include/bits/mathinline.h" 3 4
3286 extern __inline int
3287 __attribute__ ((__nothrow__)) __finite (double __x)
3288 {
3289 return (__extension__
3290 (((((union { double __d; int __i[2]; }) {__d: __x}).__i[1]
3291 | 0x800fffffu) + 1) >> 31));
3292 }
3293 # 383 "/usr/include/math.h" 2 3 4
3294 # 438 "/usr/include/math.h" 3 4
3295
3296 # 70 "netlib.c" 2
3297 # 1 "/usr/include/string.h" 1 3 4
3298 # 28 "/usr/include/string.h" 3 4
3299
3300
3301
3302
3303
3304 # 1 "/home/roc/toolchain/svn/gcc4.1/uclinux/bin/../lib/gcc/bfin-uclinux/4.1.1/include/stddef.h" 1 3 4
3305 # 34 "/usr/include/string.h" 2 3 4
3306
3307
3308
3309
3310 extern void *memcpy (void *__restrict __dest,
3311 __const void *__restrict __src, size_t __n)
3312 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
3313
3314
3315 extern void *memmove (void *__dest, __const void *__src, size_t __n)
3316 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
3317
3318
3319
3320
3321
3322
3323 extern void *memccpy (void *__restrict __dest, __const void *__restrict __src,
3324 int __c, size_t __n)
3325 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
3326
3327
3328
3329
3330
3331 extern void *memset (void *__s, int __c, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
3332
3333
3334 extern int memcmp (__const void *__s1, __const void *__s2, size_t __n)
3335 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
3336
3337
3338 extern void *memchr (__const void *__s, int __c, size_t __n)
3339 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
3340
3341 # 82 "/usr/include/string.h" 3 4
3342
3343
3344 extern char *strcpy (char *__restrict __dest, __const char *__restrict __src)
3345 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
3346
3347 extern char *strncpy (char *__restrict __dest,
3348 __const char *__restrict __src, size_t __n)
3349 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
3350
3351
3352 extern char *strcat (char *__restrict __dest, __const char *__restrict __src)
3353 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
3354
3355 extern char *strncat (char *__restrict __dest, __const char *__restrict __src,
3356 size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
3357
3358
3359 extern int strcmp (__const char *__s1, __const char *__s2)
3360 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
3361
3362 extern int strncmp (__const char *__s1, __const char *__s2, size_t __n)
3363 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
3364
3365
3366 extern int strcoll (__const char *__s1, __const char *__s2)
3367 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
3368
3369 extern size_t strxfrm (char *__restrict __dest,
3370 __const char *__restrict __src, size_t __n)
3371 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
3372
3373 # 130 "/usr/include/string.h" 3 4
3374 extern char *strdup (__const char *__s)
3375 __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1)));
3376 # 165 "/usr/include/string.h" 3 4
3377
3378
3379 extern char *strchr (__const char *__s, int __c)
3380 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
3381
3382 extern char *strrchr (__const char *__s, int __c)
3383 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
3384
3385 # 181 "/usr/include/string.h" 3 4
3386
3387
3388
3389 extern size_t strcspn (__const char *__s, __const char *__reject)
3390 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
3391
3392
3393 extern size_t strspn (__const char *__s, __const char *__accept)
3394 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
3395
3396 extern char *strpbrk (__const char *__s, __const char *__accept)
3397 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
3398
3399 extern char *strstr (__const char *__haystack, __const char *__needle)
3400 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
3401
3402
3403
3404 extern char *strtok (char *__restrict __s, __const char *__restrict __delim)
3405 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
3406
3407
3408
3409
3410 extern char *__strtok_r (char *__restrict __s,
3411 __const char *__restrict __delim,
3412 char **__restrict __save_ptr)
3413 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3)));
3414
3415 extern char *strtok_r (char *__restrict __s, __const char *__restrict __delim,
3416 char **__restrict __save_ptr)
3417 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3)));
3418 # 240 "/usr/include/string.h" 3 4
3419
3420
3421 extern size_t strlen (__const char *__s)
3422 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
3423
3424 # 254 "/usr/include/string.h" 3 4
3425
3426
3427 extern char *strerror (int __errnum) __attribute__ ((__nothrow__));
3428
3429 # 281 "/usr/include/string.h" 3 4
3430 extern char *strerror_r (int __errnum, char *__buf, size_t __buflen)
3431 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
3432
3433
3434
3435
3436
3437 extern void __bzero (void *__s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
3438
3439
3440
3441 extern void bcopy (__const void *__src, void *__dest, size_t __n)
3442 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
3443
3444
3445 extern void bzero (void *__s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
3446
3447
3448 extern int bcmp (__const void *__s1, __const void *__s2, size_t __n)
3449 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
3450
3451
3452 extern char *index (__const char *__s, int __c)
3453 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
3454
3455
3456 extern char *rindex (__const char *__s, int __c)
3457 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
3458
3459
3460
3461 extern int ffs (int __i) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
3462 # 325 "/usr/include/string.h" 3 4
3463 extern int strcasecmp (__const char *__s1, __const char *__s2)
3464 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
3465
3466
3467 extern int strncasecmp (__const char *__s1, __const char *__s2, size_t __n)
3468 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
3469 # 348 "/usr/include/string.h" 3 4
3470 extern char *strsep (char **__restrict __stringp,
3471 __const char *__restrict __delim)
3472 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
3473 # 414 "/usr/include/string.h" 3 4
3474 # 1 "/usr/include/bits/string.h" 1 3 4
3475 # 415 "/usr/include/string.h" 2 3 4
3476
3477
3478 # 1 "/usr/include/bits/string2.h" 1 3 4
3479 # 394 "/usr/include/bits/string2.h" 3 4
3480 extern void *__rawmemchr (const void *__s, int __c);
3481 # 969 "/usr/include/bits/string2.h" 3 4
3482 extern __inline size_t __strcspn_c1 (__const char *__s, int __reject);
3483 extern __inline size_t
3484 __strcspn_c1 (__const char *__s, int __reject)
3485 {
3486 register size_t __result = 0;
3487 while (__s[__result] != '\0' && __s[__result] != __reject)
3488 ++__result;
3489 return __result;
3490 }
3491
3492 extern __inline size_t __strcspn_c2 (__const char *__s, int __reject1,
3493 int __reject2);
3494 extern __inline size_t
3495 __strcspn_c2 (__const char *__s, int __reject1, int __reject2)
3496 {
3497 register size_t __result = 0;
3498 while (__s[__result] != '\0' && __s[__result] != __reject1
3499 && __s[__result] != __reject2)
3500 ++__result;
3501 return __result;
3502 }
3503
3504 extern __inline size_t __strcspn_c3 (__const char *__s, int __reject1,
3505 int __reject2, int __reject3);
3506 extern __inline size_t
3507 __strcspn_c3 (__const char *__s, int __reject1, int __reject2,
3508 int __reject3)
3509 {
3510 register size_t __result = 0;
3511 while (__s[__result] != '\0' && __s[__result] != __reject1
3512 && __s[__result] != __reject2 && __s[__result] != __reject3)
3513 ++__result;
3514 return __result;
3515 }
3516 # 1045 "/usr/include/bits/string2.h" 3 4
3517 extern __inline size_t __strspn_c1 (__const char *__s, int __accept);
3518 extern __inline size_t
3519 __strspn_c1 (__const char *__s, int __accept)
3520 {
3521 register size_t __result = 0;
3522
3523 while (__s[__result] == __accept)
3524 ++__result;
3525 return __result;
3526 }
3527
3528 extern __inline size_t __strspn_c2 (__const char *__s, int __accept1,
3529 int __accept2);
3530 extern __inline size_t
3531 __strspn_c2 (__const char *__s, int __accept1, int __accept2)
3532 {
3533 register size_t __result = 0;
3534
3535 while (__s[__result] == __accept1 || __s[__result] == __accept2)
3536 ++__result;
3537 return __result;
3538 }
3539
3540 extern __inline size_t __strspn_c3 (__const char *__s, int __accept1,
3541 int __accept2, int __accept3);
3542 extern __inline size_t
3543 __strspn_c3 (__const char *__s, int __accept1, int __accept2, int __accept3)
3544 {
3545 register size_t __result = 0;
3546
3547 while (__s[__result] == __accept1 || __s[__result] == __accept2
3548 || __s[__result] == __accept3)
3549 ++__result;
3550 return __result;
3551 }
3552 # 1121 "/usr/include/bits/string2.h" 3 4
3553 extern __inline char *__strpbrk_c2 (__const char *__s, int __accept1,
3554 int __accept2);
3555 extern __inline char *
3556 __strpbrk_c2 (__const char *__s, int __accept1, int __accept2)
3557 {
3558
3559 while (*__s != '\0' && *__s != __accept1 && *__s != __accept2)
3560 ++__s;
3561 return *__s == '\0' ? ((void *)0) : (char *) (size_t) __s;
3562 }
3563
3564 extern __inline char *__strpbrk_c3 (__const char *__s, int __accept1,
3565 int __accept2, int __accept3);
3566 extern __inline char *
3567 __strpbrk_c3 (__const char *__s, int __accept1, int __accept2,
3568 int __accept3)
3569 {
3570
3571 while (*__s != '\0' && *__s != __accept1 && *__s != __accept2
3572 && *__s != __accept3)
3573 ++__s;
3574 return *__s == '\0' ? ((void *)0) : (char *) (size_t) __s;
3575 }
3576 # 1173 "/usr/include/bits/string2.h" 3 4
3577 extern __inline char *__strtok_r_1c (char *__s, char __sep, char **__nextp);
3578 extern __inline char *
3579 __strtok_r_1c (char *__s, char __sep, char **__nextp)
3580 {
3581 char *__result;
3582 if (__s == ((void *)0))
3583 __s = *__nextp;
3584 while (*__s == __sep)
3585 ++__s;
3586 __result = ((void *)0);
3587 if (*__s != '\0')
3588 {
3589 __result = __s++;
3590 while (*__s != '\0')
3591 if (*__s++ == __sep)
3592 {
3593 __s[-1] = '\0';
3594 break;
3595 }
3596 *__nextp = __s;
3597 }
3598 return __result;
3599 }
3600 # 1205 "/usr/include/bits/string2.h" 3 4
3601 extern char *__strsep_g (char **__stringp, __const char *__delim);
3602 # 1223 "/usr/include/bits/string2.h" 3 4
3603 extern __inline char *__strsep_1c (char **__s, char __reject);
3604 extern __inline char *
3605 __strsep_1c (char **__s, char __reject)
3606 {
3607 register char *__retval = *__s;
3608 if (__retval != ((void *)0) && (*__s = (__extension__ (__builtin_constant_p (__reject) && !__builtin_constant_p (__retval) && (__reject) == '\0' ? (char *) __rawmemchr (__retval, __reject) : __builtin_strchr (__retval, __reject)))) != ((void *)0))
3609 *(*__s)++ = '\0';
3610 return __retval;
3611 }
3612
3613 extern __inline char *__strsep_2c (char **__s, char __reject1, char __reject2);
3614 extern __inline char *
3615 __strsep_2c (char **__s, char __reject1, char __reject2)
3616 {
3617 register char *__retval = *__s;
3618 if (__retval != ((void *)0))
3619 {
3620 register char *__cp = __retval;
3621 while (1)
3622 {
3623 if (*__cp == '\0')
3624 {
3625 __cp = ((void *)0);
3626 break;
3627 }
3628 if (*__cp == __reject1 || *__cp == __reject2)
3629 {
3630 *__cp++ = '\0';
3631 break;
3632 }
3633 ++__cp;
3634 }
3635 *__s = __cp;
3636 }
3637 return __retval;
3638 }
3639
3640 extern __inline char *__strsep_3c (char **__s, char __reject1, char __reject2,
3641 char __reject3);
3642 extern __inline char *
3643 __strsep_3c (char **__s, char __reject1, char __reject2, char __reject3)
3644 {
3645 register char *__retval = *__s;
3646 if (__retval != ((void *)0))
3647 {
3648 register char *__cp = __retval;
3649 while (1)
3650 {
3651 if (*__cp == '\0')
3652 {
3653 __cp = ((void *)0);
3654 break;
3655 }
3656 if (*__cp == __reject1 || *__cp == __reject2 || *__cp == __reject3)
3657 {
3658 *__cp++ = '\0';
3659 break;
3660 }
3661 ++__cp;
3662 }
3663 *__s = __cp;
3664 }
3665 return __retval;
3666 }
3667 # 1304 "/usr/include/bits/string2.h" 3 4
3668 extern char *__strdup (__const char *__string) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__));
3669 # 1323 "/usr/include/bits/string2.h" 3 4
3670 extern char *__strndup (__const char *__string, size_t __n)
3671 __attribute__ ((__nothrow__)) __attribute__ ((__malloc__));
3672 # 418 "/usr/include/string.h" 2 3 4
3673 # 426 "/usr/include/string.h" 3 4
3674
3675 # 71 "netlib.c" 2
3676 # 1 "/usr/include/assert.h" 1 3 4
3677 # 67 "/usr/include/assert.h" 3 4
3678
3679
3680
3681 extern void __assert_fail (__const char *__assertion, __const char *__file,
3682 unsigned int __line, __const char *__function)
3683 __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__));
3684
3685
3686 extern void __assert_perror_fail (int __errnum, __const char *__file,
3687 unsigned int __line,
3688 __const char *__function)
3689 __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__));
3690
3691
3692
3693
3694 extern void __assert (const char *__assertion, const char *__file, int __line)
3695 __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__));
3696
3697
3698
3699 # 72 "netlib.c" 2
3700
3701
3702
3703
3704
3705
3706
3707 # 1 "/usr/include/unistd.h" 1 3 4
3708 # 28 "/usr/include/unistd.h" 3 4
3709
3710 # 171 "/usr/include/unistd.h" 3 4
3711 # 1 "/usr/include/bits/posix_opt.h" 1 3 4
3712 # 172 "/usr/include/unistd.h" 2 3 4
3713 # 195 "/usr/include/unistd.h" 3 4
3714 # 1 "/home/roc/toolchain/svn/gcc4.1/uclinux/bin/../lib/gcc/bfin-uclinux/4.1.1/include/stddef.h" 1 3 4
3715 # 196 "/usr/include/unistd.h" 2 3 4
3716 # 236 "/usr/include/unistd.h" 3 4
3717 typedef __intptr_t intptr_t;
3718
3719
3720
3721
3722
3723
3724 typedef __socklen_t socklen_t;
3725 # 256 "/usr/include/unistd.h" 3 4
3726 extern int access (__const char *__name, int __type) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
3727 # 287 "/usr/include/unistd.h" 3 4
3728 extern __off_t lseek (int __fd, __off_t __offset, int __whence) __attribute__ ((__nothrow__));
3729 # 305 "/usr/include/unistd.h" 3 4
3730 extern int close (int __fd);
3731
3732
3733
3734
3735
3736
3737 extern ssize_t read (int __fd, void *__buf, size_t __nbytes);
3738
3739
3740
3741
3742
3743 extern ssize_t write (int __fd, __const void *__buf, size_t __n);
3744 # 369 "/usr/include/unistd.h" 3 4
3745 extern int pipe (int __pipedes[2]) __attribute__ ((__nothrow__));
3746 # 378 "/usr/include/unistd.h" 3 4
3747 extern unsigned int alarm (unsigned int __seconds) __attribute__ ((__nothrow__));
3748 # 390 "/usr/include/unistd.h" 3 4
3749 extern unsigned int sleep (unsigned int __seconds);
3750
3751
3752
3753
3754
3755
3756 extern __useconds_t ualarm (__useconds_t __value, __useconds_t __interval)
3757 __attribute__ ((__nothrow__));
3758
3759
3760
3761
3762
3763
3764 extern int usleep (__useconds_t __useconds);
3765 # 414 "/usr/include/unistd.h" 3 4
3766 extern int pause (void);
3767
3768
3769
3770 extern int chown (__const char *__file, __uid_t __owner, __gid_t __group)
3771 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
3772
3773
3774
3775 extern int fchown (int __fd, __uid_t __owner, __gid_t __group) __attribute__ ((__nothrow__));
3776
3777
3778
3779
3780 extern int lchown (__const char *__file, __uid_t __owner, __gid_t __group)
3781 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
3782
3783
3784
3785
3786 extern int chdir (__const char *__path) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
3787
3788
3789
3790 extern int fchdir (int __fd) __attribute__ ((__nothrow__));
3791 # 448 "/usr/include/unistd.h" 3 4
3792 extern char *getcwd (char *__buf, size_t __size) __attribute__ ((__nothrow__));
3793 # 461 "/usr/include/unistd.h" 3 4
3794 extern char *getwd (char *__buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
3795
3796
3797
3798
3799 extern int dup (int __fd) __attribute__ ((__nothrow__));
3800
3801
3802 extern int dup2 (int __fd, int __fd2) __attribute__ ((__nothrow__));
3803
3804
3805 extern char **__environ;
3806
3807
3808
3809
3810
3811
3812
3813 extern int execve (__const char *__path, char *__const __argv[],
3814 char *__const __envp[]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
3815 # 492 "/usr/include/unistd.h" 3 4
3816 extern int execv (__const char *__path, char *__const __argv[])
3817 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
3818
3819
3820
3821 extern int execle (__const char *__path, __const char *__arg, ...)
3822 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
3823
3824
3825
3826 extern int execl (__const char *__path, __const char *__arg, ...)
3827 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
3828
3829
3830
3831 extern int execvp (__const char *__file, char *__const __argv[])
3832 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
3833
3834
3835
3836
3837 extern int execlp (__const char *__file, __const char *__arg, ...)
3838 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
3839
3840
3841
3842
3843 extern int nice (int __inc) __attribute__ ((__nothrow__));
3844
3845
3846
3847
3848 extern void _exit (int __status) __attribute__ ((__noreturn__));
3849
3850
3851
3852
3853
3854 # 1 "/usr/include/bits/confname.h" 1 3 4
3855 # 26 "/usr/include/bits/confname.h" 3 4
3856 enum
3857 {
3858 _PC_LINK_MAX,
3859
3860 _PC_MAX_CANON,
3861
3862 _PC_MAX_INPUT,
3863
3864 _PC_NAME_MAX,
3865
3866 _PC_PATH_MAX,
3867
3868 _PC_PIPE_BUF,
3869
3870 _PC_CHOWN_RESTRICTED,
3871
3872 _PC_NO_TRUNC,
3873
3874 _PC_VDISABLE,
3875
3876 _PC_SYNC_IO,
3877
3878 _PC_ASYNC_IO,
3879
3880 _PC_PRIO_IO,
3881
3882 _PC_SOCK_MAXBUF,
3883
3884 _PC_FILESIZEBITS,
3885
3886 _PC_REC_INCR_XFER_SIZE,
3887
3888 _PC_REC_MAX_XFER_SIZE,
3889
3890 _PC_REC_MIN_XFER_SIZE,
3891
3892 _PC_REC_XFER_ALIGN,
3893
3894 _PC_ALLOC_SIZE_MIN,
3895
3896 _PC_SYMLINK_MAX,
3897
3898 _PC_2_SYMLINKS
3899
3900 };
3901
3902
3903 enum
3904 {
3905 _SC_ARG_MAX,
3906
3907 _SC_CHILD_MAX,
3908
3909 _SC_CLK_TCK,
3910
3911 _SC_NGROUPS_MAX,
3912
3913 _SC_OPEN_MAX,
3914
3915 _SC_STREAM_MAX,
3916
3917 _SC_TZNAME_MAX,
3918
3919 _SC_JOB_CONTROL,
3920
3921 _SC_SAVED_IDS,
3922
3923 _SC_REALTIME_SIGNALS,
3924
3925 _SC_PRIORITY_SCHEDULING,
3926
3927 _SC_TIMERS,
3928
3929 _SC_ASYNCHRONOUS_IO,
3930
3931 _SC_PRIORITIZED_IO,
3932
3933 _SC_SYNCHRONIZED_IO,
3934
3935 _SC_FSYNC,
3936
3937 _SC_MAPPED_FILES,
3938
3939 _SC_MEMLOCK,
3940
3941 _SC_MEMLOCK_RANGE,
3942
3943 _SC_MEMORY_PROTECTION,
3944
3945 _SC_MESSAGE_PASSING,
3946
3947 _SC_SEMAPHORES,
3948
3949 _SC_SHARED_MEMORY_OBJECTS,
3950
3951 _SC_AIO_LISTIO_MAX,
3952
3953 _SC_AIO_MAX,
3954
3955 _SC_AIO_PRIO_DELTA_MAX,
3956
3957 _SC_DELAYTIMER_MAX,
3958
3959 _SC_MQ_OPEN_MAX,
3960
3961 _SC_MQ_PRIO_MAX,
3962
3963 _SC_VERSION,
3964
3965 _SC_PAGESIZE,
3966
3967
3968 _SC_RTSIG_MAX,
3969
3970 _SC_SEM_NSEMS_MAX,
3971
3972 _SC_SEM_VALUE_MAX,
3973
3974 _SC_SIGQUEUE_MAX,
3975
3976 _SC_TIMER_MAX,
3977
3978
3979
3980
3981 _SC_BC_BASE_MAX,
3982
3983 _SC_BC_DIM_MAX,
3984
3985 _SC_BC_SCALE_MAX,
3986
3987 _SC_BC_STRING_MAX,
3988
3989 _SC_COLL_WEIGHTS_MAX,
3990
3991 _SC_EQUIV_CLASS_MAX,
3992
3993 _SC_EXPR_NEST_MAX,
3994
3995 _SC_LINE_MAX,
3996
3997 _SC_RE_DUP_MAX,
3998
3999 _SC_CHARCLASS_NAME_MAX,
4000
4001
4002 _SC_2_VERSION,
4003
4004 _SC_2_C_BIND,
4005
4006 _SC_2_C_DEV,
4007
4008 _SC_2_FORT_DEV,
4009
4010 _SC_2_FORT_RUN,
4011
4012 _SC_2_SW_DEV,
4013
4014 _SC_2_LOCALEDEF,
4015
4016
4017 _SC_PII,
4018
4019 _SC_PII_XTI,
4020
4021 _SC_PII_SOCKET,
4022
4023 _SC_PII_INTERNET,
4024
4025 _SC_PII_OSI,
4026
4027 _SC_POLL,
4028
4029 _SC_SELECT,
4030
4031 _SC_UIO_MAXIOV,
4032
4033 _SC_IOV_MAX = _SC_UIO_MAXIOV,
4034
4035 _SC_PII_INTERNET_STREAM,
4036
4037 _SC_PII_INTERNET_DGRAM,
4038
4039 _SC_PII_OSI_COTS,
4040
4041 _SC_PII_OSI_CLTS,
4042
4043 _SC_PII_OSI_M,
4044
4045 _SC_T_IOV_MAX,
4046
4047
4048
4049 _SC_THREADS,
4050
4051 _SC_THREAD_SAFE_FUNCTIONS,
4052
4053 _SC_GETGR_R_SIZE_MAX,
4054
4055 _SC_GETPW_R_SIZE_MAX,
4056
4057 _SC_LOGIN_NAME_MAX,
4058
4059 _SC_TTY_NAME_MAX,
4060
4061 _SC_THREAD_DESTRUCTOR_ITERATIONS,
4062
4063 _SC_THREAD_KEYS_MAX,
4064
4065 _SC_THREAD_STACK_MIN,
4066
4067 _SC_THREAD_THREADS_MAX,
4068
4069 _SC_THREAD_ATTR_STACKADDR,
4070
4071 _SC_THREAD_ATTR_STACKSIZE,
4072
4073 _SC_THREAD_PRIORITY_SCHEDULING,
4074
4075 _SC_THREAD_PRIO_INHERIT,
4076
4077 _SC_THREAD_PRIO_PROTECT,
4078
4079 _SC_THREAD_PROCESS_SHARED,
4080
4081
4082 _SC_NPROCESSORS_CONF,
4083
4084 _SC_NPROCESSORS_ONLN,
4085
4086 _SC_PHYS_PAGES,
4087
4088 _SC_AVPHYS_PAGES,
4089
4090 _SC_ATEXIT_MAX,
4091
4092 _SC_PASS_MAX,
4093
4094
4095 _SC_XOPEN_VERSION,
4096
4097 _SC_XOPEN_XCU_VERSION,
4098
4099 _SC_XOPEN_UNIX,
4100
4101 _SC_XOPEN_CRYPT,
4102
4103 _SC_XOPEN_ENH_I18N,
4104
4105 _SC_XOPEN_SHM,
4106
4107
4108 _SC_2_CHAR_TERM,
4109
4110 _SC_2_C_VERSION,
4111
4112 _SC_2_UPE,
4113
4114
4115 _SC_XOPEN_XPG2,
4116
4117 _SC_XOPEN_XPG3,
4118
4119 _SC_XOPEN_XPG4,
4120
4121
4122 _SC_CHAR_BIT,
4123
4124 _SC_CHAR_MAX,
4125
4126 _SC_CHAR_MIN,
4127
4128 _SC_INT_MAX,
4129
4130 _SC_INT_MIN,
4131
4132 _SC_LONG_BIT,
4133
4134 _SC_WORD_BIT,
4135
4136 _SC_MB_LEN_MAX,
4137
4138 _SC_NZERO,
4139
4140 _SC_SSIZE_MAX,
4141
4142 _SC_SCHAR_MAX,
4143
4144 _SC_SCHAR_MIN,
4145
4146 _SC_SHRT_MAX,
4147
4148 _SC_SHRT_MIN,
4149
4150 _SC_UCHAR_MAX,
4151
4152 _SC_UINT_MAX,
4153
4154 _SC_ULONG_MAX,
4155
4156 _SC_USHRT_MAX,
4157
4158
4159 _SC_NL_ARGMAX,
4160
4161 _SC_NL_LANGMAX,
4162
4163 _SC_NL_MSGMAX,
4164
4165 _SC_NL_NMAX,
4166
4167 _SC_NL_SETMAX,
4168
4169 _SC_NL_TEXTMAX,
4170
4171
4172 _SC_XBS5_ILP32_OFF32,
4173
4174 _SC_XBS5_ILP32_OFFBIG,
4175
4176 _SC_XBS5_LP64_OFF64,
4177
4178 _SC_XBS5_LPBIG_OFFBIG,
4179
4180
4181 _SC_XOPEN_LEGACY,
4182
4183 _SC_XOPEN_REALTIME,
4184
4185 _SC_XOPEN_REALTIME_THREADS,
4186
4187
4188 _SC_ADVISORY_INFO,
4189
4190 _SC_BARRIERS,
4191
4192 _SC_BASE,
4193
4194 _SC_C_LANG_SUPPORT,
4195
4196 _SC_C_LANG_SUPPORT_R,
4197
4198 _SC_CLOCK_SELECTION,
4199
4200 _SC_CPUTIME,
4201
4202 _SC_THREAD_CPUTIME,
4203
4204 _SC_DEVICE_IO,
4205
4206 _SC_DEVICE_SPECIFIC,
4207
4208 _SC_DEVICE_SPECIFIC_R,
4209
4210 _SC_FD_MGMT,
4211
4212 _SC_FIFO,
4213
4214 _SC_PIPE,
4215
4216 _SC_FILE_ATTRIBUTES,
4217
4218 _SC_FILE_LOCKING,
4219
4220 _SC_FILE_SYSTEM,
4221
4222 _SC_MONOTONIC_CLOCK,
4223
4224 _SC_MULTI_PROCESS,
4225
4226 _SC_SINGLE_PROCESS,
4227
4228 _SC_NETWORKING,
4229
4230 _SC_READER_WRITER_LOCKS,
4231
4232 _SC_SPIN_LOCKS,
4233
4234 _SC_REGEXP,
4235
4236 _SC_REGEX_VERSION,
4237
4238 _SC_SHELL,
4239
4240 _SC_SIGNALS,
4241
4242 _SC_SPAWN,
4243
4244 _SC_SPORADIC_SERVER,
4245
4246 _SC_THREAD_SPORADIC_SERVER,
4247
4248 _SC_SYSTEM_DATABASE,
4249
4250 _SC_SYSTEM_DATABASE_R,
4251
4252 _SC_TIMEOUTS,
4253
4254 _SC_TYPED_MEMORY_OBJECTS,
4255
4256 _SC_USER_GROUPS,
4257
4258 _SC_USER_GROUPS_R,
4259
4260 _SC_2_PBS,
4261
4262 _SC_2_PBS_ACCOUNTING,
4263
4264 _SC_2_PBS_LOCATE,
4265
4266 _SC_2_PBS_MESSAGE,
4267
4268 _SC_2_PBS_TRACK,
4269
4270 _SC_SYMLOOP_MAX,
4271
4272 _SC_STREAMS,
4273
4274 _SC_2_PBS_CHECKPOINT,
4275
4276
4277 _SC_V6_ILP32_OFF32,
4278
4279 _SC_V6_ILP32_OFFBIG,
4280
4281 _SC_V6_LP64_OFF64,
4282
4283 _SC_V6_LPBIG_OFFBIG,
4284
4285
4286 _SC_HOST_NAME_MAX,
4287
4288 _SC_TRACE,
4289
4290 _SC_TRACE_EVENT_FILTER,
4291
4292 _SC_TRACE_INHERIT,
4293
4294 _SC_TRACE_LOG,
4295
4296
4297 _SC_LEVEL1_ICACHE_SIZE,
4298
4299 _SC_LEVEL1_ICACHE_ASSOC,
4300
4301 _SC_LEVEL1_ICACHE_LINESIZE,
4302
4303 _SC_LEVEL1_DCACHE_SIZE,
4304
4305 _SC_LEVEL1_DCACHE_ASSOC,
4306
4307 _SC_LEVEL1_DCACHE_LINESIZE,
4308
4309 _SC_LEVEL2_CACHE_SIZE,
4310
4311 _SC_LEVEL2_CACHE_ASSOC,
4312
4313 _SC_LEVEL2_CACHE_LINESIZE,
4314
4315 _SC_LEVEL3_CACHE_SIZE,
4316
4317 _SC_LEVEL3_CACHE_ASSOC,
4318
4319 _SC_LEVEL3_CACHE_LINESIZE,
4320
4321 _SC_LEVEL4_CACHE_SIZE,
4322
4323 _SC_LEVEL4_CACHE_ASSOC,
4324
4325 _SC_LEVEL4_CACHE_LINESIZE,
4326
4327
4328
4329 _SC_IPV6 = _SC_LEVEL1_ICACHE_SIZE + 50,
4330
4331 _SC_RAW_SOCKETS
4332
4333 };
4334
4335
4336 enum
4337 {
4338 _CS_PATH,
4339
4340
4341 _CS_V6_WIDTH_RESTRICTED_ENVS,
4342
4343
4344 _CS_GNU_LIBC_VERSION,
4345
4346 _CS_GNU_LIBPTHREAD_VERSION,
4347
4348
4349 _CS_LFS_CFLAGS = 1000,
4350
4351 _CS_LFS_LDFLAGS,
4352
4353 _CS_LFS_LIBS,
4354
4355 _CS_LFS_LINTFLAGS,
4356
4357 _CS_LFS64_CFLAGS,
4358
4359 _CS_LFS64_LDFLAGS,
4360
4361 _CS_LFS64_LIBS,
4362
4363 _CS_LFS64_LINTFLAGS,
4364
4365
4366 _CS_XBS5_ILP32_OFF32_CFLAGS = 1100,
4367
4368 _CS_XBS5_ILP32_OFF32_LDFLAGS,
4369
4370 _CS_XBS5_ILP32_OFF32_LIBS,
4371
4372 _CS_XBS5_ILP32_OFF32_LINTFLAGS,
4373
4374 _CS_XBS5_ILP32_OFFBIG_CFLAGS,
4375
4376 _CS_XBS5_ILP32_OFFBIG_LDFLAGS,
4377
4378 _CS_XBS5_ILP32_OFFBIG_LIBS,
4379
4380 _CS_XBS5_ILP32_OFFBIG_LINTFLAGS,
4381
4382 _CS_XBS5_LP64_OFF64_CFLAGS,
4383
4384 _CS_XBS5_LP64_OFF64_LDFLAGS,
4385
4386 _CS_XBS5_LP64_OFF64_LIBS,
4387
4388 _CS_XBS5_LP64_OFF64_LINTFLAGS,
4389
4390 _CS_XBS5_LPBIG_OFFBIG_CFLAGS,
4391
4392 _CS_XBS5_LPBIG_OFFBIG_LDFLAGS,
4393
4394 _CS_XBS5_LPBIG_OFFBIG_LIBS,
4395
4396 _CS_XBS5_LPBIG_OFFBIG_LINTFLAGS,
4397
4398
4399 _CS_POSIX_V6_ILP32_OFF32_CFLAGS,
4400
4401 _CS_POSIX_V6_ILP32_OFF32_LDFLAGS,
4402
4403 _CS_POSIX_V6_ILP32_OFF32_LIBS,
4404
4405 _CS_POSIX_V6_ILP32_OFF32_LINTFLAGS,
4406
4407 _CS_POSIX_V6_ILP32_OFFBIG_CFLAGS,
4408
4409 _CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS,
4410
4411 _CS_POSIX_V6_ILP32_OFFBIG_LIBS,
4412
4413 _CS_POSIX_V6_ILP32_OFFBIG_LINTFLAGS,
4414
4415 _CS_POSIX_V6_LP64_OFF64_CFLAGS,
4416
4417 _CS_POSIX_V6_LP64_OFF64_LDFLAGS,
4418
4419 _CS_POSIX_V6_LP64_OFF64_LIBS,
4420
4421 _CS_POSIX_V6_LP64_OFF64_LINTFLAGS,
4422
4423 _CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS,
4424
4425 _CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS,
4426
4427 _CS_POSIX_V6_LPBIG_OFFBIG_LIBS,
4428
4429 _CS_POSIX_V6_LPBIG_OFFBIG_LINTFLAGS
4430
4431 };
4432 # 531 "/usr/include/unistd.h" 2 3 4
4433
4434
4435 extern long int pathconf (__const char *__path, int __name)
4436 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
4437
4438
4439 extern long int fpathconf (int __fd, int __name) __attribute__ ((__nothrow__));
4440
4441
4442 extern long int sysconf (int __name) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
4443
4444
4445
4446 extern size_t confstr (int __name, char *__buf, size_t __len) __attribute__ ((__nothrow__));
4447
4448
4449
4450
4451 extern __pid_t getpid (void) __attribute__ ((__nothrow__));
4452
4453
4454 extern __pid_t getppid (void) __attribute__ ((__nothrow__));
4455
4456
4457
4458
4459 extern __pid_t getpgrp (void) __attribute__ ((__nothrow__));
4460 # 567 "/usr/include/unistd.h" 3 4
4461 extern __pid_t __getpgid (__pid_t __pid) __attribute__ ((__nothrow__));
4462 # 576 "/usr/include/unistd.h" 3 4
4463 extern int setpgid (__pid_t __pid, __pid_t __pgid) __attribute__ ((__nothrow__));
4464 # 593 "/usr/include/unistd.h" 3 4
4465 extern int setpgrp (void) __attribute__ ((__nothrow__));
4466 # 610 "/usr/include/unistd.h" 3 4
4467 extern __pid_t setsid (void) __attribute__ ((__nothrow__));
4468
4469
4470
4471
4472
4473
4474
4475 extern __uid_t getuid (void) __attribute__ ((__nothrow__));
4476
4477
4478 extern __uid_t geteuid (void) __attribute__ ((__nothrow__));
4479
4480
4481 extern __gid_t getgid (void) __attribute__ ((__nothrow__));
4482
4483
4484 extern __gid_t getegid (void) __attribute__ ((__nothrow__));
4485
4486
4487
4488
4489 extern int getgroups (int __size, __gid_t __list[]) __attribute__ ((__nothrow__));
4490 # 643 "/usr/include/unistd.h" 3 4
4491 extern int setuid (__uid_t __uid) __attribute__ ((__nothrow__));
4492
4493
4494
4495
4496 extern int setreuid (__uid_t __ruid, __uid_t __euid) __attribute__ ((__nothrow__));
4497
4498
4499
4500
4501 extern int seteuid (__uid_t __uid) __attribute__ ((__nothrow__));
4502
4503
4504
4505
4506
4507
4508 extern int setgid (__gid_t __gid) __attribute__ ((__nothrow__));
4509
4510
4511
4512
4513 extern int setregid (__gid_t __rgid, __gid_t __egid) __attribute__ ((__nothrow__));
4514
4515
4516
4517
4518 extern int setegid (__gid_t __gid) __attribute__ ((__nothrow__));
4519 # 695 "/usr/include/unistd.h" 3 4
4520 extern __pid_t fork (void) __attribute__ ((__nothrow__));
4521
4522
4523
4524
4525
4526
4527 extern __pid_t vfork (void) __attribute__ ((__nothrow__));
4528
4529
4530
4531
4532
4533 extern char *ttyname (int __fd) __attribute__ ((__nothrow__));
4534
4535
4536
4537 extern int ttyname_r (int __fd, char *__buf, size_t __buflen)
4538 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
4539
4540
4541
4542 extern int isatty (int __fd) __attribute__ ((__nothrow__));
4543
4544
4545
4546
4547
4548 extern int ttyslot (void) __attribute__ ((__nothrow__));
4549
4550
4551
4552
4553 extern int link (__const char *__from, __const char *__to)
4554 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
4555
4556
4557
4558 extern int symlink (__const char *__from, __const char *__to)
4559 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
4560