initial import
[ICEs.git] / 210232 / unix.i
1 # 1 "unix.c"
2 # 1 "<built-in>"
3 #define __STDC__ 1
4 # 1 "<built-in>"
5 #define __STDC_HOSTED__ 1
6 # 1 "<built-in>"
7 #define __GNUC__ 4
8 # 1 "<built-in>"
9 #define __GNUC_MINOR__ 1
10 # 1 "<built-in>"
11 #define __GNUC_PATCHLEVEL__ 2
12 # 1 "<built-in>"
13 #define __SIZE_TYPE__ unsigned int
14 # 1 "<built-in>"
15 #define __PTRDIFF_TYPE__ int
16 # 1 "<built-in>"
17 #define __WCHAR_TYPE__ long int
18 # 1 "<built-in>"
19 #define __WINT_TYPE__ unsigned int
20 # 1 "<built-in>"
21 #define __INTMAX_TYPE__ long long int
22 # 1 "<built-in>"
23 #define __UINTMAX_TYPE__ long long unsigned int
24 # 1 "<built-in>"
25 #define __GXX_ABI_VERSION 1002
26 # 1 "<built-in>"
27 #define __SCHAR_MAX__ 127
28 # 1 "<built-in>"
29 #define __SHRT_MAX__ 32767
30 # 1 "<built-in>"
31 #define __INT_MAX__ 2147483647
32 # 1 "<built-in>"
33 #define __LONG_MAX__ 2147483647L
34 # 1 "<built-in>"
35 #define __LONG_LONG_MAX__ 9223372036854775807LL
36 # 1 "<built-in>"
37 #define __WCHAR_MAX__ 2147483647
38 # 1 "<built-in>"
39 #define __CHAR_BIT__ 8
40 # 1 "<built-in>"
41 #define __INTMAX_MAX__ 9223372036854775807LL
42 # 1 "<built-in>"
43 #define __FLT_EVAL_METHOD__ 2
44 # 1 "<built-in>"
45 #define __FLT_RADIX__ 2
46 # 1 "<built-in>"
47 #define __FLT_MANT_DIG__ 24
48 # 1 "<built-in>"
49 #define __FLT_DIG__ 6
50 # 1 "<built-in>"
51 #define __FLT_MIN_EXP__ (-125)
52 # 1 "<built-in>"
53 #define __FLT_MIN_10_EXP__ (-37)
54 # 1 "<built-in>"
55 #define __FLT_MAX_EXP__ 128
56 # 1 "<built-in>"
57 #define __FLT_MAX_10_EXP__ 38
58 # 1 "<built-in>"
59 #define __FLT_MAX__ 3.40282347e+38F
60 # 1 "<built-in>"
61 #define __FLT_MIN__ 1.17549435e-38F
62 # 1 "<built-in>"
63 #define __FLT_EPSILON__ 1.19209290e-7F
64 # 1 "<built-in>"
65 #define __FLT_DENORM_MIN__ 1.40129846e-45F
66 # 1 "<built-in>"
67 #define __FLT_HAS_INFINITY__ 1
68 # 1 "<built-in>"
69 #define __FLT_HAS_QUIET_NAN__ 1
70 # 1 "<built-in>"
71 #define __DBL_MANT_DIG__ 53
72 # 1 "<built-in>"
73 #define __DBL_DIG__ 15
74 # 1 "<built-in>"
75 #define __DBL_MIN_EXP__ (-1021)
76 # 1 "<built-in>"
77 #define __DBL_MIN_10_EXP__ (-307)
78 # 1 "<built-in>"
79 #define __DBL_MAX_EXP__ 1024
80 # 1 "<built-in>"
81 #define __DBL_MAX_10_EXP__ 308
82 # 1 "<built-in>"
83 #define __DBL_MAX__ 1.7976931348623157e+308
84 # 1 "<built-in>"
85 #define __DBL_MIN__ 2.2250738585072014e-308
86 # 1 "<built-in>"
87 #define __DBL_EPSILON__ 2.2204460492503131e-16
88 # 1 "<built-in>"
89 #define __DBL_DENORM_MIN__ 4.9406564584124654e-324
90 # 1 "<built-in>"
91 #define __DBL_HAS_INFINITY__ 1
92 # 1 "<built-in>"
93 #define __DBL_HAS_QUIET_NAN__ 1
94 # 1 "<built-in>"
95 #define __LDBL_MANT_DIG__ 64
96 # 1 "<built-in>"
97 #define __LDBL_DIG__ 18
98 # 1 "<built-in>"
99 #define __LDBL_MIN_EXP__ (-16381)
100 # 1 "<built-in>"
101 #define __LDBL_MIN_10_EXP__ (-4931)
102 # 1 "<built-in>"
103 #define __LDBL_MAX_EXP__ 16384
104 # 1 "<built-in>"
105 #define __LDBL_MAX_10_EXP__ 4932
106 # 1 "<built-in>"
107 #define __DECIMAL_DIG__ 21
108 # 1 "<built-in>"
109 #define __LDBL_MAX__ 1.18973149535723176502e+4932L
110 # 1 "<built-in>"
111 #define __LDBL_MIN__ 3.36210314311209350626e-4932L
112 # 1 "<built-in>"
113 #define __LDBL_EPSILON__ 1.08420217248550443401e-19L
114 # 1 "<built-in>"
115 #define __LDBL_DENORM_MIN__ 3.64519953188247460253e-4951L
116 # 1 "<built-in>"
117 #define __LDBL_HAS_INFINITY__ 1
118 # 1 "<built-in>"
119 #define __LDBL_HAS_QUIET_NAN__ 1
120 # 1 "<built-in>"
121 #define __REGISTER_PREFIX__
122 # 1 "<built-in>"
123 #define __USER_LABEL_PREFIX__
124 # 1 "<built-in>"
125 #define __VERSION__ "4.1.2 (Gentoo 4.1.2 p1.0.2)"
126 # 1 "<built-in>"
127 #define __OPTIMIZE__ 1
128 # 1 "<built-in>"
129 #define __FINITE_MATH_ONLY__ 0
130 # 1 "<built-in>"
131 #define __i386 1
132 # 1 "<built-in>"
133 #define __i386__ 1
134 # 1 "<built-in>"
135 #define i386 1
136 # 1 "<built-in>"
137 #define __tune_athlon__ 1
138 # 1 "<built-in>"
139 #define __tune_athlon_sse__ 1
140 # 1 "<built-in>"
141 #define __MMX__ 1
142 # 1 "<built-in>"
143 #define __3dNOW__ 1
144 # 1 "<built-in>"
145 #define __3dNOW_A__ 1
146 # 1 "<built-in>"
147 #define __SSE__ 1
148 # 1 "<built-in>"
149 #define __athlon 1
150 # 1 "<built-in>"
151 #define __athlon__ 1
152 # 1 "<built-in>"
153 #define __athlon_sse__ 1
154 # 1 "<built-in>"
155 #define __gnu_linux__ 1
156 # 1 "<built-in>"
157 #define __linux 1
158 # 1 "<built-in>"
159 #define __linux__ 1
160 # 1 "<built-in>"
161 #define linux 1
162 # 1 "<built-in>"
163 #define __unix 1
164 # 1 "<built-in>"
165 #define __unix__ 1
166 # 1 "<built-in>"
167 #define unix 1
168 # 1 "<built-in>"
169 #define __ELF__ 1
170 # 1 "<command line>"
171 #define LOCALEDIR "/usr/share/locale"
172 # 1 "<command line>"
173 #define ROOT_SYSCONFDIR "/etc"
174 # 1 "<command line>"
175 #define PACKAGE_NAME ""
176 # 1 "<command line>"
177 #define PACKAGE_TARNAME ""
178 # 1 "<command line>"
179 #define PACKAGE_VERSION ""
180 # 1 "<command line>"
181 #define PACKAGE_STRING ""
182 # 1 "<command line>"
183 #define PACKAGE_BUGREPORT ""
184 # 1 "<command line>"
185 #define STDC_HEADERS 1
186 # 1 "<command line>"
187 #define HAVE_SYS_TYPES_H 1
188 # 1 "<command line>"
189 #define HAVE_SYS_STAT_H 1
190 # 1 "<command line>"
191 #define HAVE_STDLIB_H 1
192 # 1 "<command line>"
193 #define HAVE_STRING_H 1
194 # 1 "<command line>"
195 #define HAVE_MEMORY_H 1
196 # 1 "<command line>"
197 #define HAVE_STRINGS_H 1
198 # 1 "<command line>"
199 #define HAVE_INTTYPES_H 1
200 # 1 "<command line>"
201 #define HAVE_STDINT_H 1
202 # 1 "<command line>"
203 #define HAVE_UNISTD_H 1
204 # 1 "<command line>"
205 #define ENABLE_HTREE 1
206 # 1 "<command line>"
207 #define ENABLE_SWAPFS 1
208 # 1 "<command line>"
209 #define TLS __thread
210 # 1 "<command line>"
211 #define USE_UUIDD 1
212 # 1 "<command line>"
213 #define PACKAGE "e2fsprogs"
214 # 1 "<command line>"
215 #define VERSION "0.14.1"
216 # 1 "<command line>"
217 #define HAVE_LONG_LONG 1
218 # 1 "<command line>"
219 #define HAVE_LONG_DOUBLE 1
220 # 1 "<command line>"
221 #define HAVE_WCHAR_T 1
222 # 1 "<command line>"
223 #define HAVE_WINT_T 1
224 # 1 "<command line>"
225 #define HAVE_INTTYPES_H_WITH_UINTMAX 1
226 # 1 "<command line>"
227 #define HAVE_STDINT_H_WITH_UINTMAX 1
228 # 1 "<command line>"
229 #define HAVE_INTMAX_T 1
230 # 1 "<command line>"
231 #define HAVE_POSIX_PRINTF 1
232 # 1 "<command line>"
233 #define HAVE_ALLOCA_H 1
234 # 1 "<command line>"
235 #define HAVE_ALLOCA 1
236 # 1 "<command line>"
237 #define HAVE_STDLIB_H 1
238 # 1 "<command line>"
239 #define HAVE_UNISTD_H 1
240 # 1 "<command line>"
241 #define HAVE_GETPAGESIZE 1
242 # 1 "<command line>"
243 #define HAVE_MMAP 1
244 # 1 "<command line>"
245 #define INTDIV0_RAISES_SIGFPE 1
246 # 1 "<command line>"
247 #define HAVE_UNSIGNED_LONG_LONG 1
248 # 1 "<command line>"
249 #define HAVE_UINTMAX_T 1
250 # 1 "<command line>"
251 #define HAVE_INTTYPES_H 1
252 # 1 "<command line>"
253 #define HAVE_STDINT_H 1
254 # 1 "<command line>"
255 #define HAVE_STDINT_H 1
256 # 1 "<command line>"
257 #define HAVE_ARGZ_H 1
258 # 1 "<command line>"
259 #define HAVE_LIMITS_H 1
260 # 1 "<command line>"
261 #define HAVE_LOCALE_H 1
262 # 1 "<command line>"
263 #define HAVE_NL_TYPES_H 1
264 # 1 "<command line>"
265 #define HAVE_MALLOC_H 1
266 # 1 "<command line>"
267 #define HAVE_STDDEF_H 1
268 # 1 "<command line>"
269 #define HAVE_STDLIB_H 1
270 # 1 "<command line>"
271 #define HAVE_STRING_H 1
272 # 1 "<command line>"
273 #define HAVE_UNISTD_H 1
274 # 1 "<command line>"
275 #define HAVE_SYS_PARAM_H 1
276 # 1 "<command line>"
277 #define HAVE_ASPRINTF 1
278 # 1 "<command line>"
279 #define HAVE_FWPRINTF 1
280 # 1 "<command line>"
281 #define HAVE_GETCWD 1
282 # 1 "<command line>"
283 #define HAVE_GETEGID 1
284 # 1 "<command line>"
285 #define HAVE_GETEUID 1
286 # 1 "<command line>"
287 #define HAVE_GETGID 1
288 # 1 "<command line>"
289 #define HAVE_GETUID 1
290 # 1 "<command line>"
291 #define HAVE_MEMPCPY 1
292 # 1 "<command line>"
293 #define HAVE_MUNMAP 1
294 # 1 "<command line>"
295 #define HAVE_PUTENV 1
296 # 1 "<command line>"
297 #define HAVE_SETENV 1
298 # 1 "<command line>"
299 #define HAVE_SETLOCALE 1
300 # 1 "<command line>"
301 #define HAVE_SNPRINTF 1
302 # 1 "<command line>"
303 #define HAVE_STPCPY 1
304 # 1 "<command line>"
305 #define HAVE_STRCASECMP 1
306 # 1 "<command line>"
307 #define HAVE_STRDUP 1
308 # 1 "<command line>"
309 #define HAVE_STRTOUL 1
310 # 1 "<command line>"
311 #define HAVE_TSEARCH 1
312 # 1 "<command line>"
313 #define HAVE_WCSLEN 1
314 # 1 "<command line>"
315 #define HAVE___ARGZ_COUNT 1
316 # 1 "<command line>"
317 #define HAVE___ARGZ_STRINGIFY 1
318 # 1 "<command line>"
319 #define HAVE___ARGZ_NEXT 1
320 # 1 "<command line>"
321 #define HAVE___FSETLOCKING 1
322 # 1 "<command line>"
323 #define HAVE_DECL__SNPRINTF 0
324 # 1 "<command line>"
325 #define HAVE_DECL__SNWPRINTF 0
326 # 1 "<command line>"
327 #define HAVE_DECL_FEOF_UNLOCKED 1
328 # 1 "<command line>"
329 #define HAVE_DECL_FGETS_UNLOCKED 0
330 # 1 "<command line>"
331 #define HAVE_DECL_GETC_UNLOCKED 1
332 # 1 "<command line>"
333 #define HAVE_ICONV 1
334 # 1 "<command line>"
335 #define ICONV_CONST
336 # 1 "<command line>"
337 #define HAVE_LANGINFO_CODESET 1
338 # 1 "<command line>"
339 #define HAVE_LC_MESSAGES 1
340 # 1 "<command line>"
341 #define ENABLE_NLS 1
342 # 1 "<command line>"
343 #define HAVE_GETTEXT 1
344 # 1 "<command line>"
345 #define HAVE_DCGETTEXT 1
346 # 1 "<command line>"
347 #define HAVE_STDLIB_H 1
348 # 1 "<command line>"
349 #define HAVE_UNISTD_H 1
350 # 1 "<command line>"
351 #define HAVE_STDARG_H 1
352 # 1 "<command line>"
353 #define HAVE_STDINT_H 1
354 # 1 "<command line>"
355 #define HAVE_ERRNO_H 1
356 # 1 "<command line>"
357 #define HAVE_MALLOC_H 1
358 # 1 "<command line>"
359 #define HAVE_MNTENT_H 1
360 # 1 "<command line>"
361 #define HAVE_PATHS_H 1
362 # 1 "<command line>"
363 #define HAVE_DIRENT_H 1
364 # 1 "<command line>"
365 #define HAVE_GETOPT_H 1
366 # 1 "<command line>"
367 #define HAVE_SETJMP_H 1
368 # 1 "<command line>"
369 #define HAVE_SIGNAL_H 1
370 # 1 "<command line>"
371 #define HAVE_TERMIOS_H 1
372 # 1 "<command line>"
373 #define HAVE_LINUX_FD_H 1
374 # 1 "<command line>"
375 #define HAVE_LINUX_MAJOR_H 1
376 # 1 "<command line>"
377 #define HAVE_SYS_IOCTL_H 1
378 # 1 "<command line>"
379 #define HAVE_SYS_MMAN_H 1
380 # 1 "<command line>"
381 #define HAVE_SYS_PRCTL_H 1
382 # 1 "<command line>"
383 #define HAVE_SYS_QUEUE_H 1
384 # 1 "<command line>"
385 #define HAVE_SYS_SOCKET_H 1
386 # 1 "<command line>"
387 #define HAVE_SYS_SYSMACROS_H 1
388 # 1 "<command line>"
389 #define HAVE_SYS_TIME_H 1
390 # 1 "<command line>"
391 #define HAVE_SYS_STAT_H 1
392 # 1 "<command line>"
393 #define HAVE_SYS_TYPES_H 1
394 # 1 "<command line>"
395 #define HAVE_SYS_WAIT_H 1
396 # 1 "<command line>"
397 #define HAVE_SYS_RESOURCE_H 1
398 # 1 "<command line>"
399 #define HAVE_SYS_SYSCALL_H 1
400 # 1 "<command line>"
401 #define HAVE_NETINET_IN_H 1
402 # 1 "<command line>"
403 #define HAVE_UTIME_H 1
404 # 1 "<command line>"
405 #define HAVE_SYS_MOUNT_H 1
406 # 1 "<command line>"
407 #define HAVE_NET_IF_H 1
408 # 1 "<command line>"
409 #define HAVE_VPRINTF 1
410 # 1 "<command line>"
411 #define HAVE_RECLEN_DIRENT 1
412 # 1 "<command line>"
413 #define HAVE_TYPE_SSIZE_T 1
414 # 1 "<command line>"
415 #define HAVE_LSEEK64_PROTOTYPE 1
416 # 1 "<command line>"
417 #define SIZEOF_SHORT 2
418 # 1 "<command line>"
419 #define SIZEOF_INT 4
420 # 1 "<command line>"
421 #define SIZEOF_LONG 4
422 # 1 "<command line>"
423 #define SIZEOF_LONG_LONG 8
424 # 1 "<command line>"
425 #define HAVE_INTTYPES_H 1
426 # 1 "<command line>"
427 #define HAVE_INTPTR_T 1
428 # 1 "<command line>"
429 #define HAVE_GETRUSAGE 1
430 # 1 "<command line>"
431 #define HAVE_LLSEEK 1
432 # 1 "<command line>"
433 #define HAVE_LSEEK64 1
434 # 1 "<command line>"
435 #define HAVE_OPEN64 1
436 # 1 "<command line>"
437 #define HAVE_FSTAT64 1
438 # 1 "<command line>"
439 #define HAVE_STRTOULL 1
440 # 1 "<command line>"
441 #define HAVE_STRCASECMP 1
442 # 1 "<command line>"
443 #define HAVE_SRANDOM 1
444 # 1 "<command line>"
445 #define HAVE_JRAND48 1
446 # 1 "<command line>"
447 #define HAVE_FCHOWN 1
448 # 1 "<command line>"
449 #define HAVE_MALLINFO 1
450 # 1 "<command line>"
451 #define HAVE_FDATASYNC 1
452 # 1 "<command line>"
453 #define HAVE_STRNLEN 1
454 # 1 "<command line>"
455 #define HAVE_STRPTIME 1
456 # 1 "<command line>"
457 #define HAVE_STRDUP 1
458 # 1 "<command line>"
459 #define HAVE_SYSCONF 1
460 # 1 "<command line>"
461 #define HAVE_PATHCONF 1
462 # 1 "<command line>"
463 #define HAVE_POSIX_MEMALIGN 1
464 # 1 "<command line>"
465 #define HAVE_MEMALIGN 1
466 # 1 "<command line>"
467 #define HAVE_VALLOC 1
468 # 1 "<command line>"
469 #define HAVE___SECURE_GETENV 1
470 # 1 "<command line>"
471 #define HAVE_PRCTL 1
472 # 1 "<command line>"
473 #define HAVE_MMAP 1
474 # 1 "<command line>"
475 #define HAVE_UTIME 1
476 # 1 "<command line>"
477 #define HAVE_SETRESUID 1
478 # 1 "<command line>"
479 #define HAVE_SETRESGID 1
480 # 1 "<command line>"
481 #define HAVE_DLOPEN 1
482 # 1 "<command line>"
483 #define HAVE_EXT2_IOCTLS 1
484 # 1 "<command line>"
485 #define RESOURCE_TRACK 1
486 # 1 "unix.c"
487 # 12 "unix.c"
488 # 1 "/usr/include/stdio.h" 1 3 4
489 # 27 "/usr/include/stdio.h" 3 4
490 #define _STDIO_H 1
491 # 1 "/usr/include/features.h" 1 3 4
492 # 20 "/usr/include/features.h" 3 4
493 #define _FEATURES_H 1
494 # 92 "/usr/include/features.h" 3 4
495 #undef __USE_ISOC99
496 #undef __USE_POSIX
497 #undef __USE_POSIX2
498 #undef __USE_POSIX199309
499 #undef __USE_POSIX199506
500 #undef __USE_XOPEN
501 #undef __USE_XOPEN_EXTENDED
502 #undef __USE_UNIX98
503 #undef __USE_XOPEN2K
504 #undef __USE_LARGEFILE
505 #undef __USE_LARGEFILE64
506 #undef __USE_FILE_OFFSET64
507 #undef __USE_BSD
508 #undef __USE_SVID
509 #undef __USE_MISC
510 #undef __USE_ATFILE
511 #undef __USE_GNU
512 #undef __USE_REENTRANT
513 #undef __USE_FORTIFY_LEVEL
514 #undef __FAVOR_BSD
515 #undef __KERNEL_STRICT_NAMES
516
517
518
519
520 #define __KERNEL_STRICT_NAMES
521
522
523
524 #define __USE_ANSI 1
525 # 131 "/usr/include/features.h" 3 4
526 #define __GNUC_PREREQ(maj,min) ((__GNUC__ << 16) + __GNUC_MINOR__ >= ((maj) << 16) + (min))
527 # 174 "/usr/include/features.h" 3 4
528 #define _BSD_SOURCE 1
529 #define _SVID_SOURCE 1
530 # 191 "/usr/include/features.h" 3 4
531 #define _POSIX_SOURCE 1
532
533
534
535
536
537 #define _POSIX_C_SOURCE 200112L
538
539
540
541
542 #define __USE_POSIX 1
543
544
545
546 #define __USE_POSIX2 1
547
548
549
550 #define __USE_POSIX199309 1
551
552
553
554 #define __USE_POSIX199506 1
555
556
557
558 #define __USE_XOPEN2K 1
559 # 253 "/usr/include/features.h" 3 4
560 #define __USE_MISC 1
561
562
563
564 #define __USE_BSD 1
565
566
567
568 #define __USE_SVID 1
569 # 284 "/usr/include/features.h" 3 4
570 #define __USE_FORTIFY_LEVEL 0
571
572
573
574 #define __STDC_IEC_559__ 1
575 #define __STDC_IEC_559_COMPLEX__ 1
576
577
578 #define __STDC_ISO_10646__ 200009L
579
580
581
582
583
584
585
586 #undef __GNU_LIBRARY__
587 #define __GNU_LIBRARY__ 6
588
589
590
591 #define __GLIBC__ 2
592 #define __GLIBC_MINOR__ 6
593
594 #define __GLIBC_PREREQ(maj,min) ((__GLIBC__ << 16) + __GLIBC_MINOR__ >= ((maj) << 16) + (min))
595
596
597
598
599
600
601
602 #define __GLIBC_HAVE_LONG_LONG 1
603
604
605
606
607
608 # 1 "/usr/include/sys/cdefs.h" 1 3 4
609 # 21 "/usr/include/sys/cdefs.h" 3 4
610 #define _SYS_CDEFS_H 1
611 # 36 "/usr/include/sys/cdefs.h" 3 4
612 #undef __P
613 #undef __PMT
614 # 47 "/usr/include/sys/cdefs.h" 3 4
615 #define __THROW __attribute__ ((__nothrow__))
616 #define __NTH(fct) __attribute__ ((__nothrow__)) fct
617 # 74 "/usr/include/sys/cdefs.h" 3 4
618 #define __P(args) args
619 #define __PMT(args) args
620
621
622
623
624 #define __CONCAT(x,y) x ## y
625 #define __STRING(x) #x
626
627
628 #define __ptr_t void *
629 #define __long_double_t long double
630
631
632
633
634
635
636
637 #define __BEGIN_DECLS
638 #define __END_DECLS
639 # 114 "/usr/include/sys/cdefs.h" 3 4
640 #define __BEGIN_NAMESPACE_STD
641 #define __END_NAMESPACE_STD
642 #define __USING_NAMESPACE_STD(name)
643 #define __BEGIN_NAMESPACE_C99
644 #define __END_NAMESPACE_C99
645 #define __USING_NAMESPACE_C99(name)
646
647
648
649
650
651 #define __bounded
652 #define __unbounded
653 #define __ptrvalue
654
655
656
657
658 #define __bos(ptr) __builtin_object_size (ptr, __USE_FORTIFY_LEVEL > 1)
659 #define __bos0(ptr) __builtin_object_size (ptr, 0)
660 #define __warndecl(name,msg) extern void name (void)
661
662
663
664
665
666 #define __flexarr []
667 # 167 "/usr/include/sys/cdefs.h" 3 4
668 #define __REDIRECT(name,proto,alias) name proto __asm__ (__ASMNAME (#alias))
669
670
671
672
673 #define __REDIRECT_NTH(name,proto,alias) name proto __asm__ (__ASMNAME (#alias)) __THROW
674
675
676 #define __ASMNAME(cname) __ASMNAME2 (__USER_LABEL_PREFIX__, cname)
677 #define __ASMNAME2(prefix,cname) __STRING (prefix) cname
678 # 197 "/usr/include/sys/cdefs.h" 3 4
679 #define __attribute_malloc__ __attribute__ ((__malloc__))
680 # 206 "/usr/include/sys/cdefs.h" 3 4
681 #define __attribute_pure__ __attribute__ ((__pure__))
682 # 215 "/usr/include/sys/cdefs.h" 3 4
683 #define __attribute_used__ __attribute__ ((__used__))
684 #define __attribute_noinline__ __attribute__ ((__noinline__))
685
686
687
688
689
690
691
692 #define __attribute_deprecated__ __attribute__ ((__deprecated__))
693 # 236 "/usr/include/sys/cdefs.h" 3 4
694 #define __attribute_format_arg__(x) __attribute__ ((__format_arg__ (x)))
695 # 246 "/usr/include/sys/cdefs.h" 3 4
696 #define __attribute_format_strfmon__(a,b) __attribute__ ((__format__ (__strfmon__, a, b)))
697 # 255 "/usr/include/sys/cdefs.h" 3 4
698 #define __nonnull(params) __attribute__ ((__nonnull__ params))
699
700
701
702
703
704
705
706 #define __attribute_warn_unused_result__ __attribute__ ((__warn_unused_result__))
707 # 272 "/usr/include/sys/cdefs.h" 3 4
708 #define __wur
709
710
711
712
713 #define __always_inline __inline __attribute__ ((__always_inline__))
714 # 289 "/usr/include/sys/cdefs.h" 3 4
715 #define __extern_inline extern __inline
716 #define __extern_always_inline extern __always_inline
717 # 310 "/usr/include/sys/cdefs.h" 3 4
718 #define __restrict_arr __restrict
719 # 324 "/usr/include/sys/cdefs.h" 3 4
720 # 1 "/usr/include/bits/wordsize.h" 1 3 4
721 # 19 "/usr/include/bits/wordsize.h" 3 4
722 #define __WORDSIZE 32
723 # 325 "/usr/include/sys/cdefs.h" 2 3 4
724 # 342 "/usr/include/sys/cdefs.h" 3 4
725 #define __LDBL_REDIR1(name,proto,alias) name proto
726 #define __LDBL_REDIR(name,proto) name proto
727 #define __LDBL_REDIR1_NTH(name,proto,alias) name proto __THROW
728 #define __LDBL_REDIR_NTH(name,proto) name proto __THROW
729 #define __LDBL_REDIR_DECL(name)
730 # 323 "/usr/include/features.h" 2 3 4
731 # 337 "/usr/include/features.h" 3 4
732 #define __USE_EXTERN_INLINES 1
733
734
735
736
737
738
739
740 # 1 "/usr/include/gnu/stubs.h" 1 3 4
741
742
743
744 # 1 "/usr/include/bits/wordsize.h" 1 3 4
745 # 19 "/usr/include/bits/wordsize.h" 3 4
746 #define __WORDSIZE 32
747 # 5 "/usr/include/gnu/stubs.h" 2 3 4
748
749
750 # 1 "/usr/include/gnu/stubs-32.h" 1 3 4
751 # 10 "/usr/include/gnu/stubs-32.h" 3 4
752 #define __stub___kernel_cosl
753 #define __stub___kernel_sinl
754 #define __stub___kernel_tanl
755 #define __stub_chflags
756 #define __stub_fattach
757 #define __stub_fchflags
758 #define __stub_fdetach
759 #define __stub_gtty
760 #define __stub_lchmod
761 #define __stub_revoke
762 #define __stub_setlogin
763 #define __stub_sigreturn
764 #define __stub_sstk
765 #define __stub_stty
766 # 8 "/usr/include/gnu/stubs.h" 2 3 4
767 # 346 "/usr/include/features.h" 2 3 4
768 # 29 "/usr/include/stdio.h" 2 3 4
769
770
771
772 #define __need_size_t
773 #define __need_NULL
774 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/stddef.h" 1 3 4
775 # 189 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/stddef.h" 3 4
776 #define __size_t__
777 #define __SIZE_T__
778 #define _SIZE_T
779 #define _SYS_SIZE_T_H
780 #define _T_SIZE_
781 #define _T_SIZE
782 #define __SIZE_T
783 #define _SIZE_T_
784 #define _BSD_SIZE_T_
785 #define _SIZE_T_DEFINED_
786 #define _SIZE_T_DEFINED
787 #define _BSD_SIZE_T_DEFINED_
788 #define _SIZE_T_DECLARED
789 #define ___int_size_t_h
790 #define _GCC_SIZE_T
791 #define _SIZET_
792
793
794
795 #define __size_t
796
797
798
799
800
801 typedef unsigned int size_t;
802 # 236 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/stddef.h" 3 4
803 #undef __need_size_t
804 # 398 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/stddef.h" 3 4
805 #undef NULL
806
807
808
809
810 #define NULL ((void *)0)
811
812
813
814
815
816 #undef __need_NULL
817 # 35 "/usr/include/stdio.h" 2 3 4
818
819 # 1 "/usr/include/bits/types.h" 1 3 4
820 # 25 "/usr/include/bits/types.h" 3 4
821 #define _BITS_TYPES_H 1
822
823
824 # 1 "/usr/include/bits/wordsize.h" 1 3 4
825 # 19 "/usr/include/bits/wordsize.h" 3 4
826 #define __WORDSIZE 32
827 # 29 "/usr/include/bits/types.h" 2 3 4
828
829 #define __need_size_t
830 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/stddef.h" 1 3 4
831 # 236 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/stddef.h" 3 4
832 #undef __need_size_t
833 # 409 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/stddef.h" 3 4
834 #undef __need_NULL
835 # 32 "/usr/include/bits/types.h" 2 3 4
836
837
838 typedef unsigned char __u_char;
839 typedef unsigned short int __u_short;
840 typedef unsigned int __u_int;
841 typedef unsigned long int __u_long;
842
843
844 typedef signed char __int8_t;
845 typedef unsigned char __uint8_t;
846 typedef signed short int __int16_t;
847 typedef unsigned short int __uint16_t;
848 typedef signed int __int32_t;
849 typedef unsigned int __uint32_t;
850
851
852
853
854 __extension__ typedef signed long long int __int64_t;
855 __extension__ typedef unsigned long long int __uint64_t;
856
857
858
859
860
861
862
863 __extension__ typedef long long int __quad_t;
864 __extension__ typedef unsigned long long int __u_quad_t;
865 # 102 "/usr/include/bits/types.h" 3 4
866 #define __S16_TYPE short int
867 #define __U16_TYPE unsigned short int
868 #define __S32_TYPE int
869 #define __U32_TYPE unsigned int
870 #define __SLONGWORD_TYPE long int
871 #define __ULONGWORD_TYPE unsigned long int
872
873 #define __SQUAD_TYPE __quad_t
874 #define __UQUAD_TYPE __u_quad_t
875 #define __SWORD_TYPE int
876 #define __UWORD_TYPE unsigned int
877 #define __SLONG32_TYPE long int
878 #define __ULONG32_TYPE unsigned long int
879 #define __S64_TYPE __quad_t
880 #define __U64_TYPE __u_quad_t
881
882
883 #define __STD_TYPE __extension__ typedef
884 # 134 "/usr/include/bits/types.h" 3 4
885 # 1 "/usr/include/bits/typesizes.h" 1 3 4
886 # 25 "/usr/include/bits/typesizes.h" 3 4
887 #define _BITS_TYPESIZES_H 1
888
889
890
891
892 #define __DEV_T_TYPE __UQUAD_TYPE
893 #define __UID_T_TYPE __U32_TYPE
894 #define __GID_T_TYPE __U32_TYPE
895 #define __INO_T_TYPE __ULONGWORD_TYPE
896 #define __INO64_T_TYPE __UQUAD_TYPE
897 #define __MODE_T_TYPE __U32_TYPE
898 #define __NLINK_T_TYPE __UWORD_TYPE
899 #define __OFF_T_TYPE __SLONGWORD_TYPE
900 #define __OFF64_T_TYPE __SQUAD_TYPE
901 #define __PID_T_TYPE __S32_TYPE
902 #define __RLIM_T_TYPE __ULONGWORD_TYPE
903 #define __RLIM64_T_TYPE __UQUAD_TYPE
904 #define __BLKCNT_T_TYPE __SLONGWORD_TYPE
905 #define __BLKCNT64_T_TYPE __SQUAD_TYPE
906 #define __FSBLKCNT_T_TYPE __ULONGWORD_TYPE
907 #define __FSBLKCNT64_T_TYPE __UQUAD_TYPE
908 #define __FSFILCNT_T_TYPE __ULONGWORD_TYPE
909 #define __FSFILCNT64_T_TYPE __UQUAD_TYPE
910 #define __ID_T_TYPE __U32_TYPE
911 #define __CLOCK_T_TYPE __SLONGWORD_TYPE
912 #define __TIME_T_TYPE __SLONGWORD_TYPE
913 #define __USECONDS_T_TYPE __U32_TYPE
914 #define __SUSECONDS_T_TYPE __SLONGWORD_TYPE
915 #define __DADDR_T_TYPE __S32_TYPE
916 #define __SWBLK_T_TYPE __SLONGWORD_TYPE
917 #define __KEY_T_TYPE __S32_TYPE
918 #define __CLOCKID_T_TYPE __S32_TYPE
919 #define __TIMER_T_TYPE void *
920 #define __BLKSIZE_T_TYPE __SLONGWORD_TYPE
921 #define __FSID_T_TYPE struct { int __val[2]; }
922 #define __SSIZE_T_TYPE __SWORD_TYPE
923
924
925 #define __FD_SETSIZE 1024
926 # 135 "/usr/include/bits/types.h" 2 3 4
927
928
929 __extension__ typedef __u_quad_t __dev_t;
930 __extension__ typedef unsigned int __uid_t;
931 __extension__ typedef unsigned int __gid_t;
932 __extension__ typedef unsigned long int __ino_t;
933 __extension__ typedef __u_quad_t __ino64_t;
934 __extension__ typedef unsigned int __mode_t;
935 __extension__ typedef unsigned int __nlink_t;
936 __extension__ typedef long int __off_t;
937 __extension__ typedef __quad_t __off64_t;
938 __extension__ typedef int __pid_t;
939 __extension__ typedef struct { int __val[2]; } __fsid_t;
940 __extension__ typedef long int __clock_t;
941 __extension__ typedef unsigned long int __rlim_t;
942 __extension__ typedef __u_quad_t __rlim64_t;
943 __extension__ typedef unsigned int __id_t;
944 __extension__ typedef long int __time_t;
945 __extension__ typedef unsigned int __useconds_t;
946 __extension__ typedef long int __suseconds_t;
947
948 __extension__ typedef int __daddr_t;
949 __extension__ typedef long int __swblk_t;
950 __extension__ typedef int __key_t;
951
952
953 __extension__ typedef int __clockid_t;
954
955
956 __extension__ typedef void * __timer_t;
957
958
959 __extension__ typedef long int __blksize_t;
960
961
962
963
964 __extension__ typedef long int __blkcnt_t;
965 __extension__ typedef __quad_t __blkcnt64_t;
966
967
968 __extension__ typedef unsigned long int __fsblkcnt_t;
969 __extension__ typedef __u_quad_t __fsblkcnt64_t;
970
971
972 __extension__ typedef unsigned long int __fsfilcnt_t;
973 __extension__ typedef __u_quad_t __fsfilcnt64_t;
974
975 __extension__ typedef int __ssize_t;
976
977
978
979 typedef __off64_t __loff_t;
980 typedef __quad_t *__qaddr_t;
981 typedef char *__caddr_t;
982
983
984 __extension__ typedef int __intptr_t;
985
986
987 __extension__ typedef unsigned int __socklen_t;
988
989
990 #undef __STD_TYPE
991 # 37 "/usr/include/stdio.h" 2 3 4
992 #define __need_FILE
993 #define __need___FILE
994
995
996
997
998
999
1000 struct _IO_FILE;
1001
1002
1003
1004 typedef struct _IO_FILE FILE;
1005
1006
1007
1008
1009
1010
1011
1012 #define __FILE_defined 1
1013
1014 #undef __need_FILE
1015
1016
1017
1018
1019
1020 typedef struct _IO_FILE __FILE;
1021
1022 #define ____FILE_defined 1
1023
1024 #undef __need___FILE
1025
1026
1027
1028 #define _STDIO_USES_IOSTREAM
1029
1030 # 1 "/usr/include/libio.h" 1 3 4
1031 # 30 "/usr/include/libio.h" 3 4
1032 #define _IO_STDIO_H
1033
1034 # 1 "/usr/include/_G_config.h" 1 3 4
1035
1036
1037
1038
1039 #define _G_config_h 1
1040
1041
1042
1043
1044 #define __need_size_t
1045 #define __need_wchar_t
1046 #define __need_wint_t
1047 #define __need_NULL
1048 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/stddef.h" 1 3 4
1049 # 236 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/stddef.h" 3 4
1050 #undef __need_size_t
1051 # 265 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/stddef.h" 3 4
1052 #define __wchar_t__
1053 #define __WCHAR_T__
1054 #define _WCHAR_T
1055 #define _T_WCHAR_
1056 #define _T_WCHAR
1057 #define __WCHAR_T
1058 #define _WCHAR_T_
1059 #define _BSD_WCHAR_T_
1060 #define _WCHAR_T_DEFINED_
1061 #define _WCHAR_T_DEFINED
1062 #define _WCHAR_T_H
1063 #define ___int_wchar_t_h
1064 #define __INT_WCHAR_T_H
1065 #define _GCC_WCHAR_T
1066 #define _WCHAR_T_DECLARED
1067 # 292 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/stddef.h" 3 4
1068 #undef _BSD_WCHAR_T_
1069 # 326 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/stddef.h" 3 4
1070 typedef long int wchar_t;
1071 # 345 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/stddef.h" 3 4
1072 #undef __need_wchar_t
1073
1074
1075
1076
1077 #define _WINT_T
1078
1079
1080
1081
1082 typedef unsigned int wint_t;
1083
1084 #undef __need_wint_t
1085 # 398 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/stddef.h" 3 4
1086 #undef NULL
1087
1088
1089
1090
1091 #define NULL ((void *)0)
1092
1093
1094
1095
1096
1097 #undef __need_NULL
1098 # 15 "/usr/include/_G_config.h" 2 3 4
1099 # 23 "/usr/include/_G_config.h" 3 4
1100 #define __need_mbstate_t
1101 # 1 "/usr/include/wchar.h" 1 3 4
1102 # 47 "/usr/include/wchar.h" 3 4
1103 #define __need_wint_t
1104 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/stddef.h" 1 3 4
1105 # 357 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/stddef.h" 3 4
1106 #undef __need_wint_t
1107 # 409 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/stddef.h" 3 4
1108 #undef __need_NULL
1109 # 49 "/usr/include/wchar.h" 2 3 4
1110
1111 # 1 "/usr/include/bits/wchar.h" 1 3 4
1112 # 21 "/usr/include/bits/wchar.h" 3 4
1113 #define _BITS_WCHAR_H 1
1114
1115 #define __WCHAR_MIN (-2147483647l - 1l)
1116 #define __WCHAR_MAX (2147483647l)
1117 # 51 "/usr/include/wchar.h" 2 3 4
1118 # 74 "/usr/include/wchar.h" 3 4
1119 #define __mbstate_t_defined 1
1120
1121 typedef struct
1122 {
1123 int __count;
1124 union
1125 {
1126 wint_t __wch;
1127 char __wchb[4];
1128 } __value;
1129 } __mbstate_t;
1130
1131 #undef __need_mbstate_t
1132 # 25 "/usr/include/_G_config.h" 2 3 4
1133 #define _G_size_t size_t
1134 typedef struct
1135 {
1136 __off_t __pos;
1137 __mbstate_t __state;
1138 } _G_fpos_t;
1139 typedef struct
1140 {
1141 __off64_t __pos;
1142 __mbstate_t __state;
1143 } _G_fpos64_t;
1144 #define _G_ssize_t __ssize_t
1145 #define _G_off_t __off_t
1146 #define _G_off64_t __off64_t
1147 #define _G_pid_t __pid_t
1148 #define _G_uid_t __uid_t
1149 #define _G_wchar_t wchar_t
1150 #define _G_wint_t wint_t
1151 #define _G_stat64 stat64
1152 # 1 "/usr/include/gconv.h" 1 3 4
1153 # 24 "/usr/include/gconv.h" 3 4
1154 #define _GCONV_H 1
1155
1156
1157 #define __need_mbstate_t
1158 # 1 "/usr/include/wchar.h" 1 3 4
1159 # 47 "/usr/include/wchar.h" 3 4
1160 #define __need_wint_t
1161 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/stddef.h" 1 3 4
1162 # 357 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/stddef.h" 3 4
1163 #undef __need_wint_t
1164 # 409 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/stddef.h" 3 4
1165 #undef __need_NULL
1166 # 49 "/usr/include/wchar.h" 2 3 4
1167 # 86 "/usr/include/wchar.h" 3 4
1168 #undef __need_mbstate_t
1169 # 29 "/usr/include/gconv.h" 2 3 4
1170 #define __need_size_t
1171 #define __need_wchar_t
1172 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/stddef.h" 1 3 4
1173 # 236 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/stddef.h" 3 4
1174 #undef __need_size_t
1175 # 345 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/stddef.h" 3 4
1176 #undef __need_wchar_t
1177 # 409 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/stddef.h" 3 4
1178 #undef __need_NULL
1179 # 32 "/usr/include/gconv.h" 2 3 4
1180
1181
1182 #define __UNKNOWN_10646_CHAR ((wchar_t) 0xfffd)
1183
1184
1185 enum
1186 {
1187 __GCONV_OK = 0,
1188 __GCONV_NOCONV,
1189 __GCONV_NODB,
1190 __GCONV_NOMEM,
1191
1192 __GCONV_EMPTY_INPUT,
1193 __GCONV_FULL_OUTPUT,
1194 __GCONV_ILLEGAL_INPUT,
1195 __GCONV_INCOMPLETE_INPUT,
1196
1197 __GCONV_ILLEGAL_DESCRIPTOR,
1198 __GCONV_INTERNAL_ERROR
1199 };
1200
1201
1202
1203 enum
1204 {
1205 __GCONV_IS_LAST = 0x0001,
1206 __GCONV_IGNORE_ERRORS = 0x0002
1207 };
1208
1209
1210
1211 struct __gconv_step;
1212 struct __gconv_step_data;
1213 struct __gconv_loaded_object;
1214 struct __gconv_trans_data;
1215
1216
1217
1218 typedef int (*__gconv_fct) (struct __gconv_step *, struct __gconv_step_data *,
1219 __const unsigned char **, __const unsigned char *,
1220 unsigned char **, size_t *, int, int);
1221
1222
1223 typedef wint_t (*__gconv_btowc_fct) (struct __gconv_step *, unsigned char);
1224
1225
1226 typedef int (*__gconv_init_fct) (struct __gconv_step *);
1227 typedef void (*__gconv_end_fct) (struct __gconv_step *);
1228
1229
1230
1231 typedef int (*__gconv_trans_fct) (struct __gconv_step *,
1232 struct __gconv_step_data *, void *,
1233 __const unsigned char *,
1234 __const unsigned char **,
1235 __const unsigned char *, unsigned char **,
1236 size_t *);
1237
1238
1239 typedef int (*__gconv_trans_context_fct) (void *, __const unsigned char *,
1240 __const unsigned char *,
1241 unsigned char *, unsigned char *);
1242
1243
1244 typedef int (*__gconv_trans_query_fct) (__const char *, __const char ***,
1245 size_t *);
1246
1247
1248 typedef int (*__gconv_trans_init_fct) (void **, const char *);
1249 typedef void (*__gconv_trans_end_fct) (void *);
1250
1251 struct __gconv_trans_data
1252 {
1253
1254 __gconv_trans_fct __trans_fct;
1255 __gconv_trans_context_fct __trans_context_fct;
1256 __gconv_trans_end_fct __trans_end_fct;
1257 void *__data;
1258 struct __gconv_trans_data *__next;
1259 };
1260
1261
1262
1263 struct __gconv_step
1264 {
1265 struct __gconv_loaded_object *__shlib_handle;
1266 __const char *__modname;
1267
1268 int __counter;
1269
1270 char *__from_name;
1271 char *__to_name;
1272
1273 __gconv_fct __fct;
1274 __gconv_btowc_fct __btowc_fct;
1275 __gconv_init_fct __init_fct;
1276 __gconv_end_fct __end_fct;
1277
1278
1279
1280 int __min_needed_from;
1281 int __max_needed_from;
1282 int __min_needed_to;
1283 int __max_needed_to;
1284
1285
1286 int __stateful;
1287
1288 void *__data;
1289 };
1290
1291
1292
1293 struct __gconv_step_data
1294 {
1295 unsigned char *__outbuf;
1296 unsigned char *__outbufend;
1297
1298
1299
1300 int __flags;
1301
1302
1303
1304 int __invocation_counter;
1305
1306
1307
1308 int __internal_use;
1309
1310 __mbstate_t *__statep;
1311 __mbstate_t __state;
1312
1313
1314
1315 struct __gconv_trans_data *__trans;
1316 };
1317
1318
1319
1320 typedef struct __gconv_info
1321 {
1322 size_t __nsteps;
1323 struct __gconv_step *__steps;
1324 __extension__ struct __gconv_step_data __data [];
1325 } *__gconv_t;
1326 # 45 "/usr/include/_G_config.h" 2 3 4
1327 typedef union
1328 {
1329 struct __gconv_info __cd;
1330 struct
1331 {
1332 struct __gconv_info __cd;
1333 struct __gconv_step_data __data;
1334 } __combined;
1335 } _G_iconv_t;
1336
1337 typedef int _G_int16_t __attribute__ ((__mode__ (__HI__)));
1338 typedef int _G_int32_t __attribute__ ((__mode__ (__SI__)));
1339 typedef unsigned int _G_uint16_t __attribute__ ((__mode__ (__HI__)));
1340 typedef unsigned int _G_uint32_t __attribute__ ((__mode__ (__SI__)));
1341
1342 #define _G_HAVE_BOOL 1
1343
1344
1345
1346 #define _G_HAVE_ATEXIT 1
1347 #define _G_HAVE_SYS_CDEFS 1
1348 #define _G_HAVE_SYS_WAIT 1
1349 #define _G_NEED_STDARG_H 1
1350 #define _G_va_list __gnuc_va_list
1351
1352 #define _G_HAVE_PRINTF_FP 1
1353 #define _G_HAVE_MMAP 1
1354 #define _G_HAVE_MREMAP 1
1355 #define _G_HAVE_LONG_DOUBLE_IO 1
1356 #define _G_HAVE_IO_FILE_OPEN 1
1357 #define _G_HAVE_IO_GETLINE_INFO 1
1358
1359 #define _G_IO_IO_FILE_VERSION 0x20001
1360
1361 #define _G_OPEN64 __open64
1362 #define _G_LSEEK64 __lseek64
1363 #define _G_MMAP64 __mmap64
1364 #define _G_FSTAT64(fd,buf) __fxstat64 (_STAT_VER, fd, buf)
1365
1366
1367 #define _G_HAVE_ST_BLKSIZE defined (_STATBUF_ST_BLKSIZE)
1368
1369 #define _G_BUFSIZ 8192
1370
1371
1372 #define _G_NAMES_HAVE_UNDERSCORE 0
1373 #define _G_VTABLE_LABEL_HAS_LENGTH 1
1374 #define _G_USING_THUNKS 1
1375 #define _G_VTABLE_LABEL_PREFIX "__vt_"
1376 #define _G_VTABLE_LABEL_PREFIX_ID __vt_
1377
1378
1379
1380 #define _G_ARGS(ARGLIST) ARGLIST
1381 # 33 "/usr/include/libio.h" 2 3 4
1382
1383 #define _IO_pos_t _G_fpos_t
1384 #define _IO_fpos_t _G_fpos_t
1385 #define _IO_fpos64_t _G_fpos64_t
1386 #define _IO_size_t _G_size_t
1387 #define _IO_ssize_t _G_ssize_t
1388 #define _IO_off_t _G_off_t
1389 #define _IO_off64_t _G_off64_t
1390 #define _IO_pid_t _G_pid_t
1391 #define _IO_uid_t _G_uid_t
1392 #define _IO_iconv_t _G_iconv_t
1393 #define _IO_HAVE_SYS_WAIT _G_HAVE_SYS_WAIT
1394 #define _IO_HAVE_ST_BLKSIZE _G_HAVE_ST_BLKSIZE
1395 #define _IO_BUFSIZ _G_BUFSIZ
1396 #define _IO_va_list _G_va_list
1397 #define _IO_wint_t _G_wint_t
1398
1399
1400
1401 #define __need___va_list
1402 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/stdarg.h" 1 3 4
1403 # 37 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/stdarg.h" 3 4
1404 #undef __need___va_list
1405
1406
1407
1408
1409 #define __GNUC_VA_LIST
1410 typedef __builtin_va_list __gnuc_va_list;
1411 # 54 "/usr/include/libio.h" 2 3 4
1412
1413 #undef _IO_va_list
1414 #define _IO_va_list __gnuc_va_list
1415 # 76 "/usr/include/libio.h" 3 4
1416 #define _PARAMS(protos) __P(protos)
1417
1418
1419
1420
1421
1422
1423
1424 #define _IO_UNIFIED_JUMPTABLES 1
1425
1426
1427
1428
1429
1430 #define EOF (-1)
1431 # 105 "/usr/include/libio.h" 3 4
1432 #define _IOS_INPUT 1
1433 #define _IOS_OUTPUT 2
1434 #define _IOS_ATEND 4
1435 #define _IOS_APPEND 8
1436 #define _IOS_TRUNC 16
1437 #define _IOS_NOCREATE 32
1438 #define _IOS_NOREPLACE 64
1439 #define _IOS_BIN 128
1440
1441
1442
1443
1444
1445
1446
1447 #define _IO_MAGIC 0xFBAD0000
1448 #define _OLD_STDIO_MAGIC 0xFABC0000
1449 #define _IO_MAGIC_MASK 0xFFFF0000
1450 #define _IO_USER_BUF 1
1451 #define _IO_UNBUFFERED 2
1452 #define _IO_NO_READS 4
1453 #define _IO_NO_WRITES 8
1454 #define _IO_EOF_SEEN 0x10
1455 #define _IO_ERR_SEEN 0x20
1456 #define _IO_DELETE_DONT_CLOSE 0x40
1457 #define _IO_LINKED 0x80
1458 #define _IO_IN_BACKUP 0x100
1459 #define _IO_LINE_BUF 0x200
1460 #define _IO_TIED_PUT_GET 0x400
1461 #define _IO_CURRENTLY_PUTTING 0x800
1462 #define _IO_IS_APPENDING 0x1000
1463 #define _IO_IS_FILEBUF 0x2000
1464 #define _IO_BAD_SEEN 0x4000
1465 #define _IO_USER_LOCK 0x8000
1466
1467 #define _IO_FLAGS2_MMAP 1
1468 #define _IO_FLAGS2_NOTCANCEL 2
1469
1470
1471
1472 #define _IO_FLAGS2_USER_WBUF 8
1473
1474
1475 #define _IO_SKIPWS 01
1476 #define _IO_LEFT 02
1477 #define _IO_RIGHT 04
1478 #define _IO_INTERNAL 010
1479 #define _IO_DEC 020
1480 #define _IO_OCT 040
1481 #define _IO_HEX 0100
1482 #define _IO_SHOWBASE 0200
1483 #define _IO_SHOWPOINT 0400
1484 #define _IO_UPPERCASE 01000
1485 #define _IO_SHOWPOS 02000
1486 #define _IO_SCIENTIFIC 04000
1487 #define _IO_FIXED 010000
1488 #define _IO_UNITBUF 020000
1489 #define _IO_STDIO 040000
1490 #define _IO_DONT_CLOSE 0100000
1491 #define _IO_BOOLALPHA 0200000
1492
1493
1494 struct _IO_jump_t; struct _IO_FILE;
1495 # 177 "/usr/include/libio.h" 3 4
1496 typedef void _IO_lock_t;
1497
1498
1499
1500
1501
1502 struct _IO_marker {
1503 struct _IO_marker *_next;
1504 struct _IO_FILE *_sbuf;
1505
1506
1507
1508 int _pos;
1509 # 200 "/usr/include/libio.h" 3 4
1510 };
1511
1512
1513 enum __codecvt_result
1514 {
1515 __codecvt_ok,
1516 __codecvt_partial,
1517 __codecvt_error,
1518 __codecvt_noconv
1519 };
1520 # 268 "/usr/include/libio.h" 3 4
1521 struct _IO_FILE {
1522 int _flags;
1523 #define _IO_file_flags _flags
1524
1525
1526
1527 char* _IO_read_ptr;
1528 char* _IO_read_end;
1529 char* _IO_read_base;
1530 char* _IO_write_base;
1531 char* _IO_write_ptr;
1532 char* _IO_write_end;
1533 char* _IO_buf_base;
1534 char* _IO_buf_end;
1535
1536 char *_IO_save_base;
1537 char *_IO_backup_base;
1538 char *_IO_save_end;
1539
1540 struct _IO_marker *_markers;
1541
1542 struct _IO_FILE *_chain;
1543
1544 int _fileno;
1545
1546
1547
1548 int _flags2;
1549
1550 __off_t _old_offset;
1551
1552 #define __HAVE_COLUMN
1553
1554 unsigned short _cur_column;
1555 signed char _vtable_offset;
1556 char _shortbuf[1];
1557
1558
1559
1560 _IO_lock_t *_lock;
1561 # 316 "/usr/include/libio.h" 3 4
1562 __off64_t _offset;
1563 # 325 "/usr/include/libio.h" 3 4
1564 void *__pad1;
1565 void *__pad2;
1566 void *__pad3;
1567 void *__pad4;
1568 size_t __pad5;
1569
1570 int _mode;
1571
1572 char _unused2[15 * sizeof (int) - 4 * sizeof (void *) - sizeof (size_t)];
1573
1574 };
1575
1576
1577 typedef struct _IO_FILE _IO_FILE;
1578
1579
1580 struct _IO_FILE_plus;
1581
1582 extern struct _IO_FILE_plus _IO_2_1_stdin_;
1583 extern struct _IO_FILE_plus _IO_2_1_stdout_;
1584 extern struct _IO_FILE_plus _IO_2_1_stderr_;
1585
1586 #define _IO_stdin ((_IO_FILE*)(&_IO_2_1_stdin_))
1587 #define _IO_stdout ((_IO_FILE*)(&_IO_2_1_stdout_))
1588 #define _IO_stderr ((_IO_FILE*)(&_IO_2_1_stderr_))
1589 # 361 "/usr/include/libio.h" 3 4
1590 typedef __ssize_t __io_read_fn (void *__cookie, char *__buf, size_t __nbytes);
1591
1592
1593
1594
1595
1596
1597
1598 typedef __ssize_t __io_write_fn (void *__cookie, __const char *__buf,
1599 size_t __n);
1600
1601
1602
1603
1604
1605
1606
1607 typedef int __io_seek_fn (void *__cookie, __off64_t *__pos, int __w);
1608
1609
1610 typedef int __io_close_fn (void *__cookie);
1611 # 413 "/usr/include/libio.h" 3 4
1612 extern int __underflow (_IO_FILE *);
1613 extern int __uflow (_IO_FILE *);
1614 extern int __overflow (_IO_FILE *, int);
1615 extern wint_t __wunderflow (_IO_FILE *);
1616 extern wint_t __wuflow (_IO_FILE *);
1617 extern wint_t __woverflow (_IO_FILE *, wint_t);
1618
1619
1620 #define _IO_BE(expr,res) __builtin_expect ((expr), res)
1621
1622
1623
1624
1625 #define _IO_getc_unlocked(_fp) (_IO_BE ((_fp)->_IO_read_ptr >= (_fp)->_IO_read_end, 0) ? __uflow (_fp) : *(unsigned char *) (_fp)->_IO_read_ptr++)
1626
1627
1628 #define _IO_peekc_unlocked(_fp) (_IO_BE ((_fp)->_IO_read_ptr >= (_fp)->_IO_read_end, 0) && __underflow (_fp) == EOF ? EOF : *(unsigned char *) (_fp)->_IO_read_ptr)
1629
1630
1631
1632 #define _IO_putc_unlocked(_ch,_fp) (_IO_BE ((_fp)->_IO_write_ptr >= (_fp)->_IO_write_end, 0) ? __overflow (_fp, (unsigned char) (_ch)) : (unsigned char) (*(_fp)->_IO_write_ptr++ = (_ch)))
1633
1634
1635
1636
1637 #define _IO_getwc_unlocked(_fp) (_IO_BE ((_fp)->_wide_data->_IO_read_ptr >= (_fp)->_wide_data->_IO_read_end, 0) ? __wuflow (_fp) : (_IO_wint_t) *(_fp)->_wide_data->_IO_read_ptr++)
1638
1639
1640
1641 #define _IO_putwc_unlocked(_wch,_fp) (_IO_BE ((_fp)->_wide_data->_IO_write_ptr >= (_fp)->_wide_data->_IO_write_end, 0) ? __woverflow (_fp, _wch) : (_IO_wint_t) (*(_fp)->_wide_data->_IO_write_ptr++ = (_wch)))
1642
1643
1644
1645
1646
1647 #define _IO_feof_unlocked(__fp) (((__fp)->_flags & _IO_EOF_SEEN) != 0)
1648 #define _IO_ferror_unlocked(__fp) (((__fp)->_flags & _IO_ERR_SEEN) != 0)
1649
1650 extern int _IO_getc (_IO_FILE *__fp);
1651 extern int _IO_putc (int __c, _IO_FILE *__fp);
1652 extern int _IO_feof (_IO_FILE *__fp) __attribute__ ((__nothrow__));
1653 extern int _IO_ferror (_IO_FILE *__fp) __attribute__ ((__nothrow__));
1654
1655 extern int _IO_peekc_locked (_IO_FILE *__fp);
1656
1657
1658 #define _IO_PENDING_OUTPUT_COUNT(_fp) ((_fp)->_IO_write_ptr - (_fp)->_IO_write_base)
1659
1660
1661 extern void _IO_flockfile (_IO_FILE *) __attribute__ ((__nothrow__));
1662 extern void _IO_funlockfile (_IO_FILE *) __attribute__ ((__nothrow__));
1663 extern int _IO_ftrylockfile (_IO_FILE *) __attribute__ ((__nothrow__));
1664 # 473 "/usr/include/libio.h" 3 4
1665 #define _IO_peekc(_fp) _IO_peekc_unlocked (_fp)
1666 #define _IO_flockfile(_fp)
1667 #define _IO_funlockfile(_fp)
1668 #define _IO_ftrylockfile(_fp)
1669 #define _IO_cleanup_region_start(_fct,_fp)
1670 #define _IO_cleanup_region_end(_Doit)
1671
1672
1673 extern int _IO_vfscanf (_IO_FILE * __restrict, const char * __restrict,
1674 __gnuc_va_list, int *__restrict);
1675 extern int _IO_vfprintf (_IO_FILE *__restrict, const char *__restrict,
1676 __gnuc_va_list);
1677 extern __ssize_t _IO_padn (_IO_FILE *, int, __ssize_t);
1678 extern size_t _IO_sgetn (_IO_FILE *, void *, size_t);
1679
1680 extern __off64_t _IO_seekoff (_IO_FILE *, __off64_t, int, int);
1681 extern __off64_t _IO_seekpos (_IO_FILE *, __off64_t, int);
1682
1683 extern void _IO_free_backup_area (_IO_FILE *) __attribute__ ((__nothrow__));
1684 # 76 "/usr/include/stdio.h" 2 3 4
1685 # 89 "/usr/include/stdio.h" 3 4
1686
1687
1688 typedef _G_fpos_t fpos_t;
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698 #define _IOFBF 0
1699 #define _IOLBF 1
1700 #define _IONBF 2
1701
1702
1703
1704
1705 #define BUFSIZ _IO_BUFSIZ
1706 # 121 "/usr/include/stdio.h" 3 4
1707 #define SEEK_SET 0
1708 #define SEEK_CUR 1
1709 #define SEEK_END 2
1710
1711
1712
1713
1714 #define P_tmpdir "/tmp"
1715 # 141 "/usr/include/stdio.h" 3 4
1716 # 1 "/usr/include/bits/stdio_lim.h" 1 3 4
1717 # 24 "/usr/include/bits/stdio_lim.h" 3 4
1718 #define L_tmpnam 20
1719 #define TMP_MAX 238328
1720 #define FILENAME_MAX 4096
1721
1722
1723 #define L_ctermid 9
1724 #define L_cuserid 9
1725
1726
1727
1728
1729 #undef FOPEN_MAX
1730 #define FOPEN_MAX 16
1731 # 142 "/usr/include/stdio.h" 2 3 4
1732
1733
1734
1735 extern struct _IO_FILE *stdin;
1736 extern struct _IO_FILE *stdout;
1737 extern struct _IO_FILE *stderr;
1738
1739 #define stdin stdin
1740 #define stdout stdout
1741 #define stderr stderr
1742
1743
1744
1745 extern int remove (__const char *__filename) __attribute__ ((__nothrow__));
1746
1747 extern int rename (__const char *__old, __const char *__new) __attribute__ ((__nothrow__));
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762 extern FILE *tmpfile (void) ;
1763 # 186 "/usr/include/stdio.h" 3 4
1764 extern char *tmpnam (char *__s) __attribute__ ((__nothrow__)) ;
1765
1766
1767
1768
1769
1770 extern char *tmpnam_r (char *__s) __attribute__ ((__nothrow__)) ;
1771 # 204 "/usr/include/stdio.h" 3 4
1772 extern char *tempnam (__const char *__dir, __const char *__pfx)
1773 __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) ;
1774
1775
1776
1777
1778
1779
1780
1781
1782 extern int fclose (FILE *__stream);
1783
1784
1785
1786
1787 extern int fflush (FILE *__stream);
1788
1789 # 229 "/usr/include/stdio.h" 3 4
1790 extern int fflush_unlocked (FILE *__stream);
1791 # 243 "/usr/include/stdio.h" 3 4
1792
1793
1794
1795
1796
1797
1798 extern FILE *fopen (__const char *__restrict __filename,
1799 __const char *__restrict __modes) ;
1800
1801
1802
1803
1804 extern FILE *freopen (__const char *__restrict __filename,
1805 __const char *__restrict __modes,
1806 FILE *__restrict __stream) ;
1807 # 272 "/usr/include/stdio.h" 3 4
1808
1809 # 283 "/usr/include/stdio.h" 3 4
1810 extern FILE *fdopen (int __fd, __const char *__modes) __attribute__ ((__nothrow__)) ;
1811 # 304 "/usr/include/stdio.h" 3 4
1812
1813
1814
1815 extern void setbuf (FILE *__restrict __stream, char *__restrict __buf) __attribute__ ((__nothrow__));
1816
1817
1818
1819 extern int setvbuf (FILE *__restrict __stream, char *__restrict __buf,
1820 int __modes, size_t __n) __attribute__ ((__nothrow__));
1821
1822
1823
1824
1825
1826 extern void setbuffer (FILE *__restrict __stream, char *__restrict __buf,
1827 size_t __size) __attribute__ ((__nothrow__));
1828
1829
1830 extern void setlinebuf (FILE *__stream) __attribute__ ((__nothrow__));
1831
1832
1833
1834
1835
1836
1837
1838
1839 extern int fprintf (FILE *__restrict __stream,
1840 __const char *__restrict __format, ...);
1841
1842
1843
1844
1845 extern int printf (__const char *__restrict __format, ...);
1846
1847 extern int sprintf (char *__restrict __s,
1848 __const char *__restrict __format, ...) __attribute__ ((__nothrow__));
1849
1850
1851
1852
1853
1854 extern int vfprintf (FILE *__restrict __s, __const char *__restrict __format,
1855 __gnuc_va_list __arg);
1856
1857
1858
1859
1860 extern int vprintf (__const char *__restrict __format, __gnuc_va_list __arg);
1861
1862 extern int vsprintf (char *__restrict __s, __const char *__restrict __format,
1863 __gnuc_va_list __arg) __attribute__ ((__nothrow__));
1864
1865
1866
1867
1868
1869 extern int snprintf (char *__restrict __s, size_t __maxlen,
1870 __const char *__restrict __format, ...)
1871 __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 4)));
1872
1873 extern int vsnprintf (char *__restrict __s, size_t __maxlen,
1874 __const char *__restrict __format, __gnuc_va_list __arg)
1875 __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 0)));
1876
1877 # 398 "/usr/include/stdio.h" 3 4
1878
1879
1880
1881
1882
1883 extern int fscanf (FILE *__restrict __stream,
1884 __const char *__restrict __format, ...) ;
1885
1886
1887
1888
1889 extern int scanf (__const char *__restrict __format, ...) ;
1890
1891 extern int sscanf (__const char *__restrict __s,
1892 __const char *__restrict __format, ...) __attribute__ ((__nothrow__));
1893
1894 # 440 "/usr/include/stdio.h" 3 4
1895
1896
1897
1898
1899
1900 extern int fgetc (FILE *__stream);
1901 extern int getc (FILE *__stream);
1902
1903
1904
1905
1906
1907 extern int getchar (void);
1908
1909
1910
1911
1912 #define getc(_fp) _IO_getc (_fp)
1913
1914
1915
1916
1917
1918
1919 extern int getc_unlocked (FILE *__stream);
1920 extern int getchar_unlocked (void);
1921 # 475 "/usr/include/stdio.h" 3 4
1922 extern int fgetc_unlocked (FILE *__stream);
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934 extern int fputc (int __c, FILE *__stream);
1935 extern int putc (int __c, FILE *__stream);
1936
1937
1938
1939
1940
1941 extern int putchar (int __c);
1942
1943
1944
1945
1946 #define putc(_ch,_fp) _IO_putc (_ch, _fp)
1947 # 508 "/usr/include/stdio.h" 3 4
1948 extern int fputc_unlocked (int __c, FILE *__stream);
1949
1950
1951
1952
1953
1954
1955
1956 extern int putc_unlocked (int __c, FILE *__stream);
1957 extern int putchar_unlocked (int __c);
1958
1959
1960
1961
1962
1963
1964 extern int getw (FILE *__stream);
1965
1966
1967 extern int putw (int __w, FILE *__stream);
1968
1969
1970
1971
1972
1973
1974
1975
1976 extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream)
1977 ;
1978
1979
1980
1981
1982
1983
1984 extern char *gets (char *__s) ;
1985
1986 # 589 "/usr/include/stdio.h" 3 4
1987
1988
1989
1990
1991
1992 extern int fputs (__const char *__restrict __s, FILE *__restrict __stream);
1993
1994
1995
1996
1997
1998 extern int puts (__const char *__s);
1999
2000
2001
2002
2003
2004
2005 extern int ungetc (int __c, FILE *__stream);
2006
2007
2008
2009
2010
2011
2012 extern size_t fread (void *__restrict __ptr, size_t __size,
2013 size_t __n, FILE *__restrict __stream) ;
2014
2015
2016
2017
2018 extern size_t fwrite (__const void *__restrict __ptr, size_t __size,
2019 size_t __n, FILE *__restrict __s) ;
2020
2021 # 642 "/usr/include/stdio.h" 3 4
2022 extern size_t fread_unlocked (void *__restrict __ptr, size_t __size,
2023 size_t __n, FILE *__restrict __stream) ;
2024 extern size_t fwrite_unlocked (__const void *__restrict __ptr, size_t __size,
2025 size_t __n, FILE *__restrict __stream) ;
2026
2027
2028
2029
2030
2031
2032
2033
2034 extern int fseek (FILE *__stream, long int __off, int __whence);
2035
2036
2037
2038
2039 extern long int ftell (FILE *__stream) ;
2040
2041
2042
2043
2044 extern void rewind (FILE *__stream);
2045
2046 # 678 "/usr/include/stdio.h" 3 4
2047 extern int fseeko (FILE *__stream, __off_t __off, int __whence);
2048
2049
2050
2051
2052 extern __off_t ftello (FILE *__stream) ;
2053 # 697 "/usr/include/stdio.h" 3 4
2054
2055
2056
2057
2058
2059
2060 extern int fgetpos (FILE *__restrict __stream, fpos_t *__restrict __pos);
2061
2062
2063
2064
2065 extern int fsetpos (FILE *__stream, __const fpos_t *__pos);
2066 # 720 "/usr/include/stdio.h" 3 4
2067
2068 # 729 "/usr/include/stdio.h" 3 4
2069
2070
2071 extern void clearerr (FILE *__stream) __attribute__ ((__nothrow__));
2072
2073 extern int feof (FILE *__stream) __attribute__ ((__nothrow__)) ;
2074
2075 extern int ferror (FILE *__stream) __attribute__ ((__nothrow__)) ;
2076
2077
2078
2079
2080 extern void clearerr_unlocked (FILE *__stream) __attribute__ ((__nothrow__));
2081 extern int feof_unlocked (FILE *__stream) __attribute__ ((__nothrow__)) ;
2082 extern int ferror_unlocked (FILE *__stream) __attribute__ ((__nothrow__)) ;
2083
2084
2085
2086
2087
2088
2089
2090
2091 extern void perror (__const char *__s);
2092
2093
2094
2095
2096
2097
2098 # 1 "/usr/include/bits/sys_errlist.h" 1 3 4
2099 # 27 "/usr/include/bits/sys_errlist.h" 3 4
2100 extern int sys_nerr;
2101 extern __const char *__const sys_errlist[];
2102 # 759 "/usr/include/stdio.h" 2 3 4
2103
2104
2105
2106
2107 extern int fileno (FILE *__stream) __attribute__ ((__nothrow__)) ;
2108
2109
2110
2111
2112 extern int fileno_unlocked (FILE *__stream) __attribute__ ((__nothrow__)) ;
2113 # 778 "/usr/include/stdio.h" 3 4
2114 extern FILE *popen (__const char *__command, __const char *__modes) ;
2115
2116
2117
2118
2119
2120 extern int pclose (FILE *__stream);
2121
2122
2123
2124
2125
2126 extern char *ctermid (char *__s) __attribute__ ((__nothrow__));
2127 # 818 "/usr/include/stdio.h" 3 4
2128 extern void flockfile (FILE *__stream) __attribute__ ((__nothrow__));
2129
2130
2131
2132 extern int ftrylockfile (FILE *__stream) __attribute__ ((__nothrow__)) ;
2133
2134
2135 extern void funlockfile (FILE *__stream) __attribute__ ((__nothrow__));
2136 # 839 "/usr/include/stdio.h" 3 4
2137 # 1 "/usr/include/bits/stdio.h" 1 3 4
2138 # 27 "/usr/include/bits/stdio.h" 3 4
2139 #define __STDIO_INLINE __extern_inline
2140
2141
2142
2143
2144
2145 extern __inline int
2146 vprintf (__const char *__restrict __fmt, __gnuc_va_list __arg)
2147 {
2148 return vfprintf (stdout, __fmt, __arg);
2149 }
2150
2151
2152 extern __inline int
2153 getchar (void)
2154 {
2155 return _IO_getc (stdin);
2156 }
2157
2158
2159
2160
2161 extern __inline int
2162 fgetc_unlocked (FILE *__fp)
2163 {
2164 return (__builtin_expect (((__fp)->_IO_read_ptr >= (__fp)->_IO_read_end), 0) ? __uflow (__fp) : *(unsigned char *) (__fp)->_IO_read_ptr++);
2165 }
2166
2167
2168
2169
2170
2171 extern __inline int
2172 getc_unlocked (FILE *__fp)
2173 {
2174 return (__builtin_expect (((__fp)->_IO_read_ptr >= (__fp)->_IO_read_end), 0) ? __uflow (__fp) : *(unsigned char *) (__fp)->_IO_read_ptr++);
2175 }
2176
2177
2178 extern __inline int
2179 getchar_unlocked (void)
2180 {
2181 return (__builtin_expect (((stdin)->_IO_read_ptr >= (stdin)->_IO_read_end), 0) ? __uflow (stdin) : *(unsigned char *) (stdin)->_IO_read_ptr++);
2182 }
2183
2184
2185
2186
2187 extern __inline int
2188 putchar (int __c)
2189 {
2190 return _IO_putc (__c, stdout);
2191 }
2192
2193
2194
2195
2196 extern __inline int
2197 fputc_unlocked (int __c, FILE *__stream)
2198 {
2199 return (__builtin_expect (((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end), 0) ? __overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (__c)));
2200 }
2201
2202
2203
2204
2205
2206 extern __inline int
2207 putc_unlocked (int __c, FILE *__stream)
2208 {
2209 return (__builtin_expect (((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end), 0) ? __overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (__c)));
2210 }
2211
2212
2213 extern __inline int
2214 putchar_unlocked (int __c)
2215 {
2216 return (__builtin_expect (((stdout)->_IO_write_ptr >= (stdout)->_IO_write_end), 0) ? __overflow (stdout, (unsigned char) (__c)) : (unsigned char) (*(stdout)->_IO_write_ptr++ = (__c)));
2217 }
2218 # 121 "/usr/include/bits/stdio.h" 3 4
2219 extern __inline int
2220 __attribute__ ((__nothrow__)) feof_unlocked (FILE *__stream)
2221 {
2222 return (((__stream)->_flags & 0x10) != 0);
2223 }
2224
2225
2226 extern __inline int
2227 __attribute__ ((__nothrow__)) ferror_unlocked (FILE *__stream)
2228 {
2229 return (((__stream)->_flags & 0x20) != 0);
2230 }
2231
2232
2233
2234
2235
2236
2237
2238 #define fread_unlocked(ptr,size,n,stream) (__extension__ ((__builtin_constant_p (size) && __builtin_constant_p (n) && (size_t) (size) * (size_t) (n) <= 8 && (size_t) (size) != 0) ? ({ char *__ptr = (char *) (ptr); FILE *__stream = (stream); size_t __cnt; for (__cnt = (size_t) (size) * (size_t) (n); __cnt > 0; --__cnt) { int __c = _IO_getc_unlocked (__stream); if (__c == EOF) break; *__ptr++ = __c; } ((size_t) (size) * (size_t) (n) - __cnt) / (size_t) (size); }) : (((__builtin_constant_p (size) && (size_t) (size) == 0) || (__builtin_constant_p (n) && (size_t) (n) == 0)) ? ((void) (ptr), (void) (stream), (void) (size), (void) (n), (size_t) 0) : fread_unlocked (ptr, size, n, stream))))
2239 # 164 "/usr/include/bits/stdio.h" 3 4
2240 #define fwrite_unlocked(ptr,size,n,stream) (__extension__ ((__builtin_constant_p (size) && __builtin_constant_p (n) && (size_t) (size) * (size_t) (n) <= 8 && (size_t) (size) != 0) ? ({ const char *__ptr = (const char *) (ptr); FILE *__stream = (stream); size_t __cnt; for (__cnt = (size_t) (size) * (size_t) (n); __cnt > 0; --__cnt) if (_IO_putc_unlocked (*__ptr++, __stream) == EOF) break; ((size_t) (size) * (size_t) (n) - __cnt) / (size_t) (size); }) : (((__builtin_constant_p (size) && (size_t) (size) == 0) || (__builtin_constant_p (n) && (size_t) (n) == 0)) ? ((void) (ptr), (void) (stream), (void) (size), (void) (n), (size_t) 0) : fwrite_unlocked (ptr, size, n, stream))))
2241 # 186 "/usr/include/bits/stdio.h" 3 4
2242 #undef __STDIO_INLINE
2243 # 840 "/usr/include/stdio.h" 2 3 4
2244 # 848 "/usr/include/stdio.h" 3 4
2245
2246 # 13 "unix.c" 2
2247
2248 # 1 "/usr/include/stdlib.h" 1 3 4
2249 # 28 "/usr/include/stdlib.h" 3 4
2250 #define __need_size_t
2251
2252 #define __need_wchar_t
2253 #define __need_NULL
2254
2255 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/stddef.h" 1 3 4
2256 # 236 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/stddef.h" 3 4
2257 #undef __need_size_t
2258 # 345 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/stddef.h" 3 4
2259 #undef __need_wchar_t
2260 # 398 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/stddef.h" 3 4
2261 #undef NULL
2262
2263
2264
2265
2266 #define NULL ((void *)0)
2267
2268
2269
2270
2271
2272 #undef __need_NULL
2273 # 34 "/usr/include/stdlib.h" 2 3 4
2274
2275
2276
2277
2278 #define _STDLIB_H 1
2279 # 96 "/usr/include/stdlib.h" 3 4
2280
2281
2282 typedef struct
2283 {
2284 int quot;
2285 int rem;
2286 } div_t;
2287
2288
2289
2290 typedef struct
2291 {
2292 long int quot;
2293 long int rem;
2294 } ldiv_t;
2295 #define __ldiv_t_defined 1
2296
2297
2298 # 129 "/usr/include/stdlib.h" 3 4
2299 #define RAND_MAX 2147483647
2300
2301
2302
2303
2304 #define EXIT_FAILURE 1
2305 #define EXIT_SUCCESS 0
2306
2307
2308
2309 #define MB_CUR_MAX (__ctype_get_mb_cur_max ())
2310 extern size_t __ctype_get_mb_cur_max (void) __attribute__ ((__nothrow__)) ;
2311
2312
2313
2314
2315 extern double atof (__const char *__nptr)
2316 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ;
2317
2318 extern int atoi (__const char *__nptr)
2319 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ;
2320
2321 extern long int atol (__const char *__nptr)
2322 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ;
2323
2324
2325
2326
2327
2328 __extension__ extern long long int atoll (__const char *__nptr)
2329 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ;
2330
2331
2332
2333
2334
2335 extern double strtod (__const char *__restrict __nptr,
2336 char **__restrict __endptr)
2337 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
2338
2339 # 182 "/usr/include/stdlib.h" 3 4
2340
2341
2342 extern long int strtol (__const char *__restrict __nptr,
2343 char **__restrict __endptr, int __base)
2344 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
2345
2346 extern unsigned long int strtoul (__const char *__restrict __nptr,
2347 char **__restrict __endptr, int __base)
2348 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
2349
2350
2351
2352
2353 __extension__
2354 extern long long int strtoq (__const char *__restrict __nptr,
2355 char **__restrict __endptr, int __base)
2356 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
2357
2358 __extension__
2359 extern unsigned long long int strtouq (__const char *__restrict __nptr,
2360 char **__restrict __endptr, int __base)
2361 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
2362
2363
2364
2365
2366
2367 __extension__
2368 extern long long int strtoll (__const char *__restrict __nptr,
2369 char **__restrict __endptr, int __base)
2370 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
2371
2372 __extension__
2373 extern unsigned long long int strtoull (__const char *__restrict __nptr,
2374 char **__restrict __endptr, int __base)
2375 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
2376
2377 # 279 "/usr/include/stdlib.h" 3 4
2378 extern double __strtod_internal (__const char *__restrict __nptr,
2379 char **__restrict __endptr, int __group)
2380 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
2381 extern float __strtof_internal (__const char *__restrict __nptr,
2382 char **__restrict __endptr, int __group)
2383 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
2384 extern long double __strtold_internal (__const char *__restrict __nptr,
2385 char **__restrict __endptr,
2386 int __group)
2387 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
2388
2389 extern long int __strtol_internal (__const char *__restrict __nptr,
2390 char **__restrict __endptr,
2391 int __base, int __group)
2392 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
2393 #define __strtol_internal_defined 1
2394
2395
2396 extern unsigned long int __strtoul_internal (__const char *__restrict __nptr,
2397 char **__restrict __endptr,
2398 int __base, int __group)
2399 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
2400 #define __strtoul_internal_defined 1
2401
2402
2403
2404 __extension__
2405 extern long long int __strtoll_internal (__const char *__restrict __nptr,
2406 char **__restrict __endptr,
2407 int __base, int __group)
2408 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
2409 #define __strtoll_internal_defined 1
2410
2411
2412 __extension__
2413 extern unsigned long long int __strtoull_internal (__const char *
2414 __restrict __nptr,
2415 char **__restrict __endptr,
2416 int __base, int __group)
2417 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
2418 #define __strtoull_internal_defined 1
2419
2420
2421
2422
2423
2424
2425
2426 extern __inline double
2427 __attribute__ ((__nothrow__)) strtod (__const char *__restrict __nptr, char **__restrict __endptr)
2428 {
2429 return __strtod_internal (__nptr, __endptr, 0);
2430 }
2431 extern __inline long int
2432 __attribute__ ((__nothrow__)) strtol (__const char *__restrict __nptr, char **__restrict __endptr, int __base)
2433
2434 {
2435 return __strtol_internal (__nptr, __endptr, __base, 0);
2436 }
2437 extern __inline unsigned long int
2438 __attribute__ ((__nothrow__)) strtoul (__const char *__restrict __nptr, char **__restrict __endptr, int __base)
2439
2440 {
2441 return __strtoul_internal (__nptr, __endptr, __base, 0);
2442 }
2443
2444 # 364 "/usr/include/stdlib.h" 3 4
2445 __extension__ extern __inline long long int
2446 __attribute__ ((__nothrow__)) strtoq (__const char *__restrict __nptr, char **__restrict __endptr, int __base)
2447
2448 {
2449 return __strtoll_internal (__nptr, __endptr, __base, 0);
2450 }
2451 __extension__ extern __inline unsigned long long int
2452 __attribute__ ((__nothrow__)) strtouq (__const char *__restrict __nptr, char **__restrict __endptr, int __base)
2453
2454 {
2455 return __strtoull_internal (__nptr, __endptr, __base, 0);
2456 }
2457
2458
2459
2460
2461 __extension__ extern __inline long long int
2462 __attribute__ ((__nothrow__)) strtoll (__const char *__restrict __nptr, char **__restrict __endptr, int __base)
2463
2464 {
2465 return __strtoll_internal (__nptr, __endptr, __base, 0);
2466 }
2467 __extension__ extern __inline unsigned long long int
2468 __attribute__ ((__nothrow__)) strtoull (__const char * __restrict __nptr, char **__restrict __endptr, int __base)
2469
2470 {
2471 return __strtoull_internal (__nptr, __endptr, __base, 0);
2472 }
2473
2474
2475
2476
2477 extern __inline double
2478 __attribute__ ((__nothrow__)) atof (__const char *__nptr)
2479 {
2480 return strtod (__nptr, (char **) ((void *)0));
2481 }
2482 extern __inline int
2483 __attribute__ ((__nothrow__)) atoi (__const char *__nptr)
2484 {
2485 return (int) strtol (__nptr, (char **) ((void *)0), 10);
2486 }
2487 extern __inline long int
2488 __attribute__ ((__nothrow__)) atol (__const char *__nptr)
2489 {
2490 return strtol (__nptr, (char **) ((void *)0), 10);
2491 }
2492
2493
2494
2495
2496 __extension__ extern __inline long long int
2497 __attribute__ ((__nothrow__)) atoll (__const char *__nptr)
2498 {
2499 return strtoll (__nptr, (char **) ((void *)0), 10);
2500 }
2501
2502 # 429 "/usr/include/stdlib.h" 3 4
2503 extern char *l64a (long int __n) __attribute__ ((__nothrow__)) ;
2504
2505
2506 extern long int a64l (__const char *__s)
2507 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ;
2508
2509
2510
2511
2512 # 1 "/usr/include/sys/types.h" 1 3 4
2513 # 25 "/usr/include/sys/types.h" 3 4
2514 #define _SYS_TYPES_H 1
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524 typedef __u_char u_char;
2525 typedef __u_short u_short;
2526 typedef __u_int u_int;
2527 typedef __u_long u_long;
2528 typedef __quad_t quad_t;
2529 typedef __u_quad_t u_quad_t;
2530 typedef __fsid_t fsid_t;
2531 #define __u_char_defined
2532
2533
2534
2535 typedef __loff_t loff_t;
2536
2537
2538
2539 typedef __ino_t ino_t;
2540
2541
2542
2543 #define __ino_t_defined
2544
2545
2546
2547
2548
2549
2550
2551 typedef __dev_t dev_t;
2552 #define __dev_t_defined
2553
2554
2555
2556 typedef __gid_t gid_t;
2557 #define __gid_t_defined
2558
2559
2560
2561 typedef __mode_t mode_t;
2562 #define __mode_t_defined
2563
2564
2565
2566 typedef __nlink_t nlink_t;
2567 #define __nlink_t_defined
2568
2569
2570
2571 typedef __uid_t uid_t;
2572 #define __uid_t_defined
2573
2574
2575
2576
2577 typedef __off_t off_t;
2578
2579
2580
2581 #define __off_t_defined
2582
2583
2584
2585
2586
2587
2588
2589 typedef __pid_t pid_t;
2590 #define __pid_t_defined
2591
2592
2593
2594 typedef __id_t id_t;
2595 #define __id_t_defined
2596
2597
2598
2599 typedef __ssize_t ssize_t;
2600 #define __ssize_t_defined
2601
2602
2603
2604
2605 typedef __daddr_t daddr_t;
2606 typedef __caddr_t caddr_t;
2607 #define __daddr_t_defined
2608
2609
2610
2611
2612 typedef __key_t key_t;
2613 #define __key_t_defined
2614
2615
2616
2617
2618
2619 #define __need_time_t
2620 #define __need_timer_t
2621 #define __need_clockid_t
2622 # 1 "/usr/include/time.h" 1 3 4
2623 # 68 "/usr/include/time.h" 3 4
2624 #undef __need_clock_t
2625
2626
2627 #define __time_t_defined 1
2628
2629
2630
2631
2632
2633 typedef __time_t time_t;
2634
2635
2636
2637
2638
2639
2640 #undef __need_time_t
2641
2642
2643
2644 #define __clockid_t_defined 1
2645
2646
2647
2648
2649 typedef __clockid_t clockid_t;
2650
2651
2652 #undef __clockid_time_t
2653
2654
2655
2656 #define __timer_t_defined 1
2657
2658
2659
2660
2661 typedef __timer_t timer_t;
2662
2663
2664 #undef __need_timer_t
2665 # 128 "/usr/include/time.h" 3 4
2666 #undef __need_timespec
2667 # 134 "/usr/include/sys/types.h" 2 3 4
2668 # 146 "/usr/include/sys/types.h" 3 4
2669 #define __need_size_t
2670 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/stddef.h" 1 3 4
2671 # 236 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/stddef.h" 3 4
2672 #undef __need_size_t
2673 # 409 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/stddef.h" 3 4
2674 #undef __need_NULL
2675 # 148 "/usr/include/sys/types.h" 2 3 4
2676
2677
2678
2679 typedef unsigned long int ulong;
2680 typedef unsigned short int ushort;
2681 typedef unsigned int uint;
2682 # 188 "/usr/include/sys/types.h" 3 4
2683 #define __intN_t(N,MODE) typedef int int ##N ##_t __attribute__ ((__mode__ (MODE)))
2684
2685 #define __u_intN_t(N,MODE) typedef unsigned int u_int ##N ##_t __attribute__ ((__mode__ (MODE)))
2686
2687
2688
2689 #define __int8_t_defined
2690 typedef int int8_t __attribute__ ((__mode__ (__QI__)));
2691 typedef int int16_t __attribute__ ((__mode__ (__HI__)));
2692 typedef int int32_t __attribute__ ((__mode__ (__SI__)));
2693 typedef int int64_t __attribute__ ((__mode__ (__DI__)));
2694
2695
2696 typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__)));
2697 typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__)));
2698 typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__)));
2699 typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__)));
2700
2701 typedef int register_t __attribute__ ((__mode__ (__word__)));
2702
2703
2704
2705
2706
2707 #define __BIT_TYPES_DEFINED__ 1
2708
2709
2710
2711
2712 # 1 "/usr/include/endian.h" 1 3 4
2713 # 20 "/usr/include/endian.h" 3 4
2714 #define _ENDIAN_H 1
2715 # 32 "/usr/include/endian.h" 3 4
2716 #define __LITTLE_ENDIAN 1234
2717 #define __BIG_ENDIAN 4321
2718 #define __PDP_ENDIAN 3412
2719
2720
2721 # 1 "/usr/include/bits/endian.h" 1 3 4
2722
2723
2724
2725
2726
2727
2728 #define __BYTE_ORDER __LITTLE_ENDIAN
2729 # 38 "/usr/include/endian.h" 2 3 4
2730
2731
2732
2733
2734 #define __FLOAT_WORD_ORDER __BYTE_ORDER
2735
2736
2737
2738 #define LITTLE_ENDIAN __LITTLE_ENDIAN
2739 #define BIG_ENDIAN __BIG_ENDIAN
2740 #define PDP_ENDIAN __PDP_ENDIAN
2741 #define BYTE_ORDER __BYTE_ORDER
2742
2743
2744
2745 #define __LONG_LONG_PAIR(HI,LO) LO, HI
2746 # 218 "/usr/include/sys/types.h" 2 3 4
2747
2748
2749 # 1 "/usr/include/sys/select.h" 1 3 4
2750 # 23 "/usr/include/sys/select.h" 3 4
2751 #define _SYS_SELECT_H 1
2752
2753
2754
2755
2756
2757
2758
2759 # 1 "/usr/include/bits/select.h" 1 3 4
2760 # 26 "/usr/include/bits/select.h" 3 4
2761 #define __FD_ZERO(fdsp) do { int __d0, __d1; __asm__ __volatile__ ("cld; rep; stosl" : "=c" (__d0), "=D" (__d1) : "a" (0), "0" (sizeof (fd_set) / sizeof (__fd_mask)), "1" (&__FDS_BITS (fdsp)[0]) : "memory"); } while (0)
2762 # 37 "/usr/include/bits/select.h" 3 4
2763 #define __FD_SET(fd,fdsp) __asm__ __volatile__ ("btsl %1,%0" : "=m" (__FDS_BITS (fdsp)[__FDELT (fd)]) : "r" (((int) (fd)) % __NFDBITS) : "cc","memory")
2764
2765
2766
2767
2768 #define __FD_CLR(fd,fdsp) __asm__ __volatile__ ("btrl %1,%0" : "=m" (__FDS_BITS (fdsp)[__FDELT (fd)]) : "r" (((int) (fd)) % __NFDBITS) : "cc","memory")
2769
2770
2771
2772
2773 #define __FD_ISSET(fd,fdsp) (__extension__ ({register char __result; __asm__ __volatile__ ("btl %1,%2 ; setcb %b0" : "=q" (__result) : "r" (((int) (fd)) % __NFDBITS), "m" (__FDS_BITS (fdsp)[__FDELT (fd)]) : "cc"); __result; }))
2774 # 32 "/usr/include/sys/select.h" 2 3 4
2775
2776
2777 # 1 "/usr/include/bits/sigset.h" 1 3 4
2778 # 22 "/usr/include/bits/sigset.h" 3 4
2779 #define _SIGSET_H_types 1
2780
2781 typedef int __sig_atomic_t;
2782
2783
2784
2785 #define _SIGSET_NWORDS (1024 / (8 * sizeof (unsigned long int)))
2786 typedef struct
2787 {
2788 unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))];
2789 } __sigset_t;
2790 # 35 "/usr/include/sys/select.h" 2 3 4
2791
2792
2793 #define __sigset_t_defined
2794 typedef __sigset_t sigset_t;
2795
2796
2797
2798 #define __need_time_t
2799 #define __need_timespec
2800 # 1 "/usr/include/time.h" 1 3 4
2801 # 68 "/usr/include/time.h" 3 4
2802 #undef __need_clock_t
2803 # 84 "/usr/include/time.h" 3 4
2804 #undef __need_time_t
2805 # 96 "/usr/include/time.h" 3 4
2806 #undef __clockid_time_t
2807 # 108 "/usr/include/time.h" 3 4
2808 #undef __need_timer_t
2809
2810
2811
2812
2813
2814
2815 #define __timespec_defined 1
2816
2817
2818
2819
2820
2821 struct timespec
2822 {
2823 __time_t tv_sec;
2824 long int tv_nsec;
2825 };
2826
2827
2828 #undef __need_timespec
2829 # 45 "/usr/include/sys/select.h" 2 3 4
2830 #define __need_timeval
2831 # 1 "/usr/include/bits/time.h" 1 3 4
2832 # 62 "/usr/include/bits/time.h" 3 4
2833 #undef __need_timeval
2834
2835 #define _STRUCT_TIMEVAL 1
2836
2837
2838
2839
2840 struct timeval
2841 {
2842 __time_t tv_sec;
2843 __suseconds_t tv_usec;
2844 };
2845 # 47 "/usr/include/sys/select.h" 2 3 4
2846
2847
2848 typedef __suseconds_t suseconds_t;
2849 #define __suseconds_t_defined
2850
2851
2852
2853
2854 typedef long int __fd_mask;
2855
2856
2857 #undef __NFDBITS
2858 #undef __FDELT
2859 #undef __FDMASK
2860
2861 #define __NFDBITS (8 * sizeof (__fd_mask))
2862 #define __FDELT(d) ((d) / __NFDBITS)
2863 #define __FDMASK(d) ((__fd_mask) 1 << ((d) % __NFDBITS))
2864
2865
2866 typedef struct
2867 {
2868
2869
2870
2871
2872
2873
2874 __fd_mask __fds_bits[1024 / (8 * sizeof (__fd_mask))];
2875 #define __FDS_BITS(set) ((set)->__fds_bits)
2876
2877 } fd_set;
2878
2879
2880 #define FD_SETSIZE __FD_SETSIZE
2881
2882
2883
2884 typedef __fd_mask fd_mask;
2885
2886
2887 #define NFDBITS __NFDBITS
2888
2889
2890
2891
2892 #define FD_SET(fd,fdsetp) __FD_SET (fd, fdsetp)
2893 #define FD_CLR(fd,fdsetp) __FD_CLR (fd, fdsetp)
2894 #define FD_ISSET(fd,fdsetp) __FD_ISSET (fd, fdsetp)
2895 #define FD_ZERO(fdsetp) __FD_ZERO (fdsetp)
2896
2897
2898
2899 # 109 "/usr/include/sys/select.h" 3 4
2900 extern int select (int __nfds, fd_set *__restrict __readfds,
2901 fd_set *__restrict __writefds,
2902 fd_set *__restrict __exceptfds,
2903 struct timeval *__restrict __timeout);
2904 # 121 "/usr/include/sys/select.h" 3 4
2905 extern int pselect (int __nfds, fd_set *__restrict __readfds,
2906 fd_set *__restrict __writefds,
2907 fd_set *__restrict __exceptfds,
2908 const struct timespec *__restrict __timeout,
2909 const __sigset_t *__restrict __sigmask);
2910
2911
2912
2913 # 221 "/usr/include/sys/types.h" 2 3 4
2914
2915
2916 # 1 "/usr/include/sys/sysmacros.h" 1 3 4
2917 # 22 "/usr/include/sys/sysmacros.h" 3 4
2918 #define _SYS_SYSMACROS_H 1
2919
2920
2921
2922
2923
2924
2925
2926 __extension__
2927 extern __inline unsigned int gnu_dev_major (unsigned long long int __dev)
2928 __attribute__ ((__nothrow__));
2929 __extension__
2930 extern __inline unsigned int gnu_dev_minor (unsigned long long int __dev)
2931 __attribute__ ((__nothrow__));
2932 __extension__
2933 extern __inline unsigned long long int gnu_dev_makedev (unsigned int __major,
2934 unsigned int __minor)
2935 __attribute__ ((__nothrow__));
2936
2937
2938 __extension__ extern __inline unsigned int
2939 __attribute__ ((__nothrow__)) gnu_dev_major (unsigned long long int __dev)
2940 {
2941 return ((__dev >> 8) & 0xfff) | ((unsigned int) (__dev >> 32) & ~0xfff);
2942 }
2943
2944 __extension__ extern __inline unsigned int
2945 __attribute__ ((__nothrow__)) gnu_dev_minor (unsigned long long int __dev)
2946 {
2947 return (__dev & 0xff) | ((unsigned int) (__dev >> 12) & ~0xff);
2948 }
2949
2950 __extension__ extern __inline unsigned long long int
2951 __attribute__ ((__nothrow__)) gnu_dev_makedev (unsigned int __major, unsigned int __minor)
2952 {
2953 return ((__minor & 0xff) | ((__major & 0xfff) << 8)
2954 | (((unsigned long long int) (__minor & ~0xff)) << 12)
2955 | (((unsigned long long int) (__major & ~0xfff)) << 32));
2956 }
2957
2958
2959
2960
2961 #define major(dev) gnu_dev_major (dev)
2962 #define minor(dev) gnu_dev_minor (dev)
2963 #define makedev(maj,min) gnu_dev_makedev (maj, min)
2964 # 224 "/usr/include/sys/types.h" 2 3 4
2965 # 235 "/usr/include/sys/types.h" 3 4
2966 typedef __blkcnt_t blkcnt_t;
2967 #define __blkcnt_t_defined
2968
2969
2970 typedef __fsblkcnt_t fsblkcnt_t;
2971 #define __fsblkcnt_t_defined
2972
2973
2974 typedef __fsfilcnt_t fsfilcnt_t;
2975 #define __fsfilcnt_t_defined
2976 # 270 "/usr/include/sys/types.h" 3 4
2977 # 1 "/usr/include/bits/pthreadtypes.h" 1 3 4
2978 # 20 "/usr/include/bits/pthreadtypes.h" 3 4
2979 #define _BITS_PTHREADTYPES_H 1
2980
2981 #define __SIZEOF_PTHREAD_ATTR_T 36
2982 #define __SIZEOF_PTHREAD_MUTEX_T 24
2983 #define __SIZEOF_PTHREAD_MUTEXATTR_T 4
2984 #define __SIZEOF_PTHREAD_COND_T 48
2985 #define __SIZEOF_PTHREAD_COND_COMPAT_T 12
2986 #define __SIZEOF_PTHREAD_CONDATTR_T 4
2987 #define __SIZEOF_PTHREAD_RWLOCK_T 32
2988 #define __SIZEOF_PTHREAD_RWLOCKATTR_T 8
2989 #define __SIZEOF_PTHREAD_BARRIER_T 20
2990 #define __SIZEOF_PTHREAD_BARRIERATTR_T 4
2991
2992
2993
2994
2995 typedef unsigned long int pthread_t;
2996
2997
2998 typedef union
2999 {
3000 char __size[36];
3001 long int __align;
3002 } pthread_attr_t;
3003
3004
3005 typedef struct __pthread_internal_slist
3006 {
3007 struct __pthread_internal_slist *__next;
3008 } __pthread_slist_t;
3009
3010
3011
3012
3013 typedef union
3014 {
3015 struct __pthread_mutex_s
3016 {
3017 int __lock;
3018 unsigned int __count;
3019 int __owner;
3020
3021
3022 int __kind;
3023 unsigned int __nusers;
3024 __extension__ union
3025 {
3026 int __spins;
3027 __pthread_slist_t __list;
3028 };
3029 } __data;
3030 char __size[24];
3031 long int __align;
3032 } pthread_mutex_t;
3033
3034 typedef union
3035 {
3036 char __size[4];
3037 long int __align;
3038 } pthread_mutexattr_t;
3039
3040
3041
3042
3043 typedef union
3044 {
3045 struct
3046 {
3047 int __lock;
3048 unsigned int __futex;
3049 __extension__ unsigned long long int __total_seq;
3050 __extension__ unsigned long long int __wakeup_seq;
3051 __extension__ unsigned long long int __woken_seq;
3052 void *__mutex;
3053 unsigned int __nwaiters;
3054 unsigned int __broadcast_seq;
3055 } __data;
3056 char __size[48];
3057 __extension__ long long int __align;
3058 } pthread_cond_t;
3059
3060 typedef union
3061 {
3062 char __size[4];
3063 long int __align;
3064 } pthread_condattr_t;
3065
3066
3067
3068 typedef unsigned int pthread_key_t;
3069
3070
3071
3072 typedef int pthread_once_t;
3073
3074
3075
3076
3077
3078 typedef union
3079 {
3080 struct
3081 {
3082 int __lock;
3083 unsigned int __nr_readers;
3084 unsigned int __readers_wakeup;
3085 unsigned int __writer_wakeup;
3086 unsigned int __nr_readers_queued;
3087 unsigned int __nr_writers_queued;
3088
3089
3090 unsigned int __flags;
3091 int __writer;
3092 } __data;
3093 char __size[32];
3094 long int __align;
3095 } pthread_rwlock_t;
3096
3097 typedef union
3098 {
3099 char __size[8];
3100 long int __align;
3101 } pthread_rwlockattr_t;
3102
3103
3104
3105
3106
3107 typedef volatile int pthread_spinlock_t;
3108
3109
3110
3111
3112 typedef union
3113 {
3114 char __size[20];
3115 long int __align;
3116 } pthread_barrier_t;
3117
3118 typedef union
3119 {
3120 char __size[4];
3121 int __align;
3122 } pthread_barrierattr_t;
3123
3124
3125
3126
3127 #define __cleanup_fct_attribute __attribute__ ((__regparm__ (1)))
3128 # 271 "/usr/include/sys/types.h" 2 3 4
3129
3130
3131
3132 # 439 "/usr/include/stdlib.h" 2 3 4
3133
3134
3135
3136
3137
3138
3139 extern long int random (void) __attribute__ ((__nothrow__));
3140
3141
3142 extern void srandom (unsigned int __seed) __attribute__ ((__nothrow__));
3143
3144
3145
3146
3147
3148 extern char *initstate (unsigned int __seed, char *__statebuf,
3149 size_t __statelen) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
3150
3151
3152
3153 extern char *setstate (char *__statebuf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
3154
3155
3156
3157
3158
3159
3160
3161 struct random_data
3162 {
3163 int32_t *fptr;
3164 int32_t *rptr;
3165 int32_t *state;
3166 int rand_type;
3167 int rand_deg;
3168 int rand_sep;
3169 int32_t *end_ptr;
3170 };
3171
3172 extern int random_r (struct random_data *__restrict __buf,
3173 int32_t *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
3174
3175 extern int srandom_r (unsigned int __seed, struct random_data *__buf)
3176 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
3177
3178 extern int initstate_r (unsigned int __seed, char *__restrict __statebuf,
3179 size_t __statelen,
3180 struct random_data *__restrict __buf)
3181 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 4)));
3182
3183 extern int setstate_r (char *__restrict __statebuf,
3184 struct random_data *__restrict __buf)
3185 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
3186
3187
3188
3189
3190
3191
3192 extern int rand (void) __attribute__ ((__nothrow__));
3193
3194 extern void srand (unsigned int __seed) __attribute__ ((__nothrow__));
3195
3196
3197
3198
3199 extern int rand_r (unsigned int *__seed) __attribute__ ((__nothrow__));
3200
3201
3202
3203
3204
3205
3206
3207 extern double drand48 (void) __attribute__ ((__nothrow__));
3208 extern double erand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
3209
3210
3211 extern long int lrand48 (void) __attribute__ ((__nothrow__));
3212 extern long int nrand48 (unsigned short int __xsubi[3])
3213 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
3214
3215
3216 extern long int mrand48 (void) __attribute__ ((__nothrow__));
3217 extern long int jrand48 (unsigned short int __xsubi[3])
3218 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
3219
3220
3221 extern void srand48 (long int __seedval) __attribute__ ((__nothrow__));
3222 extern unsigned short int *seed48 (unsigned short int __seed16v[3])
3223 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
3224 extern void lcong48 (unsigned short int __param[7]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
3225
3226
3227
3228
3229
3230 struct drand48_data
3231 {
3232 unsigned short int __x[3];
3233 unsigned short int __old_x[3];
3234 unsigned short int __c;
3235 unsigned short int __init;
3236 unsigned long long int __a;
3237 };
3238
3239
3240 extern int drand48_r (struct drand48_data *__restrict __buffer,
3241 double *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
3242 extern int erand48_r (unsigned short int __xsubi[3],
3243 struct drand48_data *__restrict __buffer,
3244 double *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
3245
3246
3247 extern int lrand48_r (struct drand48_data *__restrict __buffer,
3248 long int *__restrict __result)
3249 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
3250 extern int nrand48_r (unsigned short int __xsubi[3],
3251 struct drand48_data *__restrict __buffer,
3252 long int *__restrict __result)
3253 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
3254
3255
3256 extern int mrand48_r (struct drand48_data *__restrict __buffer,
3257 long int *__restrict __result)
3258 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
3259 extern int jrand48_r (unsigned short int __xsubi[3],
3260 struct drand48_data *__restrict __buffer,
3261 long int *__restrict __result)
3262 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
3263
3264
3265 extern int srand48_r (long int __seedval, struct drand48_data *__buffer)
3266 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
3267
3268 extern int seed48_r (unsigned short int __seed16v[3],
3269 struct drand48_data *__buffer) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
3270
3271 extern int lcong48_r (unsigned short int __param[7],
3272 struct drand48_data *__buffer)
3273 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
3274
3275
3276
3277
3278
3279
3280 #define __malloc_and_calloc_defined
3281
3282
3283 extern void *malloc (size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) ;
3284
3285 extern void *calloc (size_t __nmemb, size_t __size)
3286 __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) ;
3287
3288
3289
3290
3291
3292
3293
3294 extern void *realloc (void *__ptr, size_t __size)
3295 __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__warn_unused_result__));
3296
3297 extern void free (void *__ptr) __attribute__ ((__nothrow__));
3298
3299
3300
3301
3302 extern void cfree (void *__ptr) __attribute__ ((__nothrow__));
3303
3304
3305
3306 # 1 "/usr/include/alloca.h" 1 3 4
3307 # 20 "/usr/include/alloca.h" 3 4
3308 #define _ALLOCA_H 1
3309
3310
3311
3312 #define __need_size_t
3313 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/stddef.h" 1 3 4
3314 # 236 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/stddef.h" 3 4
3315 #undef __need_size_t
3316 # 409 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/stddef.h" 3 4
3317 #undef __need_NULL
3318 # 26 "/usr/include/alloca.h" 2 3 4
3319
3320
3321
3322
3323 #undef alloca
3324
3325
3326 extern void *alloca (size_t __size) __attribute__ ((__nothrow__));
3327
3328
3329 #define alloca(size) __builtin_alloca (size)
3330
3331
3332
3333 # 613 "/usr/include/stdlib.h" 2 3 4
3334
3335
3336
3337
3338 extern void *valloc (size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) ;
3339
3340
3341
3342
3343 extern int posix_memalign (void **__memptr, size_t __alignment, size_t __size)
3344 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
3345
3346
3347
3348
3349 extern void abort (void) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__));
3350
3351
3352
3353 extern int atexit (void (*__func) (void)) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
3354
3355
3356
3357
3358
3359 extern int on_exit (void (*__func) (int __status, void *__arg), void *__arg)
3360 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
3361
3362
3363
3364
3365
3366
3367 extern void exit (int __status) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__));
3368
3369 # 658 "/usr/include/stdlib.h" 3 4
3370
3371
3372 extern char *getenv (__const char *__name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
3373
3374
3375
3376
3377 extern char *__secure_getenv (__const char *__name)
3378 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
3379
3380
3381
3382
3383
3384 extern int putenv (char *__string) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
3385
3386
3387
3388
3389
3390 extern int setenv (__const char *__name, __const char *__value, int __replace)
3391 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
3392
3393
3394 extern int unsetenv (__const char *__name) __attribute__ ((__nothrow__));
3395
3396
3397
3398
3399
3400
3401 extern int clearenv (void) __attribute__ ((__nothrow__));
3402 # 698 "/usr/include/stdlib.h" 3 4
3403 extern char *mktemp (char *__template) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
3404 # 709 "/usr/include/stdlib.h" 3 4
3405 extern int mkstemp (char *__template) __attribute__ ((__nonnull__ (1))) ;
3406 # 729 "/usr/include/stdlib.h" 3 4
3407 extern char *mkdtemp (char *__template) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
3408
3409
3410
3411
3412
3413
3414
3415
3416 extern int system (__const char *__command) ;
3417
3418 # 755 "/usr/include/stdlib.h" 3 4
3419 extern char *realpath (__const char *__restrict __name,
3420 char *__restrict __resolved) __attribute__ ((__nothrow__)) ;
3421
3422
3423
3424
3425
3426 #define __COMPAR_FN_T
3427 typedef int (*__compar_fn_t) (__const void *, __const void *);
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437 extern void *bsearch (__const void *__key, __const void *__base,
3438 size_t __nmemb, size_t __size, __compar_fn_t __compar)
3439 __attribute__ ((__nonnull__ (1, 2, 5))) ;
3440
3441
3442
3443 extern void qsort (void *__base, size_t __nmemb, size_t __size,
3444 __compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 4)));
3445
3446
3447
3448 extern int abs (int __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ;
3449 extern long int labs (long int __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ;
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462 extern div_t div (int __numer, int __denom)
3463 __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ;
3464 extern ldiv_t ldiv (long int __numer, long int __denom)
3465 __attribute__ ((__nothrow__)) __attribute__ ((__const__)) ;
3466
3467 # 820 "/usr/include/stdlib.h" 3 4
3468 extern char *ecvt (double __value, int __ndigit, int *__restrict __decpt,
3469 int *__restrict __sign) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))) ;
3470
3471
3472
3473
3474 extern char *fcvt (double __value, int __ndigit, int *__restrict __decpt,
3475 int *__restrict __sign) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))) ;
3476
3477
3478
3479
3480 extern char *gcvt (double __value, int __ndigit, char *__buf)
3481 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3))) ;
3482
3483
3484
3485
3486 extern char *qecvt (long double __value, int __ndigit,
3487 int *__restrict __decpt, int *__restrict __sign)
3488 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))) ;
3489 extern char *qfcvt (long double __value, int __ndigit,
3490 int *__restrict __decpt, int *__restrict __sign)
3491 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))) ;
3492 extern char *qgcvt (long double __value, int __ndigit, char *__buf)
3493 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3))) ;
3494
3495
3496
3497
3498 extern int ecvt_r (double __value, int __ndigit, int *__restrict __decpt,
3499 int *__restrict __sign, char *__restrict __buf,
3500 size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5)));
3501 extern int fcvt_r (double __value, int __ndigit, int *__restrict __decpt,
3502 int *__restrict __sign, char *__restrict __buf,
3503 size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5)));
3504
3505 extern int qecvt_r (long double __value, int __ndigit,
3506 int *__restrict __decpt, int *__restrict __sign,
3507 char *__restrict __buf, size_t __len)
3508 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5)));
3509 extern int qfcvt_r (long double __value, int __ndigit,
3510 int *__restrict __decpt, int *__restrict __sign,
3511 char *__restrict __buf, size_t __len)
3512 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5)));
3513
3514
3515
3516
3517
3518
3519
3520 extern int mblen (__const char *__s, size_t __n) __attribute__ ((__nothrow__)) ;
3521
3522
3523 extern int mbtowc (wchar_t *__restrict __pwc,
3524 __const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__)) ;
3525
3526
3527 extern int wctomb (char *__s, wchar_t __wchar) __attribute__ ((__nothrow__)) ;
3528
3529
3530
3531 extern size_t mbstowcs (wchar_t *__restrict __pwcs,
3532 __const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__));
3533
3534 extern size_t wcstombs (char *__restrict __s,
3535 __const wchar_t *__restrict __pwcs, size_t __n)
3536 __attribute__ ((__nothrow__));
3537
3538
3539
3540
3541
3542
3543
3544
3545 extern int rpmatch (__const char *__response) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) ;
3546 # 925 "/usr/include/stdlib.h" 3 4
3547 extern int posix_openpt (int __oflag) ;
3548 # 960 "/usr/include/stdlib.h" 3 4
3549 extern int getloadavg (double __loadavg[], int __nelem)
3550 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
3551 # 974 "/usr/include/stdlib.h" 3 4
3552 #undef __need_malloc_and_calloc
3553
3554
3555 # 15 "unix.c" 2
3556
3557 # 1 "/usr/include/string.h" 1 3 4
3558 # 24 "/usr/include/string.h" 3 4
3559 #define _STRING_H 1
3560
3561
3562
3563
3564
3565
3566 #define __need_size_t
3567 #define __need_NULL
3568 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/stddef.h" 1 3 4
3569 # 236 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/stddef.h" 3 4
3570 #undef __need_size_t
3571 # 398 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/stddef.h" 3 4
3572 #undef NULL
3573
3574
3575
3576
3577 #define NULL ((void *)0)
3578
3579
3580
3581
3582
3583 #undef __need_NULL
3584 # 34 "/usr/include/string.h" 2 3 4
3585
3586
3587
3588
3589 extern void *memcpy (void *__restrict __dest,
3590 __const void *__restrict __src, size_t __n)
3591 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
3592
3593
3594 extern void *memmove (void *__dest, __const void *__src, size_t __n)
3595 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
3596
3597
3598
3599
3600
3601
3602 extern void *memccpy (void *__restrict __dest, __const void *__restrict __src,
3603 int __c, size_t __n)
3604 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
3605
3606
3607
3608
3609
3610 extern void *memset (void *__s, int __c, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
3611
3612
3613 extern int memcmp (__const void *__s1, __const void *__s2, size_t __n)
3614 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
3615
3616
3617 extern void *memchr (__const void *__s, int __c, size_t __n)
3618 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
3619
3620 # 82 "/usr/include/string.h" 3 4
3621
3622
3623 extern char *strcpy (char *__restrict __dest, __const char *__restrict __src)
3624 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
3625
3626 extern char *strncpy (char *__restrict __dest,
3627 __const char *__restrict __src, size_t __n)
3628 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
3629
3630
3631 extern char *strcat (char *__restrict __dest, __const char *__restrict __src)
3632 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
3633
3634 extern char *strncat (char *__restrict __dest, __const char *__restrict __src,
3635 size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
3636
3637
3638 extern int strcmp (__const char *__s1, __const char *__s2)
3639 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
3640
3641 extern int strncmp (__const char *__s1, __const char *__s2, size_t __n)
3642 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
3643
3644
3645 extern int strcoll (__const char *__s1, __const char *__s2)
3646 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
3647
3648 extern size_t strxfrm (char *__restrict __dest,
3649 __const char *__restrict __src, size_t __n)
3650 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
3651
3652 # 130 "/usr/include/string.h" 3 4
3653 extern char *strdup (__const char *__s)
3654 __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1)));
3655 # 165 "/usr/include/string.h" 3 4
3656
3657
3658 extern char *strchr (__const char *__s, int __c)
3659 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
3660
3661 extern char *strrchr (__const char *__s, int __c)
3662 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
3663
3664 # 181 "/usr/include/string.h" 3 4
3665
3666
3667
3668 extern size_t strcspn (__const char *__s, __const char *__reject)
3669 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
3670
3671
3672 extern size_t strspn (__const char *__s, __const char *__accept)
3673 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
3674
3675 extern char *strpbrk (__const char *__s, __const char *__accept)
3676 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
3677
3678 extern char *strstr (__const char *__haystack, __const char *__needle)
3679 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
3680
3681
3682
3683 extern char *strtok (char *__restrict __s, __const char *__restrict __delim)
3684 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
3685
3686
3687
3688
3689 extern char *__strtok_r (char *__restrict __s,
3690 __const char *__restrict __delim,
3691 char **__restrict __save_ptr)
3692 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3)));
3693
3694 extern char *strtok_r (char *__restrict __s, __const char *__restrict __delim,
3695 char **__restrict __save_ptr)
3696 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3)));
3697 # 240 "/usr/include/string.h" 3 4
3698
3699
3700 extern size_t strlen (__const char *__s)
3701 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
3702
3703 # 254 "/usr/include/string.h" 3 4
3704
3705
3706 extern char *strerror (int __errnum) __attribute__ ((__nothrow__));
3707
3708 # 270 "/usr/include/string.h" 3 4
3709 extern int strerror_r (int __errnum, char *__buf, size_t __buflen) __asm__ ("" "__xpg_strerror_r") __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
3710 # 294 "/usr/include/string.h" 3 4
3711 extern void __bzero (void *__s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
3712
3713
3714
3715 extern void bcopy (__const void *__src, void *__dest, size_t __n)
3716 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
3717
3718
3719 extern void bzero (void *__s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
3720
3721
3722 extern int bcmp (__const void *__s1, __const void *__s2, size_t __n)
3723 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
3724
3725
3726 extern char *index (__const char *__s, int __c)
3727 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
3728
3729
3730 extern char *rindex (__const char *__s, int __c)
3731 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
3732
3733
3734
3735 extern int ffs (int __i) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
3736 # 331 "/usr/include/string.h" 3 4
3737 extern int strcasecmp (__const char *__s1, __const char *__s2)
3738 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
3739
3740
3741 extern int strncasecmp (__const char *__s1, __const char *__s2, size_t __n)
3742 __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
3743 # 354 "/usr/include/string.h" 3 4
3744 extern char *strsep (char **__restrict __stringp,
3745 __const char *__restrict __delim)
3746 __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
3747 # 420 "/usr/include/string.h" 3 4
3748 # 1 "/usr/include/bits/string.h" 1 3 4
3749 # 26 "/usr/include/bits/string.h" 3 4
3750 #define _STRING_ARCH_unaligned 1
3751 # 421 "/usr/include/string.h" 2 3 4
3752
3753
3754 # 1 "/usr/include/bits/string2.h" 1 3 4
3755 # 46 "/usr/include/bits/string2.h" 3 4
3756 #define __STRING_INLINE __extern_inline
3757 # 56 "/usr/include/bits/string2.h" 3 4
3758 #define __STRING2_SMALL_GET16(src,idx) (((__const unsigned char *) (__const char *) (src))[idx + 1] << 8 | ((__const unsigned char *) (__const char *) (src))[idx])
3759
3760
3761 #define __STRING2_SMALL_GET32(src,idx) (((((__const unsigned char *) (__const char *) (src))[idx + 3] << 8 | ((__const unsigned char *) (__const char *) (src))[idx + 2]) << 8 | ((__const unsigned char *) (__const char *) (src))[idx + 1]) << 8 | ((__const unsigned char *) (__const char *) (src))[idx])
3762 # 93 "/usr/include/bits/string2.h" 3 4
3763 #define __string2_1bptr_p(__x) ((size_t)(const void *)((__x) + 1) - (size_t)(const void *)(__x) == 1)
3764 # 195 "/usr/include/bits/string2.h" 3 4
3765 #define __bzero(s,n) __builtin_memset (s, '\0', n)
3766 # 394 "/usr/include/bits/string2.h" 3 4
3767 extern void *__rawmemchr (const void *__s, int __c);
3768
3769 #define strchr(s,c) (__extension__ (__builtin_constant_p (c) && !__builtin_constant_p (s) && (c) == '\0' ? (char *) __rawmemchr (s, c) : __builtin_strchr (s, c)))
3770 # 761 "/usr/include/bits/string2.h" 3 4
3771 #define strncpy(dest,src,n) __builtin_strncpy (dest, src, n)
3772 # 785 "/usr/include/bits/string2.h" 3 4
3773 #define strncat(dest,src,n) __builtin_strncat (dest, src, n)
3774 # 800 "/usr/include/bits/string2.h" 3 4
3775 #define strcmp(s1,s2) __extension__ ({ size_t __s1_len, __s2_len; (__builtin_constant_p (s1) && __builtin_constant_p (s2) && (__s1_len = strlen (s1), __s2_len = strlen (s2), (!__string2_1bptr_p (s1) || __s1_len >= 4) && (!__string2_1bptr_p (s2) || __s2_len >= 4)) ? __builtin_strcmp (s1, s2) : (__builtin_constant_p (s1) && __string2_1bptr_p (s1) && (__s1_len = strlen (s1), __s1_len < 4) ? (__builtin_constant_p (s2) && __string2_1bptr_p (s2) ? __builtin_strcmp (s1, s2) : __strcmp_cg (s1, s2, __s1_len)) : (__builtin_constant_p (s2) && __string2_1bptr_p (s2) && (__s2_len = strlen (s2), __s2_len < 4) ? (__builtin_constant_p (s1) && __string2_1bptr_p (s1) ? __builtin_strcmp (s1, s2) : __strcmp_gc (s1, s2, __s2_len)) : __builtin_strcmp (s1, s2)))); })
3776 # 842 "/usr/include/bits/string2.h" 3 4
3777 #define __strcmp_cc(s1,s2,l) (__extension__ ({ register int __result = (((__const unsigned char *) (__const char *) (s1))[0] - ((__const unsigned char *) (__const char *)(s2))[0]); if (l > 0 && __result == 0) { __result = (((__const unsigned char *) (__const char *) (s1))[1] - ((__const unsigned char *) (__const char *) (s2))[1]); if (l > 1 && __result == 0) { __result = (((__const unsigned char *) (__const char *) (s1))[2] - ((__const unsigned char *) (__const char *) (s2))[2]); if (l > 2 && __result == 0) __result = (((__const unsigned char *) (__const char *) (s1))[3] - ((__const unsigned char *) (__const char *) (s2))[3]); } } __result; }))
3778 # 869 "/usr/include/bits/string2.h" 3 4
3779 #define __strcmp_cg(s1,s2,l1) (__extension__ ({ __const unsigned char *__s2 = (__const unsigned char *) (__const char *) (s2); register int __result = (((__const unsigned char *) (__const char *) (s1))[0] - __s2[0]); if (l1 > 0 && __result == 0) { __result = (((__const unsigned char *) (__const char *) (s1))[1] - __s2[1]); if (l1 > 1 && __result == 0) { __result = (((__const unsigned char *) (__const char *) (s1))[2] - __s2[2]); if (l1 > 2 && __result == 0) __result = (((__const unsigned char *) (__const char *) (s1))[3] - __s2[3]); } } __result; }))
3780 # 891 "/usr/include/bits/string2.h" 3 4
3781 #define __strcmp_gc(s1,s2,l2) (__extension__ ({ __const unsigned char *__s1 = (__const unsigned char *) (__const char *) (s1); register int __result = __s1[0] - ((__const unsigned char *) (__const char *) (s2))[0]; if (l2 > 0 && __result == 0) { __result = (__s1[1] - ((__const unsigned char *) (__const char *) (s2))[1]); if (l2 > 1 && __result == 0) { __result = (__s1[2] - ((__const unsigned char *) (__const char *) (s2))[2]); if (l2 > 2 && __result == 0) __result = (__s1[3] - ((__const unsigned char *) (__const char *) (s2))[3]); } } __result; }))
3782 # 920 "/usr/include/bits/string2.h" 3 4
3783 #define strncmp(s1,s2,n) (__extension__ (__builtin_constant_p (n) && ((__builtin_constant_p (s1) && strlen (s1) < ((size_t) (n))) || (__builtin_constant_p (s2) && strlen (s2) < ((size_t) (n)))) ? strcmp (s1, s2) : strncmp (s1, s2, n)))
3784 # 935 "/usr/include/bits/string2.h" 3 4
3785 #define strcspn(s,reject) __extension__ ({ char __r0, __r1, __r2; (__builtin_constant_p (reject) && __string2_1bptr_p (reject) ? ((__builtin_constant_p (s) && __string2_1bptr_p (s)) ? __builtin_strcspn (s, reject) : ((__r0 = ((__const char *) (reject))[0], __r0 == '\0') ? strlen (s) : ((__r1 = ((__const char *) (reject))[1], __r1 == '\0') ? __strcspn_c1 (s, __r0) : ((__r2 = ((__const char *) (reject))[2], __r2 == '\0') ? __strcspn_c2 (s, __r0, __r1) : (((__const char *) (reject))[3] == '\0' ? __strcspn_c3 (s, __r0, __r1, __r2) : __builtin_strcspn (s, reject)))))) : __builtin_strcspn (s, reject)); })
3786 # 969 "/usr/include/bits/string2.h" 3 4
3787 extern __inline size_t __strcspn_c1 (__const char *__s, int __reject);
3788 extern __inline size_t
3789 __strcspn_c1 (__const char *__s, int __reject)
3790 {
3791 register size_t __result = 0;
3792 while (__s[__result] != '\0' && __s[__result] != __reject)
3793 ++__result;
3794 return __result;
3795 }
3796
3797 extern __inline size_t __strcspn_c2 (__const char *__s, int __reject1,
3798 int __reject2);
3799 extern __inline size_t
3800 __strcspn_c2 (__const char *__s, int __reject1, int __reject2)
3801 {
3802 register size_t __result = 0;
3803 while (__s[__result] != '\0' && __s[__result] != __reject1
3804 && __s[__result] != __reject2)
3805 ++__result;
3806 return __result;
3807 }
3808
3809 extern __inline size_t __strcspn_c3 (__const char *__s, int __reject1,
3810 int __reject2, int __reject3);
3811 extern __inline size_t
3812 __strcspn_c3 (__const char *__s, int __reject1, int __reject2,
3813 int __reject3)
3814 {
3815 register size_t __result = 0;
3816 while (__s[__result] != '\0' && __s[__result] != __reject1
3817 && __s[__result] != __reject2 && __s[__result] != __reject3)
3818 ++__result;
3819 return __result;
3820 }
3821 # 1011 "/usr/include/bits/string2.h" 3 4
3822 #define strspn(s,accept) __extension__ ({ char __a0, __a1, __a2; (__builtin_constant_p (accept) && __string2_1bptr_p (accept) ? ((__builtin_constant_p (s) && __string2_1bptr_p (s)) ? __builtin_strspn (s, accept) : ((__a0 = ((__const char *) (accept))[0], __a0 == '\0') ? ((void) (s), 0) : ((__a1 = ((__const char *) (accept))[1], __a1 == '\0') ? __strspn_c1 (s, __a0) : ((__a2 = ((__const char *) (accept))[2], __a2 == '\0') ? __strspn_c2 (s, __a0, __a1) : (((__const char *) (accept))[3] == '\0' ? __strspn_c3 (s, __a0, __a1, __a2) : __builtin_strspn (s, accept)))))) : __builtin_strspn (s, accept)); })
3823 # 1045 "/usr/include/bits/string2.h" 3 4
3824 extern __inline size_t __strspn_c1 (__const char *__s, int __accept);
3825 extern __inline size_t
3826 __strspn_c1 (__const char *__s, int __accept)
3827 {
3828 register size_t __result = 0;
3829
3830 while (__s[__result] == __accept)
3831 ++__result;
3832 return __result;
3833 }
3834
3835 extern __inline size_t __strspn_c2 (__const char *__s, int __accept1,
3836 int __accept2);
3837 extern __inline size_t
3838 __strspn_c2 (__const char *__s, int __accept1, int __accept2)
3839 {
3840 register size_t __result = 0;
3841
3842 while (__s[__result] == __accept1 || __s[__result] == __accept2)
3843 ++__result;
3844 return __result;
3845 }
3846
3847 extern __inline size_t __strspn_c3 (__const char *__s, int __accept1,
3848 int __accept2, int __accept3);
3849 extern __inline size_t
3850 __strspn_c3 (__const char *__s, int __accept1, int __accept2, int __accept3)
3851 {
3852 register size_t __result = 0;
3853
3854 while (__s[__result] == __accept1 || __s[__result] == __accept2
3855 || __s[__result] == __accept3)
3856 ++__result;
3857 return __result;
3858 }
3859
3860
3861
3862
3863
3864
3865
3866 #define strpbrk(s,accept) __extension__ ({ char __a0, __a1, __a2; (__builtin_constant_p (accept) && __string2_1bptr_p (accept) ? ((__builtin_constant_p (s) && __string2_1bptr_p (s)) ? __builtin_strpbrk (s, accept) : ((__a0 = ((__const char *) (accept))[0], __a0 == '\0') ? ((void) (s), (char *) NULL) : ((__a1 = ((__const char *) (accept))[1], __a1 == '\0') ? __builtin_strchr (s, __a0) : ((__a2 = ((__const char *) (accept))[2], __a2 == '\0') ? __strpbrk_c2 (s, __a0, __a1) : (((__const char *) (accept))[3] == '\0' ? __strpbrk_c3 (s, __a0, __a1, __a2) : __builtin_strpbrk (s, accept)))))) : __builtin_strpbrk (s, accept)); })
3867 # 1121 "/usr/include/bits/string2.h" 3 4
3868 extern __inline char *__strpbrk_c2 (__const char *__s, int __accept1,
3869 int __accept2);
3870 extern __inline char *
3871 __strpbrk_c2 (__const char *__s, int __accept1, int __accept2)
3872 {
3873
3874 while (*__s != '\0' && *__s != __accept1 && *__s != __accept2)
3875 ++__s;
3876 return *__s == '\0' ? ((void *)0) : (char *) (size_t) __s;
3877 }
3878
3879 extern __inline char *__strpbrk_c3 (__const char *__s, int __accept1,
3880 int __accept2, int __accept3);
3881 extern __inline char *
3882 __strpbrk_c3 (__const char *__s, int __accept1, int __accept2,
3883 int __accept3)
3884 {
3885
3886 while (*__s != '\0' && *__s != __accept1 && *__s != __accept2
3887 && *__s != __accept3)
3888 ++__s;
3889 return *__s == '\0' ? ((void *)0) : (char *) (size_t) __s;
3890 }
3891 # 1164 "/usr/include/bits/string2.h" 3 4
3892 #define __strtok_r(s,sep,nextp) (__extension__ (__builtin_constant_p (sep) && __string2_1bptr_p (sep) ? (((__const char *) (sep))[0] != '\0' && ((__const char *) (sep))[1] == '\0' ? __strtok_r_1c (s, ((__const char *) (sep))[0], nextp) : __strtok_r (s, sep, nextp)) : __strtok_r (s, sep, nextp)))
3893 # 1173 "/usr/include/bits/string2.h" 3 4
3894 extern __inline char *__strtok_r_1c (char *__s, char __sep, char **__nextp);
3895 extern __inline char *
3896 __strtok_r_1c (char *__s, char __sep, char **__nextp)
3897 {
3898 char *__result;
3899 if (__s == ((void *)0))
3900 __s = *__nextp;
3901 while (*__s == __sep)
3902 ++__s;
3903 __result = ((void *)0);
3904 if (*__s != '\0')
3905 {
3906 __result = __s++;
3907 while (*__s != '\0')
3908 if (*__s++ == __sep)
3909 {
3910 __s[-1] = '\0';
3911 break;
3912 }
3913 *__nextp = __s;
3914 }
3915 return __result;
3916 }
3917
3918 #define strtok_r(s,sep,nextp) __strtok_r (s, sep, nextp)
3919
3920
3921
3922
3923
3924
3925
3926 extern char *__strsep_g (char **__stringp, __const char *__delim);
3927 #define __strsep(s,reject) __extension__ ({ char __r0, __r1, __r2; (__builtin_constant_p (reject) && __string2_1bptr_p (reject) && (__r0 = ((__const char *) (reject))[0], ((__const char *) (reject))[0] != '\0') ? ((__r1 = ((__const char *) (reject))[1], ((__const char *) (reject))[1] == '\0') ? __strsep_1c (s, __r0) : ((__r2 = ((__const char *) (reject))[2], __r2 == '\0') ? __strsep_2c (s, __r0, __r1) : (((__const char *) (reject))[3] == '\0' ? __strsep_3c (s, __r0, __r1, __r2) : __strsep_g (s, reject)))) : __strsep_g (s, reject)); })
3928 # 1223 "/usr/include/bits/string2.h" 3 4
3929 extern __inline char *__strsep_1c (char **__s, char __reject);
3930 extern __inline char *
3931 __strsep_1c (char **__s, char __reject)
3932 {
3933 register char *__retval = *__s;
3934 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))
3935 *(*__s)++ = '\0';
3936 return __retval;
3937 }
3938
3939 extern __inline char *__strsep_2c (char **__s, char __reject1, char __reject2);
3940 extern __inline char *
3941 __strsep_2c (char **__s, char __reject1, char __reject2)
3942 {
3943 register char *__retval = *__s;
3944 if (__retval != ((void *)0))
3945 {
3946 register char *__cp = __retval;
3947 while (1)
3948 {
3949 if (*__cp == '\0')
3950 {
3951 __cp = ((void *)0);
3952 break;
3953 }
3954 if (*__cp == __reject1 || *__cp == __reject2)
3955 {
3956 *__cp++ = '\0';
3957 break;
3958 }
3959 ++__cp;
3960 }
3961 *__s = __cp;
3962 }
3963 return __retval;
3964 }
3965
3966 extern __inline char *__strsep_3c (char **__s, char __reject1, char __reject2,
3967 char __reject3);
3968 extern __inline char *
3969 __strsep_3c (char **__s, char __reject1, char __reject2, char __reject3)
3970 {
3971 register char *__retval = *__s;
3972 if (__retval != ((void *)0))
3973 {
3974 register char *__cp = __retval;
3975 while (1)
3976 {
3977 if (*__cp == '\0')
3978 {
3979 __cp = ((void *)0);
3980 break;
3981 }
3982 if (*__cp == __reject1 || *__cp == __reject2 || *__cp == __reject3)
3983 {
3984 *__cp++ = '\0';
3985 break;
3986 }
3987 ++__cp;
3988 }
3989 *__s = __cp;
3990 }
3991 return __retval;
3992 }
3993
3994 #define strsep(s,reject) __strsep (s, reject)
3995 # 1298 "/usr/include/bits/string2.h" 3 4
3996 #define __need_malloc_and_calloc
3997
3998
3999
4000
4001
4002 extern char *__strdup (__const char *__string) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__));
4003 #define __strdup(s) (__extension__ (__builtin_constant_p (s) && __string2_1bptr_p (s) ? (((__const char *) (s))[0] == '\0' ? (char *) calloc (1, 1) : ({ size_t __len = strlen (s) + 1; char *__retval = (char *) malloc (__len); if (__retval != NULL) __retval = (char *) memcpy (__retval, s, __len); __retval; })) : __strdup (s)))
4004 # 1317 "/usr/include/bits/string2.h" 3 4
4005 #define strdup(s) __strdup (s)
4006
4007
4008
4009
4010
4011 extern char *__strndup (__const char *__string, size_t __n)
4012 __attribute__ ((__nothrow__)) __attribute__ ((__malloc__));
4013 #define __strndup(s,n) (__extension__ (__builtin_constant_p (s) && __string2_1bptr_p (s) ? (((__const char *) (s))[0] == '\0' ? (char *) calloc (1, 1) : ({ size_t __len = strlen (s) + 1; size_t __n = (n); char *__retval; if (__n < __len) __len = __n + 1; __retval = (char *) malloc (__len); if (__retval != NULL) { __retval[__len - 1] = '\0'; __retval = (char *) memcpy (__retval, s, __len - 1); } __retval; })) : __strndup (s, n)))
4014 # 1352 "/usr/include/bits/string2.h" 3 4
4015 #undef __STRING_INLINE
4016 # 424 "/usr/include/string.h" 2 3 4
4017 # 432 "/usr/include/string.h" 3 4
4018
4019 # 17 "unix.c" 2
4020 # 1 "/usr/include/fcntl.h" 1 3 4
4021 # 25 "/usr/include/fcntl.h" 3 4
4022 #define _FCNTL_H 1
4023
4024
4025
4026
4027
4028
4029
4030
4031 # 1 "/usr/include/bits/fcntl.h" 1 3 4
4032 # 33 "/usr/include/bits/fcntl.h" 3 4
4033 #define O_ACCMODE 0003
4034 #define O_RDONLY 00
4035 #define O_WRONLY 01
4036 #define O_RDWR 02
4037 #define O_CREAT 0100
4038 #define O_EXCL 0200
4039 #define O_NOCTTY 0400
4040 #define O_TRUNC 01000
4041 #define O_APPEND 02000
4042 #define O_NONBLOCK 04000
4043 #define O_NDELAY O_NONBLOCK
4044 #define O_SYNC 010000
4045 #define O_FSYNC O_SYNC
4046 #define O_ASYNC 020000
4047 # 59 "/usr/include/bits/fcntl.h" 3 4
4048 #define O_DSYNC O_SYNC
4049 #define O_RSYNC O_SYNC
4050
4051
4052
4053
4054
4055
4056
4057 #define F_DUPFD 0
4058 #define F_GETFD 1
4059 #define F_SETFD 2
4060 #define F_GETFL 3
4061 #define F_SETFL 4
4062
4063 #define F_GETLK 5
4064 #define F_SETLK 6
4065 #define F_SETLKW 7
4066
4067
4068
4069
4070
4071 #define F_GETLK64 12
4072 #define F_SETLK64 13
4073 #define F_SETLKW64 14
4074
4075
4076 #define F_SETOWN 8
4077 #define F_GETOWN 9
4078 # 103 "/usr/include/bits/fcntl.h" 3 4
4079 #define FD_CLOEXEC 1
4080
4081
4082 #define F_RDLCK 0
4083 #define F_WRLCK 1
4084 #define F_UNLCK 2
4085
4086
4087 #define F_EXLCK 4
4088 #define F_SHLCK 8
4089
4090
4091
4092 #define LOCK_SH 1
4093 #define LOCK_EX 2
4094 #define LOCK_NB 4
4095
4096 #define LOCK_UN 8
4097 # 141 "/usr/include/bits/fcntl.h" 3 4
4098 struct flock
4099 {
4100 short int l_type;
4101 short int l_whence;
4102
4103 __off_t l_start;
4104 __off_t l_len;
4105
4106
4107
4108
4109 __pid_t l_pid;
4110 };
4111 # 169 "/usr/include/bits/fcntl.h" 3 4
4112 #define FAPPEND O_APPEND
4113 #define FFSYNC O_FSYNC
4114 #define FASYNC O_ASYNC
4115 #define FNONBLOCK O_NONBLOCK
4116 #define FNDELAY O_NDELAY
4117
4118
4119
4120
4121 #define POSIX_FADV_NORMAL 0
4122 #define POSIX_FADV_RANDOM 1
4123 #define POSIX_FADV_SEQUENTIAL 2
4124 #define POSIX_FADV_WILLNEED 3
4125 #define POSIX_FADV_DONTNEED 4
4126 #define POSIX_FADV_NOREUSE 5
4127 # 208 "/usr/include/bits/fcntl.h" 3 4
4128
4129 # 237 "/usr/include/bits/fcntl.h" 3 4
4130
4131 # 35 "/usr/include/fcntl.h" 2 3 4
4132 # 45 "/usr/include/fcntl.h" 3 4
4133 #define R_OK 4
4134 #define W_OK 2
4135 #define X_OK 1
4136 #define F_OK 0
4137 # 76 "/usr/include/fcntl.h" 3 4
4138 extern int fcntl (int __fd, int __cmd, ...);
4139 # 85 "/usr/include/fcntl.h" 3 4
4140 extern int open (__const char *__file, int __oflag, ...) __attribute__ ((__nonnull__ (1)));
4141 # 130 "/usr/include/fcntl.h" 3 4
4142 extern int creat (__const char *__file, __mode_t __mode) __attribute__ ((__nonnull__ (1)));
4143 # 153 "/usr/include/fcntl.h" 3 4
4144 #define F_ULOCK 0
4145 #define F_LOCK 1
4146 #define F_TLOCK 2
4147 #define F_TEST 3
4148
4149
4150 extern int lockf (int __fd, int __cmd, __off_t __len);
4151 # 176 "/usr/include/fcntl.h" 3 4
4152 extern int posix_fadvise (int __fd, __off_t __offset, __off_t __len,
4153 int __advise) __attribute__ ((__nothrow__));
4154 # 198 "/usr/include/fcntl.h" 3 4
4155 extern int posix_fallocate (int __fd, __off_t __offset, __off_t __len);
4156 # 213 "/usr/include/fcntl.h" 3 4
4157
4158 # 18 "unix.c" 2
4159 # 1 "/usr/include/ctype.h" 1 3 4
4160 # 25 "/usr/include/ctype.h" 3 4
4161 #define _CTYPE_H 1
4162
4163
4164
4165
4166
4167 # 45 "/usr/include/ctype.h" 3 4
4168 #define _ISbit(bit) ((bit) < 8 ? ((1 << (bit)) << 8) : ((1 << (bit)) >> 8))
4169
4170
4171 enum
4172 {
4173 _ISupper = ((0) < 8 ? ((1 << (0)) << 8) : ((1 << (0)) >> 8)),
4174 _ISlower = ((1) < 8 ? ((1 << (1)) << 8) : ((1 << (1)) >> 8)),
4175 _ISalpha = ((2) < 8 ? ((1 << (2)) << 8) : ((1 << (2)) >> 8)),
4176 _ISdigit = ((3) < 8 ? ((1 << (3)) << 8) : ((1 << (3)) >> 8)),
4177 _ISxdigit = ((4) < 8 ? ((1 << (4)) << 8) : ((1 << (4)) >> 8)),
4178 _ISspace = ((5) < 8 ? ((1 << (5)) << 8) : ((1 << (5)) >> 8)),
4179 _ISprint = ((6) < 8 ? ((1 << (6)) << 8) : ((1 << (6)) >> 8)),
4180 _ISgraph = ((7) < 8 ? ((1 << (7)) << 8) : ((1 << (7)) >> 8)),
4181 _ISblank = ((8) < 8 ? ((1 << (8)) << 8) : ((1 << (8)) >> 8)),
4182 _IScntrl = ((9) < 8 ? ((1 << (9)) << 8) : ((1 << (9)) >> 8)),
4183 _ISpunct = ((10) < 8 ? ((1 << (10)) << 8) : ((1 << (10)) >> 8)),
4184 _ISalnum = ((11) < 8 ? ((1 << (11)) << 8) : ((1 << (11)) >> 8))
4185 };
4186 # 81 "/usr/include/ctype.h" 3 4
4187 extern __const unsigned short int **__ctype_b_loc (void)
4188 __attribute__ ((__const));
4189 extern __const __int32_t **__ctype_tolower_loc (void)
4190 __attribute__ ((__const));
4191 extern __const __int32_t **__ctype_toupper_loc (void)
4192 __attribute__ ((__const));
4193
4194 #define __isctype(c,type) ((*__ctype_b_loc ())[(int) (c)] & (unsigned short int) type)
4195
4196
4197 #define __isascii(c) (((c) & ~0x7f) == 0)
4198 #define __toascii(c) ((c) & 0x7f)
4199
4200 #define __exctype(name) extern int name (int) __THROW
4201
4202
4203
4204
4205
4206
4207
4208 extern int isalnum (int) __attribute__ ((__nothrow__));
4209 extern int isalpha (int) __attribute__ ((__nothrow__));
4210 extern int iscntrl (int) __attribute__ ((__nothrow__));
4211 extern int isdigit (int) __attribute__ ((__nothrow__));
4212 extern int islower (int) __attribute__ ((__nothrow__));
4213 extern int isgraph (int) __attribute__ ((__nothrow__));
4214 extern int isprint (int) __attribute__ ((__nothrow__));
4215 extern int ispunct (int) __attribute__ ((__nothrow__));
4216 extern int isspace (int) __attribute__ ((__nothrow__));
4217 extern int isupper (int) __attribute__ ((__nothrow__));
4218 extern int isxdigit (int) __attribute__ ((__nothrow__));
4219
4220
4221
4222 extern int tolower (int __c) __attribute__ ((__nothrow__));
4223
4224
4225 extern int toupper (int __c) __attribute__ ((__nothrow__));
4226
4227
4228 # 142 "/usr/include/ctype.h" 3 4
4229 extern int isascii (int __c) __attribute__ ((__nothrow__));
4230
4231
4232
4233 extern int toascii (int __c) __attribute__ ((__nothrow__));
4234
4235
4236
4237 extern int _toupper (int) __attribute__ ((__nothrow__));
4238 extern int _tolower (int) __attribute__ ((__nothrow__));
4239
4240
4241
4242 #define __tobody(c,f,a,args) (__extension__ ({ int __res; if (sizeof (c) > 1) { if (__builtin_constant_p (c)) { int __c = (c); __res = __c < -128 || __c > 255 ? __c : (a)[__c]; } else __res = f args; } else __res = (a)[(int) (c)]; __res; }))
4243 # 173 "/usr/include/ctype.h" 3 4
4244 #define isalnum(c) __isctype((c), _ISalnum)
4245 #define isalpha(c) __isctype((c), _ISalpha)
4246 #define iscntrl(c) __isctype((c), _IScntrl)
4247 #define isdigit(c) __isctype((c), _ISdigit)
4248 #define islower(c) __isctype((c), _ISlower)
4249 #define isgraph(c) __isctype((c), _ISgraph)
4250 #define isprint(c) __isctype((c), _ISprint)
4251 #define ispunct(c) __isctype((c), _ISpunct)
4252 #define isspace(c) __isctype((c), _ISspace)
4253 #define isupper(c) __isctype((c), _ISupper)
4254 #define isxdigit(c) __isctype((c), _ISxdigit)
4255
4256
4257
4258
4259
4260
4261 extern __inline int
4262 __attribute__ ((__nothrow__)) tolower (int __c)
4263 {
4264 return __c >= -128 && __c < 256 ? (*__ctype_tolower_loc ())[__c] : __c;
4265 }
4266
4267 extern __inline int
4268 __attribute__ ((__nothrow__)) toupper (int __c)
4269 {
4270 return __c >= -128 && __c < 256 ? (*__ctype_toupper_loc ())[__c] : __c;
4271 }
4272
4273
4274
4275 #define tolower(c) __tobody (c, tolower, *__ctype_tolower_loc (), (c))
4276 #define toupper(c) __tobody (c, toupper, *__ctype_toupper_loc (), (c))
4277
4278
4279
4280 #define isascii(c) __isascii (c)
4281 #define toascii(c) __toascii (c)
4282
4283 #define _tolower(c) ((int) (*__ctype_tolower_loc ())[(int) (c)])
4284 #define _toupper(c) ((int) (*__ctype_toupper_loc ())[(int) (c)])
4285 # 323 "/usr/include/ctype.h" 3 4
4286
4287 # 19 "unix.c" 2
4288 # 1 "/usr/include/time.h" 1 3 4
4289 # 28 "/usr/include/time.h" 3 4
4290 #define _TIME_H 1
4291
4292
4293
4294
4295
4296
4297
4298
4299 #define __need_size_t
4300 #define __need_NULL
4301 # 1 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/stddef.h" 1 3 4
4302 # 236 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/stddef.h" 3 4
4303 #undef __need_size_t
4304 # 398 "/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/stddef.h" 3 4
4305 #undef NULL
4306
4307
4308
4309
4310 #define NULL ((void *)0)
4311
4312
4313
4314
4315
4316 #undef __need_NULL
4317 # 40 "/usr/include/time.h" 2 3 4
4318
4319
4320
4321 # 1 "/usr/include/bits/time.h" 1 3 4
4322 # 26 "/usr/include/bits/time.h" 3 4
4323 #define _BITS_TIME_H 1
4324
4325
4326
4327
4328
4329
4330
4331 #define CLOCKS_PER_SEC 1000000l
4332 # 46 "/usr/include/bits/time.h" 3 4
4333 #define CLOCK_REALTIME 0
4334
4335 #define CLOCK_MONOTONIC 1
4336
4337 #define CLOCK_PROCESS_CPUTIME_ID 2
4338
4339 #define CLOCK_THREAD_CPUTIME_ID 3
4340
4341
4342 #define TIMER_ABSTIME 1
4343 # 44 "/usr/include/time.h" 2 3 4
4344 # 55 "/usr/include/time.h" 3 4
4345 #define __clock_t_defined 1
4346
4347
4348
4349
4350
4351 typedef __clock_t clock_t;
4352
4353
4354
4355
4356
4357
4358 #undef __need_clock_t
4359 # 84 "/usr/include/time.h" 3 4
4360 #undef __need_time_t
4361 # 96 "/usr/include/time.h" 3 4
4362 #undef __clockid_time_t
4363 # 108 "/usr/include/time.h" 3 4
4364 #undef __need_timer_t
4365 # 128 "/usr/include/time.h" 3 4
4366 #undef __need_timespec
4367
4368
4369
4370
4371
4372 struct tm
4373 {
4374 int tm_sec;
4375 int tm_min;
4376 int tm_hour;
4377 int tm_mday;
4378 int tm_mon;
4379 int tm_year;
4380 int tm_wday;
4381 int tm_yday;
4382 int tm_isdst;
4383
4384
4385 long int tm_gmtoff;
4386 __const char *tm_zone;
4387
4388
4389
4390
4391 };
4392
4393
4394
4395
4396
4397
4398
4399
4400 struct itimerspec
4401 {
4402 struct timespec it_interval;
4403 struct timespec it_value;
4404 };
4405
4406
4407 struct sigevent;
4408 # 181 "/usr/include/time.h" 3 4
4409
4410
4411
4412 extern clock_t clock (void) __attribute__ ((__nothrow__));
4413
4414
4415 extern time_t time (time_t *__timer) __attribute__ ((__nothrow__));
4416
4417
4418 extern double difftime (time_t __time1, time_t __time0)
4419 __attribute__ ((__nothrow__)) __attribute__ ((__const__));
4420
4421
4422 extern time_t mktime (struct tm *__tp) __attribute__ ((__nothrow__));
4423
4424
4425
4426
4427
4428 extern size_t strftime (char *__restrict __s, size_t __maxsize,
4429 __const char *__restrict __format,
4430 __const struct tm *__restrict __tp) __attribute__ ((__nothrow__));
4431
4432 # 229 "/usr/include/time.h" 3 4
4433
4434
4435
4436 extern struct tm *gmtime (__const time_t *__timer) __attribute__ ((__nothrow__));
4437
4438
4439
4440 extern struct tm *localtime (__const time_t *__timer) __attribute__ ((__nothrow__));
4441
4442
4443
4444
4445
4446 extern struct tm *gmtime_r (__const time_t *__restrict __timer,
4447 struct tm *__restrict __tp) __attribute__ ((__nothrow__));
4448
4449
4450
4451 extern struct tm *localtime_r (__const time_t *__restrict __timer,
4452 struct tm *__restrict __tp) __attribute__ ((__nothrow__));
4453
4454
4455
4456
4457
4458 extern char *asctime (__const struct tm *__tp) __attribute__ ((__nothrow__));
4459
4460
4461 extern char *ctime (__const time_t *__timer) __attribute__ ((__nothrow__));
4462
4463
4464
4465
4466
4467
4468
4469 extern char *asctime_r (__const struct tm *__restrict __tp,
4470 char *__restrict __buf) __attribute__ ((__nothrow__));
4471
4472
4473 extern char *ctime_r (__const time_t *__restrict __timer,
4474 char *__restrict __buf) __attribute__ ((__nothrow__));
4475
4476
4477
4478
4479 extern char *__tzname[2];
4480 extern int __daylight;
4481 extern long int __timezone;
4482
4483
4484
4485
4486 extern char *tzname[2];
4487
4488
4489
4490 extern void tzset (void) __attribute__ ((__nothrow__));
4491
4492
4493
4494 extern int daylight;
4495 extern long int timezone;
4496
4497
4498
4499
4500
4501 extern int stime (__const time_t *__when) __attribute__ ((__nothrow__));
4502
4503
4504
4505
4506
4507 #define __isleap(year) ((year) % 4 == 0 && ((year) % 100 != 0 || (year) % 400 == 0))
4508 # 312 "/usr/include/time.h" 3 4
4509 extern time_t timegm (struct tm *__tp) __attribute__ ((__nothrow__));
4510
4511
4512 extern time_t timelocal (struct tm *__tp) __attribute__ ((__nothrow__));
4513
4514
4515 extern int dysize (int __year) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
4516 # 327 "/usr/include/time.h" 3 4
4517 extern int nanosleep (__const struct timespec *__requested_time,
4518 struct timespec *__remaining);
4519
4520
4521
4522 extern int clock_getres (clockid_t __clock_id, struct timespec *__res) __attribute__ ((__nothrow__));
4523
4524
4525 extern int clock_gettime (clockid_t __clock_id, struct timespec *__tp) __attribute__ ((__nothrow__));
4526
4527
4528 extern int clock_settime (clockid_t __clock_id, __const struct timespec *__tp)
4529 __attribute__ ((__nothrow__));
4530
4531
4532
4533
4534
4535
4536 extern int clock_nanosleep (clockid_t __clock_id, int __flags,
4537 __const struct timespec *__req,
4538 struct timespec *__rem);
4539
4540
4541 extern int clock_getcpuclockid (pid_t __pid, clockid_t *__clock_id) __attribute__ ((__nothrow__));
4542
4543
4544
4545
4546 extern int timer_create (clockid_t __clock_id,
4547 struct sigevent *__restrict __evp,
4548 timer_t *__restrict __timerid) __attribute__ ((__nothrow__));
4549
4550
4551 extern int timer_delete (timer_t __timerid) __attribute__ ((__nothrow__));
4552
4553
4554 extern int timer_settime (timer_t __timerid, int __flags,
4555 __const struct itimerspec *__restrict __value,
4556 struct itimerspec *__restrict __ovalue) __attribute__ ((__nothrow__));
4557
4558
4559 extern int timer_gettime (timer_t __timerid, struct itimerspec *__value)
4560 __attribute__ ((__nothrow__));
4561
4562
4563 extern int timer_getoverrun (timer_t __timerid) __attribute__ ((__nothrow__));
4564 # 416 "/usr/include/time.h" 3 4
4565
4566 # 20 "unix.c" 2
4567
4568 # 1 "/usr/include/signal.h" 1 3 4
4569 # 26 "/usr/include/signal.h" 3 4
4570 #define _SIGNAL_H
4571
4572
4573
4574
4575
4576
4577 # 1 "/usr/include/bits/sigset.h" 1 3 4
4578 # 44 "/usr/include/bits/sigset.h" 3 4
4579 #define _SIGSET_H_fns 1
4580
4581
4582 #define _EXTERN_INLINE __extern_inline
4583
4584
4585
4586 #define __sigmask(sig) (((unsigned long int) 1) << (((sig) - 1) % (8 * sizeof (unsigned long int))))
4587
4588
4589
4590 #define __sigword(sig) (((sig) - 1) / (8 * sizeof (unsigned long int)))
4591
4592
4593 #define __sigemptyset(set) (__extension__ ({ int __cnt = _SIGSET_NWORDS; sigset_t *__set = (set); while (--__cnt >= 0) __set->__val[__cnt] = 0; 0; }))
4594
4595
4596
4597
4598 #define __sigfillset(set) (__extension__ ({ int __cnt = _SIGSET_NWORDS; sigset_t *__set = (set); while (--__cnt >= 0) __set->__val[__cnt] = ~0UL; 0; }))
4599 # 104 "/usr/include/bits/sigset.h" 3 4
4600 extern int __sigismember (__const __sigset_t *, int);
4601 extern int __sigaddset (__sigset_t *, int);
4602 extern int __sigdelset (__sigset_t *, int);
4603
4604
4605 #define __SIGSETFN(NAME,BODY,CONST) _EXTERN_INLINE int NAME (CONST __sigset_t *__set, int __sig) { unsigned long int __mask = __sigmask (__sig); unsigned long int __word = __sigword (__sig); return BODY; }
4606 # 118 "/usr/include/bits/sigset.h" 3 4
4607 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; }
4608 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); }
4609 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); }
4610
4611 #undef __SIGSETFN
4612 # 34 "/usr/include/signal.h" 2 3 4
4613
4614
4615
4616
4617
4618 #define __sig_atomic_t_defined
4619
4620 typedef __sig_atomic_t sig_atomic_t;
4621
4622
4623 #undef __need_sig_atomic_t
4624
4625
4626
4627
4628
4629
4630
4631 #undef __need_sigset_t
4632
4633
4634
4635
4636
4637 # 1 "/usr/include/bits/signum.h" 1 3 4
4638 # 23 "/usr/include/bits/signum.h" 3 4
4639 #define SIG_ERR ((__sighandler_t) -1)
4640 #define SIG_DFL ((__sighandler_t) 0)
4641 #define SIG_IGN ((__sighandler_t) 1)
4642
4643
4644
4645
4646
4647
4648
4649 #define SIGHUP 1
4650 #define SIGINT 2
4651 #define SIGQUIT 3
4652 #define SIGILL 4
4653 #define SIGTRAP 5
4654 #define SIGABRT 6
4655 #define SIGIOT 6
4656 #define SIGBUS 7
4657 #define SIGFPE 8
4658 #define SIGKILL 9
4659 #define SIGUSR1 10
4660 #define SIGSEGV 11
4661 #define SIGUSR2 12
4662 #define SIGPIPE 13
4663 #define SIGALRM 14
4664 #define SIGTERM 15
4665 #define SIGSTKFLT 16
4666 #define SIGCLD SIGCHLD
4667 #define SIGCHLD 17
4668 #define SIGCONT 18
4669 #define SIGSTOP 19
4670 #define SIGTSTP 20
4671 #define SIGTTIN 21
4672 #define SIGTTOU 22
4673 #define SIGURG 23
4674 #define SIGXCPU 24
4675 #define SIGXFSZ 25
4676 #define SIGVTALRM 26
4677 #define SIGPROF 27
4678 #define SIGWINCH 28
4679 #define SIGPOLL SIGIO
4680 #define SIGIO 29
4681 #define SIGPWR 30
4682 #define SIGSYS 31
4683 #define SIGUNUSED 31
4684
4685 #define _NSIG 65
4686
4687
4688 #define SIGRTMIN (__libc_current_sigrtmin ())
4689 #define SIGRTMAX (__libc_current_sigrtmax ())
4690
4691
4692
4693 #define __SIGRTMIN 32
4694 #define __SIGRTMAX (_NSIG - 1)
4695 # 59 "/usr/include/signal.h" 2 3 4
4696 # 75 "/usr/include/signal.h" 3 4
4697 typedef void (*__sighandler_t) (int);
4698
4699