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