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