7934cc9749822c0216742333503395d9f79d85e6
[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     element=`gnulib-tool --extract-description $1 \
1410              | sed -e "$sed_lt" -e "$sed_gt" -e "$sed_remove_trailing_empty_line" \
1411                    -e 's,^, ,' \
1412                    -e 's,\([^a-zA-Z_]\)'"${posix_functions}"'(),\1<A HREF="'"$POSIX2001_URL"'xsh/\2.html">\2</A>(),g' \
1413                    -e 's,^ ,,'`
1414     func_echo "<TD ALIGN=LEFT VALIGN=TOP WIDTH=\"80%\">$element"
1415
1416     func_end TR
1417
1418   else
1419
1420     func_begin TR
1421
1422     element='<A NAME="module='$1'"></A><A HREF="'$repo_url_prefix'modules/'$1$repo_url_suffix'">'$1'</A>'
1423     func_echo "<TD ALIGN=LEFT VALIGN=TOP>$element"
1424
1425     includes=`gnulib-tool --extract-include-directive $1`
1426     files=`gnulib-tool --extract-filelist $1 \
1427            | grep -v '^m4/gnulib-common\.m4$'`
1428     element=`echo "$includes" \
1429              | sed -e "$sed_lt" -e "$sed_gt" -e "$sed_remove_trailing_empty_line" \
1430                    -e 's,^#include "\(.*\)"$,#include "<A HREF="'$repo_url_prefix'lib/\1'$repo_url_suffix_repl'">\1</A>",' \
1431                    -e 's,^#include &lt;'"${posix_headers}"'\.h&gt;$,#include \&lt;<A HREF="'"$POSIX2001_URL"'xbd/\1.h.html">\1.h</A>\&gt;,' \
1432                    -e 's/$/<BR>/' | tr -d "$trnl" | sed -e 's/<BR>$//'`
1433     test -n "$element" || element='---'
1434     func_echo "<TD ALIGN=LEFT VALIGN=TOP>$element"
1435
1436     sed_choose_unconditional_nonstandard_include='s,^#include "\(.*\)"$,\1,p'
1437     includefile=`echo "$includes" \
1438                  | sed -n -e "$sed_choose_unconditional_nonstandard_include" \
1439                  | sed -e "$sed_escape_dot" | tr -d "$trnl"`
1440     sed_choose_lib_files='s,^lib/\(.*\)$,\1,p'
1441     element=`echo "$files" \
1442              | sed -e '/^$/d' \
1443              | sed -n -e "$sed_choose_lib_files" \
1444              | sed -e '\|^'"${includefile}"'$|d' \
1445                    -e 's,^\(.*\)$,<A HREF="'$repo_url_prefix'lib/\1'$repo_url_suffix_repl'">\1</A>,' \
1446                    -e 's/$/<BR>/' | tr -d "$trnl" | sed -e 's/<BR>$//'`
1447     test -n "$element" || element='---'
1448     func_echo "<TD ALIGN=LEFT VALIGN=TOP>$element"
1449
1450     sed_choose_m4_files='s,^m4/\(.*\)$,\1,p'
1451     element=`(echo "$files" \
1452               | sed -e "$sed_remove_trailing_empty_line" \
1453               | sed -n -e "$sed_choose_m4_files" \
1454               | sed -e '/^onceonly/d' \
1455                     -e 's,^\(.*\)$,<A HREF="'$repo_url_prefix'm4/\1'$repo_url_suffix_repl'">\1</A>,'; \
1456               gnulib-tool --extract-autoconf-snippet $1 \
1457               | sed -e "$sed_remove_trailing_empty_line") \
1458               | sed -e 's/$/<BR>/' | tr -d "$trnl" | sed -e 's/<BR>$//'`
1459     test -n "$element" || element='---'
1460     func_echo "<TD ALIGN=LEFT VALIGN=TOP>$element"
1461
1462     element=`gnulib-tool --extract-dependencies $1 \
1463              | sed -e "$sed_remove_trailing_empty_line" \
1464                    -e 's/$/<BR>/' | tr -d "$trnl" | sed -e 's/<BR>$//'`
1465     test -n "$element" || element='---'
1466     func_echo "<TD ALIGN=LEFT VALIGN=TOP>$element"
1467
1468     func_end TR
1469
1470     func_append seen_modules " $1"
1471     func_append seen_files " $files"
1472   fi
1473 }
1474
1475 # func_end_table
1476 func_end_table ()
1477 {
1478   func_end TABLE
1479 }
1480
1481 # func_all_modules
1482 func_all_modules ()
1483 {
1484   element="Support for systems lacking ANSI C 89"
1485   func_section_wrap ansic_sup
1486   func_wrap H2
1487   func_echo "$element"
1488
1489   func_begin_table
1490   func_module stdlib
1491   func_module exit
1492   func_module atexit
1493   func_module strtod
1494   func_module strtol
1495   func_module strtoul
1496   func_module memchr
1497   func_module memcmp
1498   func_module memcpy
1499   func_module memmove
1500   func_module memset
1501   func_module strcspn
1502   func_module strpbrk
1503   func_module strerror
1504   func_module mktime
1505   func_end_table
1506
1507   func_echo 'Most of these modules are not listed among dependencies below, for simplicity.'
1508
1509   element="Enhancements for ANSI C 89 functions"
1510   func_section_wrap ansic_enh
1511   func_wrap H2
1512   func_echo "$element"
1513
1514   element="Diagnostics <assert.h>"
1515   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1516   func_section_wrap ansic_enh_assert_diagnostics
1517   func_wrap H3
1518   func_echo "$element"
1519
1520   func_begin_table
1521   func_module assert
1522   func_module verify
1523   func_end_table
1524
1525   element="Mathematics <math.h>"
1526   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1527   func_section_wrap ansic_enh_math
1528   func_wrap H3
1529   func_echo "$element"
1530
1531   func_begin_table
1532   func_module fpieee
1533   func_end_table
1534
1535   element="Input/output <stdio.h>"
1536   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1537   func_section_wrap ansic_enh_stdio
1538   func_wrap H3
1539   func_echo "$element"
1540
1541   func_begin_table
1542   func_module fflush
1543   func_module fseterr
1544   func_module tmpfile
1545   func_end_table
1546
1547   element="Memory management functions <stdlib.h>"
1548   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1549   func_section_wrap ansic_enh_stdlib_memory
1550   func_wrap H3
1551   func_echo "$element"
1552
1553   func_begin_table
1554   func_module calloc
1555   func_module eealloc
1556   func_module free
1557   func_module malloc
1558   func_module realloc
1559   func_module pagealign_alloc
1560   func_end_table
1561
1562   element="Sorting functions <stdlib.h>"
1563   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1564   func_section_wrap ansic_enh_stdlib_sorting
1565   func_wrap H3
1566   func_echo "$element"
1567
1568   func_begin_table
1569   func_module mpsort
1570   func_end_table
1571
1572   element="Date and time <time.h>"
1573   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1574   func_section_wrap ansic_enh_time_datetime
1575   func_wrap H3
1576   func_echo "$element"
1577
1578   func_begin_table
1579   func_module fprintftime
1580   func_module strftime
1581   func_end_table
1582
1583   element="Extra functions based on ANSI C 89"
1584   func_section_wrap ansic_ext
1585   func_wrap H2
1586   func_echo "$element"
1587
1588   element="Memory management functions <stdlib.h>"
1589   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1590   func_section_wrap ansic_ext_stdlib_memory
1591   func_wrap H3
1592   func_echo "$element"
1593
1594   func_begin_table
1595   func_module xsize
1596   func_module xalloc
1597   func_module xalloc-die
1598   func_module alloca
1599   func_module alloca-opt
1600   func_module malloca
1601   func_module xmalloca
1602   func_end_table
1603
1604   element="Integer arithmetic functions <stdlib.h>"
1605   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1606   func_section_wrap ansic_ext_stdlib_arith
1607   func_wrap H3
1608   func_echo "$element"
1609
1610   func_begin_table
1611   func_module count-one-bits
1612   func_module gcd
1613   func_module minmax
1614   func_end_table
1615
1616   element="Environment variables <stdlib.h>"
1617   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1618   func_section_wrap ansic_ext_stdlib_env
1619   func_wrap H3
1620   func_echo "$element"
1621
1622   func_begin_table
1623   func_module putenv
1624   func_module setenv
1625   func_module xsetenv
1626   func_end_table
1627
1628   element="Character handling <ctype.h>"
1629   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1630   func_section_wrap ansic_ext_ctype
1631   func_wrap H3
1632   func_echo "$element"
1633
1634   func_begin_table
1635   func_module c-ctype
1636   func_end_table
1637
1638   element="String handling <string.h>"
1639   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1640   func_section_wrap ansic_ext_string
1641   func_wrap H3
1642   func_echo "$element"
1643
1644   func_begin_table
1645   func_module bcopy
1646   func_module memmem
1647   func_module mempcpy
1648   func_module memrchr
1649   func_module stpcpy
1650   func_module stpncpy
1651   func_module c-strcase
1652   func_module strcase
1653   func_module c-strcaseeq
1654   func_module c-strcasestr
1655   func_module strcasestr
1656   func_module strchrnul
1657   func_module strdup
1658   func_module streq
1659   func_module strnlen
1660   func_module strnlen1
1661   func_module strndup
1662   func_module strsep
1663   func_module c-strstr
1664   func_module trim
1665   func_module fstrcmp
1666   func_module xstrndup
1667   func_end_table
1668
1669   element="Mathematics <math.h>"
1670   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1671   func_section_wrap ansic_ext_math
1672   func_wrap H3
1673   func_echo "$element"
1674
1675   func_begin_table
1676   func_module printf-frexp
1677   func_end_table
1678
1679   element="Numeric conversion functions <stdlib.h>"
1680   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1681   func_section_wrap ansic_ext_stdlib_conv
1682   func_wrap H3
1683   func_echo "$element"
1684
1685   func_begin_table
1686   func_module c-strtod
1687   func_module c-strtold
1688   func_module xstrtod
1689   func_module xstrtol
1690   func_module xstrtold
1691   func_end_table
1692
1693   element="Date and time <time.h>"
1694   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1695   func_section_wrap ansic_ext_time_datetime
1696   func_wrap H3
1697   func_echo "$element"
1698
1699   func_begin_table
1700   func_module getdate
1701   func_module timegm
1702   func_module tzset
1703   func_end_table
1704
1705   element="Input/Output <stdio.h>"
1706   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1707   func_section_wrap ansic_ext_stdio
1708   func_wrap H3
1709   func_echo "$element"
1710
1711   func_begin_table
1712   func_module unlocked-io
1713   func_module fwriteerror
1714   func_module vasnprintf
1715   func_module vasprintf
1716   func_module xvasprintf
1717   func_end_table
1718
1719   element="Signal handling <signal.h>"
1720   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1721   func_section_wrap ansic_ext_signal
1722   func_wrap H3
1723   func_echo "$element"
1724
1725   func_begin_table
1726   func_module fatal-signal
1727   func_module raise
1728   func_end_table
1729
1730   element="Command-line arguments"
1731   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1732   func_section_wrap ansic_ext_argv
1733   func_wrap H3
1734   func_echo "$element"
1735
1736   func_begin_table
1737   func_module argmatch
1738   func_module version-etc
1739   func_module version-etc-fsf
1740   func_module long-options
1741   func_end_table
1742
1743   element="Container data structures"
1744   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1745   func_section_wrap ansic_ext_container
1746   func_wrap H3
1747   func_echo "$element"
1748
1749   func_begin_table
1750   func_module list
1751   func_module array-list
1752   func_module carray-list
1753   func_module linked-list
1754   func_module avltree-list
1755   func_module rbtree-list
1756   func_module linkedhash-list
1757   func_module avltreehash-list
1758   func_module rbtreehash-list
1759   func_module sublist
1760   func_module oset
1761   func_module array-oset
1762   func_module avltree-oset
1763   func_module rbtree-oset
1764   func_end_table
1765
1766   element="Cryptographic computations (low-level)"
1767   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1768   func_section_wrap ansic_ext_crypto
1769   func_wrap H3
1770   func_echo "$element"
1771
1772   func_begin_table
1773   func_module crypto/arcfour
1774   func_module crypto/arctwo
1775   func_module crypto/des
1776   func_module crypto/hmac-md5
1777   func_module crypto/hmac-sha1
1778   func_module crypto/md2
1779   func_module crypto/md4
1780   func_module crypto/md5
1781   func_module crypto/rijndael
1782   func_module crypto/sha1
1783   func_end_table
1784
1785   element="Cryptographic computations (high-level)"
1786   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1787   func_section_wrap ansic_ext_crypto2
1788   func_wrap H3
1789   func_echo "$element"
1790
1791   func_begin_table
1792   func_module crypto/gc
1793   func_module crypto/gc-arcfour
1794   func_module crypto/gc-arctwo
1795   func_module crypto/gc-des
1796   func_module crypto/gc-hmac-md5
1797   func_module crypto/gc-hmac-sha1
1798   func_module crypto/gc-md2
1799   func_module crypto/gc-md4
1800   func_module crypto/gc-md5
1801   func_module crypto/gc-pbkdf2-sha1
1802   func_module crypto/gc-random
1803   func_module crypto/gc-rijndael
1804   func_module crypto/gc-sha1
1805   func_end_table
1806
1807   element="Misc"
1808   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1809   func_section_wrap ansic_ext_misc
1810   func_wrap H3
1811   func_echo "$element"
1812
1813   func_begin_table
1814   func_module base64
1815   func_module check-version
1816   func_module crc
1817   func_module diacrit
1818   func_module diffseq
1819   func_module getline
1820   func_module getdelim
1821   func_module getnline
1822   func_module getndelim2
1823   func_module linebuffer
1824   func_module memxor
1825   func_module obstack
1826   func_module hash-pjw
1827   func_module hash
1828   func_module readline
1829   func_module readtokens
1830   func_module readtokens0
1831   func_module strverscmp
1832   func_end_table
1833
1834   element="Support for systems lacking ISO C 99"
1835   func_section_wrap isoc_sup
1836   func_wrap H2
1837   func_echo "$element"
1838
1839   element="Core language properties"
1840   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1841   func_section_wrap isoc_core_properties
1842   func_wrap H3
1843   func_echo "$element"
1844
1845   func_begin_table
1846   func_module flexmember
1847   func_module fpucw
1848   func_module inline
1849   func_module vararrays
1850   func_end_table
1851
1852   element="Sizes of integer types <limits.h>"
1853   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1854   func_section_wrap isoc_sup_limits
1855   func_wrap H3
1856   func_echo "$element"
1857
1858   func_begin_table
1859   func_module size_max
1860   func_end_table
1861
1862   element="Variable arguments <stdarg.h>"
1863   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1864   func_section_wrap isoc_sup_stdarg
1865   func_wrap H3
1866   func_echo "$element"
1867
1868   func_begin_table
1869   func_module stdarg
1870   func_end_table
1871
1872   element="Boolean type and values <stdbool.h>"
1873   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1874   func_section_wrap isoc_sup_stdbool
1875   func_wrap H3
1876   func_echo "$element"
1877
1878   func_begin_table
1879   func_module stdbool
1880   func_end_table
1881
1882   element="Integer types and values <stdint.h>"
1883   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1884   func_section_wrap isoc_sup_stdint
1885   func_wrap H3
1886   func_echo "$element"
1887
1888   func_begin_table
1889   func_module stdint
1890   func_end_table
1891
1892   element="Input/output <stdio.h>"
1893   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1894   func_section_wrap isoc_sup_stdio
1895   func_wrap H3
1896   func_echo "$element"
1897
1898   func_begin_table
1899   func_module stdio
1900   func_module snprintf
1901   func_module vsnprintf
1902   func_end_table
1903
1904   element="Numeric conversion functions <stdlib.h>"
1905   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1906   func_section_wrap isoc_sup_stdlib_conv
1907   func_wrap H3
1908   func_echo "$element"
1909
1910   func_begin_table
1911   func_module strtoll
1912   func_module strtoull
1913   func_end_table
1914
1915   element="Functions for greatest-width integer types <inttypes.h>"
1916   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1917   func_section_wrap isoc_sup_inttypes
1918   func_wrap H3
1919   func_echo "$element"
1920
1921   func_begin_table
1922   func_module imaxabs
1923   func_module imaxdiv
1924   func_module inttypes
1925   func_module strtoimax
1926   func_module strtoumax
1927   func_end_table
1928
1929   element="Extended multibyte and wide character utilities <wchar.h>"
1930   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1931   func_section_wrap isoc_sup_wchar
1932   func_wrap H3
1933   func_echo "$element"
1934
1935   func_begin_table
1936   func_module wchar
1937   func_end_table
1938
1939   element="Wide character classification and mapping utilities <wctype.h>"
1940   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1941   func_section_wrap isoc_sup_wctype
1942   func_wrap H3
1943   func_echo "$element"
1944
1945   func_begin_table
1946   func_module wctype
1947   func_end_table
1948
1949   element="Characteristics of floating types <float.h>"
1950   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1951   func_section_wrap isoc_sup_float
1952   func_wrap H3
1953   func_echo "$element"
1954
1955   func_begin_table
1956   func_module float
1957   func_end_table
1958
1959   element="Mathematics <math.h>"
1960   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1961   func_section_wrap isoc_sup_math
1962   func_wrap H3
1963   func_echo "$element"
1964
1965   func_begin_table
1966   func_module ceilf
1967   func_module ceill
1968   func_module floorf
1969   func_module floorl
1970   func_module frexp
1971   func_module frexpl
1972   func_module frexpl-nolibm
1973   func_module isnan-nolibm
1974   func_module isnanf-nolibm
1975   func_module isnanl
1976   func_module isnanl-nolibm
1977   func_module ldexpl
1978   func_module math
1979   func_module mathl
1980   func_module signbit
1981   func_module trunc
1982   func_module truncf
1983   func_module truncl
1984   func_end_table
1985
1986   element="Enhancements for ISO C 99 functions"
1987   func_section_wrap isoc_enh
1988   func_wrap H2
1989   func_echo "$element"
1990
1991   element="Input/output <stdio.h>"
1992   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1993   func_section_wrap isoc_enh_stdio
1994   func_wrap H3
1995   func_echo "$element"
1996
1997   func_begin_table
1998   func_module printf-safe
1999   func_end_table
2000
2001   element="Extra functions based on ISO C 99"
2002   func_section_wrap isoc_ext
2003   func_wrap H2
2004   func_echo "$element"
2005
2006   element="Mathematics <math.h>"
2007   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2008   func_section_wrap isoc_ext_math
2009   func_wrap H3
2010   func_echo "$element"
2011
2012   func_begin_table
2013   func_module printf-frexpl
2014   func_end_table
2015
2016   element="Numeric conversion functions <stdlib.h>"
2017   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2018   func_section_wrap isoc_ext_stdlib_conv
2019   func_wrap H3
2020   func_echo "$element"
2021
2022   func_begin_table
2023   func_module intprops
2024   func_module inttostr
2025   func_module xstrtoimax
2026   func_module xstrtoumax
2027   func_end_table
2028
2029   element="Extended multibyte and wide character utilities <wchar.h>"
2030   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2031   func_section_wrap isoc_ext_wchar_mb
2032   func_wrap H3
2033   func_echo "$element"
2034
2035   func_begin_table
2036   func_module mbchar
2037   func_module mbiter
2038   func_module mbuiter
2039   func_module mbfile
2040   func_end_table
2041
2042   element="Support for systems lacking POSIX:2001"
2043   func_section_wrap posix_sup
2044   func_wrap H2
2045   func_echo "$element"
2046
2047   func_begin_table
2048   func_module arpa_inet
2049   func_module calloc-posix
2050   func_module chown
2051   func_module dup2
2052   func_module fchdir
2053   func_module fcntl
2054   func_module fopen
2055   func_module fprintf-posix
2056   func_module freopen
2057   func_module fseek
2058   func_module fseeko
2059   func_module ftell
2060   func_module ftello
2061   func_module ftruncate
2062   func_module getaddrinfo
2063   func_module getcwd
2064   func_module getgroups
2065   func_module gethostname
2066   func_module getlogin_r
2067   func_module getsubopt
2068   func_module gettimeofday
2069   func_module iconv_open
2070   func_module inet_ntop
2071   func_module inet_pton
2072   func_module locale
2073   func_module lseek
2074   func_module lstat
2075   func_module malloc-posix
2076   func_module mkdir
2077   func_module mkdtemp
2078   func_module mkstemp
2079   func_module netinet_in
2080   func_module open
2081   func_module poll
2082   func_module printf-posix
2083   func_module readlink
2084   func_module realloc-posix
2085   func_module signal
2086   func_module sleep
2087   func_module snprintf-posix
2088   func_module sprintf-posix
2089   func_module string
2090   func_module tempname
2091   func_module time
2092   func_module time_r
2093   func_module timespec
2094   func_module nanosleep
2095   func_module regex
2096   func_module rename
2097   func_module rmdir
2098   func_module search
2099   func_module sigprocmask
2100   func_module socklen
2101   func_module ssize_t
2102   func_module strptime
2103   func_module strtok_r
2104   func_module sys_select
2105   func_module sys_socket
2106   func_module sys_stat
2107   func_module sys_time
2108   func_module tsearch
2109   func_module unistd
2110   func_module utime
2111   func_module vasnprintf-posix
2112   func_module vasprintf-posix
2113   func_module vfprintf-posix
2114   func_module vprintf-posix
2115   func_module vsnprintf-posix
2116   func_module vsprintf-posix
2117   func_module wcwidth
2118   func_end_table
2119
2120   element="Compatibility checks for POSIX:2001 functions"
2121   func_section_wrap posix_compat
2122   func_wrap H2
2123   func_echo "$element"
2124
2125   func_begin_table
2126   func_module clock-time
2127   func_module d-ino
2128   func_module d-type
2129   func_module link-follow
2130   func_module rename-dest-slash
2131   func_module rmdir-errno
2132   func_module unlink-busy
2133   func_module winsz-ioctl
2134   func_module winsz-termios
2135   func_end_table
2136
2137   element="Enhancements for POSIX:2001 functions"
2138   func_section_wrap posix_enh
2139   func_wrap H2
2140   func_echo "$element"
2141
2142   func_begin_table
2143   func_module chdir-long
2144   func_module dirname
2145   func_module getopt
2146   func_module unistd-safer
2147   func_module fnmatch
2148   func_module fnmatch-posix
2149   func_module fnmatch-gnu
2150   func_module glob
2151   func_module exclude
2152   func_end_table
2153
2154   element="Extra functions based on POSIX:2001"
2155   func_section_wrap posix_ext
2156   func_wrap H2
2157   func_echo "$element"
2158
2159   element="Numeric conversion functions"
2160   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2161   func_section_wrap posix_ext_conv
2162   func_wrap H3
2163   func_echo "$element"
2164
2165   func_begin_table
2166   func_module human
2167   func_end_table
2168
2169   element="File system functions"
2170   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2171   func_section_wrap posix_ext_filesys
2172   func_wrap H3
2173   func_echo "$element"
2174
2175   func_begin_table
2176   func_module acl
2177   func_module areadlink
2178   func_module areadlink-with-size
2179   func_module backupfile
2180   func_module canonicalize
2181   func_module canonicalize-lgpl
2182   func_module chdir-safer
2183   func_module clean-temp
2184   func_module copy-file
2185   func_module fsusage
2186   func_module dirfd
2187   func_module double-slash-root
2188   func_module euidaccess
2189   func_module file-type
2190   func_module fileblocks
2191   func_module filemode
2192   func_module filename
2193   func_module filenamecat
2194   func_module fts
2195   func_module fts-lgpl
2196   func_module isdir
2197   func_module lchmod
2198   func_module lchown
2199   func_module mkancesdirs
2200   func_module mkdir-p
2201   func_module modechange
2202   func_module mountlist
2203   func_module openat
2204   func_module pathmax
2205   func_module read-file
2206   func_module same
2207   func_module save-cwd
2208   func_module savedir
2209   func_module savewd
2210   func_module stat-time
2211   func_module tmpdir
2212   func_module unlinkdir
2213   func_module utimecmp
2214   func_module utimens
2215   func_module write-any-file
2216   func_module xgetcwd
2217   func_module xreadlink
2218   func_end_table
2219
2220   element="File system as inode set"
2221   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2222   func_section_wrap posix_ext_inodeset
2223   func_wrap H3
2224   func_echo "$element"
2225
2226   func_begin_table
2227   func_module cycle-check
2228   func_module dev-ino
2229   func_module file-set
2230   func_module hash-triple
2231   func_module i-ring
2232   func_module same-inode
2233   func_end_table
2234
2235   element="File descriptor based Input/Output"
2236   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2237   func_section_wrap posix_ext_filedesc
2238   func_wrap H3
2239   func_echo "$element"
2240
2241   func_begin_table
2242   func_module fcntl-safer
2243   func_module safe-read
2244   func_module safe-write
2245   func_module full-read
2246   func_module full-write
2247   func_module binary-io
2248   func_module isapipe
2249   func_end_table
2250
2251   element="File stream based Input/Output"
2252   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2253   func_section_wrap posix_ext_filestream
2254   func_wrap H3
2255   func_echo "$element"
2256
2257   func_begin_table
2258   func_module close-stream
2259   func_module closein
2260   func_module closeout
2261   func_module fbufmode
2262   func_module fopen-safer
2263   func_module fpending
2264   func_module fpurge
2265   func_module freadable
2266   func_module freadahead
2267   func_module freading
2268   func_module fwritable
2269   func_module fwriting
2270   func_module getpass
2271   func_module getpass-gnu
2272   func_module stdlib-safer
2273   func_module tmpfile-safer
2274   func_end_table
2275
2276   element="Users and groups"
2277   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2278   func_section_wrap posix_ext_uidgid
2279   func_wrap H3
2280   func_echo "$element"
2281
2282   func_begin_table
2283   func_module getugroups
2284   func_module group-member
2285   func_module idcache
2286   func_module userspec
2287   func_end_table
2288
2289   element="Date and time"
2290   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2291   func_section_wrap posix_ext_datetime
2292   func_wrap H3
2293   func_echo "$element"
2294
2295   func_begin_table
2296   func_module gethrxtime
2297   func_module gettime
2298   func_module settime
2299   func_module posixtm
2300   func_module xnanosleep
2301   func_end_table
2302
2303   element="Networking functions"
2304   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2305   func_section_wrap posix_ext_net
2306   func_wrap H3
2307   func_echo "$element"
2308
2309   func_begin_table
2310   func_module xgethostname
2311   func_module canon-host
2312   func_end_table
2313
2314   element="Multithreading"
2315   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2316   func_section_wrap posix_ext_thread
2317   func_wrap H3
2318   func_echo "$element"
2319
2320   func_begin_table
2321   func_module lock
2322   func_module tls
2323   func_module openmp
2324   func_end_table
2325
2326   element="Internationalization functions"
2327   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2328   func_section_wrap posix_ext_i18n
2329   func_wrap H3
2330   func_echo "$element"
2331
2332   func_begin_table
2333   func_module gettext
2334   func_module gettext-h
2335   func_module iconv
2336   func_module striconv
2337   func_module xstriconv
2338   func_module striconveh
2339   func_module striconveha
2340   func_module localcharset
2341   func_module hard-locale
2342   func_module localename
2343   func_module mbslen
2344   func_module mbsnlen
2345   func_module mbschr
2346   func_module mbsrchr
2347   func_module mbsstr
2348   func_module mbscasecmp
2349   func_module mbsncasecmp
2350   func_module mbspcasecmp
2351   func_module mbscasestr
2352   func_module mbscspn
2353   func_module mbspbrk
2354   func_module mbsspn
2355   func_module mbssep
2356   func_module mbstok_r
2357   func_module mbswidth
2358   func_module memcasecmp
2359   func_module memcoll
2360   func_module xmemcoll
2361   func_module unicodeio
2362   func_module rpmatch
2363   func_module yesno
2364   func_module linebreak
2365   func_module bison-i18n
2366   func_end_table
2367
2368   element="Unicode string functions"
2369   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2370   func_section_wrap posix_ext_unicode
2371   func_wrap H3
2372   func_echo "$element"
2373
2374   func_begin_table
2375   func_module unitypes
2376   func_module ucs4-utf8
2377   func_module ucs4-utf16
2378   func_module utf8-ucs4-unsafe
2379   func_module utf16-ucs4-unsafe
2380   func_module utf8-ucs4
2381   func_module utf16-ucs4
2382   func_module unistr/base
2383   func_module unistr/u8-to-u16
2384   func_module unistr/u8-to-u32
2385   func_module unistr/u16-to-u8
2386   func_module unistr/u16-to-u32
2387   func_module unistr/u32-to-u8
2388   func_module unistr/u32-to-u16
2389   func_module unistr/u8-check
2390   func_module unistr/u16-check
2391   func_module unistr/u32-check
2392   func_module unistr/u8-chr
2393   func_module unistr/u16-chr
2394   func_module unistr/u32-chr
2395   func_module unistr/u8-cmp
2396   func_module unistr/u16-cmp
2397   func_module unistr/u32-cmp
2398   func_module unistr/u8-cpy
2399   func_module unistr/u16-cpy
2400   func_module unistr/u32-cpy
2401   func_module unistr/u8-cpy-alloc
2402   func_module unistr/u16-cpy-alloc
2403   func_module unistr/u32-cpy-alloc
2404   func_module unistr/u8-endswith
2405   func_module unistr/u16-endswith
2406   func_module unistr/u32-endswith
2407   func_module unistr/u8-mblen
2408   func_module unistr/u16-mblen
2409   func_module unistr/u32-mblen
2410   func_module unistr/u8-mbsnlen
2411   func_module unistr/u16-mbsnlen
2412   func_module unistr/u32-mbsnlen
2413   func_module unistr/u8-mbtouc-unsafe
2414   func_module unistr/u16-mbtouc-unsafe
2415   func_module unistr/u32-mbtouc-unsafe
2416   func_module unistr/u8-mbtouc
2417   func_module unistr/u16-mbtouc
2418   func_module unistr/u32-mbtouc
2419   func_module unistr/u8-mbtoucr
2420   func_module unistr/u16-mbtoucr
2421   func_module unistr/u32-mbtoucr
2422   func_module unistr/u8-move
2423   func_module unistr/u16-move
2424   func_module unistr/u32-move
2425   func_module unistr/u8-next
2426   func_module unistr/u16-next
2427   func_module unistr/u32-next
2428   func_module unistr/u8-prev
2429   func_module unistr/u16-prev
2430   func_module unistr/u32-prev
2431   func_module unistr/u8-set
2432   func_module unistr/u16-set
2433   func_module unistr/u32-set
2434   func_module unistr/u8-startswith
2435   func_module unistr/u16-startswith
2436   func_module unistr/u32-startswith
2437   func_module unistr/u8-stpcpy
2438   func_module unistr/u16-stpcpy
2439   func_module unistr/u32-stpcpy
2440   func_module unistr/u8-stpncpy
2441   func_module unistr/u16-stpncpy
2442   func_module unistr/u32-stpncpy
2443   func_module unistr/u8-strcat
2444   func_module unistr/u16-strcat
2445   func_module unistr/u32-strcat
2446   func_module unistr/u8-strchr
2447   func_module unistr/u16-strchr
2448   func_module unistr/u32-strchr
2449   func_module unistr/u8-strcmp
2450   func_module unistr/u16-strcmp
2451   func_module unistr/u32-strcmp
2452   func_module unistr/u8-strcpy
2453   func_module unistr/u16-strcpy
2454   func_module unistr/u32-strcpy
2455   func_module unistr/u8-strcspn
2456   func_module unistr/u16-strcspn
2457   func_module unistr/u32-strcspn
2458   func_module unistr/u8-strdup
2459   func_module unistr/u16-strdup
2460   func_module unistr/u32-strdup
2461   func_module unistr/u8-strlen
2462   func_module unistr/u16-strlen
2463   func_module unistr/u32-strlen
2464   func_module unistr/u8-strmblen
2465   func_module unistr/u16-strmblen
2466   func_module unistr/u32-strmblen
2467   func_module unistr/u8-strmbtouc
2468   func_module unistr/u16-strmbtouc
2469   func_module unistr/u32-strmbtouc
2470   func_module unistr/u8-strncat
2471   func_module unistr/u16-strncat
2472   func_module unistr/u32-strncat
2473   func_module unistr/u8-strncmp
2474   func_module unistr/u16-strncmp
2475   func_module unistr/u32-strncmp
2476   func_module unistr/u8-strncpy
2477   func_module unistr/u16-strncpy
2478   func_module unistr/u32-strncpy
2479   func_module unistr/u8-strnlen
2480   func_module unistr/u16-strnlen
2481   func_module unistr/u32-strnlen
2482   func_module unistr/u8-strpbrk
2483   func_module unistr/u16-strpbrk
2484   func_module unistr/u32-strpbrk
2485   func_module unistr/u8-strrchr
2486   func_module unistr/u16-strrchr
2487   func_module unistr/u32-strrchr
2488   func_module unistr/u8-strspn
2489   func_module unistr/u16-strspn
2490   func_module unistr/u32-strspn
2491   func_module unistr/u8-strstr
2492   func_module unistr/u16-strstr
2493   func_module unistr/u32-strstr
2494   func_module unistr/u8-strtok
2495   func_module unistr/u16-strtok
2496   func_module unistr/u32-strtok
2497   func_module unistr/u8-uctomb
2498   func_module unistr/u16-uctomb
2499   func_module unistr/u32-uctomb
2500   func_module uniconv/base
2501   func_module uniconv/u8-conv-from-enc
2502   func_module uniconv/u16-conv-from-enc
2503   func_module uniconv/u32-conv-from-enc
2504   func_module uniconv/u8-conv-to-enc
2505   func_module uniconv/u16-conv-to-enc
2506   func_module uniconv/u32-conv-to-enc
2507   func_module uniconv/u8-strconv-from-enc
2508   func_module uniconv/u16-strconv-from-enc
2509   func_module uniconv/u32-strconv-from-enc
2510   func_module uniconv/u8-strconv-to-enc
2511   func_module uniconv/u16-strconv-to-enc
2512   func_module uniconv/u32-strconv-to-enc
2513   func_module uniconv/u8-strconv-from-locale
2514   func_module uniconv/u16-strconv-from-locale
2515   func_module uniconv/u32-strconv-from-locale
2516   func_module uniconv/u8-strconv-to-locale
2517   func_module uniconv/u16-strconv-to-locale
2518   func_module uniconv/u32-strconv-to-locale
2519   func_module unistdio/base
2520   func_module unistdio/u-printf-args
2521   func_module unistdio/ulc-asnprintf
2522   func_module unistdio/ulc-asprintf
2523   func_module unistdio/ulc-fprintf
2524   func_module unistdio/ulc-printf-parse
2525   func_module unistdio/ulc-snprintf
2526   func_module unistdio/ulc-sprintf
2527   func_module unistdio/ulc-vasnprintf
2528   func_module unistdio/ulc-vasprintf
2529   func_module unistdio/ulc-vfprintf
2530   func_module unistdio/ulc-vsnprintf
2531   func_module unistdio/ulc-vsprintf
2532   func_module unistdio/u8-asnprintf
2533   func_module unistdio/u8-asprintf
2534   func_module unistdio/u8-printf-parse
2535   func_module unistdio/u8-snprintf
2536   func_module unistdio/u8-sprintf
2537   func_module unistdio/u8-vasnprintf
2538   func_module unistdio/u8-vasprintf
2539   func_module unistdio/u8-vsnprintf
2540   func_module unistdio/u8-vsprintf
2541   func_module unistdio/u8-u8-asnprintf
2542   func_module unistdio/u8-u8-asprintf
2543   func_module unistdio/u8-u8-snprintf
2544   func_module unistdio/u8-u8-sprintf
2545   func_module unistdio/u8-u8-vasnprintf
2546   func_module unistdio/u8-u8-vasprintf
2547   func_module unistdio/u8-u8-vsnprintf
2548   func_module unistdio/u8-u8-vsprintf
2549   func_module unistdio/u16-asnprintf
2550   func_module unistdio/u16-asprintf
2551   func_module unistdio/u16-printf-parse
2552   func_module unistdio/u16-snprintf
2553   func_module unistdio/u16-sprintf
2554   func_module unistdio/u16-vasnprintf
2555   func_module unistdio/u16-vasprintf
2556   func_module unistdio/u16-vsnprintf
2557   func_module unistdio/u16-vsprintf
2558   func_module unistdio/u16-u16-asnprintf
2559   func_module unistdio/u16-u16-asprintf
2560   func_module unistdio/u16-u16-snprintf
2561   func_module unistdio/u16-u16-sprintf
2562   func_module unistdio/u16-u16-vasnprintf
2563   func_module unistdio/u16-u16-vasprintf
2564   func_module unistdio/u16-u16-vsnprintf
2565   func_module unistdio/u16-u16-vsprintf
2566   func_module unistdio/u32-asnprintf
2567   func_module unistdio/u32-asprintf
2568   func_module unistdio/u32-printf-parse
2569   func_module unistdio/u32-snprintf
2570   func_module unistdio/u32-sprintf
2571   func_module unistdio/u32-vasnprintf
2572   func_module unistdio/u32-vasprintf
2573   func_module unistdio/u32-vsnprintf
2574   func_module unistdio/u32-vsprintf
2575   func_module unistdio/u32-u32-asnprintf
2576   func_module unistdio/u32-u32-asprintf
2577   func_module unistdio/u32-u32-snprintf
2578   func_module unistdio/u32-u32-sprintf
2579   func_module unistdio/u32-u32-vasnprintf
2580   func_module unistdio/u32-u32-vasprintf
2581   func_module unistdio/u32-u32-vsnprintf
2582   func_module unistdio/u32-u32-vsprintf
2583   func_module uniname/base
2584   func_module uniname/uniname
2585   func_module uniwidth/base
2586   func_module uniwidth/u8-strwidth
2587   func_module uniwidth/u8-width
2588   func_module uniwidth/u16-strwidth
2589   func_module uniwidth/u16-width
2590   func_module uniwidth/u32-strwidth
2591   func_module uniwidth/u32-width
2592   func_module uniwidth/width
2593   func_end_table
2594
2595   element="Executing programs"
2596   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2597   func_section_wrap posix_ext_exec
2598   func_wrap H3
2599   func_echo "$element"
2600
2601   func_begin_table
2602   func_module cloexec
2603   func_module findprog
2604   func_module wait-process
2605   func_module execute
2606   func_module pipe
2607   func_module sh-quote
2608   func_end_table
2609
2610   element="Java"
2611   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2612   func_section_wrap posix_ext_java
2613   func_wrap H3
2614   func_echo "$element"
2615
2616   func_begin_table
2617   func_module classpath
2618   func_module javacomp-script
2619   func_module javacomp
2620   func_module javaexec-script
2621   func_module javaexec
2622   func_module javaversion
2623   #func_module gcj
2624   func_end_table
2625
2626   element="C#"
2627   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2628   func_section_wrap posix_ext_csharp
2629   func_wrap H3
2630   func_echo "$element"
2631
2632   func_begin_table
2633   func_module csharpcomp-script
2634   func_module csharpcomp
2635   func_module csharpexec-script
2636   func_module csharpexec
2637   func_end_table
2638
2639   element="Misc"
2640   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2641   func_section_wrap posix_ext_misc
2642   func_wrap H3
2643   func_echo "$element"
2644
2645   func_begin_table
2646   func_module argp
2647   func_module argz
2648   func_module byteswap
2649   func_module exitfail
2650   func_module c-stack
2651   func_module error
2652   func_module extensions
2653   func_module getdomainname
2654   func_module xgetdomainname
2655   func_module getloadavg
2656   func_module getpagesize
2657   func_module getusershell
2658   func_module physmem
2659   func_module posixver
2660   func_module progname
2661   func_module quotearg
2662   func_module quote
2663   func_module readutmp
2664   func_module sig2str
2665   func_module sysexits
2666   func_module verror
2667   func_module visibility
2668   func_end_table
2669
2670   element="Support for building libraries and executables"
2671   func_section_wrap build_lib
2672   func_wrap H2
2673   func_echo "$element"
2674
2675   func_begin_table
2676   func_module absolute-header
2677   func_module config-h
2678   func_module configmake
2679   func_module dummy
2680   func_module elisp-comp
2681   func_module havelib
2682   func_module include_next
2683   func_module ldd
2684   func_module lib-ignore
2685   func_module link-warning
2686   func_module no-c++
2687   func_module relocatable-lib
2688   func_module relocatable-lib-lgpl
2689   func_module relocatable-prog
2690   func_module relocatable-prog-wrapper
2691   func_module relocatable-script
2692   func_end_table
2693
2694   element="Support for building documentation"
2695   func_section_wrap build_doc
2696   func_wrap H2
2697   func_echo "$element"
2698
2699   func_begin_table
2700   func_module fdl
2701   func_module gendocs
2702   func_module gpl-2.0
2703   func_module gpl-3.0
2704   func_module lgpl-2.1
2705   func_module regexprops-generic
2706   func_end_table
2707
2708   element="Support for maintaining and releasing projects"
2709   func_section_wrap maintain
2710   func_wrap H2
2711   func_echo "$element"
2712
2713   func_begin_table
2714   func_module announce-gen
2715   func_module autobuild
2716   func_module git-version-gen
2717   func_module gnupload
2718   func_module maintainer-makefile
2719   func_end_table
2720
2721   element="Misc"
2722   func_section_wrap misc
2723   func_wrap H2
2724   func_echo "$element"
2725
2726   func_begin_table
2727   func_module host-os
2728   func_module perl
2729   func_module uptime
2730   func_end_table
2731 }
2732
2733
2734 func_tmpdir
2735 trap 'exit_status=$?
2736       if test "$signal" != 0; then
2737         echo "caught signal $signal" >&2
2738       fi
2739       rm -rf "$tmp"
2740       exit $exit_status' 0
2741 for signal in 1 2 3 13 15; do
2742   trap '{ signal='$signal'; func_exit 1; }' $signal
2743 done
2744 signal=0
2745
2746 echo '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">'
2747 func_begin HTML
2748
2749 func_begin HEAD
2750
2751 element="Gnulib Module List"
2752 func_wrap TITLE
2753 func_echo "$element"
2754
2755 modules=`gnulib-tool --list`
2756 modules=`for m in $modules; do printf "%s, " $m; done | sed -e 's/, $//'`
2757 func_echo '<META NAME="keywords" CONTENT="'"${modules}"'">'
2758
2759 func_end HEAD
2760
2761 func_begin BODY
2762
2763 element="Gnulib Module List"
2764 func_wrap H1
2765 func_echo "$element"
2766
2767 func_echo 'This is a list of the modules which make up gnulib, with dependencies.'
2768
2769 in_toc=yes
2770 func_all_modules
2771
2772 in_toc=
2773 func_all_modules
2774
2775
2776 gnulib-tool --list > "$tmp/all-modules"
2777 missed_modules=`for module in $seen_modules; do echo $module; done \
2778                   | LC_ALL=C sort -u \
2779                   | LC_ALL=C join -v 2 - "$tmp/all-modules"`
2780
2781 if test -n "$missed_modules"; then
2782
2783   element="Unclassified modules - please update MODULES.html.sh"
2784   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2785   func_wrap H2
2786   func_echo "$element"
2787
2788   func_begin_table
2789   for module in $missed_modules; do
2790     func_module $module
2791   done
2792   func_end_table
2793
2794 fi
2795
2796 { 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"
2797 missed_files=`for file in $seen_files; do echo $file; done \
2798                 | LC_ALL=C sort -u \
2799                 | LC_ALL=C join -v 2 - "$tmp/all-files"`
2800
2801 if test -n "$missed_files"; then
2802
2803   element="Lone files - please create new modules containing them"
2804   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2805   func_wrap H2
2806   func_echo "$element"
2807
2808   func_echo '<PRE>'
2809   echo "$missed_files" | sed -e 's,^\(.*\)$,<A HREF="'$repo_url_prefix'\1'$repo_url_suffix_repl'">\1</A>,'
2810   echo '</PRE>'
2811
2812 fi
2813
2814 element="Future developments"
2815 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2816 func_wrap H2
2817 func_echo "$element"
2818
2819 func_echo 'Ideally a module could consist of:'
2820 func_begin UL
2821 func_echo '<LI>A header file: lib/<VAR>module</VAR>.h'
2822 func_echo '<LI>One or more implementation files: lib/<VAR>module</VAR>.c et al.'
2823 func_echo '<LI>One or more autoconf macro files: m4/<VAR>module</VAR>.m4 et al.'
2824 func_echo '<LI>A configure.ac fragment, Makefile.am fragment, dependency list: modules/<VAR>module</VAR>'
2825 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'
2826 func_echo '<LI>Some documentation'
2827 func_echo '<LI>A POT file and some PO files'
2828 func_end UL
2829
2830 func_echo '<HR>'
2831 func_echo 'Generated from <CODE>MODULES.html.sh</CODE> on '`LC_ALL=C date +"%e %B %Y"`.
2832
2833 func_end BODY
2834
2835 func_end HTML
2836
2837 rm -rf "$tmp"
2838 # Undo the effect of the previous 'trap' command.
2839 trap '' 0
2840 trap 'func_exit $?' 1 2 3 13 15
2841
2842 exit 0
2843
2844 # Local Variables:
2845 # indent-tabs-mode: nil
2846 # whitespace-check-buffer-indent: nil
2847 # End: