2 # 1 "/usr/local/src/blackfin/svn/uclinux-dist/trunk/user/blkfin-test/string_test//"
6 # 1 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/stdio.h" 1 3 4
7 # 28 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/stdio.h" 3 4
8 # 1 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/features.h" 1 3 4
9 # 35 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/features.h" 3 4
10 # 1 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/bits/uClibc_config.h" 1 3 4
11 # 36 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/features.h" 2 3 4
13 # 1 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/bits/uClibc_arch_features.h" 1 3 4
14 # 38 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/features.h" 2 3 4
15 # 356 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/features.h" 3 4
16 # 1 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/sys/cdefs.h" 1 3 4
17 # 357 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/features.h" 2 3 4
18 # 29 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/stdio.h" 2 3 4
24 # 1 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/lib/gcc/bfin-uclinux/4.1.2/include/stddef.h" 1 3 4
25 # 214 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/lib/gcc/bfin-uclinux/4.1.2/include/stddef.h" 3 4
26 typedef long unsigned int size_t;
27 # 35 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/stdio.h" 2 3 4
29 # 1 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/bits/types.h" 1 3 4
30 # 28 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/bits/types.h" 3 4
31 # 1 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/bits/wordsize.h" 1 3 4
32 # 29 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/bits/types.h" 2 3 4
35 # 1 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/lib/gcc/bfin-uclinux/4.1.2/include/stddef.h" 1 3 4
36 # 32 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/bits/types.h" 2 3 4
37 # 1 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/bits/kernel_types.h" 1 3 4
38 # 10 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/bits/kernel_types.h" 3 4
39 typedef unsigned short __kernel_dev_t;
40 typedef unsigned long __kernel_ino_t;
41 typedef unsigned short __kernel_mode_t;
42 typedef unsigned short __kernel_nlink_t;
43 typedef long __kernel_off_t;
44 typedef int __kernel_pid_t;
45 typedef unsigned int __kernel_ipc_pid_t;
46 typedef unsigned int __kernel_uid_t;
47 typedef unsigned int __kernel_gid_t;
48 typedef unsigned int __kernel_size_t;
49 typedef int __kernel_ssize_t;
50 typedef int __kernel_ptrdiff_t;
51 typedef long __kernel_time_t;
52 typedef long __kernel_suseconds_t;
53 typedef long __kernel_clock_t;
54 typedef int __kernel_daddr_t;
55 typedef char * __kernel_caddr_t;
56 typedef unsigned short __kernel_uid16_t;
57 typedef unsigned short __kernel_gid16_t;
58 typedef unsigned int __kernel_uid32_t;
59 typedef unsigned int __kernel_gid32_t;
60 typedef unsigned short __kernel_old_uid_t;
61 typedef unsigned short __kernel_old_gid_t;
62 typedef long long __kernel_loff_t;
63 typedef __kernel_dev_t __kernel_old_dev_t;
72 # 33 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/bits/types.h" 2 3 4
75 typedef unsigned char __u_char;
76 typedef unsigned short int __u_short;
77 typedef unsigned int __u_int;
78 typedef unsigned long int __u_long;
81 typedef signed char __int8_t;
82 typedef unsigned char __uint8_t;
83 typedef signed short int __int16_t;
84 typedef unsigned short int __uint16_t;
85 typedef signed int __int32_t;
86 typedef unsigned int __uint32_t;
91 __extension__ typedef signed long long int __int64_t;
92 __extension__ typedef unsigned long long int __uint64_t;
100 __extension__ typedef long long int __quad_t;
101 __extension__ typedef unsigned long long int __u_quad_t;
102 # 135 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/bits/types.h" 3 4
103 # 1 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/bits/typesizes.h" 1 3 4
104 # 136 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/bits/types.h" 2 3 4
107 __extension__ typedef __u_quad_t __dev_t;
108 __extension__ typedef unsigned int __uid_t;
109 __extension__ typedef unsigned int __gid_t;
110 __extension__ typedef unsigned long int __ino_t;
111 __extension__ typedef __u_quad_t __ino64_t;
112 __extension__ typedef unsigned int __mode_t;
113 __extension__ typedef unsigned int __nlink_t;
114 __extension__ typedef long int __off_t;
115 __extension__ typedef __quad_t __off64_t;
116 __extension__ typedef int __pid_t;
117 __extension__ typedef struct { int __val[2]; } __fsid_t;
118 __extension__ typedef long int __clock_t;
119 __extension__ typedef unsigned long int __rlim_t;
120 __extension__ typedef __u_quad_t __rlim64_t;
121 __extension__ typedef unsigned int __id_t;
122 __extension__ typedef long int __time_t;
123 __extension__ typedef unsigned int __useconds_t;
124 __extension__ typedef long int __suseconds_t;
126 __extension__ typedef int __daddr_t;
127 __extension__ typedef long int __swblk_t;
128 __extension__ typedef int __key_t;
131 __extension__ typedef int __clockid_t;
134 __extension__ typedef void * __timer_t;
137 __extension__ typedef long int __blksize_t;
142 __extension__ typedef long int __blkcnt_t;
143 __extension__ typedef __quad_t __blkcnt64_t;
146 __extension__ typedef unsigned long int __fsblkcnt_t;
147 __extension__ typedef __u_quad_t __fsblkcnt64_t;
150 __extension__ typedef unsigned long int __fsfilcnt_t;
151 __extension__ typedef __u_quad_t __fsfilcnt64_t;
153 __extension__ typedef long int __ssize_t;
157 typedef __off64_t __loff_t;
158 typedef __quad_t *__qaddr_t;
159 typedef char *__caddr_t;
162 __extension__ typedef int __intptr_t;
165 __extension__ typedef unsigned int __socklen_t;
171 typedef __kernel_ipc_pid_t __ipc_pid_t;
175 # 1 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/bits/pthreadtypes.h" 1 3 4
176 # 23 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/bits/pthreadtypes.h" 3 4
177 # 1 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/bits/sched.h" 1 3 4
178 # 91 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/bits/sched.h" 3 4
181 int __sched_priority;
183 # 24 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/bits/pthreadtypes.h" 2 3 4
186 struct _pthread_fastlock
195 typedef struct _pthread_descr_struct *_pthread_descr;
201 typedef struct __pthread_attr_s
205 struct __sched_param __schedparam;
218 struct _pthread_fastlock __c_lock;
219 _pthread_descr __c_waiting;
227 } pthread_condattr_t;
230 typedef unsigned int pthread_key_t;
240 _pthread_descr __m_owner;
242 struct _pthread_fastlock __m_lock;
250 } pthread_mutexattr_t;
254 typedef int pthread_once_t;
255 # 140 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/bits/pthreadtypes.h" 3 4
256 typedef unsigned long int pthread_t;
257 # 207 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/bits/types.h" 2 3 4
258 # 37 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/stdio.h" 2 3 4
268 typedef struct __STDIO_FILE_STRUCT FILE;
274 # 62 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/stdio.h" 3 4
275 typedef struct __STDIO_FILE_STRUCT __FILE;
276 # 72 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/stdio.h" 3 4
277 # 1 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/bits/uClibc_stdio.h" 1 3 4
278 # 119 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/bits/uClibc_stdio.h" 3 4
279 # 1 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/bits/uClibc_mutex.h" 1 3 4
280 # 15 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/bits/uClibc_mutex.h" 3 4
281 # 1 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/pthread.h" 1 3 4
282 # 20 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/pthread.h" 3 4
283 # 1 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/sched.h" 1 3 4
284 # 29 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/sched.h" 3 4
285 # 1 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/time.h" 1 3 4
286 # 121 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/time.h" 3 4
292 # 30 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/sched.h" 2 3 4
295 # 1 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/bits/sched.h" 1 3 4
296 # 65 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/bits/sched.h" 3 4
299 int __sched_priority;
306 extern int clone (int (*__fn) (void *__arg), void *__child_stack,
307 int __flags, void *__arg, ...) __attribute__ ((__nothrow__));
316 # 106 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/bits/sched.h" 3 4
317 typedef unsigned long int __cpu_mask;
326 __cpu_mask __bits[1024 / (8 * sizeof (__cpu_mask))];
328 # 33 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/sched.h" 2 3 4
336 extern int sched_setparam (__pid_t __pid, __const struct sched_param *__param)
337 __attribute__ ((__nothrow__));
340 extern int sched_getparam (__pid_t __pid, struct sched_param *__param) __attribute__ ((__nothrow__));
343 extern int sched_setscheduler (__pid_t __pid, int __policy,
344 __const struct sched_param *__param) __attribute__ ((__nothrow__));
347 extern int sched_getscheduler (__pid_t __pid) __attribute__ ((__nothrow__));
350 extern int sched_yield (void) __attribute__ ((__nothrow__));
353 extern int sched_get_priority_max (int __algorithm) __attribute__ ((__nothrow__));
356 extern int sched_get_priority_min (int __algorithm) __attribute__ ((__nothrow__));
359 extern int sched_rr_get_interval (__pid_t __pid, struct timespec *__t) __attribute__ ((__nothrow__));
360 # 84 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/sched.h" 3 4
362 # 21 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/pthread.h" 2 3 4
363 # 1 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/time.h" 1 3 4
364 # 31 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/time.h" 3 4
373 # 1 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/lib/gcc/bfin-uclinux/4.1.2/include/stddef.h" 1 3 4
374 # 40 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/time.h" 2 3 4
378 # 1 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/bits/time.h" 1 3 4
379 # 38 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/bits/time.h" 3 4
380 # 1 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/bits/uClibc_clk_tck.h" 1 3 4
381 # 39 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/bits/time.h" 2 3 4
382 # 44 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/time.h" 2 3 4
383 # 59 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/time.h" 3 4
386 typedef __clock_t clock_t;
390 # 75 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/time.h" 3 4
393 typedef __time_t time_t;
397 # 93 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/time.h" 3 4
398 typedef __clockid_t clockid_t;
399 # 105 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/time.h" 3 4
400 typedef __timer_t timer_t;
401 # 132 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/time.h" 3 4
419 __const char *tm_zone;
436 struct timespec it_interval;
437 struct timespec it_value;
442 # 183 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/time.h" 3 4
446 extern clock_t clock (void) __attribute__ ((__nothrow__));
449 extern time_t time (time_t *__timer) __attribute__ ((__nothrow__));
453 extern double difftime (time_t __time1, time_t __time0)
454 __attribute__ ((__nothrow__)) __attribute__ ((__const__));
458 extern time_t mktime (struct tm *__tp) __attribute__ ((__nothrow__));
464 extern size_t strftime (char *__restrict __s, size_t __maxsize,
465 __const char *__restrict __format,
466 __const struct tm *__restrict __tp) __attribute__ ((__nothrow__));
468 # 235 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/time.h" 3 4
472 extern struct tm *gmtime (__const time_t *__timer) __attribute__ ((__nothrow__));
476 extern struct tm *localtime (__const time_t *__timer) __attribute__ ((__nothrow__));
482 extern struct tm *gmtime_r (__const time_t *__restrict __timer,
483 struct tm *__restrict __tp) __attribute__ ((__nothrow__));
487 extern struct tm *localtime_r (__const time_t *__restrict __timer,
488 struct tm *__restrict __tp) __attribute__ ((__nothrow__));
494 extern char *asctime (__const struct tm *__tp) __attribute__ ((__nothrow__));
497 extern char *ctime (__const time_t *__timer) __attribute__ ((__nothrow__));
505 extern char *asctime_r (__const struct tm *__restrict __tp,
506 char *__restrict __buf) __attribute__ ((__nothrow__));
509 extern char *ctime_r (__const time_t *__restrict __timer,
510 char *__restrict __buf) __attribute__ ((__nothrow__));
511 # 291 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/time.h" 3 4
512 extern char *tzname[2];
516 extern void tzset (void) __attribute__ ((__nothrow__));
521 extern long int timezone;
527 extern int stime (__const time_t *__when) __attribute__ ((__nothrow__));
528 # 321 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/time.h" 3 4
529 extern time_t timegm (struct tm *__tp) __attribute__ ((__nothrow__));
532 extern time_t timelocal (struct tm *__tp) __attribute__ ((__nothrow__));
535 extern int dysize (int __year) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
536 # 336 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/time.h" 3 4
537 extern int nanosleep (__const struct timespec *__requested_time,
538 struct timespec *__remaining);
542 extern int clock_getres (clockid_t __clock_id, struct timespec *__res) __attribute__ ((__nothrow__));
545 extern int clock_gettime (clockid_t __clock_id, struct timespec *__tp) __attribute__ ((__nothrow__));
548 extern int clock_settime (clockid_t __clock_id, __const struct timespec *__tp)
549 __attribute__ ((__nothrow__));
550 # 368 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/time.h" 3 4
551 extern int timer_create (clockid_t __clock_id,
552 struct sigevent *__restrict __evp,
553 timer_t *__restrict __timerid) __attribute__ ((__nothrow__));
556 extern int timer_delete (timer_t __timerid) __attribute__ ((__nothrow__));
559 extern int timer_settime (timer_t __timerid, int __flags,
560 __const struct itimerspec *__restrict __value,
561 struct itimerspec *__restrict __ovalue) __attribute__ ((__nothrow__));
564 extern int timer_gettime (timer_t __timerid, struct itimerspec *__value)
565 __attribute__ ((__nothrow__));
568 extern int timer_getoverrun (timer_t __timerid) __attribute__ ((__nothrow__));
569 # 431 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/time.h" 3 4
571 # 22 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/pthread.h" 2 3 4
574 # 1 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/signal.h" 1 3 4
575 # 31 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/signal.h" 3 4
578 # 1 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/bits/sigset.h" 1 3 4
579 # 23 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/bits/sigset.h" 3 4
580 typedef int __sig_atomic_t;
587 unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))];
589 # 34 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/signal.h" 2 3 4
590 # 50 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/signal.h" 3 4
591 typedef __sigset_t sigset_t;
592 # 399 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/signal.h" 3 4
594 # 25 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/pthread.h" 2 3 4
595 # 1 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/bits/pthreadtypes.h" 1 3 4
596 # 26 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/pthread.h" 2 3 4
597 # 1 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/bits/initspin.h" 1 3 4
598 # 27 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/pthread.h" 2 3 4
602 # 59 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/pthread.h" 3 4
605 PTHREAD_CREATE_JOINABLE,
607 PTHREAD_CREATE_DETACHED
613 PTHREAD_INHERIT_SCHED,
615 PTHREAD_EXPLICIT_SCHED
621 PTHREAD_SCOPE_SYSTEM,
623 PTHREAD_SCOPE_PROCESS
629 PTHREAD_MUTEX_ADAPTIVE_NP,
630 PTHREAD_MUTEX_RECURSIVE_NP,
631 PTHREAD_MUTEX_ERRORCHECK_NP,
632 PTHREAD_MUTEX_TIMED_NP
633 # 100 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/pthread.h" 3 4
638 PTHREAD_PROCESS_PRIVATE,
640 PTHREAD_PROCESS_SHARED
643 # 131 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/pthread.h" 3 4
644 struct _pthread_cleanup_buffer
646 void (*__routine) (void *);
649 struct _pthread_cleanup_buffer *__prev;
656 PTHREAD_CANCEL_ENABLE,
658 PTHREAD_CANCEL_DISABLE
663 PTHREAD_CANCEL_DEFERRED,
665 PTHREAD_CANCEL_ASYNCHRONOUS
668 # 163 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/pthread.h" 3 4
669 extern int pthread_create (pthread_t *__restrict __threadp,
670 __const pthread_attr_t *__restrict __attr,
671 void *(*__start_routine) (void *),
672 void *__restrict __arg) __attribute__ ((__nothrow__));
675 extern pthread_t pthread_self (void) __attribute__ ((__nothrow__));
678 extern int pthread_equal (pthread_t __thread1, pthread_t __thread2) __attribute__ ((__nothrow__));
681 extern void pthread_exit (void *__retval) __attribute__ ((__noreturn__));
686 extern int pthread_join (pthread_t __th, void **__thread_return);
692 extern int pthread_detach (pthread_t __th) __attribute__ ((__nothrow__));
700 extern int pthread_attr_init (pthread_attr_t *__attr) __attribute__ ((__nothrow__));
703 extern int pthread_attr_destroy (pthread_attr_t *__attr) __attribute__ ((__nothrow__));
706 extern int pthread_attr_setdetachstate (pthread_attr_t *__attr,
707 int __detachstate) __attribute__ ((__nothrow__));
710 extern int pthread_attr_getdetachstate (__const pthread_attr_t *__attr,
711 int *__detachstate) __attribute__ ((__nothrow__));
714 extern int pthread_attr_setschedparam (pthread_attr_t *__restrict __attr,
715 __const struct sched_param *__restrict
716 __param) __attribute__ ((__nothrow__));
719 extern int pthread_attr_getschedparam (__const pthread_attr_t *__restrict
721 struct sched_param *__restrict __param)
722 __attribute__ ((__nothrow__));
725 extern int pthread_attr_setschedpolicy (pthread_attr_t *__attr, int __policy)
726 __attribute__ ((__nothrow__));
729 extern int pthread_attr_getschedpolicy (__const pthread_attr_t *__restrict
730 __attr, int *__restrict __policy)
731 __attribute__ ((__nothrow__));
734 extern int pthread_attr_setinheritsched (pthread_attr_t *__attr,
735 int __inherit) __attribute__ ((__nothrow__));
738 extern int pthread_attr_getinheritsched (__const pthread_attr_t *__restrict
739 __attr, int *__restrict __inherit)
740 __attribute__ ((__nothrow__));
743 extern int pthread_attr_setscope (pthread_attr_t *__attr, int __scope)
744 __attribute__ ((__nothrow__));
747 extern int pthread_attr_getscope (__const pthread_attr_t *__restrict __attr,
748 int *__restrict __scope) __attribute__ ((__nothrow__));
749 # 259 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/pthread.h" 3 4
750 extern int pthread_attr_setstackaddr (pthread_attr_t *__attr,
751 void *__stackaddr) __attribute__ ((__nothrow__));
754 extern int pthread_attr_getstackaddr (__const pthread_attr_t *__restrict
755 __attr, void **__restrict __stackaddr)
756 __attribute__ ((__nothrow__));
757 # 283 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/pthread.h" 3 4
758 extern int pthread_attr_setstacksize (pthread_attr_t *__attr,
759 size_t __stacksize) __attribute__ ((__nothrow__));
762 extern int pthread_attr_getstacksize (__const pthread_attr_t *__restrict
763 __attr, size_t *__restrict __stacksize)
764 __attribute__ ((__nothrow__));
765 # 306 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/pthread.h" 3 4
766 extern int pthread_setschedparam (pthread_t __target_thread, int __policy,
767 __const struct sched_param *__param)
768 __attribute__ ((__nothrow__));
771 extern int pthread_getschedparam (pthread_t __target_thread,
772 int *__restrict __policy,
773 struct sched_param *__restrict __param)
774 __attribute__ ((__nothrow__));
775 # 328 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/pthread.h" 3 4
776 extern int pthread_mutex_init (pthread_mutex_t *__restrict __mutex,
777 __const pthread_mutexattr_t *__restrict
778 __mutex_attr) __attribute__ ((__nothrow__));
781 extern int pthread_mutex_destroy (pthread_mutex_t *__mutex) __attribute__ ((__nothrow__));
784 extern int pthread_mutex_trylock (pthread_mutex_t *__mutex) __attribute__ ((__nothrow__));
787 extern int pthread_mutex_lock (pthread_mutex_t *__mutex) __attribute__ ((__nothrow__));
788 # 349 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/pthread.h" 3 4
789 extern int pthread_mutex_unlock (pthread_mutex_t *__mutex) __attribute__ ((__nothrow__));
796 extern int pthread_mutexattr_init (pthread_mutexattr_t *__attr) __attribute__ ((__nothrow__));
799 extern int pthread_mutexattr_destroy (pthread_mutexattr_t *__attr) __attribute__ ((__nothrow__));
802 extern int pthread_mutexattr_getpshared (__const pthread_mutexattr_t *
804 int *__restrict __pshared) __attribute__ ((__nothrow__));
807 extern int pthread_mutexattr_setpshared (pthread_mutexattr_t *__attr,
808 int __pshared) __attribute__ ((__nothrow__));
809 # 387 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/pthread.h" 3 4
810 extern int pthread_cond_init (pthread_cond_t *__restrict __cond,
811 __const pthread_condattr_t *__restrict
812 __cond_attr) __attribute__ ((__nothrow__));
815 extern int pthread_cond_destroy (pthread_cond_t *__cond) __attribute__ ((__nothrow__));
818 extern int pthread_cond_signal (pthread_cond_t *__cond) __attribute__ ((__nothrow__));
821 extern int pthread_cond_broadcast (pthread_cond_t *__cond) __attribute__ ((__nothrow__));
825 extern int pthread_cond_wait (pthread_cond_t *__restrict __cond,
826 pthread_mutex_t *__restrict __mutex);
832 extern int pthread_cond_timedwait (pthread_cond_t *__restrict __cond,
833 pthread_mutex_t *__restrict __mutex,
834 __const struct timespec *__restrict
840 extern int pthread_condattr_init (pthread_condattr_t *__attr) __attribute__ ((__nothrow__));
843 extern int pthread_condattr_destroy (pthread_condattr_t *__attr) __attribute__ ((__nothrow__));
846 extern int pthread_condattr_getpshared (__const pthread_condattr_t *
848 int *__restrict __pshared) __attribute__ ((__nothrow__));
851 extern int pthread_condattr_setpshared (pthread_condattr_t *__attr,
852 int __pshared) __attribute__ ((__nothrow__));
853 # 557 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/pthread.h" 3 4
854 extern int pthread_key_create (pthread_key_t *__key,
855 void (*__destr_function) (void *)) __attribute__ ((__nothrow__));
858 extern int pthread_key_delete (pthread_key_t __key) __attribute__ ((__nothrow__));
861 extern int pthread_setspecific (pthread_key_t __key,
862 __const void *__pointer) __attribute__ ((__nothrow__));
865 extern void *pthread_getspecific (pthread_key_t __key) __attribute__ ((__nothrow__));
866 # 580 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/pthread.h" 3 4
867 extern int pthread_once (pthread_once_t *__once_control,
868 void (*__init_routine) (void));
875 extern int pthread_setcancelstate (int __state, int *__oldstate);
879 extern int pthread_setcanceltype (int __type, int *__oldtype);
882 extern int pthread_cancel (pthread_t __cancelthread);
887 extern void pthread_testcancel (void);
888 # 614 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/pthread.h" 3 4
889 extern void _pthread_cleanup_push (struct _pthread_cleanup_buffer *__buffer,
890 void (*__routine) (void *),
891 void *__arg) __attribute__ ((__nothrow__));
899 extern void _pthread_cleanup_pop (struct _pthread_cleanup_buffer *__buffer,
900 int __execute) __attribute__ ((__nothrow__));
901 # 668 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/pthread.h" 3 4
902 # 1 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/bits/sigthread.h" 1 3 4
903 # 31 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/bits/sigthread.h" 3 4
904 extern int pthread_sigmask (int __how,
905 __const __sigset_t *__restrict __newmask,
906 __sigset_t *__restrict __oldmask)__attribute__ ((__nothrow__));
909 extern int pthread_kill (pthread_t __threadid, int __signo) __attribute__ ((__nothrow__));
910 # 669 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/pthread.h" 2 3 4
911 # 684 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/pthread.h" 3 4
912 extern int pthread_atfork (void (*__prepare) (void),
913 void (*__parent) (void),
914 void (*__child) (void)) __attribute__ ((__nothrow__));
919 extern void pthread_kill_other_threads_np (void) __attribute__ ((__nothrow__));
922 # 16 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/bits/uClibc_mutex.h" 2 3 4
923 # 1 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/bits/uClibc_pthread.h" 1 3 4
924 # 17 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/bits/uClibc_mutex.h" 2 3 4
925 # 120 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/bits/uClibc_stdio.h" 2 3 4
926 # 170 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/bits/uClibc_stdio.h" 3 4
951 typedef __off64_t __offmax_t;
952 # 233 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/bits/uClibc_stdio.h" 3 4
953 struct __STDIO_FILE_STRUCT {
954 unsigned short __modeflags;
962 unsigned char __ungot[2];
966 unsigned char *__bufstart;
967 unsigned char *__bufend;
968 unsigned char *__bufpos;
969 unsigned char *__bufread;
972 unsigned char *__bufgetc_u;
975 unsigned char *__bufputc_u;
981 struct __STDIO_FILE_STRUCT *__nextopen;
982 # 277 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/bits/uClibc_stdio.h" 3 4
984 pthread_mutex_t __lock;
991 # 384 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/bits/uClibc_stdio.h" 3 4
992 extern int __fgetc_unlocked(FILE *__stream);
993 extern int __fputc_unlocked(int __c, FILE *__stream);
994 # 404 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/bits/uClibc_stdio.h" 3 4
995 extern FILE *__stdin;
996 # 463 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/bits/uClibc_stdio.h" 3 4
997 extern FILE *__stdout;
998 # 73 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/stdio.h" 2 3 4
1002 # 1 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/lib/gcc/bfin-uclinux/4.1.2/include/stdarg.h" 1 3 4
1003 # 43 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/lib/gcc/bfin-uclinux/4.1.2/include/stdarg.h" 3 4
1004 typedef __builtin_va_list __gnuc_va_list;
1005 # 77 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/stdio.h" 2 3 4
1010 typedef __STDIO_fpos_t fpos_t;
1015 # 131 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/stdio.h" 3 4
1016 # 1 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/bits/stdio_lim.h" 1 3 4
1017 # 132 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/stdio.h" 2 3 4
1022 extern FILE *stdout;
1023 extern FILE *stderr;
1031 extern int remove (__const char *__filename) __attribute__ ((__nothrow__));
1033 extern int rename (__const char *__old, __const char *__new) __attribute__ ((__nothrow__));
1043 extern FILE *tmpfile (void);
1044 # 171 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/stdio.h" 3 4
1045 extern char *tmpnam (char *__s) __attribute__ ((__nothrow__));
1051 extern char *tmpnam_r (char *__s) __attribute__ ((__nothrow__));
1052 # 189 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/stdio.h" 3 4
1053 extern char *tempnam (__const char *__dir, __const char *__pfx)
1054 __attribute__ ((__nothrow__)) __attribute__ ((__malloc__));
1063 extern int fclose (FILE *__stream);
1068 extern int fflush (FILE *__stream);
1070 # 214 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/stdio.h" 3 4
1071 extern int fflush_unlocked (FILE *__stream);
1072 # 228 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/stdio.h" 3 4
1079 extern FILE *fopen (__const char *__restrict __filename,
1080 __const char *__restrict __modes);
1085 extern FILE *freopen (__const char *__restrict __filename,
1086 __const char *__restrict __modes,
1087 FILE *__restrict __stream);
1088 # 255 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/stdio.h" 3 4
1090 # 266 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/stdio.h" 3 4
1091 extern FILE *fdopen (int __fd, __const char *__modes) __attribute__ ((__nothrow__));
1092 # 289 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/stdio.h" 3 4
1096 extern void setbuf (FILE *__restrict __stream, char *__restrict __buf) __attribute__ ((__nothrow__));
1100 extern int setvbuf (FILE *__restrict __stream, char *__restrict __buf,
1101 int __modes, size_t __n) __attribute__ ((__nothrow__));
1107 extern void setbuffer (FILE *__restrict __stream, char *__restrict __buf,
1108 size_t __size) __attribute__ ((__nothrow__));
1111 extern void setlinebuf (FILE *__stream) __attribute__ ((__nothrow__));
1120 extern int fprintf (FILE *__restrict __stream,
1121 __const char *__restrict __format, ...);
1126 extern int printf (__const char *__restrict __format, ...);
1128 extern int sprintf (char *__restrict __s,
1129 __const char *__restrict __format, ...) __attribute__ ((__nothrow__));
1135 extern int vfprintf (FILE *__restrict __s, __const char *__restrict __format,
1136 __gnuc_va_list __arg);
1141 extern int vprintf (__const char *__restrict __format, __gnuc_va_list __arg);
1143 extern int vsprintf (char *__restrict __s, __const char *__restrict __format,
1144 __gnuc_va_list __arg) __attribute__ ((__nothrow__));
1150 extern int snprintf (char *__restrict __s, size_t __maxlen,
1151 __const char *__restrict __format, ...)
1152 __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 4)));
1154 extern int vsnprintf (char *__restrict __s, size_t __maxlen,
1155 __const char *__restrict __format, __gnuc_va_list __arg)
1156 __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 0)));
1158 # 385 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/stdio.h" 3 4
1164 extern int fscanf (FILE *__restrict __stream,
1165 __const char *__restrict __format, ...);
1170 extern int scanf (__const char *__restrict __format, ...);
1172 extern int sscanf (__const char *__restrict __s,
1173 __const char *__restrict __format, ...) __attribute__ ((__nothrow__));
1175 # 427 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/stdio.h" 3 4
1181 extern int fgetc (FILE *__stream);
1182 extern int getc (FILE *__stream);
1188 extern int getchar (void);
1190 # 451 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/stdio.h" 3 4
1191 extern int getc_unlocked (FILE *__stream);
1192 extern int getchar_unlocked (void);
1193 # 465 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/stdio.h" 3 4
1194 extern int fgetc_unlocked (FILE *__stream);
1206 extern int fputc (int __c, FILE *__stream);
1207 extern int putc (int __c, FILE *__stream);
1213 extern int putchar (int __c);
1215 # 498 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/stdio.h" 3 4
1216 extern int fputc_unlocked (int __c, FILE *__stream);
1224 extern int putc_unlocked (int __c, FILE *__stream);
1225 extern int putchar_unlocked (int __c);
1226 # 517 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/stdio.h" 3 4
1227 extern int getw (FILE *__stream);
1230 extern int putw (int __w, FILE *__stream);
1239 extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream);
1246 extern char *gets (char *__s);
1248 # 583 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/stdio.h" 3 4
1254 extern int fputs (__const char *__restrict __s, FILE *__restrict __stream);
1260 extern int puts (__const char *__s);
1267 extern int ungetc (int __c, FILE *__stream);
1274 extern size_t fread (void *__restrict __ptr, size_t __size,
1275 size_t __n, FILE *__restrict __stream);
1280 extern size_t fwrite (__const void *__restrict __ptr, size_t __size,
1281 size_t __n, FILE *__restrict __s);
1283 # 636 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/stdio.h" 3 4
1284 extern size_t fread_unlocked (void *__restrict __ptr, size_t __size,
1285 size_t __n, FILE *__restrict __stream);
1286 extern size_t fwrite_unlocked (__const void *__restrict __ptr, size_t __size,
1287 size_t __n, FILE *__restrict __stream);
1296 extern int fseek (FILE *__stream, long int __off, int __whence);
1301 extern long int ftell (FILE *__stream);
1306 extern void rewind (FILE *__stream);
1308 # 691 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/stdio.h" 3 4
1315 extern int fgetpos (FILE *__restrict __stream, fpos_t *__restrict __pos);
1320 extern int fsetpos (FILE *__stream, __const fpos_t *__pos);
1321 # 714 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/stdio.h" 3 4
1323 # 723 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/stdio.h" 3 4
1326 extern void clearerr (FILE *__stream) __attribute__ ((__nothrow__));
1328 extern int feof (FILE *__stream) __attribute__ ((__nothrow__));
1330 extern int ferror (FILE *__stream) __attribute__ ((__nothrow__));
1335 extern void clearerr_unlocked (FILE *__stream) __attribute__ ((__nothrow__));
1336 extern int feof_unlocked (FILE *__stream) __attribute__ ((__nothrow__));
1337 extern int ferror_unlocked (FILE *__stream) __attribute__ ((__nothrow__));
1346 extern void perror (__const char *__s);
1348 # 760 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/stdio.h" 3 4
1349 extern int fileno (FILE *__stream) __attribute__ ((__nothrow__));
1354 extern int fileno_unlocked (FILE *__stream) __attribute__ ((__nothrow__));
1355 # 775 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/stdio.h" 3 4
1356 extern FILE *popen (__const char *__command, __const char *__modes);
1362 extern int pclose (FILE *__stream);
1368 extern char *ctermid (char *__s) __attribute__ ((__nothrow__));
1369 # 815 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/stdio.h" 3 4
1370 extern void flockfile (FILE *__stream) __attribute__ ((__nothrow__));
1374 extern int ftrylockfile (FILE *__stream) __attribute__ ((__nothrow__));
1377 extern void funlockfile (FILE *__stream) __attribute__ ((__nothrow__));
1378 # 869 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/stdio.h" 3 4
1381 # 1 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/string.h" 1 3 4
1382 # 28 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/string.h" 3 4
1388 # 1 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/lib/gcc/bfin-uclinux/4.1.2/include/stddef.h" 1 3 4
1389 # 34 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/string.h" 2 3 4
1394 extern void *memcpy (void *__restrict __dest,
1395 __const void *__restrict __src, size_t __n)
1396 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
1399 extern void *memmove (void *__dest, __const void *__src, size_t __n)
1400 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
1407 extern void *memccpy (void *__restrict __dest, __const void *__restrict __src,
1408 int __c, size_t __n)
1409 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
1415 extern void *memset (void *__s, int __c, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
1418 extern int memcmp (__const void *__s1, __const void *__s2, size_t __n)
1419 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
1422 extern void *memchr (__const void *__s, int __c, size_t __n)
1423 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
1425 # 82 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/string.h" 3 4
1428 extern char *strcpy (char *__restrict __dest, __const char *__restrict __src)
1429 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
1431 extern char *strncpy (char *__restrict __dest,
1432 __const char *__restrict __src, size_t __n)
1433 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
1436 extern char *strcat (char *__restrict __dest, __const char *__restrict __src)
1437 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
1439 extern char *strncat (char *__restrict __dest, __const char *__restrict __src,
1440 size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
1443 extern int strcmp (__const char *__s1, __const char *__s2)
1444 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
1446 extern int strncmp (__const char *__s1, __const char *__s2, size_t __n)
1447 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
1450 extern int strcoll (__const char *__s1, __const char *__s2)
1451 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
1453 extern size_t strxfrm (char *__restrict __dest,
1454 __const char *__restrict __src, size_t __n)
1455 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
1457 # 130 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/string.h" 3 4
1458 extern char *strdup (__const char *__s)
1459 __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1)));
1460 # 165 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/string.h" 3 4
1463 extern char *strchr (__const char *__s, int __c)
1464 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
1466 extern char *strrchr (__const char *__s, int __c)
1467 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
1469 # 181 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/string.h" 3 4
1473 extern size_t strcspn (__const char *__s, __const char *__reject)
1474 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
1477 extern size_t strspn (__const char *__s, __const char *__accept)
1478 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
1480 extern char *strpbrk (__const char *__s, __const char *__accept)
1481 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
1483 extern char *strstr (__const char *__haystack, __const char *__needle)
1484 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
1488 extern char *strtok (char *__restrict __s, __const char *__restrict __delim)
1489 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
1491 # 212 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/string.h" 3 4
1492 extern char *strtok_r (char *__restrict __s, __const char *__restrict __delim,
1493 char **__restrict __save_ptr)
1494 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3)));
1495 # 244 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/string.h" 3 4
1498 extern size_t strlen (__const char *__s)
1499 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
1501 # 258 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/string.h" 3 4
1504 extern char *strerror (int __errnum) __attribute__ ((__nothrow__));
1506 # 285 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/string.h" 3 4
1507 extern char *__glibc_strerror_r (int __errnum, char *__buf, size_t __buflen)
1508 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
1510 extern char * strerror_r (int __errnum, char *__buf, size_t __buflen) __asm__ ("_" "__glibc_strerror_r") __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
1511 # 306 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/string.h" 3 4
1512 extern void bcopy (__const void *__src, void *__dest, size_t __n)
1513 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
1516 extern void bzero (void *__s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
1519 extern int bcmp (__const void *__s1, __const void *__s2, size_t __n)
1520 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
1523 extern char *index (__const char *__s, int __c)
1524 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
1527 extern char *rindex (__const char *__s, int __c)
1528 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
1529 # 339 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/string.h" 3 4
1530 extern int ffs (int __i) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
1531 # 352 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/string.h" 3 4
1532 extern int strcasecmp (__const char *__s1, __const char *__s2)
1533 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
1536 extern int strncasecmp (__const char *__s1, __const char *__s2, size_t __n)
1537 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
1538 # 375 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/string.h" 3 4
1539 extern char *strsep (char **__restrict __stringp,
1540 __const char *__restrict __delim)
1541 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
1542 # 429 "/usr/local/src/blackfin/toolchains/20070903/out-uclinux/bfin-uclinux/runtime/usr/include/string.h" 3 4
1543 extern size_t strlcat(char *__restrict dst, const char *__restrict src,
1544 size_t n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
1545 extern size_t strlcpy(char *__restrict dst, const char *__restrict src,
1546 size_t n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
1554 const char *it = "<UNSET>";
1561 check (int thing, int number)
1565 printf("%s flunked test %d\n", it, number);
1570 printf("%s test %d ok\n", it, number);
1576 equal (const char *a, const char *b, int number)
1578 check(a != ((void *)0) && b != ((void *)0) && (strcmp((a), (b)) == 0), number);
1582 int _strcmp(const char *cs, const char *ct)
1590 ("1:\t%2 = B[%0++] (Z);\n\t"
1591 "%3 = B[%1++] (Z);\n\t"
1592 "CC = %2 == %3;\n\t"
1593 "if ! cc jump 2f;\n\t"
1595 "if cc jump 1b (bp);\n\t"
1597 "2:\t%2 = %2 - %3;\n"
1599 : "+&a" (cs), "+&a" (ct), "=&d" (__res1), "=&d" (__res2)
1611 char buf1[0x40], buf2[0x40];
1625 buf1[i] = buf1[0x3f] = 0;
1626 buf2[j] = buf2[0x3f] = 0;
1634 buf1[i+k] = 'A' + i + k;
1638 check (_strcmp (buf1+i,buf2+j) > 0, 2);
1647 int main(int argc, char *argv[])
1656 printf("TEST PASS.\n");
1661 printf("%Zd errors.\n", errors);
1662 printf("TEST FAIL.\n");