fix test-poll compilation failure on Cygwin
[gnulib.git] / MODULES.html.sh
1 #!/bin/sh
2 #
3 # Copyright (C) 2002-2008 Free Software Foundation, Inc.
4 #
5 # This program is free software: you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; either version 3 of the License, or
8 # (at your option) any later version.
9 #
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 # GNU General Public License for more details.
14 #
15 # You should have received a copy of the GNU General Public License
16 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
17 #
18
19 # Usage: MODULES.html.sh [--git-urls] > MODULES.html
20
21 # Extend the PATH so that gnulib-tool is found.
22 PATH=`dirname "$0"`:$PATH; export PATH
23
24 POSIX2001_URL='http://www.opengroup.org/susv3'
25 case $USER in
26   bruno )
27     POSIX2001_URL='file:/packages/www/www.opengroup.org/susv3' ;;
28 esac
29
30 repo_url_prefix=
31 repo_url_suffix=
32 if test $# != 0; then
33   case "$1" in
34     --git-urls)
35       # Generate URLs to the official gnulib git repository.
36       repo_url_prefix='http://git.sv.gnu.org/gitweb/?p=gnulib.git;a=blob_plain;f='
37       repo_url_suffix=''
38       ;;
39   esac
40 fi
41 # For sed replacements: Escape the '&'.
42 repo_url_suffix_repl=`echo "$repo_url_suffix" | sed -e 's,[&],\\\&,'`
43
44 sed_lt='s,<,\&lt;,g'
45 sed_gt='s,>,\&gt;,g'
46 sed_escape_dot='s,\.,\\.,g'
47 sed_escape_slash='s,/,\\/,g'
48 trnl='\012'
49 sed_alt1='s,$,\\|,'
50 sed_alt2='s,^\\|,\\(,'
51 sed_alt3='s,\\|\\|$,\\),'
52 posix_headers=`echo '
53 aio
54 arpa/inet
55 assert
56 complex
57 cpio
58 ctype
59 dirent
60 dlfcn
61 errno
62 fcntl
63 fenv
64 float
65 fmtmsg
66 fnmatch
67 ftw
68 glob
69 grp
70 iconv
71 inttypes
72 iso646
73 langinfo
74 libgen
75 limits
76 locale
77 math
78 monetary
79 mqueue
80 ndbm
81 net/if
82 netdb
83 netinet/in
84 netinet/tcp
85 nl_types
86 poll
87 pthread
88 pwd
89 regex
90 sched
91 search
92 semaphore
93 setjmp
94 signal
95 spawn
96 stdarg
97 stdbool
98 stddef
99 stdint
100 stdio
101 stdlib
102 string
103 strings
104 stropts
105 sys/ipc
106 sys/mman
107 sys/msg
108 sys/resource
109 sys/select
110 sys/sem
111 sys/shm
112 sys/socket
113 sys/stat
114 sys/statvfs
115 sys/time
116 sys/timeb
117 sys/times
118 sys/types
119 sys/uio
120 sys/un
121 sys/utsname
122 sys/wait
123 syslog
124 tar
125 termios
126 tgmath
127 time
128 trace
129 ucontext
130 ulimit
131 unistd
132 utime
133 utmpx
134 wchar
135 wctype
136 wordexp
137 ' | sed -e "$sed_alt1" | tr -d "$trnl" | sed -e "$sed_alt2" -e "$sed_alt3"`
138 posix_functions=`echo '
139 FD_CLR
140 FD_ISSET
141 FD_SET
142 FD_ZERO
143 _Exit
144 _exit
145 _longjmp
146 _setjmp
147 _tolower
148 _toupper
149 a64l
150 abort
151 abs
152 accept
153 access
154 acos
155 acosf
156 acosh
157 acoshf
158 acoshl
159 acosl
160 aio_cancel
161 aio_error
162 aio_fsync
163 aio_read
164 aio_return
165 aio_suspend
166 aio_write
167 alarm
168 asctime
169 asctime_r
170 asin
171 asinf
172 asinh
173 asinhf
174 asinhl
175 asinl
176 assert
177 atan
178 atan2
179 atan2f
180 atan2l
181 atanf
182 atanh
183 atanhf
184 atanhl
185 atanl
186 atexit
187 atof
188 atoi
189 atol
190 atoll
191 basename
192 bcmp
193 bcopy
194 bind
195 bsd_signal
196 bsearch
197 btowc
198 bzero
199 cabs
200 cabsf
201 cabsl
202 cacos
203 cacosf
204 cacosh
205 cacoshf
206 cacoshl
207 cacosl
208 calloc
209 carg
210 cargf
211 cargl
212 casin
213 casinf
214 casinh
215 casinhf
216 casinhl
217 casinl
218 catan
219 catanf
220 catanh
221 catanhf
222 catanhl
223 catanl
224 catclose
225 catgets
226 catopen
227 cbrt
228 cbrtf
229 cbrtl
230 ccos
231 ccosf
232 ccosh
233 ccoshf
234 ccoshl
235 ccosl
236 ceil
237 ceilf
238 ceill
239 cexp
240 cexpf
241 cexpl
242 cfgetispeed
243 cfgetospeed
244 cfsetispeed
245 cfsetospeed
246 chdir
247 chmod
248 chown
249 cimag
250 cimagf
251 cimagl
252 clearerr
253 clock
254 clock_getcpuclockid
255 clock_getres
256 clock_gettime
257 clock_nanosleep
258 clock_settime
259 clog
260 clogf
261 clogl
262 close
263 closedir
264 closelog
265 confstr
266 conj
267 conjf
268 conjl
269 connect
270 copysign
271 copysignf
272 copysignl
273 cos
274 cosf
275 cosh
276 coshf
277 coshl
278 cosl
279 cpow
280 cpowf
281 cpowl
282 cproj
283 cprojf
284 cprojl
285 creal
286 crealf
287 creall
288 creat
289 crypt
290 csin
291 csinf
292 csinh
293 csinhf
294 csinhl
295 csinl
296 csqrt
297 csqrtf
298 csqrtl
299 ctan
300 ctanf
301 ctanh
302 ctanhf
303 ctanhl
304 ctanl
305 ctermid
306 ctime
307 ctime_r
308 daylight
309 dbm_clearerr
310 dbm_close
311 dbm_delete
312 dbm_error
313 dbm_fetch
314 dbm_firstkey
315 dbm_nextkey
316 dbm_open
317 dbm_store
318 difftime
319 dirname
320 div
321 dlclose
322 dlerror
323 dlopen
324 dlsym
325 drand48
326 dup
327 dup2
328 ecvt
329 encrypt
330 endgrent
331 endhostent
332 endnetent
333 endprotoent
334 endpwent
335 endservent
336 endutxent
337 environ
338 erand48
339 erf
340 erfc
341 erfcf
342 erfcl
343 erff
344 erfl
345 errno
346 execl
347 execle
348 execlp
349 execv
350 execve
351 execvp
352 exit
353 exp
354 exp2
355 exp2f
356 exp2l
357 expf
358 expl
359 expm1
360 expm1f
361 expm1l
362 fabs
363 fabsf
364 fabsl
365 fattach
366 fchdir
367 fchmod
368 fchown
369 fclose
370 fcntl
371 fcvt
372 fdatasync
373 fdetach
374 fdim
375 fdimf
376 fdiml
377 fdopen
378 feclearexcept
379 fegetenv
380 fegetexceptflag
381 fegetround
382 feholdexcept
383 feof
384 feraiseexcept
385 ferror
386 fesetenv
387 fesetexceptflag
388 fesetround
389 fetestexcept
390 feupdateenv
391 fflush
392 ffs
393 fgetc
394 fgetpos
395 fgets
396 fgetwc
397 fgetws
398 fileno
399 flockfile
400 floor
401 floorf
402 floorl
403 fma
404 fmaf
405 fmal
406 fmax
407 fmaxf
408 fmaxl
409 fmin
410 fminf
411 fminl
412 fmod
413 fmodf
414 fmodl
415 fmtmsg
416 fnmatch
417 fopen
418 fork
419 fpathconf
420 fpclassify
421 fprintf
422 fputc
423 fputs
424 fputwc
425 fputws
426 fread
427 free
428 freeaddrinfo
429 freopen
430 frexp
431 frexpf
432 frexpl
433 fscanf
434 fseek
435 fseeko
436 fsetpos
437 fstat
438 fstatvfs
439 fsync
440 ftell
441 ftello
442 ftime
443 ftok
444 ftruncate
445 ftrylockfile
446 ftw
447 funlockfile
448 fwide
449 fwprintf
450 fwrite
451 fwscanf
452 gai_strerror
453 gcvt
454 getaddrinfo
455 getc
456 getc_unlocked
457 getchar
458 getchar_unlocked
459 getcontext
460 getcwd
461 getdate
462 getegid
463 getenv
464 geteuid
465 getgid
466 getgrent
467 getgrgid
468 getgrgid_r
469 getgrnam
470 getgrnam_r
471 getgroups
472 gethostbyaddr
473 gethostbyname
474 gethostent
475 gethostid
476 gethostname
477 getitimer
478 getlogin
479 getlogin_r
480 getmsg
481 getnameinfo
482 getnetbyaddr
483 getnetbyname
484 getnetent
485 getopt
486 getpeername
487 getpgid
488 getpgrp
489 getpid
490 getpmsg
491 getppid
492 getpriority
493 getprotobyname
494 getprotobynumber
495 getprotoent
496 getpwent
497 getpwnam
498 getpwnam_r
499 getpwuid
500 getpwuid_r
501 getrlimit
502 getrusage
503 gets
504 getservbyname
505 getservbyport
506 getservent
507 getsid
508 getsockname
509 getsockopt
510 getsubopt
511 gettimeofday
512 getuid
513 getutxent
514 getutxid
515 getutxline
516 getwc
517 getwchar
518 getwd
519 glob
520 globfree
521 gmtime
522 gmtime_r
523 grantpt
524 h_errno
525 hcreate
526 hdestroy
527 hsearch
528 htonl
529 htons
530 hypot
531 hypotf
532 hypotl
533 iconv
534 iconv_close
535 iconv_open
536 if_freenameindex
537 if_indextoname
538 if_nameindex
539 if_nametoindex
540 ilogb
541 ilogbf
542 ilogbl
543 imaxabs
544 imaxdiv
545 index
546 inet_addr
547 inet_ntoa
548 inet_ntop
549 inet_pton
550 initstate
551 insque
552 ioctl
553 isalnum
554 isalpha
555 isascii
556 isastream
557 isatty
558 isblank
559 iscntrl
560 isdigit
561 isfinite
562 isgraph
563 isgreater
564 isgreaterequal
565 isinf
566 isless
567 islessequal
568 islessgreater
569 islower
570 isnan
571 isnormal
572 isprint
573 ispunct
574 isspace
575 isunordered
576 isupper
577 iswalnum
578 iswalpha
579 iswblank
580 iswcntrl
581 iswctype
582 iswdigit
583 iswgraph
584 iswlower
585 iswprint
586 iswpunct
587 iswspace
588 iswupper
589 iswxdigit
590 isxdigit
591 j0
592 j1
593 jn
594 jrand48
595 kill
596 killpg
597 l64a
598 labs
599 lchown
600 lcong48
601 ldexp
602 ldexpf
603 ldexpl
604 ldiv
605 lfind
606 lgamma
607 lgammaf
608 lgammal
609 link
610 lio_listio
611 listen
612 llabs
613 lldiv
614 llrint
615 llrintf
616 llrintl
617 llround
618 llroundf
619 llroundl
620 localeconv
621 localtime
622 localtime_r
623 lockf
624 log
625 log10
626 log10f
627 log10l
628 log1p
629 log1pf
630 log1pl
631 log2
632 log2f
633 log2l
634 logb
635 logbf
636 logbl
637 logf
638 logl
639 longjmp
640 lrand48
641 lrint
642 lrintf
643 lrintl
644 lround
645 lroundf
646 lroundl
647 lsearch
648 lseek
649 lstat
650 makecontext
651 malloc
652 mblen
653 mbrlen
654 mbrtowc
655 mbsinit
656 mbsrtowcs
657 mbstowcs
658 mbtowc
659 memccpy
660 memchr
661 memcmp
662 memcpy
663 memmove
664 memset
665 mkdir
666 mkfifo
667 mknod
668 mkstemp
669 mktemp
670 mktime
671 mlock
672 mlockall
673 mmap
674 modf
675 modff
676 modfl
677 mprotect
678 mq_close
679 mq_getattr
680 mq_notify
681 mq_open
682 mq_receive
683 mq_send
684 mq_setattr
685 mq_timedreceive
686 mq_timedsend
687 mq_unlink
688 mrand48
689 msgctl
690 msgget
691 msgrcv
692 msgsnd
693 msync
694 munlock
695 munlockall
696 munmap
697 nan
698 nanf
699 nanl
700 nanosleep
701 nearbyint
702 nearbyintf
703 nearbyintl
704 nextafter
705 nextafterf
706 nextafterl
707 nexttoward
708 nexttowardf
709 nexttowardl
710 nftw
711 nice
712 nl_langinfo
713 nrand48
714 ntohl
715 ntohs
716 open
717 opendir
718 openlog
719 optarg
720 pathconf
721 pause
722 pclose
723 perror
724 pipe
725 poll
726 popen
727 posix_fadvise
728 posix_fallocate
729 posix_madvise
730 posix_mem_offset
731 posix_memalign
732 posix_openpt
733 posix_spawn
734 posix_spawn_file_actions_addclose
735 posix_spawn_file_actions_adddup2
736 posix_spawn_file_actions_addopen
737 posix_spawn_file_actions_destroy
738 posix_spawn_file_actions_init
739 posix_spawnattr_destroy
740 posix_spawnattr_getflags
741 posix_spawnattr_getpgroup
742 posix_spawnattr_getschedparam
743 posix_spawnattr_getschedpolicy
744 posix_spawnattr_getsigdefault
745 posix_spawnattr_getsigmask
746 posix_spawnattr_init
747 posix_spawnattr_setflags
748 posix_spawnattr_setpgroup
749 posix_spawnattr_setschedparam
750 posix_spawnattr_setschedpolicy
751 posix_spawnattr_setsigdefault
752 posix_spawnattr_setsigmask
753 posix_spawnp
754 posix_trace_attr_destroy
755 posix_trace_attr_getclockres
756 posix_trace_attr_getcreatetime
757 posix_trace_attr_getgenversion
758 posix_trace_attr_getinherited
759 posix_trace_attr_getlogfullpolicy
760 posix_trace_attr_getlogsize
761 posix_trace_attr_getmaxdatasize
762 posix_trace_attr_getmaxsystemeventsize
763 posix_trace_attr_getmaxusereventsize
764 posix_trace_attr_getname
765 posix_trace_attr_getstreamfullpolicy
766 posix_trace_attr_getstreamsize
767 posix_trace_attr_init
768 posix_trace_attr_setinherited
769 posix_trace_attr_setlogfullpolicy
770 posix_trace_attr_setlogsize
771 posix_trace_attr_setmaxdatasize
772 posix_trace_attr_setname
773 posix_trace_attr_setstreamfullpolicy
774 posix_trace_attr_setstreamsize
775 posix_trace_clear
776 posix_trace_close
777 posix_trace_create
778 posix_trace_create_withlog
779 posix_trace_event
780 posix_trace_eventid_equal
781 posix_trace_eventid_get_name
782 posix_trace_eventid_open
783 posix_trace_eventset_add
784 posix_trace_eventset_del
785 posix_trace_eventset_empty
786 posix_trace_eventset_fill
787 posix_trace_eventset_ismember
788 posix_trace_eventtypelist_getnext_id
789 posix_trace_eventtypelist_rewind
790 posix_trace_flush
791 posix_trace_get_attr
792 posix_trace_get_filter
793 posix_trace_get_status
794 posix_trace_getnext_event
795 posix_trace_open
796 posix_trace_rewind
797 posix_trace_set_filter
798 posix_trace_shutdown
799 posix_trace_start
800 posix_trace_stop
801 posix_trace_timedgetnext_event
802 posix_trace_trid_eventid_open
803 posix_trace_trygetnext_event
804 posix_typed_mem_get_info
805 posix_typed_mem_open
806 pow
807 powf
808 powl
809 pread
810 printf
811 pselect
812 pthread_atfork
813 pthread_attr_destroy
814 pthread_attr_getdetachstate
815 pthread_attr_getguardsize
816 pthread_attr_getinheritsched
817 pthread_attr_getschedparam
818 pthread_attr_getschedpolicy
819 pthread_attr_getscope
820 pthread_attr_getstack
821 pthread_attr_getstackaddr
822 pthread_attr_getstacksize
823 pthread_attr_init
824 pthread_attr_setdetachstate
825 pthread_attr_setguardsize
826 pthread_attr_setinheritsched
827 pthread_attr_setschedparam
828 pthread_attr_setschedpolicy
829 pthread_attr_setscope
830 pthread_attr_setstack
831 pthread_attr_setstackaddr
832 pthread_attr_setstacksize
833 pthread_barrier_destroy
834 pthread_barrier_init
835 pthread_barrier_wait
836 pthread_barrierattr_destroy
837 pthread_barrierattr_getpshared
838 pthread_barrierattr_init
839 pthread_barrierattr_setpshared
840 pthread_cancel
841 pthread_cleanup_pop
842 pthread_cleanup_push
843 pthread_cond_broadcast
844 pthread_cond_destroy
845 pthread_cond_init
846 pthread_cond_signal
847 pthread_cond_timedwait
848 pthread_cond_wait
849 pthread_condattr_destroy
850 pthread_condattr_getclock
851 pthread_condattr_getpshared
852 pthread_condattr_init
853 pthread_condattr_setclock
854 pthread_condattr_setpshared
855 pthread_create
856 pthread_detach
857 pthread_equal
858 pthread_exit
859 pthread_getconcurrency
860 pthread_getcpuclockid
861 pthread_getschedparam
862 pthread_getspecific
863 pthread_join
864 pthread_key_create
865 pthread_key_delete
866 pthread_kill
867 pthread_mutex_destroy
868 pthread_mutex_getprioceiling
869 pthread_mutex_init
870 pthread_mutex_lock
871 pthread_mutex_setprioceiling
872 pthread_mutex_timedlock
873 pthread_mutex_trylock
874 pthread_mutex_unlock
875 pthread_mutexattr_destroy
876 pthread_mutexattr_getprioceiling
877 pthread_mutexattr_getprotocol
878 pthread_mutexattr_getpshared
879 pthread_mutexattr_gettype
880 pthread_mutexattr_init
881 pthread_mutexattr_setprioceiling
882 pthread_mutexattr_setprotocol
883 pthread_mutexattr_setpshared
884 pthread_mutexattr_settype
885 pthread_once
886 pthread_rwlock_destroy
887 pthread_rwlock_init
888 pthread_rwlock_rdlock
889 pthread_rwlock_timedrdlock
890 pthread_rwlock_timedwrlock
891 pthread_rwlock_tryrdlock
892 pthread_rwlock_trywrlock
893 pthread_rwlock_unlock
894 pthread_rwlock_wrlock
895 pthread_rwlockattr_destroy
896 pthread_rwlockattr_getpshared
897 pthread_rwlockattr_init
898 pthread_rwlockattr_setpshared
899 pthread_self
900 pthread_setcancelstate
901 pthread_setcanceltype
902 pthread_setconcurrency
903 pthread_setschedparam
904 pthread_setschedprio
905 pthread_setspecific
906 pthread_sigmask
907 pthread_spin_destroy
908 pthread_spin_init
909 pthread_spin_lock
910 pthread_spin_trylock
911 pthread_spin_unlock
912 pthread_testcancel
913 ptsname
914 putc
915 putc_unlocked
916 putchar
917 putchar_unlocked
918 putenv
919 putmsg
920 putpmsg
921 puts
922 pututxline
923 putwc
924 putwchar
925 pwrite
926 qsort
927 raise
928 rand
929 rand_r
930 random
931 read
932 readdir
933 readdir_r
934 readlink
935 readv
936 realloc
937 realpath
938 recv
939 recvfrom
940 recvmsg
941 regcomp
942 regerror
943 regexec
944 regfree
945 remainder
946 remainderf
947 remainderl
948 remove
949 remque
950 remquo
951 remquof
952 remquol
953 rename
954 rewind
955 rewinddir
956 rindex
957 rint
958 rintf
959 rintl
960 rmdir
961 round
962 roundf
963 roundl
964 scalb
965 scalbln
966 scalblnf
967 scalblnl
968 scalbn
969 scalbnf
970 scalbnl
971 scanf
972 sched_get_priority_max
973 sched_getparam
974 sched_getscheduler
975 sched_rr_get_interval
976 sched_setparam
977 sched_setscheduler
978 sched_yield
979 seed48
980 seekdir
981 select
982 sem_close
983 sem_destroy
984 sem_getvalue
985 sem_init
986 sem_open
987 sem_post
988 sem_timedwait
989 sem_trywait
990 sem_unlink
991 sem_wait
992 semctl
993 semget
994 semop
995 send
996 sendmsg
997 sendto
998 setbuf
999 setcontext
1000 setegid
1001 setenv
1002 seteuid
1003 setgid
1004 setgrent
1005 sethostent
1006 setitimer
1007 setjmp
1008 setkey
1009 setlocale
1010 setlogmask
1011 setnetent
1012 setpgid
1013 setpgrp
1014 setpriority
1015 setprotoent
1016 setpwent
1017 setregid
1018 setreuid
1019 setrlimit
1020 setservent
1021 setsid
1022 setsockopt
1023 setstate
1024 setuid
1025 setutxent
1026 setvbuf
1027 shm_open
1028 shm_unlink
1029 shmat
1030 shmctl
1031 shmdt
1032 shmget
1033 shutdown
1034 sigaction
1035 sigaddset
1036 sigaltstack
1037 sigdelset
1038 sigemptyset
1039 sigfillset
1040 sighold
1041 sigignore
1042 siginterrupt
1043 sigismember
1044 siglongjmp
1045 signal
1046 signbit
1047 sigpause
1048 sigpending
1049 sigprocmask
1050 sigqueue
1051 sigrelse
1052 sigset
1053 sigsetjmp
1054 sigsuspend
1055 sigtimedwait
1056 sigwait
1057 sigwaitinfo
1058 sin
1059 sinf
1060 sinh
1061 sinhf
1062 sinhl
1063 sinl
1064 sleep
1065 snprintf
1066 sockatmark
1067 socket
1068 socketpair
1069 sprintf
1070 sqrt
1071 sqrtf
1072 sqrtl
1073 srand
1074 srand48
1075 srandom
1076 sscanf
1077 stat
1078 statvfs
1079 stdin
1080 strcasecmp
1081 strcat
1082 strchr
1083 strcmp
1084 strcoll
1085 strcpy
1086 strcspn
1087 strdup
1088 strerror
1089 strerror_r
1090 strfmon
1091 strftime
1092 strlen
1093 strncasecmp
1094 strncat
1095 strncmp
1096 strncpy
1097 strpbrk
1098 strptime
1099 strrchr
1100 strspn
1101 strstr
1102 strtod
1103 strtof
1104 strtoimax
1105 strtok
1106 strtok_r
1107 strtol
1108 strtold
1109 strtoll
1110 strtoul
1111 strtoull
1112 strtoumax
1113 strxfrm
1114 swab
1115 swapcontext
1116 swprintf
1117 swscanf
1118 symlink
1119 sync
1120 sysconf
1121 syslog
1122 system
1123 tan
1124 tanf
1125 tanh
1126 tanhf
1127 tanhl
1128 tanl
1129 tcdrain
1130 tcflow
1131 tcflush
1132 tcgetattr
1133 tcgetpgrp
1134 tcgetsid
1135 tcsendbreak
1136 tcsetattr
1137 tcsetpgrp
1138 tdelete
1139 telldir
1140 tempnam
1141 tfind
1142 tgamma
1143 tgammaf
1144 tgammal
1145 time
1146 timer_create
1147 timer_delete
1148 timer_getoverrun
1149 timer_settime
1150 times
1151 timezone
1152 tmpfile
1153 tmpnam
1154 toascii
1155 tolower
1156 toupper
1157 towctrans
1158 towlower
1159 towupper
1160 trunc
1161 truncate
1162 truncf
1163 truncl
1164 tsearch
1165 ttyname
1166 ttyname_r
1167 twalk
1168 tzname
1169 tzset
1170 ualarm
1171 ulimit
1172 umask
1173 uname
1174 ungetc
1175 ungetwc
1176 unlink
1177 unlockpt
1178 unsetenv
1179 usleep
1180 utime
1181 utimes
1182 va_arg
1183 va_copy
1184 va_end
1185 va_start
1186 vfork
1187 vfprintf
1188 vfscanf
1189 vfwprintf
1190 vfwscanf
1191 vprintf
1192 vscanf
1193 vsnprintf
1194 vsprintf
1195 vsscanf
1196 vswprintf
1197 vswscanf
1198 vwprintf
1199 vwscanf
1200 wait
1201 waitid
1202 waitpid
1203 wcrtomb
1204 wcscat
1205 wcschr
1206 wcscmp
1207 wcscoll
1208 wcscpy
1209 wcscspn
1210 wcsftime
1211 wcslen
1212 wcsncat
1213 wcsncmp
1214 wcsncpy
1215 wcspbrk
1216 wcsrchr
1217 wcsrtombs
1218 wcsspn
1219 wcsstr
1220 wcstod
1221 wcstof
1222 wcstoimax
1223 wcstok
1224 wcstol
1225 wcstold
1226 wcstoll
1227 wcstombs
1228 wcstoul
1229 wcstoull
1230 wcstoumax
1231 wcswcs
1232 wcswidth
1233 wcsxfrm
1234 wctob
1235 wctomb
1236 wctrans
1237 wctype
1238 wcwidth
1239 wmemchr
1240 wmemcmp
1241 wmemcpy
1242 wmemmove
1243 wmemset
1244 wordexp
1245 wordfree
1246 wprintf
1247 write
1248 writev
1249 wscanf
1250 y0
1251 y1
1252 yn
1253 ' | sed -e "$sed_alt1" | tr -d "$trnl" | sed -e "$sed_alt2" -e "$sed_alt3"`
1254
1255 indent=""
1256 seen_modules=
1257 seen_files=
1258
1259 # func_exit STATUS
1260 # exit with status
1261 func_exit ()
1262 {
1263   (exit $1); exit $1
1264 }
1265
1266 # func_tmpdir
1267 # creates a temporary directory.
1268 # Sets variable
1269 # - tmp             pathname of freshly created temporary directory
1270 func_tmpdir ()
1271 {
1272   # Use the environment variable TMPDIR, falling back to /tmp. This allows
1273   # users to specify a different temporary directory, for example, if their
1274   # /tmp is filled up or too small.
1275   : ${TMPDIR=/tmp}
1276   {
1277     # Use the mktemp program if available. If not available, hide the error
1278     # message.
1279     tmp=`(umask 077 && mktemp -d "$TMPDIR/MDXXXXXX") 2>/dev/null` &&
1280     test -n "$tmp" && test -d "$tmp"
1281   } ||
1282   {
1283     # Use a simple mkdir command. It is guaranteed to fail if the directory
1284     # already exists.  $RANDOM is bash specific and expands to empty in shells
1285     # other than bash, ksh and zsh.  Its use does not increase security;
1286     # rather, it minimizes the probability of failure in a very cluttered /tmp
1287     # directory.
1288     tmp=$TMPDIR/MD$$-$RANDOM
1289     (umask 077 && mkdir "$tmp")
1290   } ||
1291   {
1292     echo "$0: cannot create a temporary directory in $TMPDIR" >&2
1293     func_exit 1
1294   }
1295 }
1296
1297 # func_append var value
1298 # appends the given value to the shell variable var.
1299 if ( foo=bar; foo+=baz && test "$foo" = barbaz ) >/dev/null 2>&1; then
1300   # Use bash's += operator. It reduces complexity of appending repeatedly to
1301   # a single variable from O(n^2) to O(n).
1302   func_append ()
1303   {
1304     eval "$1+=\"\$2\""
1305   }
1306 else
1307   func_append ()
1308   {
1309     eval "$1=\"\$$1\$2\""
1310   }
1311 fi
1312
1313 # func_echo line
1314 # outputs line with indentation.
1315 func_echo ()
1316 {
1317   echo "${indent}$*"
1318 }
1319
1320 # func_indent
1321 # increases the indentation.
1322 func_indent ()
1323 {
1324   indent="$indent  "
1325 }
1326
1327 # func_unindent
1328 # decreases the indentation.
1329 func_unindent ()
1330 {
1331   indent=`echo "$indent" | sed -e 's/  $//'`
1332 }
1333
1334 # func_begin tag [attribute...]
1335 # opens a HTML tag.
1336 func_begin ()
1337 {
1338   func_echo "<$*>"
1339   func_indent
1340 }
1341
1342 # func_end tag
1343 # closes a HTML tag.
1344 func_end ()
1345 {
1346   func_unindent
1347   func_echo "</$1>"
1348 }
1349
1350 # func_wrap tag [attribute...]
1351 # encloses $element in a HTML tag, without line breaks.
1352 func_wrap ()
1353 {
1354   element="<$*>${element}</$1>"
1355 }
1356
1357 # func_section_wrap sectiontag
1358 # encloses $element in a HTML tag referring to the given tag.
1359 func_section_wrap ()
1360 {
1361   if test -n "$in_toc"; then
1362     func_wrap A "HREF=\"#$1\""
1363   else
1364     func_wrap A "NAME=\"$1\""
1365   fi
1366 }
1367
1368 # func_begin_table
1369 func_begin_table ()
1370 {
1371   func_begin TABLE
1372   if test -z "$in_toc"; then
1373     func_begin TR
1374     func_echo "<TH ALIGN=LEFT>modules/"
1375     func_echo "<TH ALIGN=LEFT>lib/"
1376     func_echo "<TH ALIGN=LEFT>lib/"
1377     func_echo "<TH ALIGN=LEFT>m4/"
1378     func_echo "<TH ALIGN=LEFT>&nbsp;"
1379     func_end TR
1380     func_begin TR
1381     func_echo "<TH ALIGN=LEFT>Module"
1382     func_echo "<TH ALIGN=LEFT>Header"
1383     func_echo "<TH ALIGN=LEFT>Implementation"
1384     func_echo "<TH ALIGN=LEFT>Autoconf macro"
1385     func_echo "<TH ALIGN=LEFT>Depends on"
1386     func_end TR
1387   fi
1388 }
1389
1390 # func_module module
1391 func_module ()
1392 {
1393     sed_remove_trailing_empty_line='${
1394 /^$/d
1395 }'
1396
1397   if test -n "$in_toc"; then
1398
1399     func_begin TR "WIDTH=\"100%\""
1400
1401     element='<A HREF="#module='$1'">'$1'</A>'
1402     func_echo "<TD ALIGN=LEFT VALIGN=TOP WIDTH=\"20%\">$element"
1403
1404     # Rendering the description:
1405     # - Change the symbol() syntax as suitable for documentation, removing the
1406     #   parentheses (as per GNU standards, section "GNU Manuals").
1407     # - Flag the remaining symbol() constructs as errors.
1408     # - Change 'xxx' to <CODE>xxx</CODE>.
1409     element=`gnulib-tool --extract-description $1 \
1410              | sed -e "$sed_lt" -e "$sed_gt" -e "$sed_remove_trailing_empty_line" \
1411                    -e 's,^, ,' -e 's,$, ,' \
1412                    -e 's,\([^a-zA-Z_]\)'"${posix_functions}"'() \(function\|macro\),\1<A HREF="'"$POSIX2001_URL"'xsh/\2.html">\2</A> \3,g' \
1413                    -e 's,\([^a-zA-Z_]\)'"${posix_functions}"' \(function\|macro\),\1<A HREF="'"$POSIX2001_URL"'xsh/\2.html">\2</A> \3,g' \
1414                    -e 's,\([^a-zA-Z_]\)'"${posix_functions}"'(),\1<A HREF="'"$POSIX2001_URL"'xsh/\2.html">\2</A> <SPAN STYLE="color:#FF0000;">what?? If you mean a function\, please say so.</SPAN>,g' \
1415                    -e 's,\([^a-zA-Z_]\)\([a-zA-Z_][a-zA-Z0-9_]*\)() \(function\|macro\),\1\2 \3,g' \
1416                    -e 's,\([^a-zA-Z_]\)\([a-zA-Z_][a-zA-Z0-9_]*\)(),\1\2 <SPAN STYLE="color:#FF0000;">what?? If you mean a function\, please say so.</SPAN>,g' \
1417                    -e 's, '"'"'\([a-zA-Z0-9_ -]*\)'"'"'\([^a-zA-Z0-9_]\), <CODE>\1</CODE>\2,g' \
1418                    -e 's,^ ,,' -e 's, $,,'`
1419     func_echo "<TD ALIGN=LEFT VALIGN=TOP WIDTH=\"80%\">$element"
1420
1421     func_end TR
1422
1423   else
1424
1425     func_begin TR
1426
1427     element='<A NAME="module='$1'"></A><A HREF="'$repo_url_prefix'modules/'$1$repo_url_suffix'">'$1'</A>'
1428     func_echo "<TD ALIGN=LEFT VALIGN=TOP>$element"
1429
1430     includes=`gnulib-tool --extract-include-directive $1`
1431     files=`gnulib-tool --extract-filelist $1 \
1432            | grep -v '^m4/gnulib-common\.m4$'`
1433     element=`echo "$includes" \
1434              | sed -e "$sed_lt" -e "$sed_gt" -e "$sed_remove_trailing_empty_line" \
1435                    -e 's,^#include "\(.*\)"$,#include "<A HREF="'$repo_url_prefix'lib/\1'$repo_url_suffix_repl'">\1</A>",' \
1436                    -e 's,^#include &lt;'"${posix_headers}"'\.h&gt;$,#include \&lt;<A HREF="'"$POSIX2001_URL"'xbd/\1.h.html">\1.h</A>\&gt;,' \
1437                    -e 's/$/<BR>/' | tr -d "$trnl" | sed -e 's/<BR>$//'`
1438     test -n "$element" || element='---'
1439     func_echo "<TD ALIGN=LEFT VALIGN=TOP>$element"
1440
1441     sed_choose_unconditional_nonstandard_include='s,^#include "\(.*\)"$,\1,p'
1442     includefile=`echo "$includes" \
1443                  | sed -n -e "$sed_choose_unconditional_nonstandard_include" \
1444                  | sed -e "$sed_escape_dot" | tr -d "$trnl"`
1445     sed_choose_lib_files='s,^lib/\(.*\)$,\1,p'
1446     element=`echo "$files" \
1447              | sed -e '/^$/d' \
1448              | sed -n -e "$sed_choose_lib_files" \
1449              | sed -e '\|^'"${includefile}"'$|d' \
1450                    -e 's,^\(.*\)$,<A HREF="'$repo_url_prefix'lib/\1'$repo_url_suffix_repl'">\1</A>,' \
1451                    -e 's/$/<BR>/' | tr -d "$trnl" | sed -e 's/<BR>$//'`
1452     test -n "$element" || element='---'
1453     func_echo "<TD ALIGN=LEFT VALIGN=TOP>$element"
1454
1455     sed_choose_m4_files='s,^m4/\(.*\)$,\1,p'
1456     element=`(echo "$files" \
1457               | sed -e "$sed_remove_trailing_empty_line" \
1458               | sed -n -e "$sed_choose_m4_files" \
1459               | sed -e '/^onceonly/d' \
1460                     -e 's,^\(.*\)$,<A HREF="'$repo_url_prefix'm4/\1'$repo_url_suffix_repl'">\1</A>,'; \
1461               gnulib-tool --extract-autoconf-snippet $1 \
1462               | sed -e "$sed_remove_trailing_empty_line") \
1463               | sed -e 's/$/<BR>/' | tr -d "$trnl" | sed -e 's/<BR>$//'`
1464     test -n "$element" || element='---'
1465     func_echo "<TD ALIGN=LEFT VALIGN=TOP>$element"
1466
1467     element=`gnulib-tool --extract-dependencies $1 \
1468              | sed -e "$sed_remove_trailing_empty_line" \
1469                    -e 's/$/<BR>/' | tr -d "$trnl" | sed -e 's/<BR>$//'`
1470     test -n "$element" || element='---'
1471     func_echo "<TD ALIGN=LEFT VALIGN=TOP>$element"
1472
1473     func_end TR
1474
1475     func_append seen_modules " $1"
1476     func_append seen_files " $files"
1477   fi
1478 }
1479
1480 # func_end_table
1481 func_end_table ()
1482 {
1483   func_end TABLE
1484 }
1485
1486 # func_all_modules
1487 func_all_modules ()
1488 {
1489   element="Support for systems lacking ANSI C 89"
1490   func_section_wrap ansic_sup
1491   func_wrap H2
1492   func_echo "$element"
1493
1494   func_begin_table
1495   func_module stdlib
1496   func_module exit
1497   func_module atexit
1498   func_module strtod
1499   func_module strtol
1500   func_module strtoul
1501   func_module memchr
1502   func_module memcmp
1503   func_module memcpy
1504   func_module memmove
1505   func_module memset
1506   func_module strcspn
1507   func_module strpbrk
1508   func_module strerror
1509   func_module mktime
1510   func_end_table
1511
1512   func_echo 'Most of these modules are not listed among dependencies below, for simplicity.'
1513
1514   element="Enhancements for ANSI C 89 functions"
1515   func_section_wrap ansic_enh
1516   func_wrap H2
1517   func_echo "$element"
1518
1519   element="Diagnostics <assert.h>"
1520   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1521   func_section_wrap ansic_enh_assert_diagnostics
1522   func_wrap H3
1523   func_echo "$element"
1524
1525   func_begin_table
1526   func_module assert
1527   func_module verify
1528   func_end_table
1529
1530   element="Mathematics <math.h>"
1531   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1532   func_section_wrap ansic_enh_math
1533   func_wrap H3
1534   func_echo "$element"
1535
1536   func_begin_table
1537   func_module fpieee
1538   func_end_table
1539
1540   element="Input/output <stdio.h>"
1541   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1542   func_section_wrap ansic_enh_stdio
1543   func_wrap H3
1544   func_echo "$element"
1545
1546   func_begin_table
1547   func_module fflush
1548   func_module fseterr
1549   func_module tmpfile
1550   func_end_table
1551
1552   element="Memory management functions <stdlib.h>"
1553   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1554   func_section_wrap ansic_enh_stdlib_memory
1555   func_wrap H3
1556   func_echo "$element"
1557
1558   func_begin_table
1559   func_module calloc
1560   func_module eealloc
1561   func_module free
1562   func_module malloc
1563   func_module realloc
1564   func_module pagealign_alloc
1565   func_end_table
1566
1567   element="Sorting functions <stdlib.h>"
1568   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1569   func_section_wrap ansic_enh_stdlib_sorting
1570   func_wrap H3
1571   func_echo "$element"
1572
1573   func_begin_table
1574   func_module mpsort
1575   func_end_table
1576
1577   element="Date and time <time.h>"
1578   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1579   func_section_wrap ansic_enh_time_datetime
1580   func_wrap H3
1581   func_echo "$element"
1582
1583   func_begin_table
1584   func_module fprintftime
1585   func_module strftime
1586   func_end_table
1587
1588   element="Extra functions based on ANSI C 89"
1589   func_section_wrap ansic_ext
1590   func_wrap H2
1591   func_echo "$element"
1592
1593   element="Memory management functions <stdlib.h>"
1594   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1595   func_section_wrap ansic_ext_stdlib_memory
1596   func_wrap H3
1597   func_echo "$element"
1598
1599   func_begin_table
1600   func_module xsize
1601   func_module xalloc
1602   func_module xalloc-die
1603   func_module alloca
1604   func_module alloca-opt
1605   func_module malloca
1606   func_module xmalloca
1607   func_module xmemdup0
1608   func_end_table
1609
1610   element="Integer arithmetic functions <stdlib.h>"
1611   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1612   func_section_wrap ansic_ext_stdlib_arith
1613   func_wrap H3
1614   func_echo "$element"
1615
1616   func_begin_table
1617   func_module count-one-bits
1618   func_module gcd
1619   func_module minmax
1620   func_end_table
1621
1622   element="Environment variables <stdlib.h>"
1623   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1624   func_section_wrap ansic_ext_stdlib_env
1625   func_wrap H3
1626   func_echo "$element"
1627
1628   func_begin_table
1629   func_module putenv
1630   func_module setenv
1631   func_module unsetenv
1632   func_module xsetenv
1633   func_end_table
1634
1635   element="Character handling <ctype.h>"
1636   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1637   func_section_wrap ansic_ext_ctype
1638   func_wrap H3
1639   func_echo "$element"
1640
1641   func_begin_table
1642   func_module c-ctype
1643   func_end_table
1644
1645   element="String handling <string.h>"
1646   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1647   func_section_wrap ansic_ext_string
1648   func_wrap H3
1649   func_echo "$element"
1650
1651   func_begin_table
1652   func_module bcopy
1653   func_module memchr2
1654   func_module memmem
1655   func_module memmem-simple
1656   func_module mempcpy
1657   func_module memrchr
1658   func_module rawmemchr
1659   func_module stpcpy
1660   func_module stpncpy
1661   func_module c-strcase
1662   func_module strcase
1663   func_module c-strcaseeq
1664   func_module c-strcasestr
1665   func_module strcasestr
1666   func_module strcasestr-simple
1667   func_module strchrnul
1668   func_module strdup
1669   func_module streq
1670   func_module strnlen
1671   func_module strnlen1
1672   func_module strndup
1673   func_module strsep
1674   func_module strstr
1675   func_module c-strstr
1676   func_module trim
1677   func_module fstrcmp
1678   func_module xstrndup
1679   func_end_table
1680
1681   element="Mathematics <math.h>"
1682   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1683   func_section_wrap ansic_ext_math
1684   func_wrap H3
1685   func_echo "$element"
1686
1687   func_begin_table
1688   func_module printf-frexp
1689   func_end_table
1690
1691   element="Numeric conversion functions <stdlib.h>"
1692   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1693   func_section_wrap ansic_ext_stdlib_conv
1694   func_wrap H3
1695   func_echo "$element"
1696
1697   func_begin_table
1698   func_module c-strtod
1699   func_module c-strtold
1700   func_module xstrtod
1701   func_module xstrtol
1702   func_module xstrtold
1703   func_end_table
1704
1705   element="Date and time <time.h>"
1706   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1707   func_section_wrap ansic_ext_time_datetime
1708   func_wrap H3
1709   func_echo "$element"
1710
1711   func_begin_table
1712   func_module getdate
1713   func_module timegm
1714   func_module tzset
1715   func_end_table
1716
1717   element="Input/Output <stdio.h>"
1718   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1719   func_section_wrap ansic_ext_stdio
1720   func_wrap H3
1721   func_echo "$element"
1722
1723   func_begin_table
1724   func_module unlocked-io
1725   func_module fwriteerror
1726   func_module vasnprintf
1727   func_module vasprintf
1728   func_module xprintf
1729   func_module xvasprintf
1730   func_end_table
1731
1732   element="Signal handling <signal.h>"
1733   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1734   func_section_wrap ansic_ext_signal
1735   func_wrap H3
1736   func_echo "$element"
1737
1738   func_begin_table
1739   func_module fatal-signal
1740   func_module raise
1741   func_module strsignal
1742   func_end_table
1743
1744   element="Command-line arguments"
1745   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1746   func_section_wrap ansic_ext_argv
1747   func_wrap H3
1748   func_echo "$element"
1749
1750   func_begin_table
1751   func_module argmatch
1752   func_module version-etc
1753   func_module version-etc-fsf
1754   func_module long-options
1755   func_end_table
1756
1757   element="Container data structures"
1758   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1759   func_section_wrap ansic_ext_container
1760   func_wrap H3
1761   func_echo "$element"
1762
1763   func_begin_table
1764   func_module list
1765   func_module array-list
1766   func_module carray-list
1767   func_module linked-list
1768   func_module avltree-list
1769   func_module rbtree-list
1770   func_module linkedhash-list
1771   func_module avltreehash-list
1772   func_module rbtreehash-list
1773   func_module sublist
1774   func_module oset
1775   func_module array-oset
1776   func_module avltree-oset
1777   func_module rbtree-oset
1778   func_end_table
1779
1780   element="Cryptographic computations (low-level)"
1781   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1782   func_section_wrap ansic_ext_crypto
1783   func_wrap H3
1784   func_echo "$element"
1785
1786   func_begin_table
1787   func_module crypto/arcfour
1788   func_module crypto/arctwo
1789   func_module crypto/des
1790   func_module crypto/hmac-md5
1791   func_module crypto/hmac-sha1
1792   func_module crypto/md2
1793   func_module crypto/md4
1794   func_module crypto/md5
1795   func_module crypto/rijndael
1796   func_module crypto/sha1
1797   func_module crypto/sha256
1798   func_module crypto/sha512
1799   func_end_table
1800
1801   element="Cryptographic computations (high-level)"
1802   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1803   func_section_wrap ansic_ext_crypto2
1804   func_wrap H3
1805   func_echo "$element"
1806
1807   func_begin_table
1808   func_module crypto/gc
1809   func_module crypto/gc-arcfour
1810   func_module crypto/gc-arctwo
1811   func_module crypto/gc-camellia
1812   func_module crypto/gc-des
1813   func_module crypto/gc-hmac-md5
1814   func_module crypto/gc-hmac-sha1
1815   func_module crypto/gc-md2
1816   func_module crypto/gc-md4
1817   func_module crypto/gc-md5
1818   func_module crypto/gc-pbkdf2-sha1
1819   func_module crypto/gc-random
1820   func_module crypto/gc-rijndael
1821   func_module crypto/gc-sha1
1822   func_end_table
1823
1824   element="Misc"
1825   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1826   func_section_wrap ansic_ext_misc
1827   func_wrap H3
1828   func_echo "$element"
1829
1830   func_begin_table
1831   func_module base64
1832   func_module check-version
1833   func_module crc
1834   func_module diacrit
1835   func_module diffseq
1836   func_module getline
1837   func_module getdelim
1838   func_module getnline
1839   func_module getndelim2
1840   func_module linebuffer
1841   func_module memxor
1842   func_module obstack
1843   func_module obstack-printf
1844   func_module obstack-printf-posix
1845   func_module hash-pjw
1846   func_module hash
1847   func_module readline
1848   func_module readtokens
1849   func_module readtokens0
1850   func_module strverscmp
1851   func_end_table
1852
1853   element="Support for systems lacking ISO C 99"
1854   func_section_wrap isoc_sup
1855   func_wrap H2
1856   func_echo "$element"
1857
1858   element="Core language properties"
1859   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1860   func_section_wrap isoc_core_properties
1861   func_wrap H3
1862   func_echo "$element"
1863
1864   func_begin_table
1865   func_module flexmember
1866   func_module fpucw
1867   func_module func
1868   func_module inline
1869   func_module longlong
1870   func_module vararrays
1871   func_end_table
1872
1873   element="Sizes of integer types <limits.h>"
1874   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1875   func_section_wrap isoc_sup_limits
1876   func_wrap H3
1877   func_echo "$element"
1878
1879   func_begin_table
1880   func_module size_max
1881   func_end_table
1882
1883   element="Variable arguments <stdarg.h>"
1884   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1885   func_section_wrap isoc_sup_stdarg
1886   func_wrap H3
1887   func_echo "$element"
1888
1889   func_begin_table
1890   func_module stdarg
1891   func_end_table
1892
1893   element="Boolean type and values <stdbool.h>"
1894   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1895   func_section_wrap isoc_sup_stdbool
1896   func_wrap H3
1897   func_echo "$element"
1898
1899   func_begin_table
1900   func_module stdbool
1901   func_end_table
1902
1903   element="Integer types and values <stdint.h>"
1904   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1905   func_section_wrap isoc_sup_stdint
1906   func_wrap H3
1907   func_echo "$element"
1908
1909   func_begin_table
1910   func_module stdint
1911   func_end_table
1912
1913   element="Input/output <stdio.h>"
1914   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1915   func_section_wrap isoc_sup_stdio
1916   func_wrap H3
1917   func_echo "$element"
1918
1919   func_begin_table
1920   func_module stdio
1921   func_module snprintf
1922   func_module vsnprintf
1923   func_end_table
1924
1925   element="Numeric conversion functions <stdlib.h>"
1926   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1927   func_section_wrap isoc_sup_stdlib_conv
1928   func_wrap H3
1929   func_echo "$element"
1930
1931   func_begin_table
1932   func_module strtoll
1933   func_module strtoull
1934   func_end_table
1935
1936   element="Functions for greatest-width integer types <inttypes.h>"
1937   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1938   func_section_wrap isoc_sup_inttypes
1939   func_wrap H3
1940   func_echo "$element"
1941
1942   func_begin_table
1943   func_module imaxabs
1944   func_module imaxdiv
1945   func_module inttypes
1946   func_module strtoimax
1947   func_module strtoumax
1948   func_end_table
1949
1950   element="Extended multibyte and wide character utilities <wchar.h>"
1951   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1952   func_section_wrap isoc_sup_wchar
1953   func_wrap H3
1954   func_echo "$element"
1955
1956   func_begin_table
1957   func_module wchar
1958   func_end_table
1959
1960   element="Wide character classification and mapping utilities <wctype.h>"
1961   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1962   func_section_wrap isoc_sup_wctype
1963   func_wrap H3
1964   func_echo "$element"
1965
1966   func_begin_table
1967   func_module wctype
1968   func_end_table
1969
1970   element="Characteristics of floating types <float.h>"
1971   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1972   func_section_wrap isoc_sup_float
1973   func_wrap H3
1974   func_echo "$element"
1975
1976   func_begin_table
1977   func_module float
1978   func_end_table
1979
1980   element="Mathematics <math.h>"
1981   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1982   func_section_wrap isoc_sup_math
1983   func_wrap H3
1984   func_echo "$element"
1985
1986   func_begin_table
1987   func_module ceil
1988   func_module ceilf
1989   func_module ceill
1990   func_module floor
1991   func_module floorf
1992   func_module floorl
1993   func_module frexp
1994   func_module frexp-nolibm
1995   func_module frexpl
1996   func_module frexpl-nolibm
1997   func_module isfinite
1998   func_module isinf
1999   func_module isnan
2000   func_module isnanf
2001   func_module isnanf-nolibm
2002   func_module isnand
2003   func_module isnand-nolibm
2004   func_module isnanl
2005   func_module isnanl-nolibm
2006   func_module ldexpl
2007   func_module math
2008   func_module mathl
2009   func_module round
2010   func_module roundf
2011   func_module roundl
2012   func_module signbit
2013   func_module trunc
2014   func_module truncf
2015   func_module truncl
2016   func_end_table
2017
2018   element="Enhancements for ISO C 99 functions"
2019   func_section_wrap isoc_enh
2020   func_wrap H2
2021   func_echo "$element"
2022
2023   element="Input/output <stdio.h>"
2024   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2025   func_section_wrap isoc_enh_stdio
2026   func_wrap H3
2027   func_echo "$element"
2028
2029   func_begin_table
2030   func_module printf-safe
2031   func_end_table
2032
2033   element="Extra functions based on ISO C 99"
2034   func_section_wrap isoc_ext
2035   func_wrap H2
2036   func_echo "$element"
2037
2038   element="Mathematics <math.h>"
2039   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2040   func_section_wrap isoc_ext_math
2041   func_wrap H3
2042   func_echo "$element"
2043
2044   func_begin_table
2045   func_module printf-frexpl
2046   func_end_table
2047
2048   element="Numeric conversion functions <stdlib.h>"
2049   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2050   func_section_wrap isoc_ext_stdlib_conv
2051   func_wrap H3
2052   func_echo "$element"
2053
2054   func_begin_table
2055   func_module intprops
2056   func_module inttostr
2057   func_module xstrtoimax
2058   func_module xstrtoumax
2059   func_end_table
2060
2061   element="Extended multibyte and wide character utilities <wchar.h>"
2062   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2063   func_section_wrap isoc_ext_wchar_mb
2064   func_wrap H3
2065   func_echo "$element"
2066
2067   func_begin_table
2068   func_module mbchar
2069   func_module mbiter
2070   func_module mbuiter
2071   func_module mbfile
2072   func_end_table
2073
2074   element="Support for systems lacking POSIX:2001"
2075   func_section_wrap posix_sup
2076   func_wrap H2
2077   func_echo "$element"
2078
2079   func_begin_table
2080   func_module arpa_inet
2081   func_module calloc-posix
2082   func_module chown
2083   func_module dup2
2084   func_module environ
2085   func_module EOVERFLOW
2086   func_module fchdir
2087   func_module fcntl
2088   func_module fopen
2089   func_module fprintf-posix
2090   func_module freopen
2091   func_module fseek
2092   func_module fseeko
2093   func_module ftell
2094   func_module ftello
2095   func_module ftruncate
2096   func_module getaddrinfo
2097   func_module getcwd
2098   func_module getgroups
2099   func_module gethostname
2100   func_module getlogin_r
2101   func_module getsubopt
2102   func_module gettimeofday
2103   func_module iconv_open
2104   func_module inet_ntop
2105   func_module inet_pton
2106   func_module locale
2107   func_module lseek
2108   func_module lstat
2109   func_module malloc-posix
2110   func_module mkdir
2111   func_module mkdtemp
2112   func_module mkstemp
2113   func_module netinet_in
2114   func_module open
2115   func_module poll
2116   func_module printf-posix
2117   func_module readlink
2118   func_module realloc-posix
2119   func_module signal
2120   func_module sleep
2121   func_module snprintf-posix
2122   func_module sprintf-posix
2123   func_module string
2124   func_module strings
2125   func_module tempname
2126   func_module time
2127   func_module time_r
2128   func_module timespec
2129   func_module nanosleep
2130   func_module regex
2131   func_module rename
2132   func_module rmdir
2133   func_module search
2134   func_module sigaction
2135   func_module sigprocmask
2136   func_module socklen
2137   func_module ssize_t
2138   func_module strptime
2139   func_module strtok_r
2140   func_module sys_select
2141   func_module sys_socket
2142   func_module sys_stat
2143   func_module sys_time
2144   func_module tsearch
2145   func_module unistd
2146   func_module utime
2147   func_module vasnprintf-posix
2148   func_module vasprintf-posix
2149   func_module vfprintf-posix
2150   func_module vprintf-posix
2151   func_module vsnprintf-posix
2152   func_module vsprintf-posix
2153   func_module wcwidth
2154   func_end_table
2155
2156   element="Compatibility checks for POSIX:2001 functions"
2157   func_section_wrap posix_compat
2158   func_wrap H2
2159   func_echo "$element"
2160
2161   func_begin_table
2162   func_module clock-time
2163   func_module d-ino
2164   func_module d-type
2165   func_module link-follow
2166   func_module rename-dest-slash
2167   func_module rmdir-errno
2168   func_module unlink-busy
2169   func_module winsz-ioctl
2170   func_module winsz-termios
2171   func_end_table
2172
2173   element="Enhancements for POSIX:2001 functions"
2174   func_section_wrap posix_enh
2175   func_wrap H2
2176   func_echo "$element"
2177
2178   func_begin_table
2179   func_module chdir-long
2180   func_module dirname
2181   func_module getopt
2182   func_module iconv_open-utf
2183   func_module unistd-safer
2184   func_module fnmatch
2185   func_module fnmatch-posix
2186   func_module fnmatch-gnu
2187   func_module glob
2188   func_module exclude
2189   func_end_table
2190
2191   element="Extra functions based on POSIX:2001"
2192   func_section_wrap posix_ext
2193   func_wrap H2
2194   func_echo "$element"
2195
2196   element="Input/output"
2197   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2198   func_section_wrap posix_ext_stdio
2199   func_wrap H3
2200   func_echo "$element"
2201
2202   func_begin_table
2203   func_module xprintf-posix
2204   func_module xvasprintf-posix
2205   func_end_table
2206
2207   element="Numeric conversion functions"
2208   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2209   func_section_wrap posix_ext_conv
2210   func_wrap H3
2211   func_echo "$element"
2212
2213   func_begin_table
2214   func_module human
2215   func_end_table
2216
2217   element="File system functions"
2218   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2219   func_section_wrap posix_ext_filesys
2220   func_wrap H3
2221   func_echo "$element"
2222
2223   func_begin_table
2224   func_module acl
2225   func_module areadlink
2226   func_module areadlink-with-size
2227   func_module backupfile
2228   func_module canonicalize
2229   func_module canonicalize-lgpl
2230   func_module chdir-safer
2231   func_module clean-temp
2232   func_module copy-file
2233   func_module fsusage
2234   func_module dirfd
2235   func_module double-slash-root
2236   func_module euidaccess
2237   func_module file-type
2238   func_module fileblocks
2239   func_module filemode
2240   func_module filename
2241   func_module filenamecat
2242   func_module fts
2243   func_module fts-lgpl
2244   func_module isdir
2245   func_module lchmod
2246   func_module lchown
2247   func_module mkancesdirs
2248   func_module mkdir-p
2249   func_module modechange
2250   func_module mountlist
2251   func_module openat
2252   func_module openat-die
2253   func_module pathmax
2254   func_module read-file
2255   func_module same
2256   func_module save-cwd
2257   func_module savedir
2258   func_module savewd
2259   func_module stat-macros
2260   func_module stat-time
2261   func_module tmpdir
2262   func_module unlinkdir
2263   func_module utimecmp
2264   func_module utimens
2265   func_module write-any-file
2266   func_module xgetcwd
2267   func_module xreadlink
2268   func_end_table
2269
2270   element="File system as inode set"
2271   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2272   func_section_wrap posix_ext_inodeset
2273   func_wrap H3
2274   func_echo "$element"
2275
2276   func_begin_table
2277   func_module cycle-check
2278   func_module dev-ino
2279   func_module file-set
2280   func_module hash-triple
2281   func_module i-ring
2282   func_module same-inode
2283   func_end_table
2284
2285   element="File descriptor based Input/Output"
2286   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2287   func_section_wrap posix_ext_filedesc
2288   func_wrap H3
2289   func_echo "$element"
2290
2291   func_begin_table
2292   func_module fcntl-safer
2293   func_module safe-read
2294   func_module safe-write
2295   func_module full-read
2296   func_module full-write
2297   func_module binary-io
2298   func_module isapipe
2299   func_end_table
2300
2301   element="File stream based Input/Output"
2302   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2303   func_section_wrap posix_ext_filestream
2304   func_wrap H3
2305   func_echo "$element"
2306
2307   func_begin_table
2308   func_module close-stream
2309   func_module closein
2310   func_module closeout
2311   func_module fbufmode
2312   func_module fopen-safer
2313   func_module fpending
2314   func_module fpurge
2315   func_module freadable
2316   func_module freadahead
2317   func_module freading
2318   func_module freadptr
2319   func_module freadseek
2320   func_module fwritable
2321   func_module fwriting
2322   func_module getpass
2323   func_module getpass-gnu
2324   func_module stdlib-safer
2325   func_module tmpfile-safer
2326   func_end_table
2327
2328   element="Users and groups"
2329   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2330   func_section_wrap posix_ext_uidgid
2331   func_wrap H3
2332   func_echo "$element"
2333
2334   func_begin_table
2335   func_module getugroups
2336   func_module group-member
2337   func_module idcache
2338   func_module userspec
2339   func_end_table
2340
2341   element="Date and time"
2342   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2343   func_section_wrap posix_ext_datetime
2344   func_wrap H3
2345   func_echo "$element"
2346
2347   func_begin_table
2348   func_module gethrxtime
2349   func_module gettime
2350   func_module settime
2351   func_module posixtm
2352   func_module xnanosleep
2353   func_end_table
2354
2355   element="Networking functions"
2356   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2357   func_section_wrap posix_ext_net
2358   func_wrap H3
2359   func_echo "$element"
2360
2361   func_begin_table
2362   func_module xgethostname
2363   func_module canon-host
2364   func_module sockets
2365   func_end_table
2366
2367   element="Multithreading"
2368   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2369   func_section_wrap posix_ext_thread
2370   func_wrap H3
2371   func_echo "$element"
2372
2373   func_begin_table
2374   func_module threadlib
2375   func_module lock
2376   func_module tls
2377   func_module thread
2378   func_module yield
2379   func_module cond
2380   func_module openmp
2381   func_end_table
2382
2383   element="Signal handling"
2384   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2385   func_section_wrap posix_ext_signal
2386   func_wrap H3
2387   func_echo "$element"
2388
2389   func_begin_table
2390   func_module c-stack
2391   func_module libsigsegv
2392   func_module sig2str
2393   func_module sigpipe-die
2394   func_end_table
2395
2396   element="Internationalization functions"
2397   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2398   func_section_wrap posix_ext_i18n
2399   func_wrap H3
2400   func_echo "$element"
2401
2402   func_begin_table
2403   func_module gettext
2404   func_module gettext-h
2405   func_module propername
2406   func_module iconv
2407   func_module striconv
2408   func_module xstriconv
2409   func_module striconveh
2410   func_module striconveha
2411   func_module localcharset
2412   func_module hard-locale
2413   func_module localename
2414   func_module mbslen
2415   func_module mbsnlen
2416   func_module mbschr
2417   func_module mbsrchr
2418   func_module mbsstr
2419   func_module mbscasecmp
2420   func_module mbsncasecmp
2421   func_module mbspcasecmp
2422   func_module mbscasestr
2423   func_module mbscspn
2424   func_module mbspbrk
2425   func_module mbsspn
2426   func_module mbssep
2427   func_module mbstok_r
2428   func_module mbswidth
2429   func_module memcasecmp
2430   func_module memcoll
2431   func_module xmemcoll
2432   func_module unicodeio
2433   func_module rpmatch
2434   func_module yesno
2435   func_module bison-i18n
2436   func_end_table
2437
2438   element="Unicode string functions"
2439   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2440   func_section_wrap posix_ext_unicode
2441   func_wrap H3
2442   func_echo "$element"
2443
2444   func_begin_table
2445   func_module unitypes
2446   func_module ucs4-utf8
2447   func_module ucs4-utf16
2448   func_module utf8-ucs4-unsafe
2449   func_module utf16-ucs4-unsafe
2450   func_module utf8-ucs4
2451   func_module utf16-ucs4
2452   func_module unistr/base
2453   func_module unistr/u8-to-u16
2454   func_module unistr/u8-to-u32
2455   func_module unistr/u16-to-u8
2456   func_module unistr/u16-to-u32
2457   func_module unistr/u32-to-u8
2458   func_module unistr/u32-to-u16
2459   func_module unistr/u8-check
2460   func_module unistr/u16-check
2461   func_module unistr/u32-check
2462   func_module unistr/u8-chr
2463   func_module unistr/u16-chr
2464   func_module unistr/u32-chr
2465   func_module unistr/u8-cmp
2466   func_module unistr/u16-cmp
2467   func_module unistr/u32-cmp
2468   func_module unistr/u8-cpy
2469   func_module unistr/u16-cpy
2470   func_module unistr/u32-cpy
2471   func_module unistr/u8-cpy-alloc
2472   func_module unistr/u16-cpy-alloc
2473   func_module unistr/u32-cpy-alloc
2474   func_module unistr/u8-endswith
2475   func_module unistr/u16-endswith
2476   func_module unistr/u32-endswith
2477   func_module unistr/u8-mblen
2478   func_module unistr/u16-mblen
2479   func_module unistr/u32-mblen
2480   func_module unistr/u8-mbsnlen
2481   func_module unistr/u16-mbsnlen
2482   func_module unistr/u32-mbsnlen
2483   func_module unistr/u8-mbtouc-unsafe
2484   func_module unistr/u16-mbtouc-unsafe
2485   func_module unistr/u32-mbtouc-unsafe
2486   func_module unistr/u8-mbtouc
2487   func_module unistr/u16-mbtouc
2488   func_module unistr/u32-mbtouc
2489   func_module unistr/u8-mbtoucr
2490   func_module unistr/u16-mbtoucr
2491   func_module unistr/u32-mbtoucr
2492   func_module unistr/u8-move
2493   func_module unistr/u16-move
2494   func_module unistr/u32-move
2495   func_module unistr/u8-next
2496   func_module unistr/u16-next
2497   func_module unistr/u32-next
2498   func_module unistr/u8-prev
2499   func_module unistr/u16-prev
2500   func_module unistr/u32-prev
2501   func_module unistr/u8-set
2502   func_module unistr/u16-set
2503   func_module unistr/u32-set
2504   func_module unistr/u8-startswith
2505   func_module unistr/u16-startswith
2506   func_module unistr/u32-startswith
2507   func_module unistr/u8-stpcpy
2508   func_module unistr/u16-stpcpy
2509   func_module unistr/u32-stpcpy
2510   func_module unistr/u8-stpncpy
2511   func_module unistr/u16-stpncpy
2512   func_module unistr/u32-stpncpy
2513   func_module unistr/u8-strcat
2514   func_module unistr/u16-strcat
2515   func_module unistr/u32-strcat
2516   func_module unistr/u8-strchr
2517   func_module unistr/u16-strchr
2518   func_module unistr/u32-strchr
2519   func_module unistr/u8-strcmp
2520   func_module unistr/u16-strcmp
2521   func_module unistr/u32-strcmp
2522   func_module unistr/u8-strcpy
2523   func_module unistr/u16-strcpy
2524   func_module unistr/u32-strcpy
2525   func_module unistr/u8-strcspn
2526   func_module unistr/u16-strcspn
2527   func_module unistr/u32-strcspn
2528   func_module unistr/u8-strdup
2529   func_module unistr/u16-strdup
2530   func_module unistr/u32-strdup
2531   func_module unistr/u8-strlen
2532   func_module unistr/u16-strlen
2533   func_module unistr/u32-strlen
2534   func_module unistr/u8-strmblen
2535   func_module unistr/u16-strmblen
2536   func_module unistr/u32-strmblen
2537   func_module unistr/u8-strmbtouc
2538   func_module unistr/u16-strmbtouc
2539   func_module unistr/u32-strmbtouc
2540   func_module unistr/u8-strncat
2541   func_module unistr/u16-strncat
2542   func_module unistr/u32-strncat
2543   func_module unistr/u8-strncmp
2544   func_module unistr/u16-strncmp
2545   func_module unistr/u32-strncmp
2546   func_module unistr/u8-strncpy
2547   func_module unistr/u16-strncpy
2548   func_module unistr/u32-strncpy
2549   func_module unistr/u8-strnlen
2550   func_module unistr/u16-strnlen
2551   func_module unistr/u32-strnlen
2552   func_module unistr/u8-strpbrk
2553   func_module unistr/u16-strpbrk
2554   func_module unistr/u32-strpbrk
2555   func_module unistr/u8-strrchr
2556   func_module unistr/u16-strrchr
2557   func_module unistr/u32-strrchr
2558   func_module unistr/u8-strspn
2559   func_module unistr/u16-strspn
2560   func_module unistr/u32-strspn
2561   func_module unistr/u8-strstr
2562   func_module unistr/u16-strstr
2563   func_module unistr/u32-strstr
2564   func_module unistr/u8-strtok
2565   func_module unistr/u16-strtok
2566   func_module unistr/u32-strtok
2567   func_module unistr/u8-uctomb
2568   func_module unistr/u16-uctomb
2569   func_module unistr/u32-uctomb
2570   func_module uniconv/base
2571   func_module uniconv/u8-conv-from-enc
2572   func_module uniconv/u16-conv-from-enc
2573   func_module uniconv/u32-conv-from-enc
2574   func_module uniconv/u8-conv-to-enc
2575   func_module uniconv/u16-conv-to-enc
2576   func_module uniconv/u32-conv-to-enc
2577   func_module uniconv/u8-strconv-from-enc
2578   func_module uniconv/u16-strconv-from-enc
2579   func_module uniconv/u32-strconv-from-enc
2580   func_module uniconv/u8-strconv-to-enc
2581   func_module uniconv/u16-strconv-to-enc
2582   func_module uniconv/u32-strconv-to-enc
2583   func_module uniconv/u8-strconv-from-locale
2584   func_module uniconv/u16-strconv-from-locale
2585   func_module uniconv/u32-strconv-from-locale
2586   func_module uniconv/u8-strconv-to-locale
2587   func_module uniconv/u16-strconv-to-locale
2588   func_module uniconv/u32-strconv-to-locale
2589   func_module unistdio/base
2590   func_module unistdio/u-printf-args
2591   func_module unistdio/ulc-asnprintf
2592   func_module unistdio/ulc-asprintf
2593   func_module unistdio/ulc-fprintf
2594   func_module unistdio/ulc-printf-parse
2595   func_module unistdio/ulc-snprintf
2596   func_module unistdio/ulc-sprintf
2597   func_module unistdio/ulc-vasnprintf
2598   func_module unistdio/ulc-vasprintf
2599   func_module unistdio/ulc-vfprintf
2600   func_module unistdio/ulc-vsnprintf
2601   func_module unistdio/ulc-vsprintf
2602   func_module unistdio/u8-asnprintf
2603   func_module unistdio/u8-asprintf
2604   func_module unistdio/u8-printf-parse
2605   func_module unistdio/u8-snprintf
2606   func_module unistdio/u8-sprintf
2607   func_module unistdio/u8-vasnprintf
2608   func_module unistdio/u8-vasprintf
2609   func_module unistdio/u8-vsnprintf
2610   func_module unistdio/u8-vsprintf
2611   func_module unistdio/u8-u8-asnprintf
2612   func_module unistdio/u8-u8-asprintf
2613   func_module unistdio/u8-u8-snprintf
2614   func_module unistdio/u8-u8-sprintf
2615   func_module unistdio/u8-u8-vasnprintf
2616   func_module unistdio/u8-u8-vasprintf
2617   func_module unistdio/u8-u8-vsnprintf
2618   func_module unistdio/u8-u8-vsprintf
2619   func_module unistdio/u16-asnprintf
2620   func_module unistdio/u16-asprintf
2621   func_module unistdio/u16-printf-parse
2622   func_module unistdio/u16-snprintf
2623   func_module unistdio/u16-sprintf
2624   func_module unistdio/u16-vasnprintf
2625   func_module unistdio/u16-vasprintf
2626   func_module unistdio/u16-vsnprintf
2627   func_module unistdio/u16-vsprintf
2628   func_module unistdio/u16-u16-asnprintf
2629   func_module unistdio/u16-u16-asprintf
2630   func_module unistdio/u16-u16-snprintf
2631   func_module unistdio/u16-u16-sprintf
2632   func_module unistdio/u16-u16-vasnprintf
2633   func_module unistdio/u16-u16-vasprintf
2634   func_module unistdio/u16-u16-vsnprintf
2635   func_module unistdio/u16-u16-vsprintf
2636   func_module unistdio/u32-asnprintf
2637   func_module unistdio/u32-asprintf
2638   func_module unistdio/u32-printf-parse
2639   func_module unistdio/u32-snprintf
2640   func_module unistdio/u32-sprintf
2641   func_module unistdio/u32-vasnprintf
2642   func_module unistdio/u32-vasprintf
2643   func_module unistdio/u32-vsnprintf
2644   func_module unistdio/u32-vsprintf
2645   func_module unistdio/u32-u32-asnprintf
2646   func_module unistdio/u32-u32-asprintf
2647   func_module unistdio/u32-u32-snprintf
2648   func_module unistdio/u32-u32-sprintf
2649   func_module unistdio/u32-u32-vasnprintf
2650   func_module unistdio/u32-u32-vasprintf
2651   func_module unistdio/u32-u32-vsnprintf
2652   func_module unistdio/u32-u32-vsprintf
2653   func_module uniname/base
2654   func_module uniname/uniname
2655   func_module unictype/base
2656   func_module unictype/bidicategory-byname
2657   func_module unictype/bidicategory-name
2658   func_module unictype/bidicategory-of
2659   func_module unictype/bidicategory-test
2660   func_module unictype/bidicategory-all
2661   func_module unictype/block-list
2662   func_module unictype/block-of
2663   func_module unictype/block-test
2664   func_module unictype/block-all
2665   func_module unictype/category-C
2666   func_module unictype/category-Cc
2667   func_module unictype/category-Cf
2668   func_module unictype/category-Cn
2669   func_module unictype/category-Co
2670   func_module unictype/category-Cs
2671   func_module unictype/category-L
2672   func_module unictype/category-Ll
2673   func_module unictype/category-Lm
2674   func_module unictype/category-Lo
2675   func_module unictype/category-Lt
2676   func_module unictype/category-Lu
2677   func_module unictype/category-M
2678   func_module unictype/category-Mc
2679   func_module unictype/category-Me
2680   func_module unictype/category-Mn
2681   func_module unictype/category-N
2682   func_module unictype/category-Nd
2683   func_module unictype/category-Nl
2684   func_module unictype/category-No
2685   func_module unictype/category-P
2686   func_module unictype/category-Pc
2687   func_module unictype/category-Pd
2688   func_module unictype/category-Pe
2689   func_module unictype/category-Pf
2690   func_module unictype/category-Pi
2691   func_module unictype/category-Po
2692   func_module unictype/category-Ps
2693   func_module unictype/category-S
2694   func_module unictype/category-Sc
2695   func_module unictype/category-Sk
2696   func_module unictype/category-Sm
2697   func_module unictype/category-So
2698   func_module unictype/category-Z
2699   func_module unictype/category-Zl
2700   func_module unictype/category-Zp
2701   func_module unictype/category-Zs
2702   func_module unictype/category-and
2703   func_module unictype/category-and-not
2704   func_module unictype/category-byname
2705   func_module unictype/category-name
2706   func_module unictype/category-none
2707   func_module unictype/category-of
2708   func_module unictype/category-or
2709   func_module unictype/category-test
2710   func_module unictype/category-test-withtable
2711   func_module unictype/category-all
2712   func_module unictype/combining-class
2713   func_module unictype/ctype-alnum
2714   func_module unictype/ctype-alpha
2715   func_module unictype/ctype-blank
2716   func_module unictype/ctype-cntrl
2717   func_module unictype/ctype-digit
2718   func_module unictype/ctype-graph
2719   func_module unictype/ctype-lower
2720   func_module unictype/ctype-print
2721   func_module unictype/ctype-punct
2722   func_module unictype/ctype-space
2723   func_module unictype/ctype-upper
2724   func_module unictype/ctype-xdigit
2725   func_module unictype/decimal-digit
2726   func_module unictype/digit
2727   func_module unictype/mirror
2728   func_module unictype/numeric
2729   func_module unictype/property-alphabetic
2730   func_module unictype/property-ascii-hex-digit
2731   func_module unictype/property-bidi-arabic-digit
2732   func_module unictype/property-bidi-arabic-right-to-left
2733   func_module unictype/property-bidi-block-separator
2734   func_module unictype/property-bidi-boundary-neutral
2735   func_module unictype/property-bidi-common-separator
2736   func_module unictype/property-bidi-control
2737   func_module unictype/property-bidi-embedding-or-override
2738   func_module unictype/property-bidi-eur-num-separator
2739   func_module unictype/property-bidi-eur-num-terminator
2740   func_module unictype/property-bidi-european-digit
2741   func_module unictype/property-bidi-hebrew-right-to-left
2742   func_module unictype/property-bidi-left-to-right
2743   func_module unictype/property-bidi-non-spacing-mark
2744   func_module unictype/property-bidi-other-neutral
2745   func_module unictype/property-bidi-pdf
2746   func_module unictype/property-bidi-segment-separator
2747   func_module unictype/property-bidi-whitespace
2748   func_module unictype/property-byname
2749   func_module unictype/property-combining
2750   func_module unictype/property-composite
2751   func_module unictype/property-currency-symbol
2752   func_module unictype/property-dash
2753   func_module unictype/property-decimal-digit
2754   func_module unictype/property-default-ignorable-code-point
2755   func_module unictype/property-deprecated
2756   func_module unictype/property-diacritic
2757   func_module unictype/property-extender
2758   func_module unictype/property-format-control
2759   func_module unictype/property-grapheme-base
2760   func_module unictype/property-grapheme-extend
2761   func_module unictype/property-grapheme-link
2762   func_module unictype/property-hex-digit
2763   func_module unictype/property-hyphen
2764   func_module unictype/property-id-continue
2765   func_module unictype/property-id-start
2766   func_module unictype/property-ideographic
2767   func_module unictype/property-ids-binary-operator
2768   func_module unictype/property-ids-trinary-operator
2769   func_module unictype/property-ignorable-control
2770   func_module unictype/property-iso-control
2771   func_module unictype/property-join-control
2772   func_module unictype/property-left-of-pair
2773   func_module unictype/property-line-separator
2774   func_module unictype/property-logical-order-exception
2775   func_module unictype/property-lowercase
2776   func_module unictype/property-math
2777   func_module unictype/property-non-break
2778   func_module unictype/property-not-a-character
2779   func_module unictype/property-numeric
2780   func_module unictype/property-other-alphabetic
2781   func_module unictype/property-other-default-ignorable-code-point
2782   func_module unictype/property-other-grapheme-extend
2783   func_module unictype/property-other-id-continue
2784   func_module unictype/property-other-id-start
2785   func_module unictype/property-other-lowercase
2786   func_module unictype/property-other-math
2787   func_module unictype/property-other-uppercase
2788   func_module unictype/property-paired-punctuation
2789   func_module unictype/property-paragraph-separator
2790   func_module unictype/property-pattern-syntax
2791   func_module unictype/property-pattern-white-space
2792   func_module unictype/property-private-use
2793   func_module unictype/property-punctuation
2794   func_module unictype/property-quotation-mark
2795   func_module unictype/property-radical
2796   func_module unictype/property-sentence-terminal
2797   func_module unictype/property-soft-dotted
2798   func_module unictype/property-space
2799   func_module unictype/property-terminal-punctuation
2800   func_module unictype/property-test
2801   func_module unictype/property-titlecase
2802   func_module unictype/property-unassigned-code-value
2803   func_module unictype/property-unified-ideograph
2804   func_module unictype/property-uppercase
2805   func_module unictype/property-variation-selector
2806   func_module unictype/property-white-space
2807   func_module unictype/property-xid-continue
2808   func_module unictype/property-xid-start
2809   func_module unictype/property-zero-width
2810   func_module unictype/property-all
2811   func_module unictype/scripts
2812   func_module unictype/scripts-all
2813   func_module unictype/syntax-c-ident
2814   func_module unictype/syntax-c-whitespace
2815   func_module unictype/syntax-java-ident
2816   func_module unictype/syntax-java-whitespace
2817   func_module uniwidth/base
2818   func_module uniwidth/u8-strwidth
2819   func_module uniwidth/u8-width
2820   func_module uniwidth/u16-strwidth
2821   func_module uniwidth/u16-width
2822   func_module uniwidth/u32-strwidth
2823   func_module uniwidth/u32-width
2824   func_module uniwidth/width
2825   func_module unilbrk/base
2826   func_module unilbrk/tables
2827   func_module unilbrk/ulc-common
2828   func_module unilbrk/u8-possible-linebreaks
2829   func_module unilbrk/u16-possible-linebreaks
2830   func_module unilbrk/u32-possible-linebreaks
2831   func_module unilbrk/ulc-possible-linebreaks
2832   func_module unilbrk/u8-width-linebreaks
2833   func_module unilbrk/u16-width-linebreaks
2834   func_module unilbrk/u32-width-linebreaks
2835   func_module unilbrk/ulc-width-linebreaks
2836   func_end_table
2837
2838   element="Executing programs"
2839   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2840   func_section_wrap posix_ext_exec
2841   func_wrap H3
2842   func_echo "$element"
2843
2844   func_begin_table
2845   func_module cloexec
2846   func_module findprog
2847   func_module wait-process
2848   func_module execute
2849   func_module pipe
2850   func_module sh-quote
2851   func_end_table
2852
2853   element="Java"
2854   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2855   func_section_wrap posix_ext_java
2856   func_wrap H3
2857   func_echo "$element"
2858
2859   func_begin_table
2860   func_module classpath
2861   func_module javacomp-script
2862   func_module javacomp
2863   func_module javaexec-script
2864   func_module javaexec
2865   func_module javaversion
2866   #func_module gcj
2867   func_end_table
2868
2869   element="C#"
2870   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2871   func_section_wrap posix_ext_csharp
2872   func_wrap H3
2873   func_echo "$element"
2874
2875   func_begin_table
2876   func_module csharpcomp-script
2877   func_module csharpcomp
2878   func_module csharpexec-script
2879   func_module csharpexec
2880   func_end_table
2881
2882   element="Misc"
2883   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2884   func_section_wrap posix_ext_misc
2885   func_wrap H3
2886   func_echo "$element"
2887
2888   func_begin_table
2889   func_module argp
2890   func_module argz
2891   func_module bitrotate
2892   func_module byteswap
2893   func_module exitfail
2894   func_module error
2895   func_module extensions
2896   func_module getdomainname
2897   func_module xgetdomainname
2898   func_module getloadavg
2899   func_module getpagesize
2900   func_module getusershell
2901   func_module physmem
2902   func_module posixver
2903   func_module progname
2904   func_module quotearg
2905   func_module quote
2906   func_module readutmp
2907   func_module sysexits
2908   func_module verror
2909   func_module visibility
2910   func_end_table
2911
2912   element="Support for building libraries and executables"
2913   func_section_wrap build_lib
2914   func_wrap H2
2915   func_echo "$element"
2916
2917   func_begin_table
2918   func_module absolute-header
2919   func_module config-h
2920   func_module configmake
2921   func_module dummy
2922   func_module elisp-comp
2923   func_module gperf
2924   func_module havelib
2925   func_module include_next
2926   func_module ldd
2927   func_module lib-ignore
2928   func_module link-warning
2929   func_module no-c++
2930   func_module relocatable-lib
2931   func_module relocatable-lib-lgpl
2932   func_module relocatable-prog
2933   func_module relocatable-prog-wrapper
2934   func_module relocatable-script
2935   func_end_table
2936
2937   element="Support for building documentation"
2938   func_section_wrap build_doc
2939   func_wrap H2
2940   func_echo "$element"
2941
2942   func_begin_table
2943   func_module fdl
2944   func_module gendocs
2945   func_module gpl-2.0
2946   func_module gpl-3.0
2947   func_module lgpl-2.1
2948   func_module agpl-3.0
2949   func_module regexprops-generic
2950   func_end_table
2951
2952   element="Support for maintaining and releasing projects"
2953   func_section_wrap maintain
2954   func_wrap H2
2955   func_echo "$element"
2956
2957   func_begin_table
2958   func_module announce-gen
2959   func_module autobuild
2960   func_module git-version-gen
2961   func_module gitlog-to-changelog
2962   func_module gnumakefile
2963   func_module gnupload
2964   func_module maintainer-makefile
2965   func_module mktempd
2966   func_module useless-if-before-free
2967   func_module vc-list-files
2968   func_end_table
2969
2970   element="Misc"
2971   func_section_wrap misc
2972   func_wrap H2
2973   func_echo "$element"
2974
2975   func_begin_table
2976   func_module gnu-make
2977   func_module host-os
2978   func_module nocrash
2979   func_module perl
2980   func_module posix-shell
2981   func_module uptime
2982   func_end_table
2983 }
2984
2985
2986 func_tmpdir
2987 trap 'exit_status=$?
2988       if test "$signal" != 0; then
2989         echo "caught signal $signal" >&2
2990       fi
2991       rm -rf "$tmp"
2992       exit $exit_status' 0
2993 for signal in 1 2 3 13 15; do
2994   trap '{ signal='$signal'; func_exit 1; }' $signal
2995 done
2996 signal=0
2997
2998 echo '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">'
2999 func_begin HTML
3000
3001 func_begin HEAD
3002
3003 element="Gnulib Module List"
3004 func_wrap TITLE
3005 func_echo "$element"
3006
3007 modules=`gnulib-tool --list`
3008 modules=`for m in $modules; do printf "%s, " $m; done | sed -e 's/, $//'`
3009 func_echo '<META NAME="keywords" CONTENT="'"${modules}"'">'
3010
3011 func_end HEAD
3012
3013 func_begin BODY
3014
3015 element="Gnulib Module List"
3016 func_wrap H1
3017 func_echo "$element"
3018
3019 func_echo 'This is a list of the modules which make up gnulib, with dependencies.'
3020
3021 in_toc=yes
3022 func_all_modules
3023
3024 in_toc=
3025 func_all_modules
3026
3027
3028 gnulib-tool --list > "$tmp/all-modules"
3029 missed_modules=`for module in $seen_modules; do echo $module; done \
3030                   | LC_ALL=C sort -u \
3031                   | LC_ALL=C join -v 2 - "$tmp/all-modules"`
3032
3033 if test -n "$missed_modules"; then
3034
3035   element="Unclassified modules - please update MODULES.html.sh"
3036   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
3037   func_wrap H2
3038   func_echo "$element"
3039
3040   func_begin_table
3041   for module in $missed_modules; do
3042     func_module $module
3043   done
3044   func_end_table
3045
3046 fi
3047
3048 { find lib -type f -print; find m4 -type f -print; } | LC_ALL=C sort | sed -e '/\/\./d' -e /CVS/d -e /README/d -e /ChangeLog/d -e /Makefile/d -e /TODO/d -e '/tags$/d' -e '/TAGS$/d' -e '/~$/d' > "$tmp/all-files"
3049 missed_files=`for file in $seen_files; do echo $file; done \
3050                 | LC_ALL=C sort -u \
3051                 | LC_ALL=C join -v 2 - "$tmp/all-files"`
3052
3053 if test -n "$missed_files"; then
3054
3055   element="Lone files - please create new modules containing them"
3056   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
3057   func_wrap H2
3058   func_echo "$element"
3059
3060   func_echo '<PRE>'
3061   echo "$missed_files" | sed -e 's,^\(.*\)$,<A HREF="'$repo_url_prefix'\1'$repo_url_suffix_repl'">\1</A>,'
3062   echo '</PRE>'
3063
3064 fi
3065
3066 element="Future developments"
3067 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
3068 func_wrap H2
3069 func_echo "$element"
3070
3071 func_echo 'Ideally a module could consist of:'
3072 func_begin UL
3073 func_echo '<LI>A header file: lib/<VAR>module</VAR>.h'
3074 func_echo '<LI>One or more implementation files: lib/<VAR>module</VAR>.c et al.'
3075 func_echo '<LI>One or more autoconf macro files: m4/<VAR>module</VAR>.m4 et al.'
3076 func_echo '<LI>A configure.ac fragment, Makefile.am fragment, dependency list: modules/<VAR>module</VAR>'
3077 func_echo '<LI>A testsuite: source files in tests/ and metainformation (a configure.ac fragment, Makefile.am fragment, dependency list) in modules/<VAR>module</VAR>-tests'
3078 func_echo '<LI>Some documentation'
3079 func_echo '<LI>A POT file and some PO files'
3080 func_end UL
3081
3082 func_echo '<HR>'
3083 func_echo 'Generated from <CODE>MODULES.html.sh</CODE> on '`LC_ALL=C date +"%e %B %Y"`.
3084
3085 func_end BODY
3086
3087 func_end HTML
3088
3089 rm -rf "$tmp"
3090 # Undo the effect of the previous 'trap' command.
3091 trap '' 0
3092 trap 'func_exit $?' 1 2 3 13 15
3093
3094 exit 0
3095
3096 # Local Variables:
3097 # indent-tabs-mode: nil
3098 # whitespace-check-buffer-indent: nil
3099 # End: