Ticket #67248: md2-stream.cpp

File md2-stream.cpp, 144.7 KB (added by ballapete (Peter "Pete" Dyballa), 18 months ago)

With GCC 4.2 pre-processed wget source file lib/md2-stream.c

Line 
1# 1 "md2-stream.c"
2# 1 "<built-in>"
3#define __STDC__ 1
4#define __STDC_VERSION__ 199901L
5#define __STDC_HOSTED__ 1
6#define __GNUC__ 4
7#define __GNUC_MINOR__ 2
8#define __GNUC_PATCHLEVEL__ 4
9#define __APPLE_CC__ 5666
10#define __SIZE_TYPE__ long unsigned int
11#define __PTRDIFF_TYPE__ int
12#define __WCHAR_TYPE__ int
13#define __WINT_TYPE__ int
14#define __INTMAX_TYPE__ long long int
15#define __UINTMAX_TYPE__ long long unsigned int
16#define __GXX_ABI_VERSION 1002
17#define __SCHAR_MAX__ 127
18#define __SHRT_MAX__ 32767
19#define __INT_MAX__ 2147483647
20#define __LONG_MAX__ 2147483647L
21#define __LONG_LONG_MAX__ 9223372036854775807LL
22#define __WCHAR_MAX__ 2147483647
23#define __CHAR_BIT__ 8
24#define __INTMAX_MAX__ 9223372036854775807LL
25#define __FLT_EVAL_METHOD__ 0
26#define __DEC_EVAL_METHOD__ 2
27#define __FLT_RADIX__ 2
28#define __FLT_MANT_DIG__ 24
29#define __FLT_DIG__ 6
30#define __FLT_MIN_EXP__ (-125)
31#define __FLT_MIN_10_EXP__ (-37)
32#define __FLT_MAX_EXP__ 128
33#define __FLT_MAX_10_EXP__ 38
34#define __FLT_MAX__ 3.40282347e+38F
35#define __FLT_MIN__ 1.17549435e-38F
36#define __FLT_EPSILON__ 1.19209290e-7F
37#define __FLT_DENORM_MIN__ 1.40129846e-45F
38#define __FLT_HAS_DENORM__ 1
39#define __FLT_HAS_INFINITY__ 1
40#define __FLT_HAS_QUIET_NAN__ 1
41#define __DBL_MANT_DIG__ 53
42#define __DBL_DIG__ 15
43#define __DBL_MIN_EXP__ (-1021)
44#define __DBL_MIN_10_EXP__ (-307)
45#define __DBL_MAX_EXP__ 1024
46#define __DBL_MAX_10_EXP__ 308
47#define __DBL_MAX__ 1.7976931348623157e+308
48#define __DBL_MIN__ 2.2250738585072014e-308
49#define __DBL_EPSILON__ 2.2204460492503131e-16
50#define __DBL_DENORM_MIN__ 4.9406564584124654e-324
51#define __DBL_HAS_DENORM__ 1
52#define __DBL_HAS_INFINITY__ 1
53#define __DBL_HAS_QUIET_NAN__ 1
54#define __LDBL_MANT_DIG__ 106
55#define __LDBL_DIG__ 31
56#define __LDBL_MIN_EXP__ (-968)
57#define __LDBL_MIN_10_EXP__ (-291)
58#define __LDBL_MAX_EXP__ 1024
59#define __LDBL_MAX_10_EXP__ 308
60#define __DECIMAL_DIG__ 33
61#define __LDBL_MAX__ 1.79769313486231580793728971405301e+308L
62#define __LDBL_MIN__ 2.00416836000897277799610805135016e-292L
63#define __LDBL_EPSILON__ 4.94065645841246544176568792868221e-324L
64#define __LDBL_DENORM_MIN__ 4.94065645841246544176568792868221e-324L
65#define __LDBL_HAS_DENORM__ 1
66#define __LDBL_HAS_INFINITY__ 1
67#define __LDBL_HAS_QUIET_NAN__ 1
68#define __DEC32_MANT_DIG__ 7
69#define __DEC32_MIN_EXP__ (-95)
70#define __DEC32_MAX_EXP__ 96
71#define __DEC32_MIN__ 1E-95DF
72#define __DEC32_MAX__ 9.999999E96DF
73#define __DEC32_EPSILON__ 1E-6DF
74#define __DEC32_DEN__ 0.000001E-95DF
75#define __DEC64_MANT_DIG__ 16
76#define __DEC64_MIN_EXP__ (-383)
77#define __DEC64_MAX_EXP__ 384
78#define __DEC64_MIN__ 1E-383DD
79#define __DEC64_MAX__ 9.999999999999999E384DD
80#define __DEC64_EPSILON__ 1E-15DD
81#define __DEC64_DEN__ 0.000000000000001E-383DD
82#define __DEC128_MANT_DIG__ 34
83#define __DEC128_MIN_EXP__ (-6143)
84#define __DEC128_MAX_EXP__ 6144
85#define __DEC128_MIN__ 1E-6143DL
86#define __DEC128_MAX__ 9.999999999999999999999999999999999E6144DL
87#define __DEC128_EPSILON__ 1E-33DL
88#define __DEC128_DEN__ 0.000000000000000000000000000000001E-6143DL
89#define __REGISTER_PREFIX__
90#define __USER_LABEL_PREFIX__ _
91#define __VERSION__ "4.2.4 (Apple Inc. build 5666) (dot 3) (MacPorts apple-gcc42 5666.3_16+gpl3)"
92#define __GNUC_STDC_INLINE__ 1
93#define __OPTIMIZE__ 1
94#define __FINITE_MATH_ONLY__ 0
95#define __pic__ 2
96#define __PIC__ 2
97#define __STRICT_ANSI__ 1
98#define _ARCH_PPC 1
99#define _ARCH_PPCGR 1
100#define __BIG_ENDIAN__ 1
101#define _BIG_ENDIAN 1
102#define __LONG_DOUBLE_128__ 1
103#define __LONGDOUBLE128 1
104#define __ppc__ 1
105#define __POWERPC__ 1
106#define __NATURAL_ALIGNMENT__ 1
107#define __MACH__ 1
108#define __APPLE__ 1
109#define __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ 1040
110#define __CONSTANT_CFSTRINGS__ 1
111#define __strong
112#define __weak __attribute__((objc_gc(weak)))
113#define OBJC_NEW_PROPERTIES 1
114# 1 "<command-line>"
115#define __DYNAMIC__ 1
116#define HAVE_CONFIG_H 1
117#define DEFAULT_TEXT_DOMAIN "wget-gnulib"
118#define NDEBUG 1
119# 1 "md2-stream.c"
120# 22 "md2-stream.c"
121# 1 "../src/config.h" 1
122
123
124
125
126#define _GL_CONFIG_H_INCLUDED 1
127
128
129
130
131
132
133#define BITSIZEOF_PTRDIFF_T 32
134
135
136#define BITSIZEOF_SIG_ATOMIC_T 32
137
138
139#define BITSIZEOF_SIZE_T 32
140
141
142#define BITSIZEOF_WCHAR_T 32
143
144
145#define BITSIZEOF_WINT_T 32
146
147
148
149
150
151
152#define DBL_EXPBIT0_BIT 20
153
154
155#define DBL_EXPBIT0_WORD 0
156
157
158
159
160
161
162
163#define DIR_TO_FD(Dir_p) -1
164
165
166
167
168
169
170
171#define D_INO_IN_DIRENT 1
172
173
174#define ENABLE_DEBUG 1
175
176
177#define ENABLE_DIGEST 1
178
179
180#define ENABLE_IPV6 1
181
182
183#define ENABLE_IRI 1
184
185
186
187#define ENABLE_NLS 1
188
189
190#define ENABLE_NTLM 1
191
192
193#define ENABLE_OPIE 1
194# 86 "../src/config.h"
195#define FLEXIBLE_ARRAY_MEMBER
196# 99 "../src/config.h"
197#define FUNC_FFLUSH_STDIN 0
198
199
200
201
202
203
204#define FUNC_NL_LANGINFO_YESEXPR_WORKS 1
205# 127 "../src/config.h"
206#define GETGROUPS_T gid_t
207
208
209
210
211
212
213
214#define GETTIMEOFDAY_TIMEZONE struct timezone
215
216
217
218#define GNULIB_CANONICALIZE 1
219
220
221
222#define GNULIB_CANONICALIZE_LGPL 1
223
224
225
226#define GNULIB_DIRNAME 1
227
228
229
230#define GNULIB_FDOPENDIR 1
231
232
233
234#define GNULIB_FD_SAFER_FLAG 1
235
236
237
238#define GNULIB_FFLUSH 1
239
240
241
242#define GNULIB_FNMATCH_GNU 1
243
244
245
246#define GNULIB_FOPEN_GNU 1
247
248
249
250#define GNULIB_FSCANF 1
251
252
253
254#define GNULIB_GETCWD 1
255
256
257
258#define GNULIB_ISBLANK 1
259
260
261
262#define GNULIB_LOCK 1
263
264
265
266#define GNULIB_MKOSTEMP 1
267
268
269
270#define GNULIB_MSVC_NOTHROW 1
271
272
273
274#define GNULIB_OPENAT 1
275
276
277
278#define GNULIB_PIPE2_SAFER 1
279
280
281
282
283
284
285
286#define GNULIB_REALLOCARRAY 1
287
288
289
290#define GNULIB_SCANF 1
291
292
293
294#define GNULIB_SIGPIPE 1
295
296
297
298#define GNULIB_SNPRINTF 1
299
300
301
302
303
304
305
306#define GNULIB_STDIO_SINGLE_THREAD 1
307
308
309
310#define GNULIB_STRERROR 1
311
312
313
314#define GNULIB_STRERROR_R_POSIX 1
315
316
317
318#define GNULIB_TEMPNAME 1
319
320
321#define GNULIB_TEST_ACCEPT 1
322
323
324#define GNULIB_TEST_ACCESS 1
325
326
327#define GNULIB_TEST_BIND 1
328
329
330#define GNULIB_TEST_BTOWC 1
331
332
333#define GNULIB_TEST_CALLOC_GNU 1
334
335
336#define GNULIB_TEST_CALLOC_POSIX 1
337
338
339#define GNULIB_TEST_CANONICALIZE 1
340
341
342
343#define GNULIB_TEST_CANONICALIZE_FILE_NAME 1
344
345
346#define GNULIB_TEST_CHDIR 1
347
348
349#define GNULIB_TEST_CLOEXEC 1
350
351
352#define GNULIB_TEST_CLOSE 1
353
354
355#define GNULIB_TEST_CLOSEDIR 1
356
357
358#define GNULIB_TEST_CONNECT 1
359
360
361#define GNULIB_TEST_DIRFD 1
362
363
364#define GNULIB_TEST_DUP 1
365
366
367#define GNULIB_TEST_DUP2 1
368
369
370#define GNULIB_TEST_ENVIRON 1
371
372
373#define GNULIB_TEST_FCHDIR 1
374
375
376#define GNULIB_TEST_FCNTL 1
377
378
379#define GNULIB_TEST_FDOPENDIR 1
380
381
382#define GNULIB_TEST_FFLUSH 1
383
384
385#define GNULIB_TEST_FGETC 1
386
387
388#define GNULIB_TEST_FGETS 1
389
390
391#define GNULIB_TEST_FNMATCH 1
392
393
394#define GNULIB_TEST_FOPEN 1
395
396
397#define GNULIB_TEST_FOPEN_GNU 1
398
399
400#define GNULIB_TEST_FPRINTF 1
401
402
403#define GNULIB_TEST_FPURGE 1
404
405
406#define GNULIB_TEST_FPUTC 1
407
408
409#define GNULIB_TEST_FPUTS 1
410
411
412#define GNULIB_TEST_FREAD 1
413
414
415#define GNULIB_TEST_FREE_POSIX 1
416
417
418#define GNULIB_TEST_FSCANF 1
419
420
421#define GNULIB_TEST_FSEEK 1
422
423
424#define GNULIB_TEST_FSEEKO 1
425
426
427#define GNULIB_TEST_FSTAT 1
428
429
430#define GNULIB_TEST_FSTATAT 1
431
432
433#define GNULIB_TEST_FTELL 1
434
435
436#define GNULIB_TEST_FTELLO 1
437
438
439#define GNULIB_TEST_FUTIMENS 1
440
441
442#define GNULIB_TEST_FWRITE 1
443
444
445#define GNULIB_TEST_GETADDRINFO 1
446
447
448#define GNULIB_TEST_GETC 1
449
450
451#define GNULIB_TEST_GETCHAR 1
452
453
454#define GNULIB_TEST_GETCWD 1
455
456
457#define GNULIB_TEST_GETDELIM 1
458
459
460#define GNULIB_TEST_GETDTABLESIZE 1
461
462
463#define GNULIB_TEST_GETGROUPS 1
464
465
466#define GNULIB_TEST_GETLINE 1
467
468
469#define GNULIB_TEST_GETOPT_POSIX 1
470
471
472#define GNULIB_TEST_GETPASS 1
473
474
475#define GNULIB_TEST_GETPASS_GNU 1
476
477
478#define GNULIB_TEST_GETPEERNAME 1
479
480
481#define GNULIB_TEST_GETPROGNAME 1
482
483
484#define GNULIB_TEST_GETRANDOM 1
485
486
487#define GNULIB_TEST_GETSOCKNAME 1
488
489
490#define GNULIB_TEST_GETTIMEOFDAY 1
491
492
493#define GNULIB_TEST_GROUP_MEMBER 1
494
495
496#define GNULIB_TEST_IOCTL 1
497
498
499#define GNULIB_TEST_ISWBLANK 1
500
501
502#define GNULIB_TEST_ISWDIGIT 1
503
504
505#define GNULIB_TEST_ISWXDIGIT 1
506
507
508#define GNULIB_TEST_LINK 1
509
510
511#define GNULIB_TEST_LISTEN 1
512
513
514#define GNULIB_TEST_LOCALECONV 1
515
516
517#define GNULIB_TEST_LSEEK 1
518
519
520#define GNULIB_TEST_LSTAT 1
521
522
523#define GNULIB_TEST_MALLOC_GNU 1
524
525
526#define GNULIB_TEST_MALLOC_POSIX 1
527
528
529#define GNULIB_TEST_MBRTOWC 1
530
531
532#define GNULIB_TEST_MBSINIT 1
533
534
535#define GNULIB_TEST_MBSRTOWCS 1
536
537
538#define GNULIB_TEST_MBTOWC 1
539
540
541#define GNULIB_TEST_MEMCHR 1
542
543
544#define GNULIB_TEST_MEMPCPY 1
545
546
547#define GNULIB_TEST_MEMRCHR 1
548
549
550#define GNULIB_TEST_MKDIR 1
551
552
553#define GNULIB_TEST_MKOSTEMP 1
554
555
556#define GNULIB_TEST_MKSTEMP 1
557
558
559#define GNULIB_TEST_MKTIME 1
560
561
562#define GNULIB_TEST_NANOSLEEP 1
563
564
565#define GNULIB_TEST_NL_LANGINFO 1
566
567
568#define GNULIB_TEST_OPEN 1
569
570
571#define GNULIB_TEST_OPENAT 1
572
573
574#define GNULIB_TEST_OPENDIR 1
575
576
577#define GNULIB_TEST_PIPE 1
578
579
580#define GNULIB_TEST_PIPE2 1
581
582
583#define GNULIB_TEST_POSIX_SPAWN 1
584
585
586
587#define GNULIB_TEST_POSIX_SPAWNATTR_DESTROY 1
588
589
590
591#define GNULIB_TEST_POSIX_SPAWNATTR_INIT 1
592
593
594
595#define GNULIB_TEST_POSIX_SPAWNATTR_SETFLAGS 1
596
597
598
599#define GNULIB_TEST_POSIX_SPAWNATTR_SETPGROUP 1
600
601
602
603#define GNULIB_TEST_POSIX_SPAWNATTR_SETSIGMASK 1
604
605
606#define GNULIB_TEST_POSIX_SPAWNP 1
607
608
609
610#define GNULIB_TEST_POSIX_SPAWN_FILE_ACTIONS_ADDCHDIR 1
611
612
613
614#define GNULIB_TEST_POSIX_SPAWN_FILE_ACTIONS_ADDCLOSE 1
615
616
617
618#define GNULIB_TEST_POSIX_SPAWN_FILE_ACTIONS_ADDDUP2 1
619
620
621
622#define GNULIB_TEST_POSIX_SPAWN_FILE_ACTIONS_ADDOPEN 1
623
624
625
626#define GNULIB_TEST_POSIX_SPAWN_FILE_ACTIONS_DESTROY 1
627
628
629
630#define GNULIB_TEST_POSIX_SPAWN_FILE_ACTIONS_INIT 1
631
632
633#define GNULIB_TEST_PRINTF 1
634
635
636#define GNULIB_TEST_PSELECT 1
637
638
639#define GNULIB_TEST_PTHREAD_SIGMASK 1
640
641
642#define GNULIB_TEST_PUTC 1
643
644
645#define GNULIB_TEST_PUTCHAR 1
646
647
648#define GNULIB_TEST_PUTS 1
649
650
651#define GNULIB_TEST_RAISE 1
652
653
654#define GNULIB_TEST_RAWMEMCHR 1
655
656
657#define GNULIB_TEST_READDIR 1
658
659
660#define GNULIB_TEST_READLINK 1
661
662
663#define GNULIB_TEST_REALLOCARRAY 1
664
665
666#define GNULIB_TEST_REALLOC_GNU 1
667
668
669#define GNULIB_TEST_REALLOC_POSIX 1
670
671
672#define GNULIB_TEST_REALPATH 1
673
674
675#define GNULIB_TEST_RECV 1
676
677
678#define GNULIB_TEST_RENAME 1
679
680
681#define GNULIB_TEST_REWINDDIR 1
682
683
684#define GNULIB_TEST_RMDIR 1
685
686
687#define GNULIB_TEST_SCANF 1
688
689
690#define GNULIB_TEST_SECURE_GETENV 1
691
692
693#define GNULIB_TEST_SELECT 1
694
695
696#define GNULIB_TEST_SEND 1
697
698
699#define GNULIB_TEST_SETLOCALE_NULL 1
700
701
702#define GNULIB_TEST_SETSOCKOPT 1
703
704
705#define GNULIB_TEST_SIGACTION 1
706
707
708#define GNULIB_TEST_SIGPROCMASK 1
709
710
711#define GNULIB_TEST_SNPRINTF 1
712
713
714#define GNULIB_TEST_SOCKET 1
715
716
717#define GNULIB_TEST_STAT 1
718
719
720#define GNULIB_TEST_STPCPY 1
721
722
723#define GNULIB_TEST_STRCHRNUL 1
724
725
726#define GNULIB_TEST_STRDUP 1
727
728
729#define GNULIB_TEST_STRERROR 1
730
731
732#define GNULIB_TEST_STRERROR_R 1
733
734
735#define GNULIB_TEST_STRNDUP 1
736
737
738#define GNULIB_TEST_STRNLEN 1
739
740
741#define GNULIB_TEST_STRPBRK 1
742
743
744#define GNULIB_TEST_STRPTIME 1
745
746
747#define GNULIB_TEST_STRTOK_R 1
748
749
750#define GNULIB_TEST_STRTOL 1
751
752
753#define GNULIB_TEST_STRTOLL 1
754
755
756#define GNULIB_TEST_SYMLINK 1
757
758
759#define GNULIB_TEST_TIMEGM 1
760
761
762#define GNULIB_TEST_TIME_R 1
763
764
765
766#define GNULIB_TEST_UNINORM_U8_NORMALIZE 1
767
768
769#define GNULIB_TEST_UNLINK 1
770
771
772#define GNULIB_TEST_UTIME 1
773
774
775#define GNULIB_TEST_VASPRINTF 1
776
777
778#define GNULIB_TEST_VFPRINTF 1
779
780
781#define GNULIB_TEST_VPRINTF 1
782
783
784#define GNULIB_TEST_VSNPRINTF 1
785
786
787#define GNULIB_TEST_WAITPID 1
788
789
790#define GNULIB_TEST_WCRTOMB 1
791
792
793#define GNULIB_TEST_WCWIDTH 1
794
795
796#define GNULIB_TEST_WMEMCHR 1
797
798
799#define GNULIB_TEST_WMEMPCPY 1
800
801
802#define GNULIB_TEST_WRITE 1
803
804
805
806
807#define GNULIB_UNISTR_U8_MBTOUC_UNSAFE 1
808
809
810
811#define GNULIB_UNISTR_U8_UCTOMB 1
812
813
814
815#define GNULIB_XALLOC 1
816
817
818
819#define GNULIB_XALLOC_DIE 1
820
821
822
823#define HAVE_ALLOCA 1
824
825
826#define HAVE_ALLOCA_H 1
827
828
829#define HAVE_ARPA_INET_H 1
830# 759 "../src/config.h"
831#define HAVE_BTOWC 1
832# 771 "../src/config.h"
833#define HAVE_CATGETS 1
834
835
836
837
838
839
840
841#define HAVE_CFPREFERENCESCOPYAPPVALUE 1
842# 791 "../src/config.h"
843#define HAVE_CLOSEDIR 1
844
845
846#define HAVE_CONFSTR 1
847# 809 "../src/config.h"
848#define HAVE_C_VARARRAYS 1
849
850
851
852#define HAVE_DCGETTEXT 1
853
854
855
856#define HAVE_DECL_ALARM 1
857
858
859
860#define HAVE_DECL_CLEARERR_UNLOCKED 1
861
862
863
864#define HAVE_DECL_DIRFD 1
865
866
867
868#define HAVE_DECL_ECVT 1
869
870
871
872#define HAVE_DECL_EXECVPE 0
873
874
875
876#define HAVE_DECL_FCHDIR 1
877
878
879
880#define HAVE_DECL_FCLOSEALL 0
881
882
883
884#define HAVE_DECL_FCVT 1
885
886
887
888#define HAVE_DECL_FDOPENDIR 0
889
890
891
892#define HAVE_DECL_FEOF_UNLOCKED 1
893
894
895
896#define HAVE_DECL_FERROR_UNLOCKED 1
897
898
899
900#define HAVE_DECL_FFLUSH_UNLOCKED 0
901
902
903
904#define HAVE_DECL_FGETS_UNLOCKED 0
905
906
907
908#define HAVE_DECL_FLOCKFILE 1
909
910
911
912#define HAVE_DECL_FPURGE 1
913
914
915
916#define HAVE_DECL_FPUTC_UNLOCKED 0
917
918
919
920#define HAVE_DECL_FPUTS_UNLOCKED 0
921
922
923
924#define HAVE_DECL_FREAD_UNLOCKED 0
925
926
927
928#define HAVE_DECL_FREEADDRINFO 1
929
930
931
932#define HAVE_DECL_FSEEKO 1
933
934
935
936#define HAVE_DECL_FTELLO 1
937
938
939
940#define HAVE_DECL_FUNLOCKFILE 1
941
942
943
944#define HAVE_DECL_FWRITE_UNLOCKED 0
945
946
947
948#define HAVE_DECL_GAI_STRERROR 1
949
950
951
952#define HAVE_DECL_GAI_STRERRORA 0
953
954
955
956#define HAVE_DECL_GCVT 1
957
958
959
960#define HAVE_DECL_GETADDRINFO 1
961
962
963
964#define HAVE_DECL_GETCHAR_UNLOCKED 1
965
966
967
968#define HAVE_DECL_GETCWD 1
969
970
971
972#define HAVE_DECL_GETC_UNLOCKED 1
973
974
975
976#define HAVE_DECL_GETDELIM 0
977
978
979
980#define HAVE_DECL_GETDTABLESIZE 1
981
982
983
984#define HAVE_DECL_GETLINE 0
985
986
987
988#define HAVE_DECL_GETNAMEINFO 1
989
990
991
992#define HAVE_DECL_GETW 1
993
994
995
996#define HAVE_DECL_H_ERRNO 1
997
998
999
1000#define HAVE_DECL_INET_NTOP 1
1001
1002
1003
1004
1005
1006
1007
1008#define HAVE_DECL_ISWBLANK 1
1009
1010
1011
1012#define HAVE_DECL_LOCALTIME_R 1
1013# 989 "../src/config.h"
1014#define HAVE_DECL_MEMRCHR 0
1015
1016
1017
1018#define HAVE_DECL_POSIX_SPAWN 0
1019
1020
1021
1022#define HAVE_DECL_PROGRAM_INVOCATION_NAME 0
1023
1024
1025
1026
1027
1028
1029
1030#define HAVE_DECL_PUTCHAR_UNLOCKED 1
1031
1032
1033
1034#define HAVE_DECL_PUTC_UNLOCKED 1
1035
1036
1037
1038#define HAVE_DECL_PUTW 1
1039
1040
1041
1042#define HAVE_DECL_SNPRINTF 1
1043
1044
1045
1046#define HAVE_DECL_STRDUP 1
1047
1048
1049
1050#define HAVE_DECL_STRERROR_R 1
1051
1052
1053
1054#define HAVE_DECL_STRNCASECMP 1
1055
1056
1057
1058#define HAVE_DECL_STRNDUP 0
1059
1060
1061
1062#define HAVE_DECL_STRNLEN 0
1063
1064
1065
1066#define HAVE_DECL_STRTOK_R 1
1067
1068
1069
1070
1071
1072
1073
1074#define HAVE_DECL_VSNPRINTF 1
1075
1076
1077
1078
1079
1080
1081
1082#define HAVE_DECL_WCSDUP 0
1083
1084
1085
1086#define HAVE_DECL_WCWIDTH 1
1087
1088
1089
1090
1091
1092
1093
1094#define HAVE_DECL__SNPRINTF 0
1095
1096
1097
1098
1099
1100
1101
1102#define HAVE_DECL___FSETLOCKING 0
1103
1104
1105#define HAVE_DIRENT_H 1
1106
1107
1108
1109
1110
1111#define HAVE_DLFCN_H 1
1112
1113
1114#define HAVE_DRAND48 1
1115# 1104 "../src/config.h"
1116#define HAVE_FCHDIR 1
1117
1118
1119#define HAVE_FCNTL 1
1120# 1116 "../src/config.h"
1121#define HAVE_FLOCK 1
1122
1123
1124#define HAVE_FLOCKFILE 1
1125
1126
1127
1128
1129
1130#define HAVE_FNMATCH 1
1131
1132
1133#define HAVE_FNMATCH_H 1
1134
1135
1136#define HAVE_FPURGE 1
1137
1138
1139
1140
1141
1142#define HAVE_FSEEKO 1
1143
1144
1145
1146
1147
1148#define HAVE_FTELLO 1
1149
1150
1151#define HAVE_FUNLOCKFILE 1
1152
1153
1154
1155
1156
1157#define HAVE_FUTIMES 1
1158
1159
1160
1161
1162
1163#define HAVE_GETADDRINFO 1
1164
1165
1166#define HAVE_GETCWD 1
1167
1168
1169
1170#define HAVE_GETCWD_SHORTER 1
1171
1172
1173
1174
1175
1176#define HAVE_GETDTABLESIZE 1
1177
1178
1179#define HAVE_GETEGID 1
1180
1181
1182#define HAVE_GETEUID 1
1183
1184
1185
1186
1187
1188#define HAVE_GETGID 1
1189
1190
1191#define HAVE_GETGROUPS 1
1192
1193
1194#define HAVE_GETHOSTBYNAME 1
1195
1196
1197
1198
1199
1200#define HAVE_GETOPT_H 1
1201
1202
1203#define HAVE_GETOPT_LONG_ONLY 1
1204
1205
1206#define HAVE_GETPAGESIZE 1
1207
1208
1209#define HAVE_GETPASS 1
1210
1211
1212#define HAVE_GETPROGNAME 1
1213
1214
1215
1216
1217
1218#define HAVE_GETSERVBYNAME 1
1219
1220
1221#define HAVE_GETTEXT 1
1222
1223
1224#define HAVE_GETTIMEOFDAY 1
1225
1226
1227#define HAVE_GETUID 1
1228
1229
1230#define HAVE_GNUTLS_PRIORITY_SET_DIRECT 1
1231
1232
1233#define HAVE_GPGME 1
1234
1235
1236#define HAVE_ICONV 1
1237
1238
1239#define HAVE_ICONV_H 1
1240
1241
1242
1243
1244
1245
1246
1247#define HAVE_INLINE 1
1248
1249
1250#define HAVE_INT64_T 1
1251
1252
1253#define HAVE_INTMAX_T 1
1254
1255
1256#define HAVE_INTPTR_T 1
1257
1258
1259#define HAVE_INTTYPES_H 1
1260
1261
1262
1263#define HAVE_INTTYPES_H_WITH_UINTMAX 1
1264
1265
1266#define HAVE_IOCTL 1
1267
1268
1269#define HAVE_IPV4 1
1270
1271
1272#define HAVE_IPV6 1
1273
1274
1275#define HAVE_ISATTY 1
1276
1277
1278#define HAVE_ISBLANK 1
1279
1280
1281#define HAVE_ISSETUGID 1
1282
1283
1284#define HAVE_ISWBLANK 1
1285
1286
1287#define HAVE_ISWCNTRL 1
1288
1289
1290#define HAVE_ISWCTYPE 1
1291
1292
1293#define HAVE_LANGINFO_CODESET 1
1294
1295
1296#define HAVE_LANGINFO_H 1
1297# 1303 "../src/config.h"
1298#define HAVE_LIBGNUTLS 1
1299# 1312 "../src/config.h"
1300#define HAVE_LIBPCRE2 1
1301
1302
1303#define HAVE_LIBPSL 1
1304# 1324 "../src/config.h"
1305#define HAVE_LIBUNISTRING 1
1306
1307
1308
1309
1310
1311#define HAVE_LIBZ 1
1312
1313
1314
1315
1316
1317#define HAVE_LIMITS_H 1
1318
1319
1320#define HAVE_LINK 1
1321
1322
1323
1324
1325
1326#define HAVE_LOCALTIME_R 1
1327
1328
1329#define HAVE_LONG_LONG_INT 1
1330
1331
1332#define HAVE_LSTAT 1
1333# 1360 "../src/config.h"
1334#define HAVE_MALLOC_POSIX 1
1335
1336
1337
1338#define HAVE_MAP_ANONYMOUS 1
1339
1340
1341#define HAVE_MBRTOWC 1
1342
1343
1344#define HAVE_MBSINIT 1
1345
1346
1347#define HAVE_MBSRTOWCS 1
1348
1349
1350#define HAVE_MBSTATE_T 1
1351
1352
1353#define HAVE_MBTOWC 1
1354# 1388 "../src/config.h"
1355#define HAVE_METALINK 1
1356
1357
1358
1359#define HAVE_MINIMALLY_WORKING_GETCWD 1
1360# 1401 "../src/config.h"
1361#define HAVE_MINMAX_IN_SYS_PARAM_H 1
1362
1363
1364
1365
1366
1367#define HAVE_MKSTEMP 1
1368
1369
1370#define HAVE_MMAP 1
1371
1372
1373#define HAVE_MPROTECT 1
1374
1375
1376
1377
1378
1379
1380#define HAVE_NETDB_H 1
1381
1382
1383#define HAVE_NETINET_IN_H 1
1384
1385
1386#define HAVE_NETTLE 1
1387
1388
1389#define HAVE_NL_LANGINFO 1
1390
1391
1392
1393
1394
1395#define HAVE_OPENDIR 1
1396# 1460 "../src/config.h"
1397#define HAVE_PATHCONF 1
1398
1399
1400#define HAVE_PATHS_H 1
1401
1402
1403#define HAVE_PIPE 1
1404# 1489 "../src/config.h"
1405#define HAVE_PSELECT 1
1406
1407
1408#define HAVE_PSL_LATEST 1
1409
1410
1411#define HAVE_PTHREAD_API 1
1412
1413
1414
1415
1416
1417#define HAVE_PTHREAD_RWLOCK 1
1418
1419
1420
1421#define HAVE_PTHREAD_RWLOCK_RDLOCK_PREFER_WRITER 1
1422
1423
1424#define HAVE_PTHREAD_SIGMASK 1
1425
1426
1427#define HAVE_PWD_H 1
1428
1429
1430#define HAVE_RAISE 1
1431
1432
1433#define HAVE_RANDOM 1
1434# 1526 "../src/config.h"
1435#define HAVE_READDIR 1
1436
1437
1438#define HAVE_READLINK 1
1439
1440
1441
1442
1443
1444#define HAVE_REALPATH 1
1445
1446
1447#define HAVE_REWINDDIR 1
1448
1449
1450#define HAVE_SA_FAMILY_T 1
1451
1452
1453#define HAVE_SCHED_H 1
1454# 1562 "../src/config.h"
1455#define HAVE_SETEGID 1
1456
1457
1458#define HAVE_SETEUID 1
1459
1460
1461#define HAVE_SHUTDOWN 1
1462
1463
1464#define HAVE_SIGACTION 1
1465
1466
1467#define HAVE_SIGALTSTACK 1
1468
1469
1470#define HAVE_SIGBLOCK 1
1471
1472
1473
1474
1475
1476#define HAVE_SIGINTERRUPT 1
1477
1478
1479#define HAVE_SIGNED_SIG_ATOMIC_T 1
1480
1481
1482#define HAVE_SIGNED_WCHAR_T 1
1483
1484
1485#define HAVE_SIGNED_WINT_T 1
1486
1487
1488#define HAVE_SIGSETJMP 1
1489
1490
1491#define HAVE_SIGSET_T 1
1492
1493
1494#define HAVE_SIG_ATOMIC_T 1
1495
1496
1497#define HAVE_SLEEP 1
1498
1499
1500#define HAVE_SNPRINTF 1
1501
1502
1503
1504
1505#define HAVE_SNPRINTF_RETVAL_C99 1
1506
1507
1508
1509#define HAVE_SNPRINTF_TRUNCATION_C99 1
1510
1511
1512#define HAVE_SOCKADDR_IN6_SCOPE_ID 1
1513
1514
1515
1516
1517
1518#define HAVE_STDBOOL_H 1
1519
1520
1521
1522
1523
1524#define HAVE_STDINT_H 1
1525
1526
1527
1528#define HAVE_STDINT_H_WITH_UINTMAX 1
1529
1530
1531
1532
1533
1534#define HAVE_STDIO_H 1
1535
1536
1537#define HAVE_STDLIB_H 1
1538
1539
1540#define HAVE_STPCPY 1
1541
1542
1543#define HAVE_STRCASECMP 1
1544
1545
1546
1547
1548
1549#define HAVE_STRDUP 1
1550
1551
1552#define HAVE_STRERROR_R 1
1553
1554
1555#define HAVE_STRINGS_H 1
1556
1557
1558#define HAVE_STRING_H 1
1559
1560
1561#define HAVE_STRLCPY 1
1562
1563
1564#define HAVE_STRNCASECMP 1
1565# 1680 "../src/config.h"
1566#define HAVE_STRPBRK 1
1567
1568
1569#define HAVE_STRPTIME 1
1570
1571
1572#define HAVE_STRTOK_R 1
1573
1574
1575#define HAVE_STRTOL 1
1576
1577
1578#define HAVE_STRTOLL 1
1579
1580
1581#define HAVE_STRUCT_ADDRINFO 1
1582# 1707 "../src/config.h"
1583#define HAVE_STRUCT_SIGACTION_SA_SIGACTION 1
1584
1585
1586#define HAVE_STRUCT_SOCKADDR_IN6 1
1587
1588
1589#define HAVE_STRUCT_SOCKADDR_SA_LEN 1
1590
1591
1592#define HAVE_STRUCT_SOCKADDR_STORAGE 1
1593
1594
1595#define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1
1596
1597
1598
1599
1600
1601#define HAVE_STRUCT_STAT_ST_ATIMESPEC_TV_NSEC 1
1602# 1743 "../src/config.h"
1603#define HAVE_SYMLINK 1
1604
1605
1606
1607
1608
1609#define HAVE_SYS_CDEFS_H 1
1610
1611
1612#define HAVE_SYS_FILE_H 1
1613
1614
1615
1616
1617
1618#define HAVE_SYS_IOCTL_H 1
1619
1620
1621#define HAVE_SYS_MMAN_H 1
1622
1623
1624#define HAVE_SYS_PARAM_H 1
1625
1626
1627#define HAVE_SYS_RANDOM_H 1
1628
1629
1630#define HAVE_SYS_SELECT_H 1
1631
1632
1633
1634
1635
1636#define HAVE_SYS_SOCKET_H 1
1637
1638
1639#define HAVE_SYS_STAT_H 1
1640
1641
1642#define HAVE_SYS_TIME_H 1
1643
1644
1645#define HAVE_SYS_TYPES_H 1
1646
1647
1648#define HAVE_SYS_UIO_H 1
1649
1650
1651#define HAVE_SYS_WAIT_H 1
1652
1653
1654#define HAVE_TCGETATTR 1
1655
1656
1657#define HAVE_TCSETATTR 1
1658
1659
1660#define HAVE_TERMIOS_H 1
1661# 1809 "../src/config.h"
1662#define HAVE_TIMEGM 1
1663
1664
1665
1666
1667
1668#define HAVE_TM_GMTOFF 1
1669
1670
1671#define HAVE_TOWLOWER 1
1672
1673
1674#define HAVE_UINT32_T 1
1675
1676
1677#define HAVE_UINTPTR_T 1
1678
1679
1680#define HAVE_UNISTD_H 1
1681
1682
1683#define HAVE_UNISTRING_WOE32DLL_H 1
1684
1685
1686#define HAVE_UNSIGNED_LONG_LONG_INT 1
1687
1688
1689#define HAVE_USLEEP 1
1690
1691
1692#define HAVE_UTIME 1
1693
1694
1695
1696
1697
1698#define HAVE_UTIME_H 1
1699# 1857 "../src/config.h"
1700#define HAVE_VASPRINTF 1
1701
1702
1703#define HAVE_VFORK 1
1704
1705
1706
1707#define HAVE_VISIBILITY 1
1708
1709
1710#define HAVE_VSNPRINTF 1
1711
1712
1713
1714
1715
1716#define HAVE_WCHAR_H 1
1717
1718
1719#define HAVE_WCHAR_T 1
1720
1721
1722#define HAVE_WCRTOMB 1
1723
1724
1725#define HAVE_WCSLEN 1
1726
1727
1728#define HAVE_WCTYPE_H 1
1729
1730
1731#define HAVE_WCWIDTH 1
1732# 1898 "../src/config.h"
1733#define HAVE_WINT_T 1
1734# 1908 "../src/config.h"
1735#define HAVE_WORKING_O_NOATIME 0
1736
1737
1738#define HAVE_WORKING_O_NOFOLLOW 0
1739
1740
1741#define HAVE_WORKING_UTIMES 1
1742
1743
1744
1745
1746
1747#define HAVE_XLOCALE_H 1
1748
1749
1750#define HAVE__BOOL 1
1751# 1936 "../src/config.h"
1752#define HAVE___BUILTIN_EXPECT 1
1753# 2009 "../src/config.h"
1754#define _GL_EXTERN_INLINE_STDHEADER_BUG
1755# 2034 "../src/config.h"
1756#define _GL_INLINE _GL_UNUSED static
1757#define _GL_EXTERN_INLINE _GL_UNUSED static
1758# 2059 "../src/config.h"
1759#define _GL_INLINE_HEADER_BEGIN
1760#define _GL_INLINE_HEADER_END
1761
1762
1763
1764#define HAVE___INLINE 1
1765# 2073 "../src/config.h"
1766#define ICONV_CONST const
1767# 2083 "../src/config.h"
1768#define MALLOC_0_IS_NONNULL 1
1769
1770
1771#define MAP_ANONYMOUS MAP_ANON
1772# 2114 "../src/config.h"
1773#define __USE_MINGW_ANSI_STDIO 1
1774
1775
1776
1777
1778
1779
1780
1781#define NEED_MKTIME_INTERNAL 1
1782# 2133 "../src/config.h"
1783#define NL_LANGINFO_MTSAFE 1
1784
1785
1786#define NO_INLINE_GETPASS 1
1787
1788
1789#define OPEN_TRAILING_SLASH_BUG 1
1790
1791
1792#define OS_TYPE "darwin8.11.0"
1793
1794
1795#define PACKAGE "wget"
1796
1797
1798#define PACKAGE_BUGREPORT "bug-wget@gnu.org"
1799
1800
1801#define PACKAGE_NAME "wget"
1802
1803
1804#define PACKAGE_STRING "wget 1.21.4"
1805
1806
1807#define PACKAGE_TARNAME "wget"
1808
1809
1810#define PACKAGE_URL ""
1811
1812
1813#define PACKAGE_VERSION "1.21.4"
1814
1815
1816
1817#define PROMOTED_MODE_T int
1818
1819
1820
1821
1822
1823
1824#define PTHREAD_SIGMASK_FAILS_WITH_ERRNO 1
1825# 2184 "../src/config.h"
1826#define PTRDIFF_T_SUFFIX
1827
1828
1829#define READLINK_TRAILING_SLASH_BUG 1
1830# 2203 "../src/config.h"
1831#define RENAME_TRAILING_SLASH_DEST_BUG 1
1832
1833
1834
1835#define RENAME_TRAILING_SLASH_SOURCE_BUG 1
1836
1837
1838
1839
1840
1841
1842#define REPLACE_FUNC_STAT_FILE 1
1843
1844
1845
1846#define REPLACE_FUNC_UTIME_FILE 1
1847
1848
1849#define REPLACE_NL_LANGINFO 1
1850
1851
1852
1853
1854
1855
1856#define REPLACE_POSIX_SPAWN 1
1857
1858
1859#define REPLACE_STRERROR_0 1
1860
1861
1862
1863
1864
1865#define SETLOCALE_NULL_ALL_MTSAFE 0
1866
1867
1868#define SETLOCALE_NULL_ONE_MTSAFE 1
1869# 2252 "../src/config.h"
1870#define BOURNE_SHELL "/bin/sh"
1871
1872
1873
1874
1875#define SIG_ATOMIC_T_SUFFIX
1876
1877
1878#define SIZEOF_LONG 4
1879
1880
1881#define SIZEOF_OFF_T 8
1882# 2273 "../src/config.h"
1883#define SIZE_T_SUFFIX ul
1884# 2289 "../src/config.h"
1885#define STDC_HEADERS 1
1886
1887
1888
1889
1890
1891#define TIME_T_IS_SIGNED 1
1892# 2306 "../src/config.h"
1893#define USER_LABEL_PREFIX _
1894# 2316 "../src/config.h"
1895#define USE_LINUX_CRYPTO_API 0
1896
1897
1898#define USE_POSIX_THREADS 1
1899# 2331 "../src/config.h"
1900#define _ALL_SOURCE 1
1901
1902
1903
1904#define _DARWIN_C_SOURCE 1
1905
1906
1907
1908#define __EXTENSIONS__ 1
1909
1910
1911
1912#define _GNU_SOURCE 1
1913
1914
1915
1916
1917#define _HPUX_ALT_XOPEN_SOCKET_API 1
1918# 2359 "../src/config.h"
1919#define _NETBSD_SOURCE 1
1920
1921
1922
1923
1924#define _OPENBSD_SOURCE 1
1925# 2376 "../src/config.h"
1926#define _POSIX_PTHREAD_SEMANTICS 1
1927
1928
1929
1930#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
1931
1932
1933
1934#define __STDC_WANT_IEC_60559_BFP_EXT__ 1
1935
1936
1937
1938#define __STDC_WANT_IEC_60559_DFP_EXT__ 1
1939
1940
1941
1942#define __STDC_WANT_IEC_60559_EXT__ 1
1943
1944
1945
1946#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
1947
1948
1949
1950#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
1951
1952
1953
1954#define __STDC_WANT_LIB_EXT2__ 1
1955
1956
1957
1958#define __STDC_WANT_MATH_SPEC_FUNCS__ 1
1959
1960
1961
1962#define _TANDEM_SOURCE 1
1963# 2422 "../src/config.h"
1964#define USE_UNLOCKED_IO GNULIB_STDIO_SINGLE_THREAD
1965
1966
1967
1968
1969
1970#define VERSION "1.21.4"
1971
1972
1973
1974#define WCHAR_T_SUFFIX
1975# 2445 "../src/config.h"
1976#define WINT_T_SUFFIX
1977# 2455 "../src/config.h"
1978#define WORDS_BIGENDIAN 1
1979
1980
1981
1982
1983
1984#define YYTEXT_POINTER 1
1985
1986
1987
1988
1989
1990
1991#define _GL_GNUC_PREREQ(major,minor) ((major) < __GNUC__ + ((minor) <= __GNUC_MINOR__))
1992# 2514 "../src/config.h"
1993#define _Noreturn __attribute__ ((__noreturn__))
1994# 2538 "../src/config.h"
1995#define _USE_STD_STAT 1
1996
1997
1998
1999#define __GETOPT_PREFIX rpl_
2000# 2581 "../src/config.h"
2001#define _GL_ASYNC_SAFE
2002# 2592 "../src/config.h"
2003#define _GL_HAS_ATTRIBUTE(attr) _GL_ATTR_ ##attr
2004#define _GL_ATTR_alloc_size _GL_GNUC_PREREQ (4, 3)
2005#define _GL_ATTR_always_inline _GL_GNUC_PREREQ (3, 2)
2006#define _GL_ATTR_artificial _GL_GNUC_PREREQ (4, 3)
2007#define _GL_ATTR_cold _GL_GNUC_PREREQ (4, 3)
2008#define _GL_ATTR_const _GL_GNUC_PREREQ (2, 95)
2009#define _GL_ATTR_deprecated _GL_GNUC_PREREQ (3, 1)
2010#define _GL_ATTR_diagnose_if 0
2011#define _GL_ATTR_error _GL_GNUC_PREREQ (4, 3)
2012#define _GL_ATTR_externally_visible _GL_GNUC_PREREQ (4, 1)
2013#define _GL_ATTR_fallthrough _GL_GNUC_PREREQ (7, 0)
2014#define _GL_ATTR_format _GL_GNUC_PREREQ (2, 7)
2015#define _GL_ATTR_leaf _GL_GNUC_PREREQ (4, 6)
2016#define _GL_ATTR_malloc _GL_GNUC_PREREQ (3, 0)
2017
2018
2019
2020#define _GL_ATTR_may_alias _GL_GNUC_PREREQ (3, 3)
2021
2022#define _GL_ATTR_noinline _GL_GNUC_PREREQ (3, 1)
2023#define _GL_ATTR_nonnull _GL_GNUC_PREREQ (3, 3)
2024#define _GL_ATTR_nonstring _GL_GNUC_PREREQ (8, 0)
2025#define _GL_ATTR_nothrow _GL_GNUC_PREREQ (3, 3)
2026#define _GL_ATTR_packed _GL_GNUC_PREREQ (2, 7)
2027#define _GL_ATTR_pure _GL_GNUC_PREREQ (2, 96)
2028#define _GL_ATTR_returns_nonnull _GL_GNUC_PREREQ (4, 9)
2029#define _GL_ATTR_sentinel _GL_GNUC_PREREQ (4, 0)
2030#define _GL_ATTR_unused _GL_GNUC_PREREQ (2, 7)
2031#define _GL_ATTR_warn_unused_result _GL_GNUC_PREREQ (3, 4)
2032# 2640 "../src/config.h"
2033#define _GL_BRACKET_BEFORE_ATTRIBUTE 1
2034# 2654 "../src/config.h"
2035#define _GL_ATTRIBUTE_ALLOC_SIZE(args)
2036# 2663 "../src/config.h"
2037#define _GL_ATTRIBUTE_ALWAYS_INLINE __attribute__ ((__always_inline__))
2038# 2677 "../src/config.h"
2039#define _GL_ATTRIBUTE_ARTIFICIAL
2040# 2694 "../src/config.h"
2041#define _GL_ATTRIBUTE_COLD
2042# 2707 "../src/config.h"
2043#define _GL_ATTRIBUTE_CONST __attribute__ ((__const__))
2044# 2723 "../src/config.h"
2045#define _GL_ATTRIBUTE_DEALLOC(f,i)
2046# 2735 "../src/config.h"
2047#define _GL_ATTRIBUTE_DEALLOC_FREE _GL_ATTRIBUTE_DEALLOC (free, 1)
2048# 2757 "../src/config.h"
2049#define _GL_ATTRIBUTE_DEPRECATED __attribute__ ((__deprecated__))
2050# 2777 "../src/config.h"
2051#define _GL_ATTRIBUTE_ERROR(msg)
2052#define _GL_ATTRIBUTE_WARNING(msg)
2053# 2787 "../src/config.h"
2054#define _GL_ATTRIBUTE_EXTERNALLY_VISIBLE __attribute__ ((externally_visible))
2055# 2808 "../src/config.h"
2056#define _GL_ATTRIBUTE_FALLTHROUGH ((void) 0)
2057# 2825 "../src/config.h"
2058#define _GL_ATTRIBUTE_FORMAT(spec) __attribute__ ((__format__ spec))
2059# 2840 "../src/config.h"
2060#define _GL_ATTRIBUTE_LEAF
2061# 2849 "../src/config.h"
2062#define _GL_ATTRIBUTE_MALLOC __attribute__ ((__malloc__))
2063# 2862 "../src/config.h"
2064#define _GL_ATTRIBUTE_MAY_ALIAS __attribute__ ((__may_alias__))
2065# 2895 "../src/config.h"
2066#define _GL_ATTRIBUTE_MAYBE_UNUSED _GL_ATTRIBUTE_UNUSED
2067
2068
2069
2070
2071#define _GL_UNUSED _GL_ATTRIBUTE_MAYBE_UNUSED
2072
2073#define _UNUSED_PARAMETER_ _GL_ATTRIBUTE_MAYBE_UNUSED
2074# 2926 "../src/config.h"
2075#define _GL_ATTRIBUTE_NODISCARD __attribute__ ((__warn_unused_result__))
2076# 2938 "../src/config.h"
2077#define _GL_ATTRIBUTE_NOINLINE __attribute__ ((__noinline__))
2078# 2951 "../src/config.h"
2079#define _GL_ATTRIBUTE_NONNULL(args) __attribute__ ((__nonnull__ args))
2080# 2965 "../src/config.h"
2081#define _GL_ATTRIBUTE_NONSTRING
2082# 2976 "../src/config.h"
2083#define _GL_ATTRIBUTE_NOTHROW __attribute__ ((__nothrow__))
2084# 2990 "../src/config.h"
2085#define _GL_ATTRIBUTE_PACKED __attribute__ ((__packed__))
2086# 3005 "../src/config.h"
2087#define _GL_ATTRIBUTE_PURE __attribute__ ((__pure__))
2088# 3018 "../src/config.h"
2089#define _GL_ATTRIBUTE_RETURNS_NONNULL
2090# 3029 "../src/config.h"
2091#define _GL_ATTRIBUTE_SENTINEL(pos) __attribute__ ((__sentinel__ pos))
2092# 3038 "../src/config.h"
2093#define _GL_ATTRIBUTE_UNUSED __attribute__ ((__unused__))
2094# 3053 "../src/config.h"
2095#define _GL_UNUSED_LABEL _GL_ATTRIBUTE_UNUSED
2096# 3067 "../src/config.h"
2097#define _GL_BEGIN_C_LINKAGE
2098#define _GL_END_C_LINKAGE
2099
2100
2101
2102
2103
2104
2105
2106#define eaccess access
2107# 3116 "../src/config.h"
2108#define _GL_CMP(n1,n2) (((n1) > (n2)) - ((n1) < (n2)))
2109# 3183 "../src/config.h"
2110#define restrict
2111# 3219 "../src/config.h"
2112#define _UC_RESTRICT __restrict
2113# 3267 "../src/config.h"
2114#undef _Alignof
2115# 3278 "../src/config.h"
2116#define _Alignof(type) __builtin_offsetof (struct { char __a; type __b; }, __b)
2117
2118
2119
2120
2121
2122
2123
2124#undef alignof
2125#define alignof _Alignof
2126# 3324 "../src/config.h"
2127#define _Alignas(a) __attribute__ ((__aligned__ (a)))
2128# 3334 "../src/config.h"
2129#define alignas _Alignas
2130# 3346 "../src/config.h"
2131# 1 "/opt/local/lib/apple-gcc42/gcc/powerpc-apple-darwin8/4.2.4/include/stdbool.h" 1 3 4
2132# 32 "/opt/local/lib/apple-gcc42/gcc/powerpc-apple-darwin8/4.2.4/include/stdbool.h" 3 4
2133#define _STDBOOL_H
2134
2135
2136
2137#define bool _Bool
2138#define true 1
2139#define false 0
2140# 51 "/opt/local/lib/apple-gcc42/gcc/powerpc-apple-darwin8/4.2.4/include/stdbool.h" 3 4
2141#define __bool_true_false_are_defined 1
2142# 3347 "../src/config.h" 2
2143# 3364 "../src/config.h"
2144# 1 "./assert.h" 1
2145# 22 "./assert.h"
2146       
2147# 23 "./assert.h" 3
2148
2149
2150
2151# 1 "/usr/include/assert.h" 1 3 4
2152# 42 "/usr/include/assert.h" 3 4
2153# 1 "/usr/include/sys/cdefs.h" 1 3 4
2154# 62 "/usr/include/sys/cdefs.h" 3 4
2155#define _CDEFS_H_
2156
2157
2158
2159
2160
2161#define __BEGIN_DECLS
2162#define __END_DECLS
2163# 80 "/usr/include/sys/cdefs.h" 3 4
2164#define __P(protos) protos
2165#define __CONCAT(x,y) x ## y
2166#define __STRING(x) #x
2167
2168#define __const const
2169#define __signed signed
2170#define __volatile volatile
2171# 134 "/usr/include/sys/cdefs.h" 3 4
2172#define __dead2 __attribute__((__noreturn__))
2173#define __pure2 __attribute__((__const__))
2174
2175
2176
2177#define __unused __attribute__((__unused__))
2178# 152 "/usr/include/sys/cdefs.h" 3 4
2179#define __dead
2180#define __pure
2181# 171 "/usr/include/sys/cdefs.h" 3 4
2182#define __restrict restrict
2183# 184 "/usr/include/sys/cdefs.h" 3 4
2184#define __printflike(fmtarg,firstvararg) __attribute__((__format__ (__printf__, fmtarg, firstvararg)))
2185
2186#define __scanflike(fmtarg,firstvararg) __attribute__((__format__ (__scanf__, fmtarg, firstvararg)))
2187
2188
2189
2190
2191
2192
2193#define __IDSTRING(name,string) static const char name[] __unused = string
2194
2195
2196#define __COPYRIGHT(s) __IDSTRING(copyright,s)
2197
2198
2199
2200#define __RCSID(s) __IDSTRING(rcsid,s)
2201
2202
2203
2204#define __SCCSID(s) __IDSTRING(sccsid,s)
2205
2206
2207
2208#define __PROJECT_VERSION(s) __IDSTRING(project_version,s)
2209# 239 "/usr/include/sys/cdefs.h" 3 4
2210#define __DARWIN_UNIX03 0
2211
2212
2213
2214
2215
2216
2217#define __DARWIN_ALIAS(sym)
2218# 305 "/usr/include/sys/cdefs.h" 3 4
2219#define __DARWIN_NO_LONG_LONG (defined(__STRICT_ANSI__) && (__STDC_VERSION__-0 < 199901L) && !defined(__GNUG__))
2220# 321 "/usr/include/sys/cdefs.h" 3 4
2221#define __DARWIN_LDBL_COMPAT(x) __asm("_" __STRING(x) "$LDBL128")
2222
2223#define __DARWIN_LDBL_COMPAT2(x) __asm("_" __STRING(x) "$LDBL128")
2224#define __DARWIN_LONG_DOUBLE_IS_DOUBLE 0
2225# 43 "/usr/include/assert.h" 2 3 4
2226# 52 "/usr/include/assert.h" 3 4
2227#undef assert
2228#undef __assert
2229
2230
2231#define assert(e) ((void)0)
2232# 27 "./assert.h" 2 3
2233# 49 "./assert.h" 3
2234#define _GL_STATIC_ASSERT_H
2235# 78 "./assert.h" 3
2236# 1 "./stddef.h" 1 3
2237# 27 "./stddef.h" 3
2238       
2239# 28 "./stddef.h" 3
2240# 80 "./stddef.h" 3
2241# 1 "/opt/local/lib/apple-gcc42/gcc/powerpc-apple-darwin8/4.2.4/include/stddef.h" 1 3 4
2242# 43 "/opt/local/lib/apple-gcc42/gcc/powerpc-apple-darwin8/4.2.4/include/stddef.h" 3 4
2243#define _STDDEF_H
2244#define _STDDEF_H_
2245
2246#define _ANSI_STDDEF_H
2247
2248#define __STDDEF_H__
2249# 141 "/opt/local/lib/apple-gcc42/gcc/powerpc-apple-darwin8/4.2.4/include/stddef.h" 3 4
2250#define _PTRDIFF_T
2251#define _T_PTRDIFF_
2252#define _T_PTRDIFF
2253#define __PTRDIFF_T
2254#define _PTRDIFF_T_
2255#define _BSD_PTRDIFF_T_
2256#define ___int_ptrdiff_t_h
2257#define _GCC_PTRDIFF_T
2258
2259
2260
2261typedef int ptrdiff_t;
2262# 163 "/opt/local/lib/apple-gcc42/gcc/powerpc-apple-darwin8/4.2.4/include/stddef.h" 3 4
2263#undef __need_ptrdiff_t
2264# 189 "/opt/local/lib/apple-gcc42/gcc/powerpc-apple-darwin8/4.2.4/include/stddef.h" 3 4
2265#define __size_t__
2266#define __SIZE_T__
2267#define _SIZE_T
2268#define _SYS_SIZE_T_H
2269#define _T_SIZE_
2270#define _T_SIZE
2271#define __SIZE_T
2272#define _SIZE_T_
2273#define _BSD_SIZE_T_
2274#define _SIZE_T_DEFINED_
2275#define _SIZE_T_DEFINED
2276#define _BSD_SIZE_T_DEFINED_
2277#define _SIZE_T_DECLARED
2278#define ___int_size_t_h
2279#define _GCC_SIZE_T
2280#define _SIZET_
2281
2282
2283
2284#define __size_t
2285
2286
2287
2288
2289
2290typedef long unsigned int size_t;
2291# 236 "/opt/local/lib/apple-gcc42/gcc/powerpc-apple-darwin8/4.2.4/include/stddef.h" 3 4
2292#undef __need_size_t
2293# 265 "/opt/local/lib/apple-gcc42/gcc/powerpc-apple-darwin8/4.2.4/include/stddef.h" 3 4
2294#define __wchar_t__
2295#define __WCHAR_T__
2296#define _WCHAR_T
2297#define _T_WCHAR_
2298#define _T_WCHAR
2299#define __WCHAR_T
2300#define _WCHAR_T_
2301#define _BSD_WCHAR_T_
2302#define _WCHAR_T_DEFINED_
2303#define _WCHAR_T_DEFINED
2304#define _WCHAR_T_H
2305#define ___int_wchar_t_h
2306#define __INT_WCHAR_T_H
2307#define _GCC_WCHAR_T
2308#define _WCHAR_T_DECLARED
2309# 292 "/opt/local/lib/apple-gcc42/gcc/powerpc-apple-darwin8/4.2.4/include/stddef.h" 3 4
2310#undef _BSD_WCHAR_T_
2311# 326 "/opt/local/lib/apple-gcc42/gcc/powerpc-apple-darwin8/4.2.4/include/stddef.h" 3 4
2312typedef int wchar_t;
2313# 345 "/opt/local/lib/apple-gcc42/gcc/powerpc-apple-darwin8/4.2.4/include/stddef.h" 3 4
2314#undef __need_wchar_t
2315# 398 "/opt/local/lib/apple-gcc42/gcc/powerpc-apple-darwin8/4.2.4/include/stddef.h" 3 4
2316#undef NULL
2317
2318
2319
2320
2321#define NULL ((void *)0)
2322
2323
2324
2325
2326
2327#undef __need_NULL
2328
2329
2330
2331
2332#define offsetof(TYPE,MEMBER) __builtin_offsetof (TYPE, MEMBER)
2333# 81 "./stddef.h" 2 3
2334# 103 "./stddef.h" 3
2335#define _GL_STDDEF_H
2336# 134 "./stddef.h" 3
2337#define _GL_STDDEF_ALIGNAS(type) __attribute__ ((__aligned__ (__alignof__ (type))))
2338
2339
2340
2341
2342typedef union
2343{
2344  char *__p __attribute__ ((__aligned__ (__alignof__ (char *))));
2345  double __d __attribute__ ((__aligned__ (__alignof__ (double))));
2346  long double __ld __attribute__ ((__aligned__ (__alignof__ (long double))));
2347  long int __i __attribute__ ((__aligned__ (__alignof__ (long int))));
2348} rpl_max_align_t;
2349#define max_align_t rpl_max_align_t
2350#define __CLANG_MAX_ALIGN_T_DEFINED
2351#define GNULIB_defined_max_align_t 1
2352# 165 "./stddef.h" 3
2353#define _GL_HAS_BUILTIN_UNREACHABLE 0
2354# 175 "./stddef.h" 3
2355extern
2356
2357
2358
2359__attribute__ ((__noreturn__))
2360void abort (void)
2361
2362
2363
2364;
2365#define unreachable() abort ()
2366# 79 "./assert.h" 2 3
2367#undef _Static_assert
2368# 183 "./assert.h" 3
2369#define _GL_CONCAT(x,y) _GL_CONCAT0 (x, y)
2370#define _GL_CONCAT0(x,y) x ##y
2371# 193 "./assert.h" 3
2372#define _GL_COUNTER __LINE__
2373
2374
2375
2376
2377#define _GL_GENSYM(prefix) _GL_CONCAT (prefix, _GL_COUNTER)
2378
2379
2380
2381
2382
2383#define _GL_STATIC_ASSERT_TRUE(R,DIAGNOSTIC) (!!sizeof (_GL_STATIC_ASSERT_TYPE (R, DIAGNOSTIC)))
2384# 224 "./assert.h" 3
2385#define _GL_STATIC_ASSERT_TYPE(R,DIAGNOSTIC) struct { unsigned int _gl_static_assert_error_if_negative: (R) ? 1 : -1; }
2386# 243 "./assert.h" 3
2387#define _GL_STATIC_ASSERT(R,DIAGNOSTIC,...) extern int (*_GL_GENSYM (_gl_static_assert_function) (void)) [_GL_STATIC_ASSERT_TRUE (R, DIAGNOSTIC)]
2388# 269 "./assert.h" 3
2389#define _Static_assert(...) _GL_STATIC_ASSERT (__VA_ARGS__, "static assertion failed", -)
2390# 305 "./assert.h" 3
2391#define static_assert _Static_assert
2392# 3365 "../src/config.h" 2
2393#undef assert
2394# 23 "md2-stream.c" 2
2395
2396
2397# 1 "md2.h" 1
2398# 20 "md2.h"
2399#define MD2_H 1
2400
2401# 1 "./stdio.h" 1
2402# 20 "./stdio.h"
2403       
2404# 21 "./stdio.h" 3
2405# 42 "./stdio.h" 3
2406#define _POSIX_C_SOURCE 200809L
2407#define _GL_DEFINED__POSIX_C_SOURCE
2408
2409
2410#define _GL_ALREADY_INCLUDING_STDIO_H
2411
2412
2413# 1 "/usr/include/stdio.h" 1 3 4
2414# 62 "/usr/include/stdio.h" 3 4
2415#define _STDIO_H_
2416
2417# 1 "/usr/include/_types.h" 1 3 4
2418# 25 "/usr/include/_types.h" 3 4
2419#define __TYPES_H_
2420
2421# 1 "/usr/include/sys/_types.h" 1 3 4
2422# 24 "/usr/include/sys/_types.h" 3 4
2423#define _SYS__TYPES_H_
2424
2425
2426# 1 "/usr/include/machine/_types.h" 1 3 4
2427# 23 "/usr/include/machine/_types.h" 3 4
2428#define _BSD_MACHINE__TYPES_H_
2429
2430
2431# 1 "/usr/include/ppc/_types.h" 1 3 4
2432# 23 "/usr/include/ppc/_types.h" 3 4
2433#define _BSD_PPC__TYPES_H_
2434
2435
2436
2437
2438
2439
2440
2441typedef signed char __int8_t;
2442
2443
2444
2445typedef unsigned char __uint8_t;
2446typedef short __int16_t;
2447typedef unsigned short __uint16_t;
2448typedef int __int32_t;
2449typedef unsigned int __uint32_t;
2450typedef long long __int64_t;
2451typedef unsigned long long __uint64_t;
2452
2453typedef long __darwin_intptr_t;
2454typedef unsigned int __darwin_natural_t;
2455# 64 "/usr/include/ppc/_types.h" 3 4
2456typedef int __darwin_ct_rune_t;
2457
2458
2459
2460
2461
2462typedef union {
2463 char __mbstate8[128];
2464 long long _mbstateL;
2465} __mbstate_t;
2466
2467typedef __mbstate_t __darwin_mbstate_t;
2468
2469
2470typedef int __darwin_ptrdiff_t;
2471
2472
2473
2474
2475
2476typedef long unsigned int __darwin_size_t;
2477
2478
2479
2480
2481
2482typedef __builtin_va_list __darwin_va_list;
2483
2484
2485
2486
2487
2488typedef int __darwin_wchar_t;
2489
2490
2491
2492
2493typedef __darwin_wchar_t __darwin_rune_t;
2494
2495
2496typedef int __darwin_wint_t;
2497
2498
2499
2500
2501typedef unsigned long __darwin_clock_t;
2502typedef __uint32_t __darwin_socklen_t;
2503typedef long __darwin_ssize_t;
2504typedef long __darwin_time_t;
2505# 27 "/usr/include/machine/_types.h" 2 3 4
2506# 28 "/usr/include/sys/_types.h" 2 3 4
2507
2508
2509
2510
2511
2512
2513struct __darwin_mcontext;
2514# 49 "/usr/include/sys/_types.h" 3 4
2515#define __PTHREAD_SIZE__ 596
2516#define __PTHREAD_ATTR_SIZE__ 36
2517#define __PTHREAD_MUTEXATTR_SIZE__ 8
2518#define __PTHREAD_MUTEX_SIZE__ 40
2519#define __PTHREAD_CONDATTR_SIZE__ 4
2520#define __PTHREAD_COND_SIZE__ 24
2521#define __PTHREAD_ONCE_SIZE__ 4
2522#define __PTHREAD_RWLOCK_SIZE__ 124
2523#define __PTHREAD_RWLOCKATTR_SIZE__ 12
2524
2525
2526struct __darwin_pthread_handler_rec
2527{
2528 void (*__routine)(void *);
2529 void *__arg;
2530 struct __darwin_pthread_handler_rec *__next;
2531};
2532struct _opaque_pthread_attr_t { long __sig; char __opaque[36]; };
2533struct _opaque_pthread_cond_t { long __sig; char __opaque[24]; };
2534struct _opaque_pthread_condattr_t { long __sig; char __opaque[4]; };
2535struct _opaque_pthread_mutex_t { long __sig; char __opaque[40]; };
2536struct _opaque_pthread_mutexattr_t { long __sig; char __opaque[8]; };
2537struct _opaque_pthread_once_t { long __sig; char __opaque[4]; };
2538struct _opaque_pthread_rwlock_t { long __sig; char __opaque[124]; };
2539struct _opaque_pthread_rwlockattr_t { long __sig; char __opaque[12]; };
2540struct _opaque_pthread_t { long __sig; struct __darwin_pthread_handler_rec *__cleanup_stack; char __opaque[596]; };
2541# 93 "/usr/include/sys/_types.h" 3 4
2542#define __DARWIN_NULL ((void *)0)
2543
2544
2545typedef __int64_t __darwin_blkcnt_t;
2546typedef __int32_t __darwin_blksize_t;
2547typedef __int32_t __darwin_dev_t;
2548typedef unsigned int __darwin_fsblkcnt_t;
2549typedef unsigned int __darwin_fsfilcnt_t;
2550typedef __uint32_t __darwin_gid_t;
2551typedef __uint32_t __darwin_id_t;
2552typedef __uint32_t __darwin_ino_t;
2553typedef __darwin_natural_t __darwin_mach_port_name_t;
2554typedef __darwin_mach_port_name_t __darwin_mach_port_t;
2555
2556
2557
2558
2559typedef struct __darwin_mcontext *__darwin_mcontext_t;
2560
2561typedef __uint16_t __darwin_mode_t;
2562typedef __int64_t __darwin_off_t;
2563typedef __int32_t __darwin_pid_t;
2564typedef struct _opaque_pthread_attr_t
2565   __darwin_pthread_attr_t;
2566typedef struct _opaque_pthread_cond_t
2567   __darwin_pthread_cond_t;
2568typedef struct _opaque_pthread_condattr_t
2569   __darwin_pthread_condattr_t;
2570typedef unsigned long __darwin_pthread_key_t;
2571typedef struct _opaque_pthread_mutex_t
2572   __darwin_pthread_mutex_t;
2573typedef struct _opaque_pthread_mutexattr_t
2574   __darwin_pthread_mutexattr_t;
2575typedef struct _opaque_pthread_once_t
2576   __darwin_pthread_once_t;
2577typedef struct _opaque_pthread_rwlock_t
2578   __darwin_pthread_rwlock_t;
2579typedef struct _opaque_pthread_rwlockattr_t
2580   __darwin_pthread_rwlockattr_t;
2581typedef struct _opaque_pthread_t
2582   *__darwin_pthread_t;
2583typedef __uint32_t __darwin_sigset_t;
2584typedef __int32_t __darwin_suseconds_t;
2585typedef __uint32_t __darwin_uid_t;
2586typedef __uint32_t __darwin_useconds_t;
2587typedef unsigned char __darwin_uuid_t[16];
2588
2589
2590
2591
2592
2593struct __darwin_sigaltstack
2594
2595{
2596 void *ss_sp;
2597 __darwin_size_t ss_size;
2598 int ss_flags;
2599};
2600
2601
2602
2603typedef struct __darwin_sigaltstack __darwin_stack_t;
2604
2605
2606
2607
2608
2609
2610struct __darwin_ucontext
2611
2612{
2613 int uc_onstack;
2614 __darwin_sigset_t uc_sigmask;
2615 __darwin_stack_t uc_stack;
2616
2617
2618
2619 struct __darwin_ucontext *uc_link;
2620
2621 __darwin_size_t uc_mcsize;
2622 __darwin_mcontext_t uc_mcontext;
2623};
2624
2625
2626
2627typedef struct __darwin_ucontext __darwin_ucontext_t;
2628# 28 "/usr/include/_types.h" 2 3 4
2629
2630typedef int __darwin_nl_item;
2631typedef int __darwin_wctrans_t;
2632
2633
2634
2635typedef unsigned long __darwin_wctype_t;
2636
2637
2638
2639#define __DARWIN_WCHAR_MAX __WCHAR_MAX__
2640
2641
2642
2643
2644
2645#define __DARWIN_WCHAR_MIN (-0x7fffffff - 1)
2646
2647
2648
2649#define __DARWIN_WEOF ((__darwin_wint_t)-1)
2650# 65 "/usr/include/stdio.h" 2 3 4
2651
2652
2653
2654#define _VA_LIST
2655
2656
2657typedef __darwin_va_list va_list;
2658# 86 "/usr/include/stdio.h" 3 4
2659typedef __int64_t fpos_t;
2660
2661
2662#define _FSTDIO
2663# 98 "/usr/include/stdio.h" 3 4
2664struct __sbuf {
2665 unsigned char *_base;
2666 int _size;
2667};
2668
2669
2670struct __sFILEX;
2671# 132 "/usr/include/stdio.h" 3 4
2672typedef struct __sFILE {
2673 unsigned char *_p;
2674 int _r;
2675 int _w;
2676 short _flags;
2677 short _file;
2678 struct __sbuf _bf;
2679 int _lbfsize;
2680
2681
2682 void *_cookie;
2683 int (*_close)(void *);
2684 int (*_read) (void *, char *, int);
2685 fpos_t (*_seek) (void *, fpos_t, int);
2686 int (*_write)(void *, const char *, int);
2687
2688
2689 struct __sbuf _ub;
2690 struct __sFILEX *_extra;
2691 int _ur;
2692
2693
2694 unsigned char _ubuf[3];
2695 unsigned char _nbuf[1];
2696
2697
2698 struct __sbuf _lb;
2699
2700
2701 int _blksize;
2702 fpos_t _offset;
2703} FILE;
2704
2705
2706
2707
2708
2709
2710
2711extern FILE __sF[];
2712
2713
2714
2715#define __SLBF 0x0001
2716#define __SNBF 0x0002
2717#define __SRD 0x0004
2718#define __SWR 0x0008
2719
2720#define __SRW 0x0010
2721#define __SEOF 0x0020
2722#define __SERR 0x0040
2723#define __SMBF 0x0080
2724#define __SAPP 0x0100
2725#define __SSTR 0x0200
2726#define __SOPT 0x0400
2727#define __SNPT 0x0800
2728#define __SOFF 0x1000
2729#define __SMOD 0x2000
2730#define __SALC 0x4000
2731#define __SIGN 0x8000
2732# 202 "/usr/include/stdio.h" 3 4
2733#define _IOFBF 0
2734#define _IOLBF 1
2735#define _IONBF 2
2736
2737#define BUFSIZ 1024
2738#define EOF (-1)
2739
2740
2741
2742
2743
2744
2745
2746#define FOPEN_MAX 20
2747#define FILENAME_MAX 1024
2748
2749
2750
2751#define P_tmpdir "/var/tmp/"
2752
2753#define L_tmpnam 1024
2754#define TMP_MAX 308915776
2755
2756
2757#define SEEK_SET 0
2758
2759
2760#define SEEK_CUR 1
2761
2762
2763#define SEEK_END 2
2764
2765
2766
2767
2768
2769
2770
2771#define stdin (&__sF[0])
2772#define stdout (&__sF[1])
2773#define stderr (&__sF[2])
2774
2775
2776
2777
2778
2779
2780void clearerr(FILE *);
2781int fclose(FILE *);
2782int feof(FILE *);
2783int ferror(FILE *);
2784int fflush(FILE *);
2785int fgetc(FILE *);
2786int fgetpos(FILE * , fpos_t *);
2787char *fgets(char * , int, FILE *);
2788FILE *fopen(const char * , const char * );
2789int fprintf(FILE * , const char * , ...) __asm("_" "fprintf" "$LDBL128");
2790int fputc(int, FILE *);
2791int fputs(const char * , FILE * );
2792size_t fread(void * , size_t, size_t, FILE * );
2793FILE *freopen(const char * , const char * ,
2794     FILE * ) ;
2795int fscanf(FILE * , const char * , ...) __asm("_" "fscanf" "$LDBL128");
2796int fseek(FILE *, long, int);
2797int fsetpos(FILE *, const fpos_t *);
2798long ftell(FILE *);
2799size_t fwrite(const void * , size_t, size_t, FILE * ) ;
2800int getc(FILE *);
2801int getchar(void);
2802char *gets(char *);
2803
2804
2805
2806
2807void perror(const char *);
2808int printf(const char * , ...) __asm("_" "printf" "$LDBL128");
2809int putc(int, FILE *);
2810int putchar(int);
2811int puts(const char *);
2812int remove(const char *);
2813int rename (const char *, const char *);
2814void rewind(FILE *);
2815int scanf(const char * , ...) __asm("_" "scanf" "$LDBL128");
2816void setbuf(FILE * , char * );
2817int setvbuf(FILE * , char * , int, size_t);
2818int sprintf(char * , const char * , ...) __asm("_" "sprintf" "$LDBL128");
2819int sscanf(const char * , const char * , ...) __asm("_" "sscanf" "$LDBL128");
2820FILE *tmpfile(void);
2821char *tmpnam(char *);
2822int ungetc(int, FILE *);
2823int vfprintf(FILE * , const char * , va_list) __asm("_" "vfprintf" "$LDBL128");
2824int vprintf(const char * , va_list) __asm("_" "vprintf" "$LDBL128");
2825int vsprintf(char * , const char * , va_list) __asm("_" "vsprintf" "$LDBL128");
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836#define L_cuserid 9
2837#define L_ctermid 1024
2838
2839
2840char *ctermid(char *);
2841
2842
2843
2844FILE *fdopen(int, const char *);
2845
2846
2847
2848int fileno(FILE *);
2849void flockfile(FILE *);
2850
2851
2852
2853
2854
2855int fseeko(FILE *, fpos_t, int);
2856fpos_t ftello(FILE *);
2857int ftrylockfile(FILE *);
2858void funlockfile(FILE *);
2859int getc_unlocked(FILE *);
2860int getchar_unlocked(void);
2861
2862
2863
2864int pclose(FILE *);
2865FILE *popen(const char *, const char *);
2866int putc_unlocked(int, FILE *);
2867int putchar_unlocked(int);
2868
2869
2870
2871
2872
2873int snprintf(char * , size_t, const char * , ...) __asm("_" "snprintf" "$LDBL128");
2874char *tempnam(const char *, const char *);
2875int vfscanf(FILE * , const char * , va_list) __asm("_" "vfscanf" "$LDBL128");
2876int vscanf(const char * , va_list) __asm("_" "vscanf" "$LDBL128");
2877int vsnprintf(char * , size_t, const char * , va_list) __asm("_" "vsnprintf" "$LDBL128");
2878int vsscanf(const char * , const char * , va_list) __asm("_" "vsscanf" "$LDBL128");
2879
2880
2881
2882
2883# 372 "/usr/include/stdio.h" 3 4
2884
2885int __srget(FILE *);
2886int __svfscanf(FILE *, const char *, va_list) __asm("_" "__svfscanf" "$LDBL128");
2887int __swbuf(int, FILE *);
2888
2889
2890
2891
2892
2893
2894#define __sgetc(p) (--(p)->_r < 0 ? __srget(p) : (int)(*(p)->_p++))
2895
2896static __inline int __sputc(int _c, FILE *_p) {
2897 if (--_p->_w >= 0 || (_p->_w >= _p->_lbfsize && (char)_c != '\n'))
2898  return (*_p->_p++ = _c);
2899 else
2900  return (__swbuf(_c, _p));
2901}
2902# 404 "/usr/include/stdio.h" 3 4
2903#define __sfeof(p) (((p)->_flags & __SEOF) != 0)
2904#define __sferror(p) (((p)->_flags & __SERR) != 0)
2905#define __sclearerr(p) ((void)((p)->_flags &= ~(__SERR|__SEOF)))
2906#define __sfileno(p) ((p)->_file)
2907# 418 "/usr/include/stdio.h" 3 4
2908#define getc_unlocked(fp) __sgetc(fp)
2909#define putc_unlocked(x,fp) __sputc(x, fp)
2910
2911
2912#define getchar_unlocked() getc_unlocked(stdin)
2913#define putchar_unlocked(x) putc_unlocked(x, stdout)
2914# 50 "./stdio.h" 2 3
2915
2916#undef _GL_ALREADY_INCLUDING_STDIO_H
2917
2918
2919#undef _GL_DEFINED__POSIX_C_SOURCE
2920#undef _POSIX_C_SOURCE
2921
2922
2923
2924#define _GL_STDIO_H
2925# 68 "./stdio.h" 3
2926# 1 "/opt/local/lib/apple-gcc42/gcc/powerpc-apple-darwin8/4.2.4/include/stdarg.h" 1 3 4
2927# 34 "/opt/local/lib/apple-gcc42/gcc/powerpc-apple-darwin8/4.2.4/include/stdarg.h" 3 4
2928#define _STDARG_H
2929#define _ANSI_STDARG_H_
2930
2931#undef __need___va_list
2932
2933
2934
2935
2936#define __GNUC_VA_LIST
2937typedef __builtin_va_list __gnuc_va_list;
2938
2939
2940
2941
2942
2943
2944#define va_start(v,l) __builtin_va_start(v,l)
2945#define va_end(v) __builtin_va_end(v)
2946#define va_arg(v,l) __builtin_va_arg(v,l)
2947
2948#define va_copy(d,s) __builtin_va_copy(d,s)
2949
2950#define __va_copy(d,s) __builtin_va_copy(d,s)
2951# 111 "/opt/local/lib/apple-gcc42/gcc/powerpc-apple-darwin8/4.2.4/include/stdarg.h" 3 4
2952#define _VA_LIST_
2953
2954
2955
2956
2957
2958#define _VA_LIST_DEFINED
2959
2960
2961#define _VA_LIST_T_H
2962
2963
2964#define __va_list__
2965# 69 "./stdio.h" 2 3
2966
2967# 1 "./stddef.h" 1 3
2968# 27 "./stddef.h" 3
2969       
2970# 28 "./stddef.h" 3
2971# 71 "./stdio.h" 2 3
2972
2973
2974
2975
2976# 1 "./sys/types.h" 1 3
2977# 20 "./sys/types.h" 3
2978       
2979# 21 "./sys/types.h" 3
2980# 45 "./sys/types.h" 3
2981#define _GL_INCLUDING_SYS_TYPES_H
2982# 1 "/usr/include/sys/types.h" 1 3 4
2983# 64 "/usr/include/sys/types.h" 3 4
2984#define _SYS_TYPES_H_
2985
2986# 1 "/usr/include/sys/appleapiopts.h" 1 3 4
2987# 24 "/usr/include/sys/appleapiopts.h" 3 4
2988#define __SYS_APPLEAPIOPTS_H__
2989
2990
2991
2992#define __APPLE_API_STANDARD
2993
2994
2995
2996#define __APPLE_API_STABLE
2997
2998
2999
3000
3001
3002#define __APPLE_API_EVOLVING
3003
3004
3005
3006#define __APPLE_API_UNSTABLE
3007
3008
3009
3010#define __APPLE_API_PRIVATE
3011
3012
3013
3014#define __APPLE_API_OBSOLETE
3015# 67 "/usr/include/sys/types.h" 2 3 4
3016
3017
3018
3019
3020
3021# 1 "/usr/include/machine/types.h" 1 3 4
3022# 26 "/usr/include/machine/types.h" 3 4
3023#define _BSD_MACHINE_TYPES_H_
3024
3025
3026
3027# 1 "/usr/include/ppc/types.h" 1 3 4
3028# 61 "/usr/include/ppc/types.h" 3 4
3029#define _MACHTYPES_H_
3030
3031
3032# 1 "/usr/include/ppc/_types.h" 1 3 4
3033# 65 "/usr/include/ppc/types.h" 2 3 4
3034
3035
3036
3037
3038
3039
3040#define _INT8_T
3041typedef signed char int8_t;
3042
3043typedef unsigned char u_int8_t;
3044
3045#define _INT16_T
3046typedef short int16_t;
3047
3048typedef unsigned short u_int16_t;
3049
3050#define _INT32_T
3051typedef int int32_t;
3052
3053typedef unsigned int u_int32_t;
3054
3055#define _INT64_T
3056typedef long long int64_t;
3057
3058typedef unsigned long long u_int64_t;
3059
3060
3061
3062
3063typedef int32_t register_t;
3064
3065
3066
3067#define _INTPTR_T
3068typedef __darwin_intptr_t intptr_t;
3069
3070
3071#define _UINTPTR_T
3072typedef unsigned long uintptr_t;
3073# 112 "/usr/include/ppc/types.h" 3 4
3074typedef u_int64_t user_addr_t;
3075typedef u_int64_t user_size_t;
3076typedef int64_t user_ssize_t;
3077typedef int64_t user_long_t;
3078typedef u_int64_t user_ulong_t;
3079typedef int64_t user_time_t;
3080#define USER_ADDR_NULL ((user_addr_t) 0)
3081#define CAST_USER_ADDR_T(a_ptr) ((user_addr_t)((uintptr_t)(a_ptr)))
3082
3083
3084typedef u_int64_t syscall_arg_t;
3085
3086
3087#define __offsetof(type,field) ((size_t)(&((type *)0)->field))
3088# 31 "/usr/include/machine/types.h" 2 3 4
3089# 73 "/usr/include/sys/types.h" 2 3 4
3090
3091
3092# 1 "/usr/include/machine/endian.h" 1 3 4
3093# 26 "/usr/include/machine/endian.h" 3 4
3094#define _BSD_MACHINE_ENDIAN_H_
3095
3096
3097
3098# 1 "/usr/include/ppc/endian.h" 1 3 4
3099# 81 "/usr/include/ppc/endian.h" 3 4
3100#define _PPC_ENDIAN_H_
3101
3102
3103
3104
3105#define _QUAD_HIGHWORD 0
3106#define _QUAD_LOWWORD 1
3107
3108
3109
3110
3111
3112#define __DARWIN_LITTLE_ENDIAN 1234
3113#define __DARWIN_BIG_ENDIAN 4321
3114#define __DARWIN_PDP_ENDIAN 3412
3115
3116#define __DARWIN_BYTE_ORDER __DARWIN_BIG_ENDIAN
3117
3118
3119
3120#define LITTLE_ENDIAN __DARWIN_LITTLE_ENDIAN
3121#define BIG_ENDIAN __DARWIN_BIG_ENDIAN
3122#define PDP_ENDIAN __DARWIN_PDP_ENDIAN
3123
3124#define BYTE_ORDER __DARWIN_BYTE_ORDER
3125
3126# 1 "/usr/include/sys/_endian.h" 1 3 4
3127# 79 "/usr/include/sys/_endian.h" 3 4
3128#define _SYS__ENDIAN_H_
3129# 88 "/usr/include/sys/_endian.h" 3 4
3130# 1 "./stdint.h" 1 3 4
3131# 27 "./stdint.h" 3 4
3132       
3133# 28 "./stdint.h" 3
3134
3135
3136
3137
3138
3139
3140
3141#define _GL_JUST_INCLUDE_SYSTEM_INTTYPES_H
3142# 77 "./stdint.h" 3
3143# 1 "/opt/local/lib/apple-gcc42/gcc/powerpc-apple-darwin8/4.2.4/include/stdint.h" 1 3 4
3144
3145
3146
3147
3148
3149
3150#define _STDINT_H_
3151
3152
3153
3154
3155#define __WORDSIZE 32
3156# 39 "/opt/local/lib/apple-gcc42/gcc/powerpc-apple-darwin8/4.2.4/include/stdint.h" 3 4
3157#define _UINT8_T
3158typedef unsigned char uint8_t;
3159
3160
3161
3162#define _UINT16_T
3163typedef unsigned short uint16_t;
3164
3165
3166
3167#define _UINT32_T
3168typedef unsigned int uint32_t;
3169
3170
3171
3172#define _UINT64_T
3173typedef unsigned long long uint64_t;
3174
3175
3176
3177typedef int8_t int_least8_t;
3178typedef int16_t int_least16_t;
3179typedef int32_t int_least32_t;
3180typedef int64_t int_least64_t;
3181typedef uint8_t uint_least8_t;
3182typedef uint16_t uint_least16_t;
3183typedef uint32_t uint_least32_t;
3184typedef uint64_t uint_least64_t;
3185
3186
3187
3188typedef int8_t int_fast8_t;
3189typedef int16_t int_fast16_t;
3190typedef int32_t int_fast32_t;
3191typedef int64_t int_fast64_t;
3192typedef uint8_t uint_fast8_t;
3193typedef uint16_t uint_fast16_t;
3194typedef uint32_t uint_fast32_t;
3195typedef uint64_t uint_fast64_t;
3196# 95 "/opt/local/lib/apple-gcc42/gcc/powerpc-apple-darwin8/4.2.4/include/stdint.h" 3 4
3197#define _INTMAX_T
3198
3199typedef long long int intmax_t;
3200
3201
3202
3203
3204
3205
3206#define _UINTMAX_T
3207
3208typedef long long unsigned int uintmax_t;
3209# 119 "/opt/local/lib/apple-gcc42/gcc/powerpc-apple-darwin8/4.2.4/include/stdint.h" 3 4
3210#define INT8_MAX 127
3211#define INT16_MAX 32767
3212#define INT32_MAX 2147483647
3213#define INT64_MAX 9223372036854775807LL
3214
3215#define INT8_MIN -128
3216#define INT16_MIN -32768
3217
3218
3219
3220
3221
3222
3223#define INT32_MIN (-INT32_MAX-1)
3224#define INT64_MIN (-INT64_MAX-1)
3225
3226#define UINT8_MAX 255
3227#define UINT16_MAX 65535
3228#define UINT32_MAX 4294967295U
3229#define UINT64_MAX 18446744073709551615ULL
3230
3231
3232#define INT_LEAST8_MIN INT8_MIN
3233#define INT_LEAST16_MIN INT16_MIN
3234#define INT_LEAST32_MIN INT32_MIN
3235#define INT_LEAST64_MIN INT64_MIN
3236
3237#define INT_LEAST8_MAX INT8_MAX
3238#define INT_LEAST16_MAX INT16_MAX
3239#define INT_LEAST32_MAX INT32_MAX
3240#define INT_LEAST64_MAX INT64_MAX
3241
3242#define UINT_LEAST8_MAX UINT8_MAX
3243#define UINT_LEAST16_MAX UINT16_MAX
3244#define UINT_LEAST32_MAX UINT32_MAX
3245#define UINT_LEAST64_MAX UINT64_MAX
3246
3247
3248#define INT_FAST8_MIN INT8_MIN
3249#define INT_FAST16_MIN INT16_MIN
3250#define INT_FAST32_MIN INT32_MIN
3251#define INT_FAST64_MIN INT64_MIN
3252
3253#define INT_FAST8_MAX INT8_MAX
3254#define INT_FAST16_MAX INT16_MAX
3255#define INT_FAST32_MAX INT32_MAX
3256#define INT_FAST64_MAX INT64_MAX
3257
3258#define UINT_FAST8_MAX UINT8_MAX
3259#define UINT_FAST16_MAX UINT16_MAX
3260#define UINT_FAST32_MAX UINT32_MAX
3261#define UINT_FAST64_MAX UINT64_MAX
3262
3263
3264
3265
3266
3267
3268
3269#define INTPTR_MIN INT32_MIN
3270#define INTPTR_MAX INT32_MAX
3271
3272
3273
3274
3275
3276#define UINTPTR_MAX UINT32_MAX
3277
3278
3279
3280#define INTMAX_MIN INT64_MIN
3281#define INTMAX_MAX INT64_MAX
3282
3283#define UINTMAX_MAX UINT64_MAX
3284
3285
3286
3287
3288
3289
3290#define PTRDIFF_MIN INT32_MIN
3291#define PTRDIFF_MAX INT32_MAX
3292# 210 "/opt/local/lib/apple-gcc42/gcc/powerpc-apple-darwin8/4.2.4/include/stdint.h" 3 4
3293#define SIZE_MAX UINT32_MAX
3294
3295
3296
3297
3298#define WCHAR_MAX __WCHAR_MAX__
3299# 229 "/opt/local/lib/apple-gcc42/gcc/powerpc-apple-darwin8/4.2.4/include/stdint.h" 3 4
3300#define WCHAR_MIN (-WCHAR_MAX-1)
3301
3302
3303
3304#define WINT_MIN INT32_MIN
3305#define WINT_MAX INT32_MAX
3306
3307#define SIG_ATOMIC_MIN INT32_MIN
3308#define SIG_ATOMIC_MAX INT32_MAX
3309
3310
3311#define INT8_C(v) (v)
3312#define INT16_C(v) (v)
3313#define INT32_C(v) (v)
3314#define INT64_C(v) (v ## LL)
3315
3316#define UINT8_C(v) (v ## U)
3317#define UINT16_C(v) (v ## U)
3318#define UINT32_C(v) (v ## U)
3319#define UINT64_C(v) (v ## ULL)
3320
3321#define INTMAX_C(v) (v ## LL)
3322#define UINTMAX_C(v) (v ## ULL)
3323# 78 "./stdint.h" 2 3
3324
3325
3326
3327#define _GL_STDINT_H
3328
3329
3330
3331# 1 "./limits.h" 1 3
3332# 20 "./limits.h" 3
3333       
3334# 21 "./limits.h" 3
3335# 38 "./limits.h" 3
3336#define _GL_ALREADY_INCLUDING_LIMITS_H
3337
3338
3339# 1 "/opt/local/lib/apple-gcc42/gcc/powerpc-apple-darwin8/4.2.4/include/limits.h" 1 3 4
3340
3341
3342
3343
3344
3345
3346# 1 "/opt/local/lib/apple-gcc42/gcc/powerpc-apple-darwin8/4.2.4/include/syslimits.h" 1 3 4
3347
3348
3349
3350
3351
3352#define _GCC_NEXT_LIMITS_H
3353# 8 "/opt/local/lib/apple-gcc42/gcc/powerpc-apple-darwin8/4.2.4/include/limits.h" 2 3 4
3354
3355
3356# 1 "/usr/include/limits.h" 1 3 4
3357# 61 "/usr/include/limits.h" 3 4
3358#define _LIMITS_H_
3359
3360# 1 "/usr/include/machine/limits.h" 1 3 4
3361
3362
3363
3364
3365
3366# 1 "/usr/include/ppc/limits.h" 1 3 4
3367# 37 "/usr/include/ppc/limits.h" 3 4
3368#define _PPC_LIMITS_H_
3369
3370# 1 "/usr/include/ppc/_limits.h" 1 3 4
3371# 23 "/usr/include/ppc/_limits.h" 3 4
3372#define _PPC__LIMITS_H_
3373
3374#define __DARWIN_CLK_TCK 100
3375# 40 "/usr/include/ppc/limits.h" 2 3 4
3376
3377#define CHAR_BIT 8
3378#define MB_LEN_MAX 6
3379
3380#define CLK_TCK __DARWIN_CLK_TCK
3381# 56 "/usr/include/ppc/limits.h" 3 4
3382#define SCHAR_MAX 127
3383#define SCHAR_MIN (-128)
3384
3385#define UCHAR_MAX 255
3386#define CHAR_MAX 127
3387#define CHAR_MIN (-128)
3388
3389#define USHRT_MAX 65535
3390#define SHRT_MAX 32767
3391#define SHRT_MIN (-32768)
3392
3393#define UINT_MAX 0xffffffff
3394#define INT_MAX 2147483647
3395#define INT_MIN (-2147483647-1)
3396
3397
3398
3399
3400
3401
3402#define ULONG_MAX 0xffffffffL
3403#define LONG_MAX 2147483647L
3404#define LONG_MIN (-2147483647L-1)
3405
3406
3407#define ULLONG_MAX 0xffffffffffffffffULL
3408#define LLONG_MAX 0x7fffffffffffffffLL
3409#define LLONG_MIN (-0x7fffffffffffffffLL-1)
3410
3411
3412#define SSIZE_MAX LONG_MAX
3413
3414
3415#define SIZE_T_MAX ULONG_MAX
3416
3417#define UQUAD_MAX ULLONG_MAX
3418#define QUAD_MAX LLONG_MAX
3419#define QUAD_MIN LLONG_MIN
3420# 102 "/usr/include/ppc/limits.h" 3 4
3421#define LONG_BIT 32
3422
3423#define WORD_BIT 32
3424# 7 "/usr/include/machine/limits.h" 2 3 4
3425# 64 "/usr/include/limits.h" 2 3 4
3426# 1 "/usr/include/sys/syslimits.h" 1 3 4
3427# 60 "/usr/include/sys/syslimits.h" 3 4
3428#define _SYS_SYSLIMITS_H_
3429
3430
3431
3432
3433
3434
3435#define ARG_MAX (256 * 1024)
3436#define CHILD_MAX 266
3437#define GID_MAX 2147483647U
3438#define LINK_MAX 32767
3439#define MAX_CANON 255
3440#define MAX_INPUT 255
3441#define NAME_MAX 255
3442#define NGROUPS_MAX 16
3443#define UID_MAX 2147483647U
3444#define OPEN_MAX 10240
3445#define PATH_MAX 1024
3446#define PIPE_BUF 512
3447
3448#define BC_BASE_MAX 99
3449#define BC_DIM_MAX 2048
3450#define BC_SCALE_MAX 99
3451#define BC_STRING_MAX 1000
3452#define COLL_WEIGHTS_MAX 2
3453#define EQUIV_CLASS_MAX 2
3454#define EXPR_NEST_MAX 32
3455#define LINE_MAX 2048
3456#define RE_DUP_MAX 255
3457# 65 "/usr/include/limits.h" 2 3 4
3458
3459
3460#define _POSIX_AIO_LISTIO_MAX 16
3461#define _POSIX_AIO_MAX 1
3462#define _POSIX_DELAYTIMER_MAX 32
3463#define _POSIX_HOST_NAME_MAX 255
3464#define _POSIX_LOGIN_NAME_MAX 9
3465#define _POSIX_MQ_OPEN_MAX 8
3466#define _POSIX_MQ_PRIO_MAX 32
3467
3468#define _POSIX_ARG_MAX 4096
3469#define _POSIX_CHILD_MAX 25
3470#define _POSIX_LINK_MAX 8
3471#define _POSIX_MAX_CANON 255
3472#define _POSIX_MAX_INPUT 255
3473#define _POSIX_NAME_MAX 14
3474#define _POSIX_NGROUPS_MAX 8
3475#define _POSIX_OPEN_MAX 20
3476#define _POSIX_PATH_MAX 256
3477#define _POSIX_PIPE_BUF 512
3478#define _POSIX_SSIZE_MAX 32767
3479#define _POSIX_STREAM_MAX 8
3480#define _POSIX_TZNAME_MAX 6
3481
3482#define _POSIX_RTSIG_MAX 8
3483#define _POSIX_SEM_NSEMS_MAX 256
3484#define _POSIX_SEM_VALUE_MAX 32767
3485#define _POSIX_SIGQUEUE_MAX 32
3486#define _POSIX_SSIZE_MAX 32767
3487#define _POSIX_STREAM_MAX 8
3488#define _POSIX_SS_REPL_MAX 4
3489#define _POSIX_SYMLINK_MAX 255
3490#define _POSIX_SYMLOOP_MAX 8
3491#define _POSIX_THREAD_DESTRUCTOR_ITERATIONS 4
3492#define _POSIX_THREAD_KEYS_MAX 128
3493#define _POSIX_THREAD_THREADS_MAX 64
3494#define _POSIX_TIMER_MAX 32
3495#define _POSIX_TRACE_EVENT_NAME_MAX 30
3496#define _POSIX_TRACE_NAME_MAX 8
3497#define _POSIX_TRACE_SYS_MAX 8
3498#define _POSIX_TRACE_USER_EVENT_MAX 32
3499#define _POSIX_TTY_NAME_MAX 9
3500
3501#define _POSIX2_BC_BASE_MAX 99
3502#define _POSIX2_BC_DIM_MAX 2048
3503#define _POSIX2_BC_SCALE_MAX 99
3504#define _POSIX2_BC_STRING_MAX 1000
3505#define _POSIX2_CHARCLASS_NAME_MAX 14
3506#define _POSIX2_COLL_WEIGHTS_MAX 2
3507#define _POSIX2_EQUIV_CLASS_MAX 2
3508#define _POSIX2_EXPR_NEST_MAX 32
3509#define _POSIX2_LINE_MAX 2048
3510#define _POSIX2_RE_DUP_MAX 255
3511
3512#define PTHREAD_STACK_MIN 8192
3513#define PTHREAD_DESTRUCTOR_ITERATIONS 4
3514#define PTHREAD_KEYS_MAX 128
3515
3516
3517#define PASS_MAX 128
3518
3519
3520#define NL_ARGMAX 9
3521#define NL_LANGMAX 14
3522#define NL_MSGMAX 32767
3523#define NL_NMAX 1
3524#define NL_SETMAX 255
3525#define NL_TEXTMAX 2048
3526
3527#define _XOPEN_IOV_MAX 16
3528#define IOV_MAX 1024
3529#define _XOPEN_NAME_MAX 255
3530#define _XOPEN_PATH_MAX 1024
3531# 11 "/opt/local/lib/apple-gcc42/gcc/powerpc-apple-darwin8/4.2.4/include/limits.h" 2 3 4
3532#undef _GCC_NEXT_LIMITS_H
3533
3534
3535
3536#define _LIMITS_H___
3537
3538
3539#undef CHAR_BIT
3540#define CHAR_BIT __CHAR_BIT__
3541
3542
3543
3544
3545
3546
3547
3548#undef SCHAR_MIN
3549#define SCHAR_MIN (-SCHAR_MAX - 1)
3550#undef SCHAR_MAX
3551#define SCHAR_MAX __SCHAR_MAX__
3552
3553
3554#undef UCHAR_MAX
3555
3556
3557
3558#define UCHAR_MAX (SCHAR_MAX * 2 + 1)
3559# 51 "/opt/local/lib/apple-gcc42/gcc/powerpc-apple-darwin8/4.2.4/include/limits.h" 3 4
3560#undef CHAR_MIN
3561#define CHAR_MIN SCHAR_MIN
3562#undef CHAR_MAX
3563#define CHAR_MAX SCHAR_MAX
3564
3565
3566
3567#undef SHRT_MIN
3568#define SHRT_MIN (-SHRT_MAX - 1)
3569#undef SHRT_MAX
3570#define SHRT_MAX __SHRT_MAX__
3571
3572
3573#undef USHRT_MAX
3574
3575
3576
3577#define USHRT_MAX (SHRT_MAX * 2 + 1)
3578
3579
3580
3581#undef INT_MIN
3582#define INT_MIN (-INT_MAX - 1)
3583#undef INT_MAX
3584#define INT_MAX __INT_MAX__
3585
3586
3587#undef UINT_MAX
3588#define UINT_MAX (INT_MAX * 2U + 1U)
3589
3590
3591
3592#undef LONG_MIN
3593#define LONG_MIN (-LONG_MAX - 1L)
3594#undef LONG_MAX
3595#define LONG_MAX __LONG_MAX__
3596
3597
3598#undef ULONG_MAX
3599#define ULONG_MAX (LONG_MAX * 2UL + 1UL)
3600
3601
3602
3603#undef LLONG_MIN
3604#define LLONG_MIN (-LLONG_MAX - 1LL)
3605#undef LLONG_MAX
3606#define LLONG_MAX __LONG_LONG_MAX__
3607
3608
3609#undef ULLONG_MAX
3610#define ULLONG_MAX (LLONG_MAX * 2ULL + 1ULL)
3611# 42 "./limits.h" 2 3
3612
3613#undef _GL_ALREADY_INCLUDING_LIMITS_H
3614
3615
3616#define _GL_LIMITS_H
3617# 82 "./limits.h" 3
3618#define _GL_INTEGER_WIDTH(min,max) (((min) < 0) + _GL_COB128 (max))
3619#define _GL_COB128(n) (_GL_COB64 ((n) >> 31 >> 31 >> 2) + _GL_COB64 (n))
3620#define _GL_COB64(n) (_GL_COB32 ((n) >> 31 >> 1) + _GL_COB32 (n))
3621#define _GL_COB32(n) (_GL_COB16 ((n) >> 16) + _GL_COB16 (n))
3622#define _GL_COB16(n) (_GL_COB8 ((n) >> 8) + _GL_COB8 (n))
3623#define _GL_COB8(n) (_GL_COB4 ((n) >> 4) + _GL_COB4 (n))
3624#define _GL_COB4(n) (!!((n) & 8) + !!((n) & 4) + !!((n) & 2) + !!((n) & 1))
3625# 113 "./limits.h" 3
3626#define CHAR_WIDTH _GL_INTEGER_WIDTH (CHAR_MIN, CHAR_MAX)
3627#define SCHAR_WIDTH _GL_INTEGER_WIDTH (SCHAR_MIN, SCHAR_MAX)
3628#define UCHAR_WIDTH _GL_INTEGER_WIDTH (0, UCHAR_MAX)
3629#define SHRT_WIDTH _GL_INTEGER_WIDTH (SHRT_MIN, SHRT_MAX)
3630#define USHRT_WIDTH _GL_INTEGER_WIDTH (0, USHRT_MAX)
3631#define INT_WIDTH _GL_INTEGER_WIDTH (INT_MIN, INT_MAX)
3632#define UINT_WIDTH _GL_INTEGER_WIDTH (0, UINT_MAX)
3633#define LONG_WIDTH _GL_INTEGER_WIDTH (LONG_MIN, LONG_MAX)
3634#define ULONG_WIDTH _GL_INTEGER_WIDTH (0, ULONG_MAX)
3635#define LLONG_WIDTH _GL_INTEGER_WIDTH (LLONG_MIN, LLONG_MAX)
3636#define ULLONG_WIDTH _GL_INTEGER_WIDTH (0, ULLONG_MAX)
3637
3638
3639
3640
3641
3642
3643
3644#define BOOL_WIDTH 1
3645#define BOOL_MAX 1
3646# 86 "./stdint.h" 2 3
3647# 105 "./stdint.h" 3
3648# 1 "./sys/types.h" 1 3
3649# 20 "./sys/types.h" 3
3650       
3651# 21 "./sys/types.h" 3
3652# 45 "./sys/types.h" 3
3653#define _GL_INCLUDING_SYS_TYPES_H
3654# 1 "/usr/include/sys/types.h" 1 3 4
3655# 47 "./sys/types.h" 2 3
3656#undef _GL_INCLUDING_SYS_TYPES_H
3657
3658
3659#define _GL_SYS_TYPES_H
3660# 106 "./stdint.h" 2 3
3661
3662
3663
3664
3665
3666
3667# 1 "./inttypes.h" 1 3
3668# 25 "./inttypes.h" 3
3669       
3670# 26 "./inttypes.h" 3
3671# 41 "./inttypes.h" 3
3672# 1 "/usr/include/inttypes.h" 1 3 4
3673# 32 "/usr/include/inttypes.h" 3 4
3674#define _INTTYPES_H_
3675
3676
3677
3678# 1 "./stdint.h" 1 3 4
3679# 37 "/usr/include/inttypes.h" 2 3 4
3680# 51 "/usr/include/inttypes.h" 3 4
3681#undef __PRI_8_LENGTH_MODIFIER__
3682#undef __PRI_64_LENGTH_MODIFIER__
3683#undef __SCN_64_LENGTH_MODIFIER__
3684
3685
3686
3687
3688
3689#define __PRI_8_LENGTH_MODIFIER__ ""
3690#define __PRI_64_LENGTH_MODIFIER__ "q"
3691#define __SCN_64_LENGTH_MODIFIER__ "q"
3692#define __PRI_MAX_LENGTH_MODIFIER__ "j"
3693#define __SCN_MAX_LENGTH_MODIFIER__ "j"
3694
3695#define PRId8 __PRI_8_LENGTH_MODIFIER__ "d"
3696#define PRIi8 __PRI_8_LENGTH_MODIFIER__ "i"
3697#define PRIo8 __PRI_8_LENGTH_MODIFIER__ "o"
3698#define PRIu8 __PRI_8_LENGTH_MODIFIER__ "u"
3699#define PRIx8 __PRI_8_LENGTH_MODIFIER__ "x"
3700#define PRIX8 __PRI_8_LENGTH_MODIFIER__ "X"
3701
3702#define PRId16 "hd"
3703#define PRIi16 "hi"
3704#define PRIo16 "ho"
3705#define PRIu16 "hu"
3706#define PRIx16 "hx"
3707#define PRIX16 "hX"
3708
3709#define PRId32 "d"
3710#define PRIi32 "i"
3711#define PRIo32 "o"
3712#define PRIu32 "u"
3713#define PRIx32 "x"
3714#define PRIX32 "X"
3715
3716#define PRId64 __PRI_64_LENGTH_MODIFIER__ "d"
3717#define PRIi64 __PRI_64_LENGTH_MODIFIER__ "i"
3718#define PRIo64 __PRI_64_LENGTH_MODIFIER__ "o"
3719#define PRIu64 __PRI_64_LENGTH_MODIFIER__ "u"
3720#define PRIx64 __PRI_64_LENGTH_MODIFIER__ "x"
3721#define PRIX64 __PRI_64_LENGTH_MODIFIER__ "X"
3722
3723#define PRIdLEAST8 PRId8
3724#define PRIiLEAST8 PRIi8
3725#define PRIoLEAST8 PRIo8
3726#define PRIuLEAST8 PRIu8
3727#define PRIxLEAST8 PRIx8
3728#define PRIXLEAST8 PRIX8
3729
3730#define PRIdLEAST16 PRId16
3731#define PRIiLEAST16 PRIi16
3732#define PRIoLEAST16 PRIo16
3733#define PRIuLEAST16 PRIu16
3734#define PRIxLEAST16 PRIx16
3735#define PRIXLEAST16 PRIX16
3736
3737#define PRIdLEAST32 PRId32
3738#define PRIiLEAST32 PRIi32
3739#define PRIoLEAST32 PRIo32
3740#define PRIuLEAST32 PRIu32
3741#define PRIxLEAST32 PRIx32
3742#define PRIXLEAST32 PRIX32
3743
3744#define PRIdLEAST64 PRId64
3745#define PRIiLEAST64 PRIi64
3746#define PRIoLEAST64 PRIo64
3747#define PRIuLEAST64 PRIu64
3748#define PRIxLEAST64 PRIx64
3749#define PRIXLEAST64 PRIX64
3750
3751#define PRIdFAST8 PRId8
3752#define PRIiFAST8 PRIi8
3753#define PRIoFAST8 PRIo8
3754#define PRIuFAST8 PRIu8
3755#define PRIxFAST8 PRIx8
3756#define PRIXFAST8 PRIX8
3757
3758#define PRIdFAST16 PRId16
3759#define PRIiFAST16 PRIi16
3760#define PRIoFAST16 PRIo16
3761#define PRIuFAST16 PRIu16
3762#define PRIxFAST16 PRIx16
3763#define PRIXFAST16 PRIX16
3764
3765#define PRIdFAST32 PRId32
3766#define PRIiFAST32 PRIi32
3767#define PRIoFAST32 PRIo32
3768#define PRIuFAST32 PRIu32
3769#define PRIxFAST32 PRIx32
3770#define PRIXFAST32 PRIX32
3771
3772#define PRIdFAST64 PRId64
3773#define PRIiFAST64 PRIi64
3774#define PRIoFAST64 PRIo64
3775#define PRIuFAST64 PRIu64
3776#define PRIxFAST64 PRIx64
3777#define PRIXFAST64 PRIX64
3778
3779
3780#define PRIdPTR "ld"
3781#define PRIiPTR "li"
3782#define PRIoPTR "lo"
3783#define PRIuPTR "lu"
3784#define PRIxPTR "lx"
3785#define PRIXPTR "lX"
3786
3787#define PRIdMAX __PRI_MAX_LENGTH_MODIFIER__ "d"
3788#define PRIiMAX __PRI_MAX_LENGTH_MODIFIER__ "i"
3789#define PRIoMAX __PRI_MAX_LENGTH_MODIFIER__ "o"
3790#define PRIuMAX __PRI_MAX_LENGTH_MODIFIER__ "u"
3791#define PRIxMAX __PRI_MAX_LENGTH_MODIFIER__ "x"
3792#define PRIXMAX __PRI_MAX_LENGTH_MODIFIER__ "X"
3793
3794#define SCNd8 "hhd"
3795#define SCNi8 "hhi"
3796#define SCNo8 "hho"
3797#define SCNu8 "hhu"
3798#define SCNx8 "hhx"
3799
3800#define SCNd16 "hd"
3801#define SCNi16 "hi"
3802#define SCNo16 "ho"
3803#define SCNu16 "hu"
3804#define SCNx16 "hx"
3805
3806#define SCNd32 "d"
3807#define SCNi32 "i"
3808#define SCNo32 "o"
3809#define SCNu32 "u"
3810#define SCNx32 "x"
3811
3812#define SCNd64 __SCN_64_LENGTH_MODIFIER__ "d"
3813#define SCNi64 __SCN_64_LENGTH_MODIFIER__ "i"
3814#define SCNo64 __SCN_64_LENGTH_MODIFIER__ "o"
3815#define SCNu64 __SCN_64_LENGTH_MODIFIER__ "u"
3816#define SCNx64 __SCN_64_LENGTH_MODIFIER__ "x"
3817
3818#define SCNdLEAST8 SCNd8
3819#define SCNiLEAST8 SCNi8
3820#define SCNoLEAST8 SCNo8
3821#define SCNuLEAST8 SCNu8
3822#define SCNxLEAST8 SCNx8
3823
3824#define SCNdLEAST16 SCNd16
3825#define SCNiLEAST16 SCNi16
3826#define SCNoLEAST16 SCNo16
3827#define SCNuLEAST16 SCNu16
3828#define SCNxLEAST16 SCNx16
3829
3830#define SCNdLEAST32 SCNd32
3831#define SCNiLEAST32 SCNi32
3832#define SCNoLEAST32 SCNo32
3833#define SCNuLEAST32 SCNu32
3834#define SCNxLEAST32 SCNx32
3835
3836#define SCNdLEAST64 SCNd64
3837#define SCNiLEAST64 SCNi64
3838#define SCNoLEAST64 SCNo64
3839#define SCNuLEAST64 SCNu64
3840#define SCNxLEAST64 SCNx64
3841
3842#define SCNdFAST8 SCNd8
3843#define SCNiFAST8 SCNi8
3844#define SCNoFAST8 SCNo8
3845#define SCNuFAST8 SCNu8
3846#define SCNxFAST8 SCNx8
3847
3848#define SCNdFAST16 SCNd16
3849#define SCNiFAST16 SCNi16
3850#define SCNoFAST16 SCNo16
3851#define SCNuFAST16 SCNu16
3852#define SCNxFAST16 SCNx16
3853
3854#define SCNdFAST32 SCNd32
3855#define SCNiFAST32 SCNi32
3856#define SCNoFAST32 SCNo32
3857#define SCNuFAST32 SCNu32
3858#define SCNxFAST32 SCNx32
3859
3860#define SCNdFAST64 SCNd64
3861#define SCNiFAST64 SCNi64
3862#define SCNoFAST64 SCNo64
3863#define SCNuFAST64 SCNu64
3864#define SCNxFAST64 SCNx64
3865
3866#define SCNdPTR "ld"
3867#define SCNiPTR "li"
3868#define SCNoPTR "lo"
3869#define SCNuPTR "lu"
3870#define SCNxPTR "lx"
3871
3872#define SCNdMAX __SCN_MAX_LENGTH_MODIFIER__ "d"
3873#define SCNiMAX __SCN_MAX_LENGTH_MODIFIER__ "i"
3874#define SCNoMAX __SCN_MAX_LENGTH_MODIFIER__ "o"
3875#define SCNuMAX __SCN_MAX_LENGTH_MODIFIER__ "u"
3876#define SCNxMAX __SCN_MAX_LENGTH_MODIFIER__ "x"
3877
3878
3879
3880
3881
3882
3883  extern intmax_t imaxabs(intmax_t j);
3884
3885
3886  typedef struct {
3887        intmax_t quot;
3888        intmax_t rem;
3889  } imaxdiv_t;
3890
3891  extern imaxdiv_t imaxdiv(intmax_t numer, intmax_t denom);
3892
3893
3894  extern intmax_t strtoimax(const char * nptr, char ** endptr, int base);
3895  extern uintmax_t strtoumax(const char * nptr, char ** endptr, int base);
3896# 275 "/usr/include/inttypes.h" 3 4
3897  extern intmax_t wcstoimax(const wchar_t * nptr, wchar_t ** endptr, int base);
3898  extern uintmax_t wcstoumax(const wchar_t * nptr, wchar_t ** endptr, int base);
3899
3900
3901# 42 "./inttypes.h" 2 3
3902
3903#define _GL_FINISHED_INCLUDING_SYSTEM_INTTYPES_H
3904# 113 "./stdint.h" 2 3
3905# 126 "./stdint.h" 3
3906#undef _GL_JUST_INCLUDE_SYSTEM_INTTYPES_H
3907# 135 "./stdint.h" 3
3908#define _STDINT_UNSIGNED_MIN(bits,zero) (zero)
3909
3910#define _STDINT_SIGNED_MIN(bits,zero) (~ _STDINT_MAX (1, bits, zero))
3911
3912
3913#define _STDINT_MAX(signed,bits,zero) (((((zero) + 1) << ((bits) ? (bits) - 1 - (signed) : 0)) - 1) * 2 + 1)
3914# 150 "./stdint.h" 3
3915#undef int8_t
3916#undef uint8_t
3917typedef signed char gl_int8_t;
3918typedef unsigned char gl_uint8_t;
3919#define int8_t gl_int8_t
3920#define uint8_t gl_uint8_t
3921
3922#undef int16_t
3923#undef uint16_t
3924typedef short int gl_int16_t;
3925typedef unsigned short int gl_uint16_t;
3926#define int16_t gl_int16_t
3927#define uint16_t gl_uint16_t
3928
3929#undef int32_t
3930#undef uint32_t
3931typedef int gl_int32_t;
3932typedef unsigned int gl_uint32_t;
3933#define int32_t gl_int32_t
3934#define uint32_t gl_uint32_t
3935# 178 "./stdint.h" 3
3936#define GL_INT64_T
3937# 201 "./stdint.h" 3
3938#define GL_UINT64_T
3939# 222 "./stdint.h" 3
3940#define _UINT8_T
3941#define _UINT32_T
3942#define _UINT64_T
3943# 233 "./stdint.h" 3
3944#undef int_least8_t
3945#undef uint_least8_t
3946#undef int_least16_t
3947#undef uint_least16_t
3948#undef int_least32_t
3949#undef uint_least32_t
3950#undef int_least64_t
3951#undef uint_least64_t
3952#define int_least8_t int8_t
3953#define uint_least8_t uint8_t
3954#define int_least16_t int16_t
3955#define uint_least16_t uint16_t
3956#define int_least32_t int32_t
3957#define uint_least32_t uint32_t
3958
3959#define int_least64_t int64_t
3960
3961
3962#define uint_least64_t uint64_t
3963# 265 "./stdint.h" 3
3964#undef int_fast8_t
3965#undef uint_fast8_t
3966#undef int_fast16_t
3967#undef uint_fast16_t
3968#undef int_fast32_t
3969#undef uint_fast32_t
3970#undef int_fast64_t
3971#undef uint_fast64_t
3972typedef signed char gl_int_fast8_t;
3973typedef unsigned char gl_uint_fast8_t;
3974
3975
3976
3977
3978
3979
3980
3981typedef long int gl_int_fast32_t;
3982typedef unsigned long int gl_uint_fast32_t;
3983
3984typedef gl_int_fast32_t gl_int_fast16_t;
3985typedef gl_uint_fast32_t gl_uint_fast16_t;
3986
3987#define int_fast8_t gl_int_fast8_t
3988#define uint_fast8_t gl_uint_fast8_t
3989#define int_fast16_t gl_int_fast16_t
3990#define uint_fast16_t gl_uint_fast16_t
3991#define int_fast32_t gl_int_fast32_t
3992#define uint_fast32_t gl_uint_fast32_t
3993
3994#define int_fast64_t int64_t
3995
3996
3997#define uint_fast64_t uint64_t
3998# 311 "./stdint.h" 3
3999#undef intptr_t
4000#undef uintptr_t
4001
4002
4003
4004
4005typedef long int gl_intptr_t;
4006typedef unsigned long int gl_uintptr_t;
4007
4008#define intptr_t gl_intptr_t
4009#define uintptr_t gl_uintptr_t
4010# 364 "./stdint.h" 3
4011typedef int _verify_intmax_size[sizeof (intmax_t) == sizeof (uintmax_t)
4012                                ? 1 : -1];
4013
4014#define GNULIB_defined_stdint_types 1
4015# 377 "./stdint.h" 3
4016#undef INT8_MIN
4017#undef INT8_MAX
4018#undef UINT8_MAX
4019#define INT8_MIN (~ INT8_MAX)
4020#define INT8_MAX 127
4021#define UINT8_MAX 255
4022
4023#undef INT16_MIN
4024#undef INT16_MAX
4025#undef UINT16_MAX
4026#define INT16_MIN (~ INT16_MAX)
4027#define INT16_MAX 32767
4028#define UINT16_MAX 65535
4029
4030#undef INT32_MIN
4031#undef INT32_MAX
4032#undef UINT32_MAX
4033#define INT32_MIN (~ INT32_MAX)
4034#define INT32_MAX 2147483647
4035#define UINT32_MAX 4294967295U
4036# 415 "./stdint.h" 3
4037#undef INT_LEAST8_MIN
4038#undef INT_LEAST8_MAX
4039#undef UINT_LEAST8_MAX
4040#define INT_LEAST8_MIN INT8_MIN
4041#define INT_LEAST8_MAX INT8_MAX
4042#define UINT_LEAST8_MAX UINT8_MAX
4043
4044#undef INT_LEAST16_MIN
4045#undef INT_LEAST16_MAX
4046#undef UINT_LEAST16_MAX
4047#define INT_LEAST16_MIN INT16_MIN
4048#define INT_LEAST16_MAX INT16_MAX
4049#define UINT_LEAST16_MAX UINT16_MAX
4050
4051#undef INT_LEAST32_MIN
4052#undef INT_LEAST32_MAX
4053#undef UINT_LEAST32_MAX
4054#define INT_LEAST32_MIN INT32_MIN
4055#define INT_LEAST32_MAX INT32_MAX
4056#define UINT_LEAST32_MAX UINT32_MAX
4057
4058#undef INT_LEAST64_MIN
4059#undef INT_LEAST64_MAX
4060
4061#define INT_LEAST64_MIN INT64_MIN
4062#define INT_LEAST64_MAX INT64_MAX
4063
4064
4065#undef UINT_LEAST64_MAX
4066
4067#define UINT_LEAST64_MAX UINT64_MAX
4068# 454 "./stdint.h" 3
4069#undef INT_FAST8_MIN
4070#undef INT_FAST8_MAX
4071#undef UINT_FAST8_MAX
4072#define INT_FAST8_MIN SCHAR_MIN
4073#define INT_FAST8_MAX SCHAR_MAX
4074#define UINT_FAST8_MAX UCHAR_MAX
4075
4076#undef INT_FAST16_MIN
4077#undef INT_FAST16_MAX
4078#undef UINT_FAST16_MAX
4079#define INT_FAST16_MIN INT_FAST32_MIN
4080#define INT_FAST16_MAX INT_FAST32_MAX
4081#define UINT_FAST16_MAX UINT_FAST32_MAX
4082
4083#undef INT_FAST32_MIN
4084#undef INT_FAST32_MAX
4085#undef UINT_FAST32_MAX
4086
4087
4088
4089
4090
4091#define INT_FAST32_MIN LONG_MIN
4092#define INT_FAST32_MAX LONG_MAX
4093#define UINT_FAST32_MAX ULONG_MAX
4094
4095
4096#undef INT_FAST64_MIN
4097#undef INT_FAST64_MAX
4098
4099#define INT_FAST64_MIN INT64_MIN
4100#define INT_FAST64_MAX INT64_MAX
4101
4102
4103#undef UINT_FAST64_MAX
4104
4105#define UINT_FAST64_MAX UINT64_MAX
4106
4107
4108
4109
4110#undef INTPTR_MIN
4111#undef INTPTR_MAX
4112#undef UINTPTR_MAX
4113
4114
4115
4116
4117
4118#define INTPTR_MIN LONG_MIN
4119#define INTPTR_MAX LONG_MAX
4120#define UINTPTR_MAX ULONG_MAX
4121# 532 "./stdint.h" 3
4122#undef PTRDIFF_MIN
4123#undef PTRDIFF_MAX
4124# 543 "./stdint.h" 3
4125#define PTRDIFF_MIN _STDINT_SIGNED_MIN (32, 0)
4126
4127#define PTRDIFF_MAX _STDINT_MAX (1, 32, 0)
4128
4129
4130
4131
4132#undef SIG_ATOMIC_MIN
4133#undef SIG_ATOMIC_MAX
4134
4135#define SIG_ATOMIC_MIN _STDINT_SIGNED_MIN (32, 0)
4136
4137
4138
4139
4140
4141#define SIG_ATOMIC_MAX _STDINT_MAX (1, 32, 0)
4142
4143
4144
4145
4146
4147#undef SIZE_MAX
4148
4149
4150
4151
4152
4153
4154
4155#define SIZE_MAX _STDINT_MAX (0, 32, 0ul)
4156# 587 "./stdint.h" 3
4157#undef WCHAR_MIN
4158#undef WCHAR_MAX
4159
4160#define WCHAR_MIN _STDINT_SIGNED_MIN (32, 0)
4161
4162
4163
4164
4165
4166#define WCHAR_MAX _STDINT_MAX (1, 32, 0)
4167
4168
4169
4170
4171
4172
4173#undef WINT_MIN
4174#undef WINT_MAX
4175
4176#define WINT_MIN _STDINT_SIGNED_MIN (32, 0)
4177
4178
4179
4180
4181
4182#define WINT_MAX _STDINT_MAX (1, 32, 0)
4183# 624 "./stdint.h" 3
4184#undef INT8_C
4185#undef UINT8_C
4186#define INT8_C(x) x
4187#define UINT8_C(x) x
4188
4189#undef INT16_C
4190#undef UINT16_C
4191#define INT16_C(x) x
4192#define UINT16_C(x) x
4193
4194#undef INT32_C
4195#undef UINT32_C
4196#define INT32_C(x) x
4197#define UINT32_C(x) x ## U
4198
4199#undef INT64_C
4200#undef UINT64_C
4201
4202
4203
4204
4205
4206#define INT64_C(x) x ##LL
4207
4208
4209
4210
4211
4212
4213#define UINT64_C(x) x ##ULL
4214# 685 "./stdint.h" 3
4215#define INT8_WIDTH _GL_INTEGER_WIDTH (INT8_MIN, INT8_MAX)
4216
4217
4218#define UINT8_WIDTH _GL_INTEGER_WIDTH (0, UINT8_MAX)
4219
4220
4221#define INT16_WIDTH _GL_INTEGER_WIDTH (INT16_MIN, INT16_MAX)
4222
4223
4224#define UINT16_WIDTH _GL_INTEGER_WIDTH (0, UINT16_MAX)
4225
4226
4227#define INT32_WIDTH _GL_INTEGER_WIDTH (INT32_MIN, INT32_MAX)
4228
4229
4230#define UINT32_WIDTH _GL_INTEGER_WIDTH (0, UINT32_MAX)
4231
4232
4233#define INT64_WIDTH _GL_INTEGER_WIDTH (INT64_MIN, INT64_MAX)
4234
4235
4236#define UINT64_WIDTH _GL_INTEGER_WIDTH (0, UINT64_MAX)
4237
4238#define INT_LEAST8_WIDTH _GL_INTEGER_WIDTH (INT_LEAST8_MIN, INT_LEAST8_MAX)
4239#define UINT_LEAST8_WIDTH _GL_INTEGER_WIDTH (0, UINT_LEAST8_MAX)
4240#define INT_LEAST16_WIDTH _GL_INTEGER_WIDTH (INT_LEAST16_MIN, INT_LEAST16_MAX)
4241#define UINT_LEAST16_WIDTH _GL_INTEGER_WIDTH (0, UINT_LEAST16_MAX)
4242#define INT_LEAST32_WIDTH _GL_INTEGER_WIDTH (INT_LEAST32_MIN, INT_LEAST32_MAX)
4243#define UINT_LEAST32_WIDTH _GL_INTEGER_WIDTH (0, UINT_LEAST32_MAX)
4244#define INT_LEAST64_WIDTH _GL_INTEGER_WIDTH (INT_LEAST64_MIN, INT_LEAST64_MAX)
4245#define UINT_LEAST64_WIDTH _GL_INTEGER_WIDTH (0, UINT_LEAST64_MAX)
4246#define INT_FAST8_WIDTH _GL_INTEGER_WIDTH (INT_FAST8_MIN, INT_FAST8_MAX)
4247#define UINT_FAST8_WIDTH _GL_INTEGER_WIDTH (0, UINT_FAST8_MAX)
4248#define INT_FAST16_WIDTH _GL_INTEGER_WIDTH (INT_FAST16_MIN, INT_FAST16_MAX)
4249#define UINT_FAST16_WIDTH _GL_INTEGER_WIDTH (0, UINT_FAST16_MAX)
4250#define INT_FAST32_WIDTH _GL_INTEGER_WIDTH (INT_FAST32_MIN, INT_FAST32_MAX)
4251#define UINT_FAST32_WIDTH _GL_INTEGER_WIDTH (0, UINT_FAST32_MAX)
4252#define INT_FAST64_WIDTH _GL_INTEGER_WIDTH (INT_FAST64_MIN, INT_FAST64_MAX)
4253#define UINT_FAST64_WIDTH _GL_INTEGER_WIDTH (0, UINT_FAST64_MAX)
4254#define INTPTR_WIDTH _GL_INTEGER_WIDTH (INTPTR_MIN, INTPTR_MAX)
4255#define UINTPTR_WIDTH _GL_INTEGER_WIDTH (0, UINTPTR_MAX)
4256#define INTMAX_WIDTH _GL_INTEGER_WIDTH (INTMAX_MIN, INTMAX_MAX)
4257#define UINTMAX_WIDTH _GL_INTEGER_WIDTH (0, UINTMAX_MAX)
4258#define PTRDIFF_WIDTH _GL_INTEGER_WIDTH (PTRDIFF_MIN, PTRDIFF_MAX)
4259#define SIZE_WIDTH _GL_INTEGER_WIDTH (0, SIZE_MAX)
4260#define WCHAR_WIDTH _GL_INTEGER_WIDTH (WCHAR_MIN, WCHAR_MAX)
4261
4262#define WINT_WIDTH _GL_INTEGER_WIDTH (WINT_MIN, WINT_MAX)
4263
4264
4265#define SIG_ATOMIC_WIDTH _GL_INTEGER_WIDTH (SIG_ATOMIC_MIN, SIG_ATOMIC_MAX)
4266# 89 "/usr/include/sys/_endian.h" 2 3 4
4267# 1 "/usr/include/libkern/OSByteOrder.h" 1 3 4
4268# 24 "/usr/include/libkern/OSByteOrder.h" 3 4
4269#define _OS_OSBYTEORDER_H
4270
4271
4272
4273
4274#define OSSwapConstInt16(x) ((uint16_t)((((uint16_t)(x) & 0xff00) >> 8) | (((uint16_t)(x) & 0x00ff) << 8)))
4275
4276
4277
4278#define OSSwapConstInt32(x) ((uint32_t)((((uint32_t)(x) & 0xff000000) >> 24) | (((uint32_t)(x) & 0x00ff0000) >> 8) | (((uint32_t)(x) & 0x0000ff00) << 8) | (((uint32_t)(x) & 0x000000ff) << 24)))
4279
4280
4281
4282
4283
4284#define OSSwapConstInt64(x) ((uint64_t)((((uint64_t)(x) & 0xff00000000000000ULL) >> 56) | (((uint64_t)(x) & 0x00ff000000000000ULL) >> 40) | (((uint64_t)(x) & 0x0000ff0000000000ULL) >> 24) | (((uint64_t)(x) & 0x000000ff00000000ULL) >> 8) | (((uint64_t)(x) & 0x00000000ff000000ULL) << 8) | (((uint64_t)(x) & 0x0000000000ff0000ULL) << 24) | (((uint64_t)(x) & 0x000000000000ff00ULL) << 40) | (((uint64_t)(x) & 0x00000000000000ffULL) << 56)))
4285# 52 "/usr/include/libkern/OSByteOrder.h" 3 4
4286# 1 "/usr/include/libkern/ppc/OSByteOrder.h" 1 3 4
4287# 24 "/usr/include/libkern/ppc/OSByteOrder.h" 3 4
4288#define _OS_OSBYTEORDERPPC_H
4289
4290
4291
4292
4293
4294#define OS_INLINE static inline
4295# 40 "/usr/include/libkern/ppc/OSByteOrder.h" 3 4
4296static inline
4297gl_uint16_t
4298OSReadSwapInt16(
4299    const volatile void * base,
4300    gl_uintptr_t byteOffset
4301)
4302{
4303    gl_uint16_t result;
4304    volatile gl_uint16_t *addr = (volatile gl_uint16_t *)((gl_uintptr_t)base + byteOffset);
4305
4306    __asm__ ("lhbrx %0, %2, %1"
4307             : "=r" (result)
4308             : "r" (base), "bO" (byteOffset), "m" (*addr));
4309    return result;
4310}
4311
4312static inline
4313gl_uint32_t
4314OSReadSwapInt32(
4315    const volatile void * base,
4316    gl_uintptr_t byteOffset
4317)
4318{
4319    gl_uint32_t result;
4320    volatile gl_uint32_t *addr = (volatile gl_uint32_t *)((gl_uintptr_t)base + byteOffset);
4321
4322    __asm__ ("lwbrx %0, %2, %1"
4323             : "=r" (result)
4324             : "r" (base), "bO" (byteOffset), "m" (*addr));
4325    return result;
4326}
4327
4328static inline
4329uint64_t
4330OSReadSwapInt64(
4331    const volatile void * base,
4332    gl_uintptr_t byteOffset
4333)
4334{
4335    volatile uint64_t *addr = (volatile uint64_t *)((gl_uintptr_t)base + byteOffset);
4336    union {
4337        uint64_t u64;
4338        gl_uint32_t u32[2];
4339    } u;
4340
4341    __asm__ ("lwbrx %0, %3, %2\n\t"
4342             "lwbrx %1, %4, %2"
4343             : "=&r" (u.u32[1]), "=r" (u.u32[0])
4344             : "r" (base), "bO" (byteOffset), "b" (byteOffset + 4), "m" (*addr));
4345    return u.u64;
4346}
4347
4348
4349
4350static inline
4351void
4352OSWriteSwapInt16(
4353    volatile void * base,
4354    gl_uintptr_t byteOffset,
4355    gl_uint16_t data
4356)
4357{
4358    volatile gl_uint16_t *addr = (volatile gl_uint16_t *)((gl_uintptr_t)base + byteOffset);
4359
4360    __asm__ ("sthbrx %1, %3, %2"
4361             : "=m" (*addr)
4362             : "r" (data), "r" (base), "bO" (byteOffset));
4363}
4364
4365static inline
4366void
4367OSWriteSwapInt32(
4368    volatile void * base,
4369    gl_uintptr_t byteOffset,
4370    gl_uint32_t data
4371)
4372{
4373    volatile gl_uint32_t *addr = (volatile gl_uint32_t *)((gl_uintptr_t)base + byteOffset);
4374
4375    __asm__ ("stwbrx %1, %3, %2"
4376             : "=m" (*addr)
4377             : "r" (data), "r" (base), "bO" (byteOffset));
4378}
4379
4380static inline
4381void
4382OSWriteSwapInt64(
4383    volatile void * base,
4384    gl_uintptr_t byteOffset,
4385    uint64_t data
4386)
4387{
4388    volatile uint64_t *addr = (volatile uint64_t *)((gl_uintptr_t)base + byteOffset);
4389    gl_uint32_t hi = data >> 32;
4390    gl_uint32_t lo = data & 0xffffffff;
4391
4392    __asm__ ("stwbrx %1, %4, %3\n\t"
4393             "stwbrx %2, %5, %3"
4394             : "=m" (*addr)
4395             : "r" (lo), "r" (hi), "r" (base), "bO" (byteOffset), "b" (byteOffset + 4));
4396}
4397
4398
4399
4400static inline
4401gl_uint16_t
4402_OSSwapInt16(
4403    gl_uint16_t data
4404)
4405{
4406    return OSReadSwapInt16(&data, 0);
4407}
4408
4409static inline
4410gl_uint32_t
4411_OSSwapInt32(
4412    gl_uint32_t data
4413)
4414{
4415    return OSReadSwapInt32(&data, 0);
4416}
4417
4418static inline
4419uint64_t
4420_OSSwapInt64(
4421    uint64_t data
4422)
4423{
4424    return OSReadSwapInt64(&data, 0);
4425}
4426# 53 "/usr/include/libkern/OSByteOrder.h" 2 3 4
4427
4428
4429
4430
4431
4432
4433#define OSSwapInt16(x) (__builtin_constant_p(x) ? OSSwapConstInt16(x) : _OSSwapInt16(x))
4434
4435
4436#define OSSwapInt32(x) (__builtin_constant_p(x) ? OSSwapConstInt32(x) : _OSSwapInt32(x))
4437
4438
4439#define OSSwapInt64(x) (__builtin_constant_p(x) ? OSSwapConstInt64(x) : _OSSwapInt64(x))
4440# 80 "/usr/include/libkern/OSByteOrder.h" 3 4
4441enum {
4442    OSUnknownByteOrder,
4443    OSLittleEndian,
4444    OSBigEndian
4445};
4446
4447static inline
4448gl_int32_t
4449OSHostByteOrder(void) {
4450
4451
4452
4453    return OSBigEndian;
4454
4455
4456
4457}
4458
4459#define OSReadBigInt(x,y) OSReadBigInt32(x, y)
4460#define OSWriteBigInt(x,y,z) OSWriteBigInt32(x, y, z)
4461#define OSSwapBigToHostInt(x) OSSwapBigToHostInt32(x)
4462#define OSSwapHostToBigInt(x) OSSwapHostToBigInt32(x)
4463#define OSReadLittleInt(x,y) OSReadLittleInt32(x, y)
4464#define OSWriteLittleInt(x,y,z) OSWriteLittleInt32(x, y, z)
4465#define OSSwapHostToLittleInt(x) OSSwapHostToLittleInt32(x)
4466#define OSSwapLittleToHostInt(x) OSSwapLittleToHostInt32(x)
4467
4468
4469
4470static inline
4471gl_uint16_t
4472_OSReadInt16(
4473    const volatile void * base,
4474    gl_uintptr_t byteOffset
4475)
4476{
4477    return *(volatile gl_uint16_t *)((gl_uintptr_t)base + byteOffset);
4478}
4479
4480static inline
4481gl_uint32_t
4482_OSReadInt32(
4483    const volatile void * base,
4484    gl_uintptr_t byteOffset
4485)
4486{
4487    return *(volatile gl_uint32_t *)((gl_uintptr_t)base + byteOffset);
4488}
4489
4490static inline
4491uint64_t
4492_OSReadInt64(
4493    const volatile void * base,
4494    gl_uintptr_t byteOffset
4495)
4496{
4497    return *(volatile uint64_t *)((gl_uintptr_t)base + byteOffset);
4498}
4499
4500
4501
4502static inline
4503void
4504_OSWriteInt16(
4505    volatile void * base,
4506    gl_uintptr_t byteOffset,
4507    gl_uint16_t data
4508)
4509{
4510    *(volatile gl_uint16_t *)((gl_uintptr_t)base + byteOffset) = data;
4511}
4512
4513static inline
4514void
4515_OSWriteInt32(
4516    volatile void * base,
4517    gl_uintptr_t byteOffset,
4518    gl_uint32_t data
4519)
4520{
4521    *(volatile gl_uint32_t *)((gl_uintptr_t)base + byteOffset) = data;
4522}
4523
4524static inline
4525void
4526_OSWriteInt64(
4527    volatile void * base,
4528    gl_uintptr_t byteOffset,
4529    uint64_t data
4530)
4531{
4532    *(volatile uint64_t *)((gl_uintptr_t)base + byteOffset) = data;
4533}
4534
4535
4536
4537
4538
4539#define OSReadBigInt16(base,byteOffset) _OSReadInt16(base, byteOffset)
4540#define OSReadBigInt32(base,byteOffset) _OSReadInt32(base, byteOffset)
4541#define OSReadBigInt64(base,byteOffset) _OSReadInt64(base, byteOffset)
4542
4543
4544
4545#define OSWriteBigInt16(base,byteOffset,data) _OSWriteInt16(base, byteOffset, data)
4546#define OSWriteBigInt32(base,byteOffset,data) _OSWriteInt32(base, byteOffset, data)
4547#define OSWriteBigInt64(base,byteOffset,data) _OSWriteInt64(base, byteOffset, data)
4548
4549
4550
4551#define OSReadLittleInt16(base,byteOffset) OSReadSwapInt16(base, byteOffset)
4552#define OSReadLittleInt32(base,byteOffset) OSReadSwapInt32(base, byteOffset)
4553#define OSReadLittleInt64(base,byteOffset) OSReadSwapInt64(base, byteOffset)
4554
4555
4556
4557#define OSWriteLittleInt16(base,byteOffset,data) OSWriteSwapInt16(base, byteOffset, data)
4558#define OSWriteLittleInt32(base,byteOffset,data) OSWriteSwapInt32(base, byteOffset, data)
4559#define OSWriteLittleInt64(base,byteOffset,data) OSWriteSwapInt64(base, byteOffset, data)
4560
4561
4562
4563#define OSSwapHostToBigConstInt16(x) (x)
4564#define OSSwapHostToBigConstInt32(x) (x)
4565#define OSSwapHostToBigConstInt64(x) (x)
4566
4567
4568
4569#define OSSwapHostToBigInt16(x) ((uint16_t)(x))
4570#define OSSwapHostToBigInt32(x) ((uint32_t)(x))
4571#define OSSwapHostToBigInt64(x) ((uint64_t)(x))
4572
4573
4574
4575#define OSSwapHostToLittleConstInt16(x) OSSwapConstInt16(x)
4576#define OSSwapHostToLittleConstInt32(x) OSSwapConstInt32(x)
4577#define OSSwapHostToLittleConstInt64(x) OSSwapConstInt64(x)
4578
4579
4580
4581#define OSSwapHostToLittleInt16(x) OSSwapInt16(x)
4582#define OSSwapHostToLittleInt32(x) OSSwapInt32(x)
4583#define OSSwapHostToLittleInt64(x) OSSwapInt64(x)
4584
4585
4586
4587#define OSSwapBigToHostConstInt16(x) (x)
4588#define OSSwapBigToHostConstInt32(x) (x)
4589#define OSSwapBigToHostConstInt64(x) (x)
4590
4591
4592
4593#define OSSwapBigToHostInt16(x) ((uint16_t)(x))
4594#define OSSwapBigToHostInt32(x) ((uint32_t)(x))
4595#define OSSwapBigToHostInt64(x) ((uint64_t)(x))
4596
4597
4598
4599#define OSSwapLittleToHostConstInt16(x) OSSwapConstInt16(x)
4600#define OSSwapLittleToHostConstInt32(x) OSSwapConstInt32(x)
4601#define OSSwapLittleToHostConstInt64(x) OSSwapConstInt64(x)
4602
4603
4604
4605#define OSSwapLittleToHostInt16(x) OSSwapInt16(x)
4606#define OSSwapLittleToHostInt32(x) OSSwapInt32(x)
4607#define OSSwapLittleToHostInt64(x) OSSwapInt64(x)
4608# 90 "/usr/include/sys/_endian.h" 2 3 4
4609
4610
4611gl_uint16_t ntohs(gl_uint16_t);
4612gl_uint16_t htons(gl_uint16_t);
4613gl_uint32_t ntohl(gl_uint32_t);
4614gl_uint32_t htonl(gl_uint32_t);
4615
4616
4617
4618#define ntohs(x) OSSwapBigToHostInt16(x)
4619#define htons(x) OSSwapHostToBigInt16(x)
4620
4621#define ntohl(x) OSSwapBigToHostInt32(x)
4622#define htonl(x) OSSwapHostToBigInt32(x)
4623
4624
4625#define NTOHL(x) (x) = ntohl((u_long)x)
4626#define NTOHS(x) (x) = ntohs((u_short)x)
4627#define HTONL(x) (x) = htonl((u_long)x)
4628#define HTONS(x) (x) = htons((u_short)x)
4629# 108 "/usr/include/ppc/endian.h" 2 3 4
4630# 31 "/usr/include/machine/endian.h" 2 3 4
4631# 76 "/usr/include/sys/types.h" 2 3 4
4632
4633
4634typedef unsigned char u_char;
4635typedef unsigned short u_short;
4636typedef unsigned int u_int;
4637
4638typedef unsigned long u_long;
4639#define _U_LONG
4640
4641typedef unsigned short ushort;
4642typedef unsigned int uint;
4643
4644
4645typedef u_int64_t u_quad_t;
4646typedef int64_t quad_t;
4647typedef quad_t * qaddr_t;
4648
4649typedef char * caddr_t;
4650typedef gl_int32_t daddr_t;
4651
4652
4653typedef __darwin_dev_t dev_t;
4654#define _DEV_T
4655
4656
4657typedef u_int32_t fixpt_t;
4658
4659
4660typedef __darwin_blkcnt_t blkcnt_t;
4661#define _BLKCNT_T
4662
4663
4664
4665typedef __darwin_blksize_t blksize_t;
4666#define _BLKSIZE_T
4667
4668
4669
4670typedef __darwin_gid_t gid_t;
4671#define _GID_T
4672
4673
4674
4675#define _IN_ADDR_T
4676typedef __uint32_t in_addr_t;
4677
4678
4679
4680#define _IN_PORT_T
4681typedef __uint16_t in_port_t;
4682
4683
4684
4685typedef __darwin_ino_t ino_t;
4686#define _INO_T
4687
4688
4689
4690#define _KEY_T
4691typedef __int32_t key_t;
4692
4693
4694
4695typedef __darwin_mode_t mode_t;
4696#define _MODE_T
4697
4698
4699
4700typedef __uint16_t nlink_t;
4701#define _NLINK_T
4702
4703
4704
4705#define _ID_T
4706typedef __darwin_id_t id_t;
4707
4708
4709
4710typedef __darwin_pid_t pid_t;
4711#define _PID_T
4712
4713
4714
4715typedef __darwin_off_t off_t;
4716#define _OFF_T
4717
4718
4719typedef gl_int32_t segsz_t;
4720typedef gl_int32_t swblk_t;
4721
4722
4723typedef __darwin_uid_t uid_t;
4724#define _UID_T
4725# 178 "/usr/include/sys/types.h" 3 4
4726#define major(x) ((int32_t)(((u_int32_t)(x) >> 24) & 0xff))
4727#define minor(x) ((int32_t)((x) & 0xffffff))
4728#define makedev(x,y) ((dev_t)(((x) << 24) | (y)))
4729
4730
4731
4732#define _CLOCK_T
4733typedef __darwin_clock_t clock_t;
4734# 196 "/usr/include/sys/types.h" 3 4
4735#define _SSIZE_T
4736typedef __darwin_ssize_t ssize_t;
4737
4738
4739
4740#define _TIME_T
4741typedef __darwin_time_t time_t;
4742
4743
4744
4745#define _USECONDS_T
4746typedef __darwin_useconds_t useconds_t;
4747
4748
4749
4750#define _SUSECONDS_T
4751typedef __darwin_suseconds_t suseconds_t;
4752# 221 "/usr/include/sys/types.h" 3 4
4753#define NBBY 8
4754#define NFDBITS (sizeof(__int32_t) * NBBY)
4755#define howmany(x,y) (((x) + ((y) - 1)) / (y))
4756typedef __int32_t fd_mask;
4757
4758
4759
4760
4761
4762
4763
4764#define _FD_SET
4765# 241 "/usr/include/sys/types.h" 3 4
4766#define FD_SETSIZE 1024
4767
4768
4769#define __DARWIN_NBBY 8
4770#define __DARWIN_NFDBITS (sizeof(__int32_t) * __DARWIN_NBBY)
4771#define __DARWIN_howmany(x,y) (((x) + ((y) - 1)) / (y))
4772
4773
4774typedef struct fd_set {
4775 __int32_t fds_bits[(((1024) + (((sizeof(__int32_t) * 8)) - 1)) / ((sizeof(__int32_t) * 8)))];
4776} fd_set;
4777
4778
4779#define FD_SET(n,p) ((p)->fds_bits[(n)/__DARWIN_NFDBITS] |= (1<<((n) % __DARWIN_NFDBITS)))
4780#define FD_CLR(n,p) ((p)->fds_bits[(n)/__DARWIN_NFDBITS] &= ~(1<<((n) % __DARWIN_NFDBITS)))
4781#define FD_ISSET(n,p) ((p)->fds_bits[(n)/__DARWIN_NFDBITS] & (1<<((n) % __DARWIN_NFDBITS)))
4782
4783
4784
4785
4786
4787#define FD_ZERO(p) __builtin_bzero(p, sizeof(*(p)))
4788
4789
4790
4791
4792#define FD_COPY(f,t) bcopy(f, t, sizeof(*(f)))
4793# 295 "/usr/include/sys/types.h" 3 4
4794#define _PTHREAD_ATTR_T
4795typedef __darwin_pthread_attr_t pthread_attr_t;
4796
4797
4798#define _PTHREAD_COND_T
4799typedef __darwin_pthread_cond_t pthread_cond_t;
4800
4801
4802#define _PTHREAD_CONDATTR_T
4803typedef __darwin_pthread_condattr_t pthread_condattr_t;
4804
4805
4806#define _PTHREAD_MUTEX_T
4807typedef __darwin_pthread_mutex_t pthread_mutex_t;
4808
4809
4810#define _PTHREAD_MUTEXATTR_T
4811typedef __darwin_pthread_mutexattr_t pthread_mutexattr_t;
4812
4813
4814#define _PTHREAD_ONCE_T
4815typedef __darwin_pthread_once_t pthread_once_t;
4816
4817
4818#define _PTHREAD_RWLOCK_T
4819typedef __darwin_pthread_rwlock_t pthread_rwlock_t;
4820
4821
4822#define _PTHREAD_RWLOCKATTR_T
4823typedef __darwin_pthread_rwlockattr_t pthread_rwlockattr_t;
4824
4825
4826#define _PTHREAD_T
4827typedef __darwin_pthread_t pthread_t;
4828
4829
4830
4831
4832
4833#define _PTHREAD_KEY_T
4834typedef __darwin_pthread_key_t pthread_key_t;
4835
4836
4837
4838
4839#define _FSBLKCNT_T
4840typedef __darwin_fsblkcnt_t fsblkcnt_t;
4841
4842
4843
4844#define _FSFILCNT_T
4845typedef __darwin_fsfilcnt_t fsfilcnt_t;
4846# 47 "./sys/types.h" 2 3
4847#undef _GL_INCLUDING_SYS_TYPES_H
4848# 76 "./stdio.h" 2 3
4849# 145 "./stdio.h" 3
4850#define _GL_ATTRIBUTE_SPEC_PRINTF_STANDARD __printf__
4851# 158 "./stdio.h" 3
4852#define _GL_ATTRIBUTE_SPEC_PRINTF_SYSTEM __printf__
4853
4854
4855
4856
4857
4858
4859#define _GL_ATTRIBUTE_FORMAT_PRINTF_STANDARD(formatstring_parameter,first_argument) _GL_ATTRIBUTE_FORMAT ((_GL_ATTRIBUTE_SPEC_PRINTF_STANDARD, formatstring_parameter, first_argument))
4860
4861
4862
4863
4864
4865
4866#define _GL_ATTRIBUTE_FORMAT_PRINTF_SYSTEM(formatstring_parameter,first_argument) _GL_ATTRIBUTE_FORMAT ((_GL_ATTRIBUTE_SPEC_PRINTF_SYSTEM, formatstring_parameter, first_argument))
4867# 183 "./stdio.h" 3
4868#define _GL_ATTRIBUTE_FORMAT_SCANF(formatstring_parameter,first_argument) _GL_ATTRIBUTE_FORMAT ((__scanf__, formatstring_parameter, first_argument))
4869
4870
4871
4872
4873
4874
4875
4876#define _GL_ATTRIBUTE_FORMAT_SCANF_SYSTEM(formatstring_parameter,first_argument) _GL_ATTRIBUTE_FORMAT ((__scanf__, formatstring_parameter, first_argument))
4877# 212 "./stdio.h" 3
4878#define _GL_CXXDEFS_H
4879
4880
4881
4882
4883
4884
4885#define _GL_BEGIN_NAMESPACE
4886#define _GL_END_NAMESPACE
4887# 287 "./stdio.h" 3
4888#define _GL_EXTERN_C extern
4889# 303 "./stdio.h" 3
4890#define _GL_FUNCDECL_RPL(func,rettype,parameters_and_attributes) _GL_FUNCDECL_RPL_1 (rpl_ ##func, rettype, parameters_and_attributes)
4891
4892#define _GL_FUNCDECL_RPL_1(rpl_func,rettype,parameters_and_attributes) _GL_EXTERN_C rettype rpl_func parameters_and_attributes
4893# 315 "./stdio.h" 3
4894#define _GL_FUNCDECL_SYS(func,rettype,parameters_and_attributes) _GL_EXTERN_C rettype func parameters_and_attributes
4895# 327 "./stdio.h" 3
4896#define _GL_CXXALIAS_RPL(func,rettype,parameters) _GL_CXXALIAS_RPL_1 (func, rpl_ ##func, rettype, parameters)
4897# 345 "./stdio.h" 3
4898#define _GL_CXXALIAS_RPL_1(func,rpl_func,rettype,parameters) _GL_EXTERN_C int _gl_cxxalias_dummy
4899# 356 "./stdio.h" 3
4900#define _GL_CXXALIAS_MDA(func,rettype,parameters) _GL_CXXALIAS_RPL_1 (func, _ ##func, rettype, parameters)
4901# 380 "./stdio.h" 3
4902#define _GL_CXXALIAS_RPL_CAST_1(func,rpl_func,rettype,parameters) _GL_EXTERN_C int _gl_cxxalias_dummy
4903# 389 "./stdio.h" 3
4904#define _GL_CXXALIAS_MDA_CAST(func,rettype,parameters) _GL_CXXALIAS_RPL_CAST_1 (func, _ ##func, rettype, parameters)
4905# 418 "./stdio.h" 3
4906#define _GL_CXXALIAS_SYS(func,rettype,parameters) _GL_EXTERN_C int _gl_cxxalias_dummy
4907# 443 "./stdio.h" 3
4908#define _GL_CXXALIAS_SYS_CAST(func,rettype,parameters) _GL_EXTERN_C int _gl_cxxalias_dummy
4909# 474 "./stdio.h" 3
4910#define _GL_CXXALIAS_SYS_CAST2(func,rettype,parameters,rettype2,parameters2) _GL_EXTERN_C int _gl_cxxalias_dummy
4911# 502 "./stdio.h" 3
4912#define _GL_CXXALIASWARN(func) _GL_EXTERN_C int _gl_cxxalias_dummy
4913# 527 "./stdio.h" 3
4914#define _GL_CXXALIASWARN1(func,rettype,parameters_and_attributes) _GL_EXTERN_C int _gl_cxxalias_dummy
4915# 555 "./stdio.h" 3
4916#define _GL_ARG_NONNULL(params) __attribute__ ((__nonnull__ params))
4917# 664 "./stdio.h" 3
4918#define _GL_WARN_ON_USE(function,message) _GL_WARN_EXTERN_C int _gl_warn_on_use
4919
4920#define _GL_WARN_ON_USE_ATTRIBUTE(message)
4921# 678 "./stdio.h" 3
4922#define _GL_WARN_ON_USE_CXX(function,rettype_gcc,rettype_clang,parameters_and_attributes,msg) _GL_WARN_ON_USE (function, msg)
4923# 708 "./stdio.h" 3
4924#define _GL_WARN_EXTERN_C extern
4925
4926
4927
4928
4929#define _GL_STDIO_STRINGIZE(token) #token
4930#define _GL_STDIO_MACROEXPAND_AND_STRINGIZE(token) _GL_STDIO_STRINGIZE(token)
4931# 733 "./stdio.h" 3
4932#define _PRINTF_NAN_LEN_MAX 3
4933# 879 "./stdio.h" 3
4934extern int _gl_cxxalias_dummy;
4935
4936extern int _gl_cxxalias_dummy;
4937# 894 "./stdio.h" 3
4938#define fflush rpl_fflush
4939
4940extern int rpl_fflush (FILE *gl_stream);
4941extern int _gl_cxxalias_dummy;
4942# 920 "./stdio.h" 3
4943extern int _gl_cxxalias_dummy;
4944# 939 "./stdio.h" 3
4945extern int _gl_cxxalias_dummy;
4946# 958 "./stdio.h" 3
4947extern int _gl_cxxalias_dummy;
4948
4949extern int _gl_cxxalias_dummy;
4950
4951
4952
4953
4954
4955
4956#undef fopen
4957#define fopen rpl_fopen
4958
4959extern FILE * rpl_fopen (const char * filename, const char * mode) __attribute__ ((__nonnull__ (1, 2)));
4960
4961
4962extern int _gl_cxxalias_dummy;
4963# 1024 "./stdio.h" 3
4964extern int _gl_cxxalias_dummy;
4965# 1050 "./stdio.h" 3
4966#define fpurge rpl_fpurge
4967
4968extern int rpl_fpurge (FILE *gl_stream) __attribute__ ((__nonnull__ (1)));
4969extern int _gl_cxxalias_dummy;
4970
4971
4972
4973
4974
4975
4976extern int _gl_cxxalias_dummy;
4977# 1078 "./stdio.h" 3
4978extern int _gl_cxxalias_dummy;
4979# 1097 "./stdio.h" 3
4980extern int _gl_cxxalias_dummy;
4981# 1119 "./stdio.h" 3
4982extern int _gl_cxxalias_dummy;
4983# 1170 "./stdio.h" 3
4984extern int _gl_cxxalias_dummy;
4985# 1217 "./stdio.h" 3
4986#undef fseek
4987#define fseek rpl_fseek
4988
4989extern int rpl_fseek (FILE *fp, long offset, int whence) __attribute__ ((__nonnull__ (1)));
4990
4991extern int _gl_cxxalias_dummy;
4992# 1240 "./stdio.h" 3
4993#undef fseeko
4994#define fseeko rpl_fseeko
4995
4996extern int rpl_fseeko (FILE *fp, off_t offset, int whence) __attribute__ ((__nonnull__ (1)));
4997
4998extern int _gl_cxxalias_dummy;
4999
5000
5001
5002
5003
5004
5005
5006extern int _gl_cxxalias_dummy;
5007# 1289 "./stdio.h" 3
5008extern int _gl_cxxalias_dummy;
5009# 1312 "./stdio.h" 3
5010extern int _gl_cxxalias_dummy;
5011
5012extern int _gl_cxxalias_dummy;
5013# 1349 "./stdio.h" 3
5014extern int _gl_cxxalias_dummy;
5015# 1390 "./stdio.h" 3
5016extern int _gl_cxxalias_dummy;
5017# 1406 "./stdio.h" 3
5018extern int _gl_cxxalias_dummy;
5019# 1436 "./stdio.h" 3
5020extern ssize_t getdelim (char ** lineptr, size_t * linesize, int delimiter, FILE * stream) __attribute__ ((__nonnull__ (1, 2, 4)));
5021
5022
5023
5024
5025
5026extern int _gl_cxxalias_dummy;
5027# 1467 "./stdio.h" 3
5028#undef getline
5029#define getline rpl_getline
5030
5031extern ssize_t rpl_getline (char ** lineptr, size_t * linesize, FILE * stream) __attribute__ ((__nonnull__ (1, 2, 3)));
5032
5033
5034
5035extern int _gl_cxxalias_dummy;
5036# 1502 "./stdio.h" 3
5037#undef gets
5038# 1521 "./stdio.h" 3
5039extern int getw (FILE * stream);
5040
5041extern int _gl_cxxalias_dummy;
5042# 1690 "./stdio.h" 3
5043extern int _gl_cxxalias_dummy;
5044# 1715 "./stdio.h" 3
5045extern int _gl_cxxalias_dummy;
5046# 1731 "./stdio.h" 3
5047extern int _gl_cxxalias_dummy;
5048# 1747 "./stdio.h" 3
5049extern int _gl_cxxalias_dummy;
5050# 1768 "./stdio.h" 3
5051extern int putw (int w, FILE * stream);
5052
5053extern int _gl_cxxalias_dummy;
5054# 1802 "./stdio.h" 3
5055#undef rename
5056#define rename rpl_rename
5057
5058extern int rpl_rename (const char *old_filename, const char *new_filename) __attribute__ ((__nonnull__ (1, 2)));
5059
5060
5061extern int _gl_cxxalias_dummy;
5062# 1879 "./stdio.h" 3
5063extern int _gl_cxxalias_dummy;
5064# 1908 "./stdio.h" 3
5065extern int _gl_cxxalias_dummy;
5066# 1970 "./stdio.h" 3
5067extern int _gl_cxxalias_dummy;
5068
5069extern int _gl_cxxalias_dummy;
5070# 2032 "./stdio.h" 3
5071extern int _gl_cxxalias_dummy;
5072
5073
5074extern int _gl_cxxalias_dummy;
5075# 2054 "./stdio.h" 3
5076extern int _gl_cxxalias_dummy;
5077
5078
5079extern int _gl_cxxalias_dummy;
5080# 2121 "./stdio.h" 3
5081extern int _gl_cxxalias_dummy;
5082# 2184 "./stdio.h" 3
5083extern int _gl_cxxalias_dummy;
5084# 2241 "./stdio.h" 3
5085extern int _gl_cxxalias_dummy;
5086# 23 "md2.h" 2
5087# 1 "./stddef.h" 1
5088# 27 "./stddef.h"
5089       
5090# 28 "./stddef.h" 3
5091# 24 "md2.h" 2
5092
5093
5094
5095
5096
5097#define MD2_DIGEST_SIZE 16
5098
5099
5100struct md2_ctx
5101{
5102  unsigned char chksum[16], X[48], buf[16];
5103  size_t curlen;
5104};
5105
5106
5107
5108extern void md2_init_ctx (struct md2_ctx *ctx);
5109
5110
5111
5112
5113
5114extern void md2_process_block (const void *buffer, size_t len,
5115                               struct md2_ctx *ctx);
5116
5117
5118
5119
5120
5121extern void md2_process_bytes (const void *buffer, size_t len,
5122                               struct md2_ctx *ctx);
5123
5124
5125
5126
5127
5128extern void *md2_finish_ctx (struct md2_ctx *ctx, void * resbuf);
5129
5130
5131
5132
5133
5134extern void *md2_read_ctx (const struct md2_ctx *ctx, void * resbuf);
5135
5136
5137
5138
5139
5140
5141extern void *md2_buffer (const char *buffer, size_t len,
5142                         void * resblock);
5143
5144
5145
5146
5147
5148extern int md2_stream (FILE *stream, void *resblock);
5149# 26 "md2-stream.c" 2
5150
5151# 1 "./stdlib.h" 1
5152# 20 "./stdlib.h"
5153       
5154# 21 "./stdlib.h" 3
5155# 36 "./stdlib.h" 3
5156# 1 "/usr/include/stdlib.h" 1 3 4
5157# 59 "/usr/include/stdlib.h" 3 4
5158#define _STDLIB_H_
5159
5160
5161
5162
5163# 1 "./sys/wait.h" 1 3 4
5164# 22 "./sys/wait.h" 3 4
5165       
5166# 23 "./sys/wait.h" 3
5167
5168
5169
5170
5171
5172# 1 "/usr/include/sys/wait.h" 1 3 4
5173# 59 "/usr/include/sys/wait.h" 3 4
5174#define _SYS_WAIT_H_
5175# 73 "/usr/include/sys/wait.h" 3 4
5176typedef enum {
5177 P_ALL,
5178 P_PID,
5179 P_PGID
5180} idtype_t;
5181# 110 "/usr/include/sys/wait.h" 3 4
5182# 1 "/usr/include/sys/signal.h" 1 3 4
5183# 64 "/usr/include/sys/signal.h" 3 4
5184#define _SYS_SIGNAL_H_
5185
5186
5187
5188
5189
5190#define NSIG 32
5191
5192
5193# 1 "/usr/include/machine/signal.h" 1 3 4
5194# 23 "/usr/include/machine/signal.h" 3 4
5195#define _BSD_MACHINE_SIGNAL_H_
5196
5197
5198
5199# 1 "/usr/include/ppc/signal.h" 1 3 4
5200# 27 "/usr/include/ppc/signal.h" 3 4
5201#define _PPC_SIGNAL_ 1
5202
5203
5204
5205
5206typedef int sig_atomic_t;
5207
5208
5209
5210
5211#define SV_SAVE_REGS 0x1000
5212# 50 "/usr/include/ppc/signal.h" 3 4
5213typedef enum {
5214 REGS_SAVED_NONE,
5215 REGS_SAVED_CALLER,
5216
5217
5218 REGS_SAVED_ALL
5219} regs_saved_t;
5220# 66 "/usr/include/ppc/signal.h" 3 4
5221struct sigcontext32 {
5222    int sc_onstack;
5223    int sc_mask;
5224    int sc_ir;
5225    int sc_psw;
5226    int sc_sp;
5227    void *sc_regs;
5228};
5229
5230struct sigcontext64 {
5231    int sc_onstack;
5232    int sc_mask;
5233    long long sc_ir;
5234    long long sc_psw;
5235    long long sc_sp;
5236    void *sc_regs;
5237};
5238
5239
5240
5241
5242
5243struct sigcontext {
5244    int sc_onstack;
5245    int sc_mask;
5246    int sc_ir;
5247    int sc_psw;
5248    int sc_sp;
5249    void *sc_regs;
5250};
5251# 28 "/usr/include/machine/signal.h" 2 3 4
5252# 74 "/usr/include/sys/signal.h" 2 3 4
5253
5254#define SIGHUP 1
5255#define SIGINT 2
5256#define SIGQUIT 3
5257#define SIGILL 4
5258#define SIGTRAP 5
5259#define SIGABRT 6
5260
5261
5262
5263#define SIGIOT SIGABRT
5264#define SIGEMT 7
5265
5266#define SIGFPE 8
5267#define SIGKILL 9
5268#define SIGBUS 10
5269#define SIGSEGV 11
5270#define SIGSYS 12
5271#define SIGPIPE 13
5272#define SIGALRM 14
5273#define SIGTERM 15
5274#define SIGURG 16
5275#define SIGSTOP 17
5276#define SIGTSTP 18
5277#define SIGCONT 19
5278#define SIGCHLD 20
5279#define SIGTTIN 21
5280#define SIGTTOU 22
5281
5282#define SIGIO 23
5283
5284#define SIGXCPU 24
5285#define SIGXFSZ 25
5286#define SIGVTALRM 26
5287#define SIGPROF 27
5288
5289#define SIGWINCH 28
5290#define SIGINFO 29
5291
5292#define SIGUSR1 30
5293#define SIGUSR2 31
5294# 128 "/usr/include/sys/signal.h" 3 4
5295#define SIG_DFL (void (*)( ))0
5296#define SIG_IGN (void (*)( ))1
5297#define SIG_HOLD (void (*)( ))5
5298#define SIG_ERR ((void (*)( ))-1)
5299
5300
5301
5302
5303
5304
5305#define _MCONTEXT_T
5306typedef __darwin_mcontext_t mcontext_t;
5307
5308
5309
5310
5311#define _MCONTEXT64_T
5312typedef __darwin_mcontext64_t mcontext64_t;
5313# 160 "/usr/include/sys/signal.h" 3 4
5314#define _SIGSET_T
5315typedef __darwin_sigset_t sigset_t;
5316# 170 "/usr/include/sys/signal.h" 3 4
5317#define _UCONTEXT_T
5318typedef __darwin_ucontext_t ucontext_t;
5319
5320
5321
5322
5323#define _UCONTEXT64_T
5324typedef __darwin_ucontext64_t ucontext64_t;
5325# 186 "/usr/include/sys/signal.h" 3 4
5326union sigval {
5327
5328 int sival_int;
5329 void *sival_ptr;
5330};
5331
5332#define SIGEV_NONE 0
5333#define SIGEV_SIGNAL 1
5334#define SIGEV_THREAD 3
5335
5336struct sigevent {
5337 int sigev_notify;
5338 int sigev_signo;
5339 union sigval sigev_value;
5340 void (*sigev_notify_function)(union sigval);
5341 pthread_attr_t *sigev_notify_attributes;
5342};
5343
5344
5345
5346typedef struct __siginfo {
5347 int si_signo;
5348 int si_errno;
5349 int si_code;
5350 pid_t si_pid;
5351 uid_t si_uid;
5352 int si_status;
5353 void *si_addr;
5354 union sigval si_value;
5355 long si_band;
5356 unsigned long pad[7];
5357} siginfo_t;
5358# 234 "/usr/include/sys/signal.h" 3 4
5359#define ILL_NOOP 0
5360
5361#define ILL_ILLOPC 1
5362#define ILL_ILLTRP 2
5363#define ILL_PRVOPC 3
5364#define ILL_ILLOPN 4
5365#define ILL_ILLADR 5
5366#define ILL_PRVREG 6
5367#define ILL_COPROC 7
5368#define ILL_BADSTK 8
5369
5370
5371
5372#define FPE_NOOP 0
5373
5374#define FPE_FLTDIV 1
5375#define FPE_FLTOVF 2
5376#define FPE_FLTUND 3
5377#define FPE_FLTRES 4
5378#define FPE_FLTINV 5
5379#define FPE_FLTSUB 6
5380#define FPE_INTDIV 7
5381#define FPE_INTOVF 8
5382
5383
5384
5385#define SEGV_NOOP 0
5386
5387#define SEGV_MAPERR 1
5388#define SEGV_ACCERR 2
5389
5390
5391
5392#define BUS_NOOP 0
5393
5394#define BUS_ADRALN 1
5395#define BUS_ADRERR 2
5396#define BUS_OBJERR 3
5397
5398
5399#define TRAP_BRKPT 1
5400#define TRAP_TRACE 2
5401
5402
5403
5404#define CLD_NOOP 0
5405
5406#define CLD_EXITED 1
5407#define CLD_KILLED 2
5408#define CLD_DUMPED 3
5409#define CLD_TRAPPED 4
5410#define CLD_STOPPED 5
5411#define CLD_CONTINUED 6
5412
5413
5414#define POLL_IN 1
5415#define POLL_OUT 2
5416#define POLL_MSG 3
5417#define POLL_ERR 4
5418#define POLL_PRI 5
5419#define POLL_HUP 6
5420
5421
5422union __sigaction_u {
5423 void (*__sa_handler)(int);
5424 void (*__sa_sigaction)(int, struct __siginfo *,
5425         void *);
5426};
5427
5428
5429struct __sigaction {
5430 union __sigaction_u __sigaction_u;
5431 void (*sa_tramp)(void *, int, int, siginfo_t *, void *);
5432 sigset_t sa_mask;
5433 int sa_flags;
5434};
5435
5436
5437
5438
5439struct sigaction {
5440 union __sigaction_u __sigaction_u;
5441 sigset_t sa_mask;
5442 int sa_flags;
5443};
5444
5445
5446
5447
5448#define sa_handler __sigaction_u.__sa_handler
5449#define sa_sigaction __sigaction_u.__sa_sigaction
5450
5451#define SA_ONSTACK 0x0001
5452#define SA_RESTART 0x0002
5453#define SA_DISABLE 0x0004
5454#define SA_RESETHAND 0x0004
5455#define SA_NOCLDSTOP 0x0008
5456#define SA_NODEFER 0x0010
5457#define SA_NOCLDWAIT 0x0020
5458#define SA_SIGINFO 0x0040
5459
5460#define SA_USERTRAMP 0x0100
5461
5462#define SA_64REGSET 0x0200
5463
5464
5465
5466
5467
5468#define SIG_BLOCK 1
5469#define SIG_UNBLOCK 2
5470#define SIG_SETMASK 3
5471
5472
5473#define SI_USER 0x10001
5474#define SI_QUEUE 0x10002
5475#define SI_TIMER 0x10003
5476#define SI_ASYNCIO 0x10004
5477#define SI_MESGQ 0x10005
5478
5479
5480typedef void (*sig_t)(int);
5481
5482
5483
5484
5485
5486
5487
5488#define _STACK_T
5489typedef __darwin_stack_t stack_t;
5490
5491
5492#define SS_ONSTACK 0x0001
5493#define SS_DISABLE 0x0004
5494#define MINSIGSTKSZ 32768
5495#define SIGSTKSZ 131072
5496
5497
5498
5499
5500
5501
5502struct sigvec {
5503 void (*sv_handler)(int);
5504 int sv_mask;
5505 int sv_flags;
5506};
5507
5508#define SV_ONSTACK SA_ONSTACK
5509#define SV_INTERRUPT SA_RESTART
5510#define SV_RESETHAND SA_RESETHAND
5511#define SV_NODEFER SA_NODEFER
5512#define SV_NOCLDSTOP SA_NOCLDSTOP
5513#define SV_SIGINFO SA_SIGINFO
5514
5515#define sv_onstack sv_flags
5516
5517
5518
5519
5520
5521struct sigstack {
5522 char *ss_sp;
5523 int ss_onstack;
5524};
5525
5526
5527
5528
5529
5530
5531#define sigmask(m) (1 << ((m)-1))
5532
5533
5534#define BADSIG SIG_ERR
5535# 418 "/usr/include/sys/signal.h" 3 4
5536
5537void (*signal(int, void (*)(int)))(int);
5538
5539# 111 "/usr/include/sys/wait.h" 2 3 4
5540# 1 "/usr/include/sys/resource.h" 1 3 4
5541# 59 "/usr/include/sys/resource.h" 3 4
5542#define _SYS_RESOURCE_H_
5543# 73 "/usr/include/sys/resource.h" 3 4
5544#define _TIMEVAL
5545struct timeval {
5546 __darwin_time_t tv_sec;
5547 __darwin_suseconds_t tv_usec;
5548};
5549# 90 "/usr/include/sys/resource.h" 3 4
5550typedef __int64_t rlim_t;
5551# 101 "/usr/include/sys/resource.h" 3 4
5552#define PRIO_PROCESS 0
5553#define PRIO_PGRP 1
5554#define PRIO_USER 2
5555
5556
5557
5558
5559
5560#define PRIO_MIN -20
5561#define PRIO_MAX 20
5562# 123 "/usr/include/sys/resource.h" 3 4
5563#define RUSAGE_SELF 0
5564#define RUSAGE_CHILDREN -1
5565# 135 "/usr/include/sys/resource.h" 3 4
5566struct rusage {
5567 struct timeval ru_utime;
5568 struct timeval ru_stime;
5569# 146 "/usr/include/sys/resource.h" 3 4
5570 long ru_maxrss;
5571#define ru_first ru_ixrss
5572 long ru_ixrss;
5573 long ru_idrss;
5574 long ru_isrss;
5575 long ru_minflt;
5576 long ru_majflt;
5577 long ru_nswap;
5578 long ru_inblock;
5579 long ru_oublock;
5580 long ru_msgsnd;
5581 long ru_msgrcv;
5582 long ru_nsignals;
5583 long ru_nvcsw;
5584 long ru_nivcsw;
5585#define ru_last ru_nivcsw
5586
5587};
5588# 179 "/usr/include/sys/resource.h" 3 4
5589#define RLIM_INFINITY (((__uint64_t)1 << 63) - 1)
5590#define RLIM_SAVED_MAX RLIM_INFINITY
5591#define RLIM_SAVED_CUR RLIM_INFINITY
5592
5593
5594
5595
5596
5597#define RLIMIT_CPU 0
5598#define RLIMIT_FSIZE 1
5599#define RLIMIT_DATA 2
5600#define RLIMIT_STACK 3
5601#define RLIMIT_CORE 4
5602#define RLIMIT_AS 5
5603
5604#define RLIMIT_RSS RLIMIT_AS
5605#define RLIMIT_MEMLOCK 6
5606#define RLIMIT_NPROC 7
5607
5608#define RLIMIT_NOFILE 8
5609
5610#define RLIM_NLIMITS 9
5611
5612
5613
5614
5615
5616
5617struct rlimit {
5618 rlim_t rlim_cur;
5619 rlim_t rlim_max;
5620};
5621
5622
5623
5624
5625int getpriority(int, id_t);
5626int getrlimit(int, struct rlimit *);
5627int getrusage(int, struct rusage *);
5628int setpriority(int, id_t, int);
5629int setrlimit(int, const struct rlimit *);
5630
5631# 112 "/usr/include/sys/wait.h" 2 3 4
5632# 122 "/usr/include/sys/wait.h" 3 4
5633#define WNOHANG 0x01
5634#define WUNTRACED 0x02
5635# 132 "/usr/include/sys/wait.h" 3 4
5636#define _W_INT(w) (*(int *)&(w))
5637#define WCOREFLAG 0200
5638
5639
5640
5641#define _WSTATUS(x) (_W_INT(x) & 0177)
5642#define _WSTOPPED 0177
5643
5644
5645
5646
5647
5648#define WEXITSTATUS(x) (_W_INT(x) >> 8)
5649#define WIFCONTINUED(x) (x == 0x13)
5650#define WIFEXITED(x) (_WSTATUS(x) == 0)
5651#define WIFSIGNALED(x) (_WSTATUS(x) != _WSTOPPED && _WSTATUS(x) != 0)
5652#define WIFSTOPPED(x) (_WSTATUS(x) == _WSTOPPED)
5653#define WSTOPSIG(x) (_W_INT(x) >> 8)
5654#define WTERMSIG(x) (_WSTATUS(x))
5655
5656#define WCOREDUMP(x) (_W_INT(x) & WCOREFLAG)
5657
5658#define W_EXITCODE(ret,sig) ((ret) << 8 | (sig))
5659#define W_STOPCODE(sig) ((sig) << 8 | _WSTOPPED)
5660# 164 "/usr/include/sys/wait.h" 3 4
5661#define WEXITED 0x04
5662
5663
5664
5665
5666#define WCONTINUED 0x10
5667#define WNOWAIT 0x20
5668# 179 "/usr/include/sys/wait.h" 3 4
5669#define WAIT_ANY (-1)
5670#define WAIT_MYPGRP 0
5671# 190 "/usr/include/sys/wait.h" 3 4
5672union wait {
5673 int w_status;
5674
5675
5676
5677 struct {
5678
5679
5680
5681
5682
5683
5684
5685  unsigned int w_Filler:16,
5686    w_Retcode:8,
5687    w_Coredump:1,
5688    w_Termsig:7;
5689
5690 } w_T;
5691
5692
5693
5694
5695
5696 struct {
5697
5698
5699
5700
5701
5702
5703  unsigned int w_Filler:16,
5704    w_Stopsig:8,
5705    w_Stopval:8;
5706
5707 } w_S;
5708};
5709#define w_termsig w_T.w_Termsig
5710#define w_coredump w_T.w_Coredump
5711#define w_retcode w_T.w_Retcode
5712#define w_stopval w_S.w_Stopval
5713#define w_stopsig w_S.w_Stopsig
5714
5715
5716
5717
5718
5719#define WSTOPPED _WSTOPPED
5720
5721
5722
5723pid_t wait(int *);
5724pid_t waitpid(pid_t, int *, int);
5725
5726int waitid(idtype_t, id_t, siginfo_t *, int);
5727
5728
5729pid_t wait3(int *, int, struct rusage *);
5730pid_t wait4(pid_t, int *, int, struct rusage *);
5731
5732
5733# 29 "./sys/wait.h" 2 3
5734
5735
5736
5737#define _GL_SYS_WAIT_H
5738
5739
5740
5741
5742
5743
5744
5745# 1 "./sys/types.h" 1 3
5746# 20 "./sys/types.h" 3
5747       
5748# 21 "./sys/types.h" 3
5749# 41 "./sys/wait.h" 2 3
5750# 611 "./sys/wait.h" 3
5751extern int _gl_cxxalias_dummy;
5752extern int _gl_cxxalias_dummy;
5753# 65 "/usr/include/stdlib.h" 2 3 4
5754
5755# 1 "./alloca.h" 1 3 4
5756# 23 "./alloca.h" 3 4
5757#define _GL_ALLOCA_H
5758# 47 "./alloca.h" 3 4
5759#define alloca __builtin_alloca
5760# 67 "/usr/include/stdlib.h" 2 3 4
5761# 79 "/usr/include/stdlib.h" 3 4
5762#define _CT_RUNE_T
5763typedef __darwin_ct_rune_t ct_rune_t;
5764
5765
5766
5767#define _RUNE_T
5768typedef __darwin_rune_t rune_t;
5769# 96 "/usr/include/stdlib.h" 3 4
5770typedef struct {
5771 int quot;
5772 int rem;
5773} div_t;
5774
5775typedef struct {
5776 long quot;
5777 long rem;
5778} ldiv_t;
5779
5780
5781typedef struct {
5782 long long quot;
5783 long long rem;
5784} lldiv_t;
5785
5786
5787
5788
5789
5790
5791#define EXIT_FAILURE 1
5792#define EXIT_SUCCESS 0
5793
5794#define RAND_MAX 0x7fffffff
5795# 133 "/usr/include/stdlib.h" 3 4
5796extern int __mb_cur_max;
5797#define MB_CUR_MAX __mb_cur_max
5798# 143 "/usr/include/stdlib.h" 3 4
5799
5800void abort(void) __attribute__((__noreturn__));
5801int abs(int) __attribute__((__const__));
5802int atexit(void (*)(void));
5803double atof(const char *);
5804int atoi(const char *);
5805long atol(const char *);
5806
5807long long
5808  atoll(const char *);
5809
5810void *bsearch(const void *, const void *, size_t,
5811     size_t, int (*)(const void *, const void *));
5812void *calloc(size_t, size_t);
5813div_t div(int, int) __attribute__((__const__));
5814void exit(int) __attribute__((__noreturn__));
5815void free(void *);
5816char *getenv(const char *);
5817long labs(long) __attribute__((__const__));
5818ldiv_t ldiv(long, long) __attribute__((__const__));
5819
5820long long
5821  llabs(long long);
5822lldiv_t lldiv(long long, long long);
5823
5824void *malloc(size_t);
5825int mblen(const char *, size_t);
5826size_t mbstowcs(wchar_t * , const char * , size_t);
5827int mbtowc(wchar_t * , const char * , size_t);
5828void qsort(void *, size_t, size_t,
5829     int (*)(const void *, const void *));
5830int rand(void);
5831void *realloc(void *, size_t);
5832void srand(unsigned);
5833double strtod(const char *, char **);
5834float strtof(const char *, char **);
5835long strtol(const char *, char **, int);
5836long double
5837  strtold(const char *, char **) __asm("_" "strtold" "$LDBL128");
5838
5839long long
5840  strtoll(const char *, char **, int);
5841
5842unsigned long
5843  strtoul(const char *, char **, int);
5844
5845unsigned long long
5846  strtoull(const char *, char **, int);
5847
5848int system(const char *);
5849size_t wcstombs(char * , const wchar_t * , size_t);
5850int wctomb(char *, wchar_t);
5851
5852
5853void _Exit(int) __attribute__((__noreturn__));
5854long a64l(const char *);
5855double drand48(void);
5856char *ecvt(double, int, int *, int *);
5857double erand48(unsigned short[3]);
5858char *fcvt(double, int, int *, int *);
5859char *gcvt(double, int, char *);
5860int getsubopt(char **, char * const *, char **);
5861int grantpt(int);
5862
5863
5864
5865char *initstate(unsigned long, char *, long);
5866
5867long jrand48(unsigned short[3]);
5868char *l64a(long);
5869void lcong48(unsigned short[7]);
5870long lrand48(void);
5871char *mktemp(char *);
5872int mkstemp(char *);
5873long mrand48(void);
5874long nrand48(unsigned short[3]);
5875int posix_openpt(int);
5876char *ptsname(int);
5877int putenv(char *) ;
5878long random(void);
5879char *realpath(const char *, char *resolved_path);
5880unsigned short
5881 *seed48(unsigned short[3]);
5882int setenv(const char *, const char *, int) ;
5883
5884
5885
5886int setkey(const char *);
5887
5888char *setstate(const char *);
5889void srand48(long);
5890
5891
5892
5893void srandom(unsigned long);
5894
5895int unlockpt(int);
5896
5897
5898
5899void unsetenv(const char *);
5900# 260 "/usr/include/stdlib.h" 3 4
5901u_int32_t
5902  arc4random(void);
5903void arc4random_addrandom(unsigned char *dat, int datlen);
5904void arc4random_stir(void);
5905
5906
5907char *cgetcap(char *, const char *, int);
5908int cgetclose(void);
5909int cgetent(char **, char **, const char *);
5910int cgetfirst(char **, char **);
5911int cgetmatch(const char *, const char *);
5912int cgetnext(char **, char **);
5913int cgetnum(char *, const char *, long *);
5914int cgetset(const char *);
5915int cgetstr(char *, const char *, char **);
5916int cgetustr(char *, const char *, char **);
5917
5918int daemon(int, int);
5919char *devname(dev_t, mode_t);
5920char *devname_r(dev_t, mode_t, char *buf, int len);
5921char *getbsize(int *, long *);
5922int getloadavg(double [], int);
5923const char
5924 *getprogname(void);
5925
5926int heapsort(void *, size_t, size_t,
5927     int (*)(const void *, const void *));
5928int mergesort(void *, size_t, size_t,
5929     int (*)(const void *, const void *));
5930void qsort_r(void *, size_t, size_t, void *,
5931     int (*)(void *, const void *, const void *));
5932int radixsort(const unsigned char **, int, const unsigned char *,
5933     unsigned);
5934void setprogname(const char *);
5935int sradixsort(const unsigned char **, int, const unsigned char *,
5936     unsigned);
5937void sranddev(void);
5938void srandomdev(void);
5939int rand_r(unsigned *);
5940void *reallocf(void *, size_t);
5941
5942long long
5943  strtoq(const char *, char **, int);
5944unsigned long long
5945  strtouq(const char *, char **, int);
5946
5947extern char *suboptarg;
5948void *valloc(size_t);
5949
5950
5951# 37 "./stdlib.h" 2 3
5952
5953
5954#define _GL_STDLIB_H
5955# 48 "./stdlib.h" 3
5956# 1 "./stddef.h" 1 3
5957# 27 "./stddef.h" 3
5958       
5959# 28 "./stddef.h" 3
5960# 49 "./stdlib.h" 2 3
5961# 104 "./stdlib.h" 3
5962# 1 "./unistd.h" 1 3
5963# 21 "./unistd.h" 3
5964       
5965# 22 "./unistd.h" 3
5966# 39 "./unistd.h" 3
5967#define _GL_INCLUDING_UNISTD_H
5968# 1 "/usr/include/unistd.h" 1 3 4
5969# 69 "/usr/include/unistd.h" 3 4
5970#define _UNISTD_H_
5971
5972
5973
5974
5975# 1 "/usr/include/sys/unistd.h" 1 3 4
5976# 59 "/usr/include/sys/unistd.h" 3 4
5977#define _SYS_UNISTD_H_
5978# 71 "/usr/include/sys/unistd.h" 3 4
5979#define _POSIX_VERSION 200112L
5980#define _POSIX2_VERSION 200112L
5981
5982
5983
5984
5985#define _POSIX_VDISABLE ((unsigned char)'\377')
5986
5987
5988#define _POSIX_THREAD_KEYS_MAX 128
5989
5990
5991#define F_OK 0
5992#define X_OK (1<<0)
5993#define W_OK (1<<1)
5994#define R_OK (1<<2)
5995
5996
5997
5998
5999
6000
6001
6002#define _READ_OK (1<<9)
6003#define _WRITE_OK (1<<10)
6004#define _EXECUTE_OK (1<<11)
6005#define _DELETE_OK (1<<12)
6006#define _APPEND_OK (1<<13)
6007#define _RMFILE_OK (1<<14)
6008#define _RATTR_OK (1<<15)
6009#define _WATTR_OK (1<<16)
6010#define _REXT_OK (1<<17)
6011#define _WEXT_OK (1<<18)
6012#define _RPERM_OK (1<<19)
6013#define _WPERM_OK (1<<20)
6014#define _CHOWN_OK (1<<21)
6015
6016#define _ACCESS_EXTENDED_MASK (_READ_OK | _WRITE_OK | _EXECUTE_OK | _DELETE_OK | _APPEND_OK | _RMFILE_OK | _REXT_OK | _WEXT_OK | _RATTR_OK | _WATTR_OK | _RPERM_OK | _WPERM_OK | _CHOWN_OK)
6017# 124 "/usr/include/sys/unistd.h" 3 4
6018#define L_SET SEEK_SET
6019#define L_INCR SEEK_CUR
6020#define L_XTND SEEK_END
6021
6022
6023
6024struct accessx_descriptor {
6025 unsigned ad_name_offset;
6026 int ad_flags;
6027 int ad_pad[2];
6028};
6029#define ACCESSX_MAX_DESCRIPTORS 100
6030#define ACCESSX_MAX_TABLESIZE (16 * 1024)
6031
6032
6033
6034#define _PC_LINK_MAX 1
6035#define _PC_MAX_CANON 2
6036#define _PC_MAX_INPUT 3
6037#define _PC_NAME_MAX 4
6038#define _PC_PATH_MAX 5
6039#define _PC_PIPE_BUF 6
6040#define _PC_CHOWN_RESTRICTED 7
6041#define _PC_NO_TRUNC 8
6042#define _PC_VDISABLE 9
6043
6044
6045#define _PC_NAME_CHARS_MAX 10
6046#define _PC_CASE_SENSITIVE 11
6047#define _PC_CASE_PRESERVING 12
6048#define _PC_EXTENDED_SECURITY_NP 13
6049#define _PC_AUTH_OPAQUE_NP 14
6050
6051
6052
6053#define _CS_PATH 1
6054# 75 "/usr/include/unistd.h" 2 3 4
6055# 120 "/usr/include/unistd.h" 3 4
6056#define _UUID_T
6057typedef __darwin_uuid_t uuid_t;
6058
6059
6060
6061#define STDIN_FILENO 0
6062#define STDOUT_FILENO 1
6063#define STDERR_FILENO 2
6064
6065
6066
6067
6068
6069
6070
6071#define _XOPEN_VERSION 600
6072#define _XOPEN_XCU_VERSION 4
6073
6074
6075
6076#define _POSIX_ADVISORY_INFO (-1)
6077#define _POSIX_ASYNCHRONOUS_IO (-1)
6078#define _POSIX_BARRIERS (-1)
6079#define _POSIX_CHOWN_RESTRICTED 200112L
6080#define _POSIX_CLOCK_SELECTION (-1)
6081#define _POSIX_CPUTIME (-1)
6082#define _POSIX_FSYNC (-1)
6083#define _POSIX_IPV6 200112L
6084#define _POSIX_JOB_CONTROL 200112L
6085#define _POSIX_MAPPED_FILES 200112L
6086#define _POSIX_MEMLOCK (-1)
6087#define _POSIX_MEMLOCK_RANGE (-1)
6088#define _POSIX_MEMORY_PROTECTION 200112L
6089#define _POSIX_MESSAGE_PASSING (-1)
6090#define _POSIX_MONOTONIC_CLOCK (-1)
6091#define _POSIX_NO_TRUNC 200112L
6092#define _POSIX_PRIORITIZED_IO (-1)
6093#define _POSIX_PRIORITY_SCHEDULING (-1)
6094#define _POSIX_RAW_SOCKETS (-1)
6095#define _POSIX_READER_WRITER_LOCKS 200112L
6096#define _POSIX_REALTIME_SIGNALS (-1)
6097#define _POSIX_REGEXP 200112L
6098#define _POSIX_SAVED_IDS 200112L
6099#define _POSIX_SEMAPHORES (-1)
6100#define _POSIX_SHARED_MEMORY_OBJECTS (-1)
6101#define _POSIX_SHELL 200112L
6102#define _POSIX_SPAWN (-1)
6103#define _POSIX_SPIN_LOCKS (-1)
6104#define _POSIX_SPORADIC_SERVER (-1)
6105#define _POSIX_SYNCHRONIZED_IO (-1)
6106#define _POSIX_THREAD_ATTR_STACKADDR 200112L
6107#define _POSIX_THREAD_ATTR_STACKSIZE 200112L
6108#define _POSIX_THREAD_CPUTIME (-1)
6109#define _POSIX_THREAD_PRIO_INHERIT (-1)
6110#define _POSIX_THREAD_PRIO_PROTECT (-1)
6111#define _POSIX_THREAD_PRIORITY_SCHEDULING (-1)
6112#define _POSIX_THREAD_PROCESS_SHARED (-1)
6113#define _POSIX_THREAD_SAFE_FUNCTIONS 200112L
6114#define _POSIX_THREAD_SPORADIC_SERVER (-1)
6115#define _POSIX_THREADS 200112L
6116#define _POSIX_TIMEOUTS (-1)
6117#define _POSIX_TIMERS (-1)
6118#define _POSIX_TRACE (-1)
6119#define _POSIX_TRACE_EVENT_FILTER (-1)
6120#define _POSIX_TRACE_INHERIT (-1)
6121#define _POSIX_TRACE_LOG (-1)
6122#define _POSIX_TYPED_MEMORY_OBJECTS (-1)
6123
6124
6125
6126
6127#define _POSIX2_C_BIND 200112L
6128#define _POSIX2_C_DEV 200112L
6129#define _POSIX2_CHAR_TERM 200112L
6130#define _POSIX2_FORT_DEV (-1)
6131#define _POSIX2_FORT_RUN 200112L
6132#define _POSIX2_LOCALEDEF 200112L
6133#define _POSIX2_PBS (-1)
6134#define _POSIX2_PBS_ACCOUNTING (-1)
6135#define _POSIX2_PBS_CHECKPOINT (-1)
6136#define _POSIX2_PBS_LOCATE (-1)
6137#define _POSIX2_PBS_MESSAGE (-1)
6138#define _POSIX2_PBS_TRACK (-1)
6139#define _POSIX2_SW_DEV 200112L
6140#define _POSIX2_UPE 200112L
6141
6142#define _V6_ILP32_OFF32 (-1)
6143#define _V6_ILP32_OFFBIG (1)
6144#define _V6_LP64_OFF64 (1)
6145#define _V6_LPBIG_OFFBIG (1)
6146
6147#define _XBS5_ILP32_OFF32 _V6_ILP32_OFF32
6148#define _XBS5_ILP32_OFFBIG _V6_ILP32_OFFBIG
6149#define _XBS5_LP64_OFF64 _V6_LP64_OFF64
6150#define _XBS5_LPBIG_OFFBIG _V6_LPBIG_OFFBIG
6151
6152#define _XOPEN_CRYPT (1)
6153#define _XOPEN_ENH_I18N (1)
6154#define _XOPEN_LEGACY (-1)
6155#define _XOPEN_REALTIME (-1)
6156#define _XOPEN_REALTIME_THREADS (-1)
6157#define _XOPEN_SHM (1)
6158#define _XOPEN_STREAMS (-1)
6159#define _XOPEN_UNIX (1)
6160
6161
6162#define F_ULOCK 0
6163#define F_LOCK 1
6164#define F_TLOCK 2
6165#define F_TEST 3
6166
6167
6168#define _SC_ARG_MAX 1
6169#define _SC_CHILD_MAX 2
6170#define _SC_CLK_TCK 3
6171#define _SC_NGROUPS_MAX 4
6172#define _SC_OPEN_MAX 5
6173#define _SC_JOB_CONTROL 6
6174#define _SC_SAVED_IDS 7
6175#define _SC_VERSION 8
6176#define _SC_BC_BASE_MAX 9
6177#define _SC_BC_DIM_MAX 10
6178#define _SC_BC_SCALE_MAX 11
6179#define _SC_BC_STRING_MAX 12
6180#define _SC_COLL_WEIGHTS_MAX 13
6181#define _SC_EXPR_NEST_MAX 14
6182#define _SC_LINE_MAX 15
6183#define _SC_RE_DUP_MAX 16
6184#define _SC_2_VERSION 17
6185#define _SC_2_C_BIND 18
6186#define _SC_2_C_DEV 19
6187#define _SC_2_CHAR_TERM 20
6188#define _SC_2_FORT_DEV 21
6189#define _SC_2_FORT_RUN 22
6190#define _SC_2_LOCALEDEF 23
6191#define _SC_2_SW_DEV 24
6192#define _SC_2_UPE 25
6193#define _SC_STREAM_MAX 26
6194#define _SC_TZNAME_MAX 27
6195#define _SC_ASYNCHRONOUS_IO 28
6196#define _SC_PAGESIZE 29
6197#define _SC_MEMLOCK 30
6198#define _SC_MEMLOCK_RANGE 31
6199#define _SC_MEMORY_PROTECTION 32
6200#define _SC_MESSAGE_PASSING 33
6201#define _SC_PRIORITIZED_IO 34
6202#define _SC_PRIORITY_SCHEDULING 35
6203#define _SC_REALTIME_SIGNALS 36
6204#define _SC_SEMAPHORES 37
6205#define _SC_FSYNC 38
6206#define _SC_SHARED_MEMORY_OBJECTS 39
6207#define _SC_SYNCHRONIZED_IO 40
6208#define _SC_TIMERS 41
6209#define _SC_AIO_LISTIO_MAX 42
6210#define _SC_AIO_MAX 43
6211#define _SC_AIO_PRIO_DELTA_MAX 44
6212#define _SC_DELAYTIMER_MAX 45
6213#define _SC_MQ_OPEN_MAX 46
6214#define _SC_MAPPED_FILES 47
6215#define _SC_RTSIG_MAX 48
6216#define _SC_SEM_NSEMS_MAX 49
6217#define _SC_SEM_VALUE_MAX 50
6218#define _SC_SIGQUEUE_MAX 51
6219#define _SC_TIMER_MAX 52
6220#define _SC_2_PBS 59
6221#define _SC_2_PBS_ACCOUNTING 60
6222#define _SC_2_PBS_CHECKPOINT 61
6223#define _SC_2_PBS_LOCATE 62
6224#define _SC_2_PBS_MESSAGE 63
6225#define _SC_2_PBS_TRACK 64
6226#define _SC_ADVISORY_INFO 65
6227#define _SC_BARRIERS 66
6228#define _SC_CLOCK_SELECTION 67
6229#define _SC_CPUTIME 68
6230#define _SC_FILE_LOCKING 69
6231#define _SC_GETGR_R_SIZE_MAX 70
6232#define _SC_GETPW_R_SIZE_MAX 71
6233#define _SC_HOST_NAME_MAX 72
6234#define _SC_LOGIN_NAME_MAX 73
6235#define _SC_MONOTONIC_CLOCK 74
6236#define _SC_MQ_PRIO_MAX 75
6237#define _SC_READER_WRITER_LOCKS 76
6238#define _SC_REGEXP 77
6239#define _SC_SHELL 78
6240#define _SC_SPAWN 79
6241#define _SC_SPIN_LOCKS 80
6242#define _SC_SPORADIC_SERVER 81
6243#define _SC_THREAD_ATTR_STACKADDR 82
6244#define _SC_THREAD_ATTR_STACKSIZE 83
6245#define _SC_THREAD_CPUTIME 84
6246#define _SC_THREAD_DESTRUCTOR_ITERATIONS 85
6247#define _SC_THREAD_KEYS_MAX 86
6248#define _SC_THREAD_PRIO_INHERIT 87
6249#define _SC_THREAD_PRIO_PROTECT 88
6250#define _SC_THREAD_PRIORITY_SCHEDULING 89
6251#define _SC_THREAD_PROCESS_SHARED 90
6252#define _SC_THREAD_SAFE_FUNCTIONS 91
6253#define _SC_THREAD_SPORADIC_SERVER 92
6254#define _SC_THREAD_STACK_MIN 93
6255#define _SC_THREAD_THREADS_MAX 94
6256#define _SC_TIMEOUTS 95
6257#define _SC_THREADS 96
6258#define _SC_TRACE 97
6259#define _SC_TRACE_EVENT_FILTER 98
6260#define _SC_TRACE_INHERIT 99
6261#define _SC_TRACE_LOG 100
6262#define _SC_TTY_NAME_MAX 101
6263#define _SC_TYPED_MEMORY_OBJECTS 102
6264#define _SC_V6_ILP32_OFF32 103
6265#define _SC_V6_ILP32_OFFBIG 104
6266#define _SC_V6_LP64_OFF64 105
6267#define _SC_V6_LPBIG_OFFBIG 106
6268#define _SC_IPV6 118
6269#define _SC_RAW_SOCKETS 119
6270#define _SC_SYMLOOP_MAX 120
6271#define _SC_ATEXIT_MAX 107
6272#define _SC_IOV_MAX 56
6273#define _SC_PAGE_SIZE _SC_PAGESIZE
6274#define _SC_XOPEN_CRYPT 108
6275#define _SC_XOPEN_ENH_I18N 109
6276#define _SC_XOPEN_LEGACY 110
6277#define _SC_XOPEN_REALTIME 111
6278#define _SC_XOPEN_REALTIME_THREADS 112
6279#define _SC_XOPEN_SHM 113
6280#define _SC_XOPEN_STREAMS 114
6281#define _SC_XOPEN_UNIX 115
6282#define _SC_XOPEN_VERSION 116
6283#define _SC_XOPEN_XCU_VERSION 121
6284#define _SC_XBS5_ILP32_OFF32 122
6285#define _SC_XBS5_ILP32_OFFBIG 123
6286#define _SC_XBS5_LP64_OFF64 124
6287#define _SC_XBS5_LPBIG_OFFBIG 125
6288
6289
6290
6291
6292#define _CS_POSIX_V6_ILP32_OFF32_CFLAGS 2
6293#define _CS_POSIX_V6_ILP32_OFF32_LDFLAGS 3
6294#define _CS_POSIX_V6_ILP32_OFF32_LIBS 4
6295#define _CS_POSIX_V6_ILP32_OFFBIG_CFLAGS 5
6296#define _CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS 6
6297#define _CS_POSIX_V6_ILP32_OFFBIG_LIBS 7
6298#define _CS_POSIX_V6_LP64_OFF64_CFLAGS 8
6299#define _CS_POSIX_V6_LP64_OFF64_LDFLAGS 9
6300#define _CS_POSIX_V6_LP64_OFF64_LIBS 10
6301#define _CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS 11
6302#define _CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS 12
6303#define _CS_POSIX_V6_LPBIG_OFFBIG_LIBS 13
6304#define _CS_POSIX_V6_WIDTH_RESTRICTED_ENVS 14
6305
6306
6307#define _CS_XBS5_ILP32_OFF32_CFLAGS 20
6308#define _CS_XBS5_ILP32_OFF32_LDFLAGS 21
6309#define _CS_XBS5_ILP32_OFF32_LIBS 22
6310#define _CS_XBS5_ILP32_OFF32_LINTFLAGS 23
6311#define _CS_XBS5_ILP32_OFFBIG_CFLAGS 24
6312#define _CS_XBS5_ILP32_OFFBIG_LDFLAGS 25
6313#define _CS_XBS5_ILP32_OFFBIG_LIBS 26
6314#define _CS_XBS5_ILP32_OFFBIG_LINTFLAGS 27
6315#define _CS_XBS5_LP64_OFF64_CFLAGS 28
6316#define _CS_XBS5_LP64_OFF64_LDFLAGS 29
6317#define _CS_XBS5_LP64_OFF64_LIBS 30
6318#define _CS_XBS5_LP64_OFF64_LINTFLAGS 31
6319#define _CS_XBS5_LPBIG_OFFBIG_CFLAGS 32
6320#define _CS_XBS5_LPBIG_OFFBIG_LDFLAGS 33
6321#define _CS_XBS5_LPBIG_OFFBIG_LIBS 34
6322#define _CS_XBS5_LPBIG_OFFBIG_LINTFLAGS 35
6323
6324
6325
6326void _exit(int) __attribute__((__noreturn__));
6327int access(const char *, int);
6328unsigned int
6329  alarm(unsigned int);
6330int chdir(const char *);
6331int chown(const char *, uid_t, gid_t);
6332int close(int);
6333size_t confstr(int, char *, size_t);
6334char *crypt(const char *, const char *);
6335char *ctermid(char *);
6336int dup(int);
6337int dup2(int, int);
6338int execl(const char *, const char *, ...);
6339int execle(const char *, const char *, ...);
6340int execlp(const char *, const char *, ...);
6341int execv(const char *, char * const *);
6342int execve(const char *, char * const *, char * const *);
6343int execvp(const char *, char * const *);
6344int fchown(int, uid_t, gid_t);
6345int fchdir(int);
6346pid_t fork(void);
6347long fpathconf(int, int);
6348int ftruncate(int, off_t);
6349char *getcwd(char *, size_t);
6350gid_t getegid(void);
6351uid_t geteuid(void);
6352gid_t getgid(void);
6353int getgroups(int, gid_t []);
6354long gethostid(void);
6355int gethostname(char *, size_t);
6356char *getlogin(void);
6357int getlogin_r(char *, size_t);
6358int getopt(int, char * const [], const char *);
6359pid_t getpgid(pid_t);
6360pid_t getpgrp(void);
6361pid_t getpid(void);
6362pid_t getppid(void);
6363pid_t getsid(pid_t);
6364uid_t getuid(void);
6365char *getwd(char *);
6366int isatty(int);
6367int lchown(const char *, uid_t, gid_t) ;
6368int link(const char *, const char *);
6369int lockf(int, int, off_t);
6370off_t lseek(int, off_t, int);
6371int nice(int);
6372long pathconf(const char *, int);
6373int pause(void);
6374int pipe(int [2]);
6375ssize_t pread(int, void *, size_t, off_t);
6376ssize_t pwrite(int, const void *, size_t, off_t);
6377ssize_t read(int, void *, size_t);
6378ssize_t readlink(const char * , char * , size_t);
6379int rmdir(const char *);
6380int setegid(gid_t);
6381int seteuid(uid_t);
6382int setgid(gid_t);
6383int setpgid(pid_t, pid_t);
6384
6385
6386
6387int setpgrp(pid_t pid, pid_t pgrp);
6388
6389int setregid(gid_t, gid_t);
6390int setreuid(uid_t, uid_t);
6391pid_t setsid(void);
6392int setuid(uid_t);
6393unsigned int
6394  sleep(unsigned int);
6395void swab(const void * , void * , ssize_t);
6396int symlink(const char *, const char *);
6397void sync(void);
6398long sysconf(int);
6399pid_t tcgetpgrp(int);
6400int tcsetpgrp(int, pid_t);
6401int truncate(const char *, off_t);
6402char *ttyname(int);
6403
6404
6405
6406char *ttyname_r(int, char *, size_t);
6407
6408useconds_t
6409  ualarm(useconds_t, useconds_t);
6410int unlink(const char *);
6411int usleep(useconds_t);
6412pid_t vfork(void);
6413ssize_t write(int, const void *, size_t);
6414
6415extern char *optarg;
6416extern int optind, opterr, optopt;
6417
6418
6419# 1 "./sys/select.h" 1 3 4
6420# 19 "./sys/select.h" 3 4
6421       
6422# 20 "./sys/select.h" 3
6423# 90 "./sys/select.h" 3
6424# 1 "./sys/types.h" 1 3
6425# 20 "./sys/types.h" 3
6426       
6427# 21 "./sys/types.h" 3
6428# 91 "./sys/select.h" 2 3
6429# 102 "./sys/select.h" 3
6430# 1 "./sys/time.h" 1 3
6431# 24 "./sys/time.h" 3
6432       
6433# 25 "./sys/time.h" 3
6434# 46 "./sys/time.h" 3
6435# 1 "/usr/include/sys/time.h" 1 3 4
6436# 59 "/usr/include/sys/time.h" 3 4
6437#define _SYS_TIME_H_
6438# 91 "/usr/include/sys/time.h" 3 4
6439struct itimerval {
6440 struct timeval it_interval;
6441 struct timeval it_value;
6442};
6443
6444
6445
6446
6447
6448#define ITIMER_REAL 0
6449#define ITIMER_VIRTUAL 1
6450#define ITIMER_PROF 2
6451# 158 "/usr/include/sys/time.h" 3 4
6452#define _TIMESPEC
6453struct timespec {
6454 time_t tv_sec;
6455 long tv_nsec;
6456};
6457
6458
6459
6460
6461
6462
6463#define TIMEVAL_TO_TIMESPEC(tv,ts) { (ts)->tv_sec = (tv)->tv_sec; (ts)->tv_nsec = (tv)->tv_usec * 1000; }
6464
6465
6466
6467#define TIMESPEC_TO_TIMEVAL(tv,ts) { (tv)->tv_sec = (ts)->tv_sec; (tv)->tv_usec = (ts)->tv_nsec / 1000; }
6468
6469
6470
6471
6472struct timezone {
6473 int tz_minuteswest;
6474 int tz_dsttime;
6475};
6476#define DST_NONE 0
6477#define DST_USA 1
6478#define DST_AUST 2
6479#define DST_WET 3
6480#define DST_MET 4
6481#define DST_EET 5
6482#define DST_CAN 6
6483
6484
6485#define timerclear(tvp) (tvp)->tv_sec = (tvp)->tv_usec = 0
6486#define timerisset(tvp) ((tvp)->tv_sec || (tvp)->tv_usec)
6487#define timercmp(tvp,uvp,cmp) (((tvp)->tv_sec == (uvp)->tv_sec) ? ((tvp)->tv_usec cmp (uvp)->tv_usec) : ((tvp)->tv_sec cmp (uvp)->tv_sec))
6488
6489
6490
6491#define timeradd(tvp,uvp,vvp) do { (vvp)->tv_sec = (tvp)->tv_sec + (uvp)->tv_sec; (vvp)->tv_usec = (tvp)->tv_usec + (uvp)->tv_usec; if ((vvp)->tv_usec >= 1000000) { (vvp)->tv_sec++; (vvp)->tv_usec -= 1000000; } } while (0)
6492# 206 "/usr/include/sys/time.h" 3 4
6493#define timersub(tvp,uvp,vvp) do { (vvp)->tv_sec = (tvp)->tv_sec - (uvp)->tv_sec; (vvp)->tv_usec = (tvp)->tv_usec - (uvp)->tv_usec; if ((vvp)->tv_usec < 0) { (vvp)->tv_sec--; (vvp)->tv_usec += 1000000; } } while (0)
6494# 216 "/usr/include/sys/time.h" 3 4
6495#define timevalcmp(l,r,cmp) timercmp(l, r, cmp)
6496
6497
6498
6499
6500struct clockinfo {
6501 int hz;
6502 int tick;
6503 int tickadj;
6504 int stathz;
6505 int profhz;
6506};
6507
6508
6509
6510
6511
6512
6513
6514# 1 "./time.h" 1 3 4
6515# 20 "./time.h" 3 4
6516       
6517# 21 "./time.h" 3
6518# 46 "./time.h" 3
6519#define _GL_TIME_H
6520
6521
6522
6523
6524
6525
6526
6527# 1 "/usr/include/time.h" 1 3 4
6528# 64 "/usr/include/time.h" 3 4
6529#define _TIME_H_
6530# 95 "/usr/include/time.h" 3 4
6531struct tm {
6532 int tm_sec;
6533 int tm_min;
6534 int tm_hour;
6535 int tm_mday;
6536 int tm_mon;
6537 int tm_year;
6538 int tm_wday;
6539 int tm_yday;
6540 int tm_isdst;
6541 long tm_gmtoff;
6542 char *tm_zone;
6543};
6544
6545# 1 "/usr/include/machine/_limits.h" 1 3 4
6546# 23 "/usr/include/machine/_limits.h" 3 4
6547#define _BSD_MACHINE__LIMITS_H_
6548# 110 "/usr/include/time.h" 2 3 4
6549
6550#define CLOCKS_PER_SEC (__DARWIN_CLK_TCK)
6551
6552
6553
6554
6555extern char *tzname[];
6556
6557
6558extern int getdate_err;
6559
6560
6561
6562extern int daylight;
6563
6564
6565char *asctime(const struct tm *);
6566clock_t clock(void);
6567char *ctime(const time_t *);
6568double difftime(time_t, time_t);
6569struct tm *getdate(const char *);
6570struct tm *gmtime(const time_t *);
6571struct tm *localtime(const time_t *);
6572time_t mktime(struct tm *);
6573size_t strftime(char * , size_t, const char * , const struct tm * ) ;
6574char *strptime(const char * , const char * , struct tm * );
6575time_t time(time_t *);
6576
6577
6578void tzset(void);
6579
6580
6581
6582char *asctime_r(const struct tm *, char *);
6583char *ctime_r(const time_t *, char *);
6584struct tm *gmtime_r(const time_t *, struct tm *);
6585struct tm *localtime_r(const time_t *, struct tm *);
6586time_t posix2time(time_t);
6587
6588char *timezone(int, int);
6589
6590void tzsetwall(void);
6591time_t time2posix(time_t);
6592time_t timelocal(struct tm * const);
6593time_t timegm(struct tm * const);
6594
6595
6596
6597int nanosleep(const struct timespec *, struct timespec *) ;
6598
6599
6600# 55 "./time.h" 2 3
6601# 63 "./time.h" 3
6602# 1 "./stddef.h" 1 3
6603# 27 "./stddef.h" 3
6604       
6605# 28 "./stddef.h" 3
6606# 64 "./time.h" 2 3
6607# 624 "./time.h" 3
6608struct __time_t_must_be_integral {
6609  unsigned int __floating_time_t_unsupported : (time_t) 1;
6610};
6611#define GNULIB_defined_struct_time_t_must_be_integral 1
6612
6613
6614
6615
6616
6617#define TIME_UTC 1
6618#define GNULIB_defined_TIME_UTC 1
6619# 707 "./time.h" 3
6620extern int _gl_cxxalias_dummy;
6621
6622
6623extern int _gl_cxxalias_dummy;
6624# 743 "./time.h" 3
6625extern int _gl_cxxalias_dummy;
6626
6627extern int _gl_cxxalias_dummy;
6628# 757 "./time.h" 3
6629extern int _gl_cxxalias_dummy;
6630# 784 "./time.h" 3
6631extern int _gl_cxxalias_dummy;
6632
6633
6634
6635extern int _gl_cxxalias_dummy;
6636# 806 "./time.h" 3
6637extern int _gl_cxxalias_dummy;
6638
6639
6640
6641extern int _gl_cxxalias_dummy;
6642# 859 "./time.h" 3
6643extern int _gl_cxxalias_dummy;
6644
6645
6646extern int _gl_cxxalias_dummy;
6647# 980 "./time.h" 3
6648extern int _gl_cxxalias_dummy;
6649# 236 "/usr/include/sys/time.h" 2 3 4
6650
6651int adjtime(const struct timeval *, struct timeval *);
6652int futimes(int, const struct timeval *);
6653int settimeofday(const struct timeval *, const struct timezone *);
6654
6655
6656int getitimer(int, struct itimerval *);
6657int gettimeofday(struct timeval * , struct timezone * );
6658int select(int, fd_set * , fd_set * ,
6659  fd_set * , struct timeval * );
6660int setitimer(int, const struct itimerval * ,
6661  struct itimerval * );
6662int utimes(const char *, const struct timeval *);
6663
6664
6665# 47 "./sys/time.h" 2 3
6666
6667
6668
6669#define _GL_SYS_TIME_H
6670# 633 "./sys/time.h" 3
6671extern int _gl_cxxalias_dummy;
6672
6673
6674extern int _gl_cxxalias_dummy;
6675# 103 "./sys/select.h" 2 3
6676# 114 "./sys/select.h" 3
6677# 1 "/usr/include/sys/select.h" 1 3 4
6678# 58 "/usr/include/sys/select.h" 3 4
6679#define _SYS_SELECT_H_
6680# 144 "/usr/include/sys/select.h" 3 4
6681# 1 "./sys/types.h" 1 3 4
6682# 20 "./sys/types.h" 3 4
6683       
6684# 21 "./sys/types.h" 3
6685# 145 "/usr/include/sys/select.h" 2 3 4
6686
6687# 1 "./signal.h" 1 3 4
6688# 20 "./signal.h" 3 4
6689       
6690# 21 "./signal.h" 3
6691# 43 "./signal.h" 3
6692#define _GL_ALREADY_INCLUDING_SIGNAL_H
6693
6694
6695
6696
6697
6698# 1 "./sys/types.h" 1 3
6699# 20 "./sys/types.h" 3
6700       
6701# 21 "./sys/types.h" 3
6702# 50 "./signal.h" 2 3
6703
6704
6705# 1 "/usr/include/signal.h" 1 3 4
6706# 59 "/usr/include/signal.h" 3 4
6707#define _USER_SIGNAL_H
6708# 71 "/usr/include/signal.h" 3 4
6709extern const char *const sys_signame[32];
6710extern const char *const sys_siglist[32];
6711
6712
6713
6714int raise(int);
6715
6716
6717
6718
6719void (*bsd_signal(int, void (*)(int)))(int);
6720int kill(pid_t, int);
6721int killpg(pid_t, int);
6722int pthread_kill(pthread_t, int);
6723int pthread_sigmask(int, const sigset_t *, sigset_t *);
6724int sigaction(int, const struct sigaction * ,
6725     struct sigaction * );
6726int sigaddset(sigset_t *, int);
6727int sigaltstack(const stack_t * , stack_t * );
6728int sigdelset(sigset_t *, int);
6729int sigemptyset(sigset_t *);
6730int sigfillset(sigset_t *);
6731int sighold(int);
6732int sigignore(int);
6733int siginterrupt(int, int);
6734int sigismember(const sigset_t *, int);
6735int sigpause(int);
6736int sigpending(sigset_t *);
6737int sigprocmask(int, const sigset_t * , sigset_t * );
6738int sigrelse(int);
6739void (*sigset(int, void (*)(int)))(int);
6740int sigsuspend(const sigset_t *);
6741int sigwait(const sigset_t * , int * );
6742
6743void psignal(unsigned int, const char *);
6744int sigblock(int);
6745int sigreturn(struct sigcontext *);
6746int sigsetmask(int);
6747int sigvec(int, struct sigvec *, struct sigvec *);
6748
6749
6750
6751
6752#define sigaddset(set,signo) (*(set) |= 1 << ((signo) - 1), 0)
6753#define sigdelset(set,signo) (*(set) &= ~(1 << ((signo) - 1)), 0)
6754#define sigemptyset(set) (*(set) = 0, 0)
6755#define sigfillset(set) (*(set) = ~(sigset_t)0, 0)
6756#define sigismember(set,signo) ((*(set) & (1 << ((signo) - 1))) != 0)
6757# 53 "./signal.h" 2 3
6758
6759#undef _GL_ALREADY_INCLUDING_SIGNAL_H
6760
6761
6762#define _GL_SIGNAL_H
6763# 80 "./signal.h" 3
6764# 1 "/usr/include/pthread.h" 1 3 4
6765# 53 "/usr/include/pthread.h" 3 4
6766#define _POSIX_PTHREAD_H
6767
6768
6769
6770# 1 "/usr/include/pthread_impl.h" 1 3 4
6771# 25 "/usr/include/pthread_impl.h" 3 4
6772#define _PTHREAD_IMPL_H_
6773# 37 "/usr/include/pthread_impl.h" 3 4
6774#define _PTHREAD_MUTEX_SIG_init 0x32AAABA7
6775#define _PTHREAD_COND_SIG_init 0x3CB0B1BB
6776#define _PTHREAD_ONCE_SIG_init 0x30B1BCBA
6777
6778
6779
6780#define SCHED_OTHER 1
6781#define SCHED_FIFO 4
6782#define SCHED_RR 2
6783
6784#define __SCHED_PARAM_SIZE__ 4
6785# 58 "/usr/include/pthread.h" 2 3 4
6786
6787# 1 "./sched.h" 1 3 4
6788# 21 "./sched.h" 3 4
6789       
6790# 22 "./sched.h" 3
6791# 37 "./sched.h" 3
6792# 1 "/usr/include/sched.h" 1 3 4
6793# 25 "/usr/include/sched.h" 3 4
6794#define _SCHED_H_
6795
6796
6797
6798
6799
6800
6801
6802
6803
6804struct sched_param { int sched_priority; char opaque[4]; };
6805
6806
6807extern int sched_yield(void);
6808extern int sched_get_priority_min(int);
6809extern int sched_get_priority_max(int);
6810
6811# 38 "./sched.h" 2 3
6812
6813
6814
6815#define _GL_SCHED_H
6816# 52 "./sched.h" 3
6817# 1 "./sys/types.h" 1 3
6818# 20 "./sys/types.h" 3
6819       
6820# 21 "./sys/types.h" 3
6821# 53 "./sched.h" 2 3
6822# 60 "/usr/include/pthread.h" 2 3 4
6823# 1 "./time.h" 1 3 4
6824# 20 "./time.h" 3 4
6825       
6826# 21 "./time.h" 3
6827# 61 "/usr/include/pthread.h" 2 3 4
6828# 115 "/usr/include/pthread.h" 3 4
6829#define _MACH_PORT_T
6830typedef __darwin_mach_port_t mach_port_t;
6831# 148 "/usr/include/pthread.h" 3 4
6832
6833# 159 "/usr/include/pthread.h" 3 4
6834#define pthread_cleanup_push(func,val) { struct __darwin_pthread_handler_rec __handler; pthread_t __self = pthread_self(); __handler.__routine = func; __handler.__arg = val; __handler.__next = __self->__cleanup_stack; __self->__cleanup_stack = &__handler;
6835# 168 "/usr/include/pthread.h" 3 4
6836#define pthread_cleanup_pop(execute) __self->__cleanup_stack = __handler.__next; if (execute) (__handler.__routine)(__handler.__arg); }
6837# 178 "/usr/include/pthread.h" 3 4
6838#define PTHREAD_CREATE_JOINABLE 1
6839#define PTHREAD_CREATE_DETACHED 2
6840
6841#define PTHREAD_INHERIT_SCHED 1
6842#define PTHREAD_EXPLICIT_SCHED 2
6843
6844#define PTHREAD_CANCEL_ENABLE 0x01
6845#define PTHREAD_CANCEL_DISABLE 0x00
6846#define PTHREAD_CANCEL_DEFERRED 0x02
6847#define PTHREAD_CANCEL_ASYNCHRONOUS 0x00
6848
6849
6850#define PTHREAD_CANCELED ((void *) 1)
6851
6852
6853#define PTHREAD_SCOPE_SYSTEM 1
6854#define PTHREAD_SCOPE_PROCESS 2
6855
6856
6857#define PTHREAD_PROCESS_SHARED 1
6858#define PTHREAD_PROCESS_PRIVATE 2
6859
6860
6861
6862
6863#define PTHREAD_PRIO_NONE 0
6864#define PTHREAD_PRIO_INHERIT 1
6865#define PTHREAD_PRIO_PROTECT 2
6866
6867
6868
6869
6870#define PTHREAD_MUTEX_NORMAL 0
6871#define PTHREAD_MUTEX_ERRORCHECK 1
6872#define PTHREAD_MUTEX_RECURSIVE 2
6873#define PTHREAD_MUTEX_DEFAULT PTHREAD_MUTEX_NORMAL
6874
6875
6876
6877
6878#define PTHREAD_MUTEX_INITIALIZER {_PTHREAD_MUTEX_SIG_init, {0}}
6879# 228 "/usr/include/pthread.h" 3 4
6880#define PTHREAD_COND_INITIALIZER {_PTHREAD_COND_SIG_init, {0}}
6881
6882
6883
6884
6885
6886#define PTHREAD_ONCE_INIT {_PTHREAD_ONCE_SIG_init, {0}}
6887
6888
6889
6890
6891int pthread_atfork(void (*prepare)(void), void (*parent)(void),
6892                      void (*child)(void));
6893int pthread_attr_destroy(pthread_attr_t *attr);
6894int pthread_attr_getdetachstate(const pthread_attr_t *attr,
6895          int *detachstate);
6896int pthread_attr_getguardsize(const pthread_attr_t *attr,
6897                                      size_t *guardsize);
6898int pthread_attr_getinheritsched(const pthread_attr_t *attr,
6899           int *inheritsched);
6900int pthread_attr_getschedparam(const pthread_attr_t *attr,
6901                                     struct sched_param *param);
6902int pthread_attr_getschedpolicy(const pthread_attr_t *attr,
6903          int *policy);
6904int pthread_attr_getscope(pthread_attr_t *, int *);
6905int pthread_attr_getstack(const pthread_attr_t *attr,
6906                                      void **stackaddr, size_t *stacksize);
6907int pthread_attr_getstackaddr(const pthread_attr_t *attr,
6908                                      void **stackaddr);
6909int pthread_attr_getstacksize(const pthread_attr_t *attr,
6910                                      size_t *stacksize);
6911int pthread_attr_init(pthread_attr_t *attr);
6912int pthread_attr_setdetachstate(pthread_attr_t *attr,
6913          int detachstate);
6914int pthread_attr_setguardsize(pthread_attr_t *attr, size_t guardsize);
6915int pthread_attr_setinheritsched(pthread_attr_t *attr,
6916           int inheritsched);
6917int pthread_attr_setschedparam(pthread_attr_t *attr,
6918                                     const struct sched_param *param);
6919int pthread_attr_setschedpolicy(pthread_attr_t *attr,
6920          int policy);
6921int pthread_attr_setscope(pthread_attr_t *, int);
6922int pthread_attr_setstack(pthread_attr_t *attr,
6923                                      void *stackaddr, size_t stacksize);
6924int pthread_attr_setstackaddr(pthread_attr_t *attr,
6925                                      void *stackaddr);
6926int pthread_attr_setstacksize(pthread_attr_t *attr, size_t stacksize);
6927int pthread_cancel(pthread_t thread) ;
6928
6929int pthread_cond_broadcast(pthread_cond_t *cond);
6930int pthread_cond_destroy(pthread_cond_t *cond);
6931int pthread_cond_init(pthread_cond_t *cond,
6932                            const pthread_condattr_t *attr);
6933int pthread_cond_signal(pthread_cond_t *cond);
6934int pthread_cond_timedwait(pthread_cond_t *cond,
6935     pthread_mutex_t *mutex,
6936     const struct timespec *abstime) ;
6937int pthread_cond_wait(pthread_cond_t *cond,
6938       pthread_mutex_t *mutex) ;
6939int pthread_condattr_destroy(pthread_condattr_t *attr);
6940int pthread_condattr_getpshared(const pthread_condattr_t *attr,
6941   int *pshared);
6942int pthread_condattr_init(pthread_condattr_t *attr);
6943int pthread_condattr_setpshared(pthread_condattr_t *attr,
6944   int pshared);
6945int pthread_create(pthread_t *thread,
6946                         const pthread_attr_t *attr,
6947                         void *(*start_routine)(void *),
6948                         void *arg);
6949int pthread_detach(pthread_t thread);
6950int pthread_equal(pthread_t t1,
6951   pthread_t t2);
6952void pthread_exit(void *value_ptr) __attribute__((__noreturn__));
6953int pthread_getconcurrency(void);
6954int pthread_getschedparam(pthread_t thread,
6955    int *policy,
6956                                struct sched_param *param);
6957void *pthread_getspecific(pthread_key_t key);
6958int pthread_join(pthread_t thread,
6959         void **value_ptr) ;
6960int pthread_key_create(pthread_key_t *key,
6961        void (*destructor)(void *));
6962int pthread_key_delete(pthread_key_t key);
6963int pthread_mutex_destroy(pthread_mutex_t *mutex);
6964int pthread_mutex_getprioceiling(const pthread_mutex_t *mutex,
6965                                       int *prioceiling);
6966int pthread_mutex_init(pthread_mutex_t *mutex,
6967        const pthread_mutexattr_t *attr);
6968int pthread_mutex_lock(pthread_mutex_t *mutex);
6969int pthread_mutex_setprioceiling(pthread_mutex_t *mutex,
6970                                       int prioceiling,
6971                                       int *old_prioceiling);
6972int pthread_mutex_trylock(pthread_mutex_t *mutex);
6973int pthread_mutex_unlock(pthread_mutex_t *mutex);
6974int pthread_mutexattr_destroy(pthread_mutexattr_t *attr);
6975int pthread_mutexattr_getprioceiling(const pthread_mutexattr_t *attr,
6976                                           int *prioceiling);
6977int pthread_mutexattr_getprotocol(const pthread_mutexattr_t *attr,
6978                                        int *protocol);
6979int pthread_mutexattr_getpshared(const pthread_mutexattr_t *attr,
6980                                        int *pshared);
6981int pthread_mutexattr_gettype(const pthread_mutexattr_t *attr,
6982                                        int *type);
6983int pthread_mutexattr_init(pthread_mutexattr_t *attr);
6984int pthread_mutexattr_setprioceiling(pthread_mutexattr_t *attr,
6985                                           int prioceiling);
6986int pthread_mutexattr_setprotocol(pthread_mutexattr_t *attr,
6987                                        int protocol);
6988int pthread_mutexattr_setpshared(pthread_mutexattr_t *attr,
6989                                        int pshared);
6990int pthread_mutexattr_settype(pthread_mutexattr_t *attr,
6991                                        int type);
6992int pthread_once(pthread_once_t *once_control,
6993         void (*init_routine)(void));
6994int pthread_rwlock_destroy(pthread_rwlock_t * rwlock);
6995int pthread_rwlock_init(pthread_rwlock_t * rwlock,
6996        const pthread_rwlockattr_t *attr);
6997int pthread_rwlock_rdlock(pthread_rwlock_t *rwlock);
6998int pthread_rwlock_tryrdlock(pthread_rwlock_t *rwlock);
6999int pthread_rwlock_trywrlock(pthread_rwlock_t *rwlock);
7000int pthread_rwlock_unlock(pthread_rwlock_t *rwlock);
7001int pthread_rwlock_wrlock(pthread_rwlock_t *rwlock);
7002int pthread_rwlockattr_destroy(pthread_rwlockattr_t *attr);
7003int pthread_rwlockattr_getpshared(const pthread_rwlockattr_t *attr,
7004   int *pshared);
7005int pthread_rwlockattr_init(pthread_rwlockattr_t *attr);
7006int pthread_rwlockattr_setpshared(pthread_rwlockattr_t *attr,
7007   int pshared);
7008pthread_t pthread_self(void);
7009
7010int pthread_setcancelstate(int state, int *oldstate) ;
7011int pthread_setcanceltype(int type, int *oldtype) ;
7012int pthread_setconcurrency(int);
7013int pthread_setschedparam(pthread_t thread,
7014    int policy,
7015                                const struct sched_param *param);
7016int pthread_setspecific(pthread_key_t key,
7017         const void *value);
7018void pthread_testcancel(void) ;
7019
7020
7021
7022int pthread_is_threaded_np(void);
7023
7024
7025int pthread_main_np(void);
7026
7027
7028mach_port_t pthread_mach_thread_np(pthread_t);
7029size_t pthread_get_stacksize_np(pthread_t);
7030void * pthread_get_stackaddr_np(pthread_t);
7031
7032
7033int pthread_cond_signal_thread_np(pthread_cond_t *, pthread_t);
7034
7035
7036int pthread_cond_timedwait_relative_np(pthread_cond_t *cond,
7037     pthread_mutex_t *mutex,
7038     const struct timespec *reltime);
7039
7040
7041int pthread_create_suspended_np(pthread_t *thread,
7042                         const pthread_attr_t *attr,
7043                         void *(*start_routine)(void *),
7044                         void *arg);
7045int pthread_kill(pthread_t, int);
7046int pthread_sigmask(int, const sigset_t *, sigset_t *);
7047void pthread_yield_np(void);
7048
7049
7050# 81 "./signal.h" 2 3
7051# 627 "./signal.h" 3
7052typedef void (*sighandler_t) (int);
7053#define GNULIB_defined_sighandler_t 1
7054# 658 "./signal.h" 3
7055#undef pthread_sigmask
7056#define pthread_sigmask rpl_pthread_sigmask
7057
7058extern int rpl_pthread_sigmask (int how, const sigset_t * new_mask, sigset_t * old_mask);
7059
7060
7061
7062extern int _gl_cxxalias_dummy;
7063# 705 "./signal.h" 3
7064extern int _gl_cxxalias_dummy;
7065# 762 "./signal.h" 3
7066extern int _gl_cxxalias_dummy;
7067extern int _gl_cxxalias_dummy;
7068# 774 "./signal.h" 3
7069extern int _gl_cxxalias_dummy;
7070extern int _gl_cxxalias_dummy;
7071# 787 "./signal.h" 3
7072extern int _gl_cxxalias_dummy;
7073extern int _gl_cxxalias_dummy;
7074# 800 "./signal.h" 3
7075extern int _gl_cxxalias_dummy;
7076extern int _gl_cxxalias_dummy;
7077# 812 "./signal.h" 3
7078extern int _gl_cxxalias_dummy;
7079extern int _gl_cxxalias_dummy;
7080
7081
7082
7083
7084
7085extern int _gl_cxxalias_dummy;
7086extern int _gl_cxxalias_dummy;
7087# 836 "./signal.h" 3
7088extern int _gl_cxxalias_dummy;
7089
7090
7091
7092extern int _gl_cxxalias_dummy;
7093
7094
7095
7096
7097
7098
7099
7100typedef void (*_gl_function_taking_int_returning_void_t) (int);
7101#define GNULIB_defined_function_taking_int_returning_void_t 1
7102# 869 "./signal.h" 3
7103extern int _gl_cxxalias_dummy;
7104# 993 "./signal.h" 3
7105extern int _gl_cxxalias_dummy;
7106
7107extern int _gl_cxxalias_dummy;
7108# 147 "/usr/include/sys/select.h" 2 3 4
7109
7110
7111
7112
7113
7114
7115int pselect(int, fd_set * , fd_set * ,
7116  fd_set * , const struct timespec * ,
7117  const sigset_t * );
7118
7119int select(int, fd_set * , fd_set * ,
7120  fd_set * , struct timeval * );
7121
7122# 115 "./sys/select.h" 2 3
7123# 131 "./sys/select.h" 3
7124# 1 "./signal.h" 1 3
7125# 20 "./signal.h" 3
7126       
7127# 21 "./signal.h" 3
7128# 132 "./sys/select.h" 2 3
7129
7130
7131
7132#define _GL_SYS_SELECT_H
7133# 784 "./sys/select.h" 3
7134extern int _gl_cxxalias_dummy;
7135# 814 "./sys/select.h" 3
7136extern int _gl_cxxalias_dummy;
7137
7138
7139
7140extern int _gl_cxxalias_dummy;
7141# 484 "/usr/include/unistd.h" 2 3 4
7142
7143void _Exit(int) __attribute__((__noreturn__));
7144int accessx_np(const struct accessx_descriptor *, size_t, int *, uid_t);
7145int acct(const char *);
7146int add_profil(char *, size_t, unsigned long, unsigned int);
7147int async_daemon(void);
7148void *brk(const void *);
7149int chroot(const char *);
7150
7151
7152
7153int encrypt(char *, int);
7154
7155void endusershell(void);
7156int execvP(const char *, const char *, char * const *);
7157char *fflagstostr(unsigned long);
7158int fsync(int);
7159int getdtablesize(void);
7160int getdomainname(char *, int);
7161int getgrouplist(const char *, int, int *, int *);
7162mode_t getmode(const void *, mode_t);
7163int getpagesize(void) __attribute__((__const__));
7164char *getpass(const char *);
7165int getpeereid(int, uid_t *, gid_t *);
7166int getpgid(pid_t _pid);
7167int getsgroups_np(int *, uuid_t);
7168int getsid(pid_t _pid);
7169char *getusershell(void);
7170int getwgroups_np(int *, uuid_t);
7171int initgroups(const char *, int);
7172int iruserok(unsigned long, int, const char *, const char *);
7173int issetugid(void);
7174char *mkdtemp(char *);
7175int mknod(const char *, mode_t, dev_t);
7176int mkstemp(char *);
7177int mkstemps(char *, int);
7178char *mktemp(char *);
7179int nfssvc(int, void *);
7180int profil(char *, size_t, unsigned long, unsigned int);
7181int pthread_setugid_np(uid_t, gid_t);
7182int pthread_getugid_np( uid_t *, gid_t *);
7183int rcmd(char **, int, const char *, const char *, const char *, int *);
7184int reboot(int);
7185int revoke(const char *);
7186int rresvport(int *);
7187int rresvport_af(int *, int);
7188int ruserok(const char *, int, const char *, const char *);
7189void *sbrk(int);
7190int setdomainname(const char *, int);
7191int setgroups(int, const gid_t *);
7192void sethostid(long);
7193int sethostname(const char *, int);
7194
7195
7196
7197int setkey(const char *);
7198
7199int setlogin(const char *);
7200void *setmode(const char *);
7201int setrgid(gid_t);
7202int setruid(uid_t);
7203int setsgroups_np(int, const uuid_t);
7204void setusershell(void);
7205int setwgroups_np(int, const uuid_t);
7206int strtofflags(char **, unsigned long *, unsigned long *);
7207int swapon(const char *);
7208int syscall(int, ...);
7209int ttyslot(void);
7210int undelete(const char *);
7211int unwhiteout(const char *);
7212void *valloc(size_t);
7213
7214extern char *suboptarg;
7215int getsubopt(char **, char * const *, char **);
7216# 570 "/usr/include/unistd.h" 3 4
7217int getattrlist(const char*,void*,void*,size_t,unsigned long) ;
7218int setattrlist(const char*,void*,void*,size_t,unsigned long) ;
7219int exchangedata(const char*,const char*,unsigned long);
7220int checkuseraccess(const char*,uid_t,gid_t*,int,int,unsigned long);
7221int getdirentriesattr(int,void*,void*,size_t,unsigned long*,unsigned long*,unsigned long*,unsigned long);
7222int searchfs(const char*,void*,void*,unsigned long,unsigned long,void*);
7223
7224int fsctl(const char *,unsigned long,void*,unsigned long);
7225
7226
7227extern int optreset;
7228
7229
7230
7231# 41 "./unistd.h" 2 3
7232#undef _GL_INCLUDING_UNISTD_H
7233# 71 "./unistd.h" 3
7234#define _GL_UNISTD_H
7235# 82 "./unistd.h" 3
7236# 1 "./stddef.h" 1 3
7237# 27 "./stddef.h" 3
7238       
7239# 28 "./stddef.h" 3
7240# 83 "./unistd.h" 2 3
7241# 116 "./unistd.h" 3
7242#define __need_system_stdlib_h
7243# 1 "./stdlib.h" 1 3
7244# 20 "./stdlib.h" 3
7245       
7246# 21 "./stdlib.h" 3
7247# 118 "./unistd.h" 2 3
7248#undef __need_system_stdlib_h
7249# 165 "./unistd.h" 3
7250# 1 "./sys/types.h" 1 3
7251# 20 "./sys/types.h" 3
7252       
7253# 21 "./sys/types.h" 3
7254# 166 "./unistd.h" 2 3
7255# 688 "./unistd.h" 3
7256# 1 "./getopt-cdefs.h" 1 3
7257# 22 "./getopt-cdefs.h" 3
7258#define _GETOPT_CDEFS_H 1
7259# 55 "./getopt-cdefs.h" 3
7260#define __GNUC_PREREQ(maj,min) 0
7261
7262
7263
7264
7265
7266
7267
7268#define __THROW
7269# 689 "./unistd.h" 2 3
7270# 1 "./getopt-pfx-core.h" 1 3
7271# 21 "./getopt-pfx-core.h" 3
7272#define _GETOPT_PFX_CORE_H 1
7273# 35 "./getopt-pfx-core.h" 3
7274#define __GETOPT_CONCAT(x,y) x ## y
7275#define __GETOPT_XCONCAT(x,y) __GETOPT_CONCAT (x, y)
7276#define __GETOPT_ID(y) __GETOPT_XCONCAT (__GETOPT_PREFIX, y)
7277
7278#undef getopt
7279#undef optarg
7280#undef opterr
7281#undef optind
7282#undef optopt
7283#define getopt __GETOPT_ID (getopt)
7284#define optarg __GETOPT_ID (optarg)
7285#define opterr __GETOPT_ID (opterr)
7286#define optind __GETOPT_ID (optind)
7287#define optopt __GETOPT_ID (optopt)
7288
7289
7290
7291
7292
7293
7294#define _GETOPT
7295
7296
7297
7298
7299
7300#undef _GETOPT_CORE_H
7301
7302
7303# 1 "./getopt-core.h" 1 3
7304# 21 "./getopt-core.h" 3
7305#define _GETOPT_CORE_H 1
7306
7307
7308
7309
7310
7311
7312
7313
7314
7315
7316
7317
7318
7319
7320extern char *rpl_optarg;
7321# 50 "./getopt-core.h" 3
7322extern int rpl_optind;
7323
7324
7325
7326
7327extern int rpl_opterr;
7328
7329
7330
7331extern int rpl_optopt;
7332# 91 "./getopt-core.h" 3
7333extern int rpl_getopt (int ___argc, char *const *___argv, const char *__shortopts)
7334       __attribute__ ((__nonnull__ (2, 3)));
7335
7336
7337# 65 "./getopt-pfx-core.h" 2 3
7338# 690 "./unistd.h" 2 3
7339
7340
7341
7342
7343#define _GL_UNISTD_INLINE _GL_INLINE
7344# 812 "./unistd.h" 3
7345extern int _gl_cxxalias_dummy;
7346
7347extern int _gl_cxxalias_dummy;
7348# 849 "./unistd.h" 3
7349extern int _gl_cxxalias_dummy;
7350
7351extern int _gl_cxxalias_dummy;
7352# 923 "./unistd.h" 3
7353extern int _gl_cxxalias_dummy;
7354
7355extern int _gl_cxxalias_dummy;
7356# 998 "./unistd.h" 3
7357extern int _gl_cxxalias_dummy;
7358
7359extern int _gl_cxxalias_dummy;
7360# 1043 "./unistd.h" 3
7361extern int _gl_cxxalias_dummy;
7362
7363extern int _gl_cxxalias_dummy;
7364# 1115 "./unistd.h" 3
7365# 1 "/usr/include/TargetConditionals.h" 1 3 4
7366# 15 "/usr/include/TargetConditionals.h" 3 4
7367#define __TARGETCONDITIONALS__
7368# 58 "/usr/include/TargetConditionals.h" 3 4
7369#define TARGET_OS_MAC 1
7370#define TARGET_OS_WIN32 0
7371#define TARGET_OS_UNIX 0
7372
7373#define TARGET_CPU_PPC 1
7374#define TARGET_CPU_PPC64 0
7375#define TARGET_CPU_68K 0
7376#define TARGET_CPU_X86 0
7377#define TARGET_CPU_X86_64 0
7378#define TARGET_CPU_MIPS 0
7379#define TARGET_CPU_SPARC 0
7380#define TARGET_CPU_ALPHA 0
7381#define TARGET_RT_LITTLE_ENDIAN 0
7382#define TARGET_RT_BIG_ENDIAN 1
7383#define TARGET_RT_64_BIT 0
7384
7385
7386
7387
7388#define TARGET_RT_MAC_CFM 0
7389#define TARGET_RT_MAC_MACHO 1
7390# 1116 "./unistd.h" 2 3
7391
7392#define _GL_USE_CRT_EXTERNS
7393
7394
7395
7396# 1 "/usr/include/crt_externs.h" 1 3 4
7397# 36 "/usr/include/crt_externs.h" 3 4
7398
7399extern char ***_NSGetArgv(void);
7400extern int *_NSGetArgc(void);
7401extern char ***_NSGetEnviron(void);
7402extern char **_NSGetProgname(void);
7403extern struct mach_header *_NSGetMachExecuteHeader(void);
7404
7405# 1122 "./unistd.h" 2 3
7406#define environ (*_NSGetEnviron ())
7407# 1201 "./unistd.h" 3
7408extern int _gl_cxxalias_dummy;
7409
7410extern int _gl_cxxalias_dummy;
7411# 1237 "./unistd.h" 3
7412extern int _gl_cxxalias_dummy;
7413
7414extern int _gl_cxxalias_dummy;
7415# 1273 "./unistd.h" 3
7416extern int _gl_cxxalias_dummy;
7417
7418extern int _gl_cxxalias_dummy;
7419# 1310 "./unistd.h" 3
7420extern int _gl_cxxalias_dummy;
7421
7422extern int _gl_cxxalias_dummy;
7423# 1350 "./unistd.h" 3
7424extern int _gl_cxxalias_dummy;
7425
7426
7427extern int _gl_cxxalias_dummy;
7428# 1387 "./unistd.h" 3
7429extern int _gl_cxxalias_dummy;
7430
7431extern int _gl_cxxalias_dummy;
7432# 1436 "./unistd.h" 3
7433extern int execvpe (const char *program, char * const *argv, char * const *env) __attribute__ ((__nonnull__ (1, 2)));
7434
7435
7436
7437extern int _gl_cxxalias_dummy;
7438
7439
7440
7441extern int _gl_cxxalias_dummy;
7442# 1502 "./unistd.h" 3
7443extern int _gl_cxxalias_dummy;
7444extern int _gl_cxxalias_dummy;
7445# 1635 "./unistd.h" 3
7446#define getcwd rpl_getcwd
7447
7448extern char * rpl_getcwd (char *buf, size_t size);
7449extern int _gl_cxxalias_dummy;
7450# 1650 "./unistd.h" 3
7451extern int _gl_cxxalias_dummy;
7452# 1730 "./unistd.h" 3
7453extern int _gl_cxxalias_dummy;
7454
7455extern int _gl_cxxalias_dummy;
7456# 1786 "./unistd.h" 3
7457extern int _gl_cxxalias_dummy;
7458
7459extern int _gl_cxxalias_dummy;
7460# 2000 "./unistd.h" 3
7461#undef getpass
7462#define getpass rpl_getpass
7463
7464extern char * rpl_getpass (const char *prompt) __attribute__ ((__nonnull__ (1)));
7465
7466extern int _gl_cxxalias_dummy;
7467
7468
7469
7470
7471
7472
7473
7474extern int _gl_cxxalias_dummy;
7475# 2034 "./unistd.h" 3
7476extern int _gl_cxxalias_dummy;
7477
7478extern int _gl_cxxalias_dummy;
7479# 2091 "./unistd.h" 3
7480extern int group_member (gid_t gid);
7481
7482extern int _gl_cxxalias_dummy;
7483extern int _gl_cxxalias_dummy;
7484# 2140 "./unistd.h" 3
7485extern int _gl_cxxalias_dummy;
7486
7487extern int _gl_cxxalias_dummy;
7488# 2184 "./unistd.h" 3
7489#define link rpl_link
7490
7491extern int rpl_link (const char *path1, const char *path2) __attribute__ ((__nonnull__ (1, 2)));
7492
7493extern int _gl_cxxalias_dummy;
7494
7495
7496
7497
7498
7499
7500
7501extern int _gl_cxxalias_dummy;
7502# 2263 "./unistd.h" 3
7503extern int _gl_cxxalias_dummy;
7504
7505extern int _gl_cxxalias_dummy;
7506# 2296 "./unistd.h" 3
7507extern int _gl_cxxalias_dummy;
7508extern int _gl_cxxalias_dummy;
7509# 2324 "./unistd.h" 3
7510extern int pipe2 (int fd[2], int flags) __attribute__ ((__nonnull__ (1)));
7511extern int _gl_cxxalias_dummy;
7512# 2450 "./unistd.h" 3
7513extern int _gl_cxxalias_dummy;
7514
7515extern int _gl_cxxalias_dummy;
7516# 2464 "./unistd.h" 3
7517#define readlink rpl_readlink
7518
7519extern ssize_t rpl_readlink (const char * file, char * buf, size_t bufsize) __attribute__ ((__nonnull__ (1, 2)));
7520
7521
7522
7523extern int _gl_cxxalias_dummy;
7524# 2484 "./unistd.h" 3
7525extern int _gl_cxxalias_dummy;
7526# 2544 "./unistd.h" 3
7527extern int _gl_cxxalias_dummy;
7528
7529extern int _gl_cxxalias_dummy;
7530# 2655 "./unistd.h" 3
7531extern int _gl_cxxalias_dummy;
7532
7533
7534extern int _gl_cxxalias_dummy;
7535
7536
7537
7538
7539
7540
7541#undef symlink
7542#define symlink rpl_symlink
7543
7544extern int rpl_symlink (char const *contents, char const *file) __attribute__ ((__nonnull__ (1, 2)));
7545
7546extern int _gl_cxxalias_dummy;
7547
7548
7549
7550
7551
7552
7553
7554extern int _gl_cxxalias_dummy;
7555# 2787 "./unistd.h" 3
7556#undef unlink
7557#define unlink rpl_unlink
7558
7559extern int rpl_unlink (char const *file) __attribute__ ((__nonnull__ (1)));
7560extern int _gl_cxxalias_dummy;
7561# 2801 "./unistd.h" 3
7562extern int _gl_cxxalias_dummy;
7563# 2900 "./unistd.h" 3
7564extern int _gl_cxxalias_dummy;
7565
7566extern int _gl_cxxalias_dummy;
7567# 2923 "./unistd.h" 3
7568
7569# 105 "./stdlib.h" 2 3
7570# 762 "./stdlib.h" 3
7571#undef free
7572#define free rpl_free
7573
7574
7575
7576
7577extern void rpl_free (void *ptr);
7578
7579extern int _gl_cxxalias_dummy;
7580# 848 "./stdlib.h" 3
7581#undef calloc
7582#define calloc rpl_calloc
7583
7584extern void * rpl_calloc (size_t nmemb, size_t size) __attribute__ ((__malloc__));
7585
7586
7587extern int _gl_cxxalias_dummy;
7588# 894 "./stdlib.h" 3
7589extern char * canonicalize_file_name (const char *name) __attribute__ ((__nonnull__ (1))) __attribute__ ((__malloc__)) ;
7590
7591
7592
7593
7594extern int _gl_cxxalias_dummy;
7595
7596
7597#define GNULIB_defined_canonicalize_file_name (!0 || 0)
7598
7599
7600extern int _gl_cxxalias_dummy;
7601# 939 "./stdlib.h" 3
7602extern int _gl_cxxalias_dummy;
7603
7604
7605
7606
7607extern int _gl_cxxalias_dummy;
7608# 962 "./stdlib.h" 3
7609extern int _gl_cxxalias_dummy;
7610
7611
7612
7613
7614extern int _gl_cxxalias_dummy;
7615# 984 "./stdlib.h" 3
7616extern int _gl_cxxalias_dummy;
7617
7618
7619
7620extern int _gl_cxxalias_dummy;
7621# 1045 "./stdlib.h" 3
7622extern int _gl_cxxalias_dummy;
7623# 1125 "./stdlib.h" 3
7624#undef malloc
7625#define malloc rpl_malloc
7626
7627extern void * rpl_malloc (size_t size) __attribute__ ((__malloc__));
7628
7629
7630extern int _gl_cxxalias_dummy;
7631# 1220 "./stdlib.h" 3
7632extern int _gl_cxxalias_dummy;
7633# 1276 "./stdlib.h" 3
7634extern int mkostemp (char * , int ) __attribute__ ((__nonnull__ (1)));
7635
7636
7637extern int _gl_cxxalias_dummy;
7638# 1356 "./stdlib.h" 3
7639extern int _gl_cxxalias_dummy;
7640
7641extern int _gl_cxxalias_dummy;
7642# 1403 "./stdlib.h" 3
7643extern int _gl_cxxalias_dummy;
7644
7645extern int _gl_cxxalias_dummy;
7646# 1549 "./stdlib.h" 3
7647extern int _gl_cxxalias_dummy;
7648
7649extern int _gl_cxxalias_dummy;
7650# 1849 "./stdlib.h" 3
7651#undef realloc
7652#define realloc rpl_realloc
7653
7654extern void * rpl_realloc (void *ptr, size_t size);
7655
7656extern int _gl_cxxalias_dummy;
7657# 1893 "./stdlib.h" 3
7658extern void * reallocarray (void *ptr, size_t nmemb, size_t size);
7659
7660
7661extern int _gl_cxxalias_dummy;
7662# 1913 "./stdlib.h" 3
7663#define realpath rpl_realpath
7664
7665extern char * rpl_realpath (const char * name, char * resolved) __attribute__ ((__nonnull__ (1)));
7666
7667
7668extern int _gl_cxxalias_dummy;
7669# 1929 "./stdlib.h" 3
7670extern int _gl_cxxalias_dummy;
7671# 1957 "./stdlib.h" 3
7672extern char * secure_getenv (char const *name) __attribute__ ((__nonnull__ (1)));
7673
7674
7675extern int _gl_cxxalias_dummy;
7676extern int _gl_cxxalias_dummy;
7677# 2076 "./stdlib.h" 3
7678#define strtol rpl_strtol
7679
7680#define GNULIB_defined_strtol_function 1
7681extern long rpl_strtol (const char * string, char ** endptr, int base) __attribute__ ((__nonnull__ (1)));
7682
7683
7684
7685extern int _gl_cxxalias_dummy;
7686# 2119 "./stdlib.h" 3
7687#define strtoll rpl_strtoll
7688
7689#define GNULIB_defined_strtoll_function 1
7690extern long long rpl_strtoll (const char * string, char ** endptr, int base) __attribute__ ((__nonnull__ (1)));
7691
7692
7693
7694extern int _gl_cxxalias_dummy;
7695# 2140 "./stdlib.h" 3
7696extern int _gl_cxxalias_dummy;
7697# 28 "md2-stream.c" 2
7698
7699
7700# 1 "unlocked-io.h" 1
7701# 21 "unlocked-io.h"
7702#define UNLOCKED_IO_H 1
7703# 39 "unlocked-io.h"
7704# 1 "./stdio.h" 1
7705# 20 "./stdio.h"
7706       
7707# 21 "./stdio.h" 3
7708# 40 "unlocked-io.h" 2
7709
7710
7711#undef clearerr
7712#define clearerr(x) clearerr_unlocked (x)
7713
7714
7715
7716
7717
7718#undef feof
7719#define feof(x) feof_unlocked (x)
7720
7721
7722
7723
7724
7725#undef ferror
7726#define ferror(x) ferror_unlocked (x)
7727# 66 "unlocked-io.h"
7728#define fflush_unlocked(x) fflush (x)
7729
7730
7731
7732
7733
7734
7735#define fgets_unlocked(x,y,z) fgets (x,y,z)
7736
7737
7738
7739
7740
7741
7742#define fputc_unlocked(x,y) fputc (x,y)
7743
7744
7745
7746
7747
7748
7749#define fputs_unlocked(x,y) fputs (x,y)
7750
7751
7752
7753
7754
7755
7756#define fread_unlocked(w,x,y,z) fread (w,x,y,z)
7757
7758
7759
7760
7761
7762
7763#define fwrite_unlocked(w,x,y,z) fwrite (w,x,y,z)
7764
7765
7766
7767#undef getc
7768#define getc(x) getc_unlocked (x)
7769
7770
7771
7772
7773
7774#undef getchar
7775#define getchar() getchar_unlocked ()
7776
7777
7778
7779
7780
7781#undef putc
7782#define putc(x,y) putc_unlocked (x,y)
7783
7784
7785
7786
7787
7788#undef putchar
7789#define putchar(x) putchar_unlocked (x)
7790
7791
7792
7793
7794#undef flockfile
7795#define flockfile(x) ((void) 0)
7796
7797#undef ftrylockfile
7798#define ftrylockfile(x) 0
7799
7800#undef funlockfile
7801#define funlockfile(x) ((void) 0)
7802# 31 "md2-stream.c" 2
7803
7804
7805#define BLOCKSIZE 32768
7806
7807
7808
7809
7810
7811
7812
7813int
7814md2_stream (FILE *stream, void *resblock)
7815{
7816  struct md2_ctx ctx;
7817  size_t sum;
7818
7819  char *buffer = rpl_malloc (32768 + 72);
7820  if (!buffer)
7821    return 1;
7822
7823
7824  md2_init_ctx (&ctx);
7825
7826
7827  while (1)
7828    {
7829
7830
7831
7832      size_t n;
7833      sum = 0;
7834
7835
7836      while (1)
7837        {
7838          n = fread (buffer + sum, 1, 32768 - sum, stream);
7839
7840          sum += n;
7841
7842          if (sum == 32768)
7843            break;
7844
7845          if (n == 0)
7846            {
7847
7848
7849
7850              if (ferror_unlocked (stream))
7851                {
7852                  rpl_free (buffer);
7853                  return 1;
7854                }
7855              goto process_partial_block;
7856            }
7857
7858
7859
7860
7861          if (feof_unlocked (stream))
7862            goto process_partial_block;
7863        }
7864
7865
7866
7867
7868      md2_process_block (buffer, 32768, &ctx);
7869    }
7870
7871process_partial_block:;
7872
7873
7874  if (sum > 0)
7875    md2_process_bytes (buffer, sum, &ctx);
7876
7877
7878  md2_finish_ctx (&ctx, resblock);
7879  rpl_free (buffer);
7880  return 0;
7881}