1#!/bin/sh
2#
3# Copyright (C) 2002-2021 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 <https://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='https://pubs.opengroup.org/onlinepubs/009695399'
25POSIX2008_URL='https://pubs.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='https://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'/functions/\2.html">\2</A> \3,g
1525      s,\([^a-zA-Z_]\)'$posix2001_functions' \(function\|macro\),\1<A HREF="'$POSIX2001_URL'/functions/\2.html">\2</A> \3,g
1526      s,\([^a-zA-Z_]\)'$posix2001_functions'(),\1<A HREF="'$POSIX2001_URL'/functions/\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'/basedefs/\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 ctime
1648  func_module localtime
1649  func_module strtod
1650  func_module strerror
1651  func_module strerror-override
1652  func_module mktime
1653  func_end_table
1654
1655  element="Enhancements for ANSI C 89 functions"
1656  func_section_wrap ansic_enh
1657  func_wrap H2
1658  func_echo "$element"
1659
1660  element="Diagnostics <assert.h>"
1661  element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1662  func_section_wrap ansic_enh_assert_diagnostics
1663  func_wrap H3
1664  func_echo "$element"
1665
1666  func_begin_table
1667  func_module assert
1668  func_module assure
1669  func_module verify
1670  func_end_table
1671
1672  element="Mathematics <math.h>"
1673  element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1674  func_section_wrap ansic_enh_math
1675  func_wrap H3
1676  func_echo "$element"
1677
1678  func_begin_table
1679  func_module fpieee
1680  func_end_table
1681
1682  element="Input/output <stdio.h>"
1683  element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1684  func_section_wrap ansic_enh_stdio
1685  func_wrap H3
1686  func_echo "$element"
1687
1688  func_begin_table
1689  func_module fflush
1690  func_module fseterr
1691  func_module tmpfile
1692  func_end_table
1693
1694  element="Memory management functions <stdlib.h>"
1695  element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1696  func_section_wrap ansic_enh_stdlib_memory
1697  func_wrap H3
1698  func_echo "$element"
1699
1700  func_begin_table
1701  func_module calloc-gnu
1702  func_module eealloc
1703  func_module free-posix
1704  func_module malloc-gnu
1705  func_module realloc-gnu
1706  func_module reallocarray
1707  func_module pagealign_alloc
1708  func_end_table
1709
1710  element="Sorting functions <stdlib.h>"
1711  element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1712  func_section_wrap ansic_enh_stdlib_sorting
1713  func_wrap H3
1714  func_echo "$element"
1715
1716  func_begin_table
1717  func_module array-mergesort
1718  func_module mpsort
1719  func_module qsort_r
1720  func_end_table
1721
1722  element="Date and time <time.h>"
1723  element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1724  func_section_wrap ansic_enh_time_datetime
1725  func_wrap H3
1726  func_echo "$element"
1727
1728  func_begin_table
1729  func_module fprintftime
1730  func_module nstrftime
1731  func_module strftime-fixes
1732  func_module time_rz
1733  func_module year2038
1734  func_end_table
1735
1736  element="Extra functions based on ANSI C 89"
1737  func_section_wrap ansic_ext
1738  func_wrap H2
1739  func_echo "$element"
1740
1741  element="Memory management functions <stdlib.h>"
1742  element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1743  func_section_wrap ansic_ext_stdlib_memory
1744  func_wrap H3
1745  func_echo "$element"
1746
1747  func_begin_table
1748  func_module xsize
1749  func_module xalloc
1750  func_module xalloc-die
1751  func_module alloca
1752  func_module alloca-opt
1753  func_module malloca
1754  func_module xmalloca
1755  func_module xmemdup0
1756  func_module safe-alloc
1757  func_end_table
1758
1759  element="Integer arithmetic functions <stdlib.h>"
1760  element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1761  func_section_wrap ansic_ext_stdlib_arith
1762  func_wrap H3
1763  func_echo "$element"
1764
1765  func_begin_table
1766  func_module count-leading-zeros
1767  func_module count-one-bits
1768  func_module count-trailing-zeros
1769  func_module ffs
1770  func_module ffsl
1771  func_module ffsll
1772  func_module gcd
1773  func_module minmax
1774  func_end_table
1775
1776  element="Environment variables <stdlib.h>"
1777  element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1778  func_section_wrap ansic_ext_stdlib_env
1779  func_wrap H3
1780  func_echo "$element"
1781
1782  func_begin_table
1783  func_module putenv
1784  func_module secure_getenv
1785  func_module setenv
1786  func_module unsetenv
1787  func_module xsetenv
1788  func_end_table
1789
1790  element="Character handling <ctype.h>"
1791  element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1792  func_section_wrap ansic_ext_ctype
1793  func_wrap H3
1794  func_echo "$element"
1795
1796  func_begin_table
1797  func_module c-ctype
1798  func_end_table
1799
1800  element="String handling <string.h>"
1801  element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1802  func_section_wrap ansic_ext_string
1803  func_wrap H3
1804  func_echo "$element"
1805
1806  func_begin_table
1807  func_module bcopy
1808  func_module explicit_bzero
1809  func_module memchr
1810  func_module memchr2
1811  func_module memcmp2
1812  func_module memmem
1813  func_module memmem-simple
1814  func_module mempcpy
1815  func_module memrchr
1816  func_module amemxfrm
1817  func_module rawmemchr
1818  func_module stpcpy
1819  func_module stpncpy
1820  func_module c-strcase
1821  func_module strcase
1822  func_module c-strcaseeq
1823  func_module c-strcasestr
1824  func_module strcasestr
1825  func_module strcasestr-simple
1826  func_module strchrnul
1827  func_module streq
1828  func_module strerror_r-posix
1829  func_module strnlen
1830  func_module strnlen1
1831  func_module strndup
1832  func_module strsep
1833  func_module strstr
1834  func_module strstr-simple
1835  func_module c-strstr
1836  func_module astrxfrm
1837  func_module trim
1838  func_module fstrcmp
1839  func_module xstrndup
1840  func_end_table
1841
1842  element="Mathematics <math.h>"
1843  element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1844  func_section_wrap ansic_ext_math
1845  func_wrap H3
1846  func_echo "$element"
1847
1848  func_begin_table
1849  func_module printf-frexp
1850  func_end_table
1851
1852  element="Numeric conversion functions <stdlib.h>"
1853  element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1854  func_section_wrap ansic_ext_stdlib_conv
1855  func_wrap H3
1856  func_echo "$element"
1857
1858  func_begin_table
1859  func_module c-strtod
1860  func_module c-strtold
1861  func_module xstrtod
1862  func_module xstrtol
1863  func_module xstrtol-error
1864  func_module xstrtoll
1865  func_module xstrtold
1866  func_end_table
1867
1868  element="Date and time <time.h>"
1869  element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1870  func_section_wrap ansic_ext_time_datetime
1871  func_wrap H3
1872  func_echo "$element"
1873
1874  func_begin_table
1875  func_module mktime-internal
1876  func_module parse-datetime
1877  func_module timegm
1878  func_module tzset
1879  func_end_table
1880
1881  element="Input/Output <stdio.h>"
1882  element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1883  func_section_wrap ansic_ext_stdio
1884  func_wrap H3
1885  func_echo "$element"
1886
1887  func_begin_table
1888  func_module unlocked-io
1889  func_module fwriteerror
1890  func_module vasnprintf
1891  func_module vasprintf
1892  func_module xprintf
1893  func_module xvasprintf
1894  func_end_table
1895
1896  element="Signal handling <signal.h>"
1897  element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1898  func_section_wrap ansic_ext_signal
1899  func_wrap H3
1900  func_echo "$element"
1901
1902  func_begin_table
1903  func_module fatal-signal
1904  func_module raise
1905  func_module strsignal
1906  func_end_table
1907
1908  element="Command-line arguments"
1909  element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1910  func_section_wrap ansic_ext_argv
1911  func_wrap H3
1912  func_echo "$element"
1913
1914  func_begin_table
1915  func_module argmatch
1916  func_module argv-iter
1917  func_module version-etc
1918  func_module version-etc-fsf
1919  func_module long-options
1920  func_end_table
1921
1922  element="Container data structures"
1923  element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1924  func_section_wrap ansic_ext_container
1925  func_wrap H3
1926  func_echo "$element"
1927
1928  func_begin_table
1929  func_module list
1930  func_module xlist
1931  func_module array-list
1932  func_module carray-list
1933  func_module linked-list
1934  func_module avltree-list
1935  func_module rbtree-list
1936  func_module linkedhash-list
1937  func_module avltreehash-list
1938  func_module rbtreehash-list
1939  func_module sublist
1940  func_module xsublist
1941  func_module oset
1942  func_module xoset
1943  func_module array-oset
1944  func_module avltree-oset
1945  func_module rbtree-oset
1946  func_end_table
1947
1948  element="Cryptographic computations (low-level)"
1949  element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1950  func_section_wrap ansic_ext_crypto
1951  func_wrap H3
1952  func_echo "$element"
1953
1954  func_begin_table
1955  func_module crypto/arcfour
1956  func_module crypto/arctwo
1957  func_module crypto/des
1958  func_module crypto/hmac-md5
1959  func_module crypto/hmac-sha1
1960  func_module crypto/md2
1961  func_module crypto/md4
1962  func_module crypto/md5
1963  func_module crypto/rijndael
1964  func_module crypto/sha1
1965  func_module crypto/sha256
1966  func_module crypto/sha512
1967  func_module crypto/sm3
1968  func_end_table
1969
1970  element="Cryptographic computations (high-level)"
1971  element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1972  func_section_wrap ansic_ext_crypto2
1973  func_wrap H3
1974  func_echo "$element"
1975
1976  func_begin_table
1977  func_module crypto/gc
1978  func_module crypto/gc-arcfour
1979  func_module crypto/gc-arctwo
1980  func_module crypto/gc-camellia
1981  func_module crypto/gc-des
1982  func_module crypto/gc-hmac-md5
1983  func_module crypto/gc-hmac-sha1
1984  func_module crypto/gc-md2
1985  func_module crypto/gc-md4
1986  func_module crypto/gc-md5
1987  func_module crypto/gc-pbkdf2
1988  func_module crypto/gc-pbkdf2-sha1
1989  func_module crypto/gc-random
1990  func_module crypto/gc-rijndael
1991  func_module crypto/gc-sha1
1992  func_module crypto/gc-sm3
1993  func_end_table
1994
1995  element="Compiler warning management"
1996  element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1997  func_section_wrap ansic_ext_compwarn
1998  func_wrap H3
1999  func_echo "$element"
2000
2001  func_begin_table
2002  func_module ignore-value
2003  func_end_table
2004
2005  element="Misc"
2006  element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2007  func_section_wrap ansic_ext_misc
2008  func_wrap H3
2009  func_echo "$element"
2010
2011  func_begin_table
2012  func_module base32
2013  func_module base64
2014  func_module check-version
2015  func_module crc
2016  func_module diffseq
2017  func_module execinfo
2018  func_module getline
2019  func_module getdelim
2020  func_module getnline
2021  func_module getndelim2
2022  func_module linebuffer
2023  func_module memxor
2024  func_module obstack
2025  func_module obstack-printf
2026  func_module obstack-printf-posix
2027  func_module hash-pjw
2028  func_module hash-pjw-bare
2029  func_module hash
2030  func_module hamt
2031  func_module readline
2032  func_module readtokens
2033  func_module readtokens0
2034  func_module stack
2035  func_module strverscmp
2036  func_module filevercmp
2037  func_end_table
2038
2039  element="Support for systems lacking ISO C 99"
2040  func_section_wrap isoc_sup
2041  func_wrap H2
2042  func_echo "$element"
2043
2044  element="Core language properties"
2045  element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2046  func_section_wrap isoc_core_properties
2047  func_wrap H3
2048  func_echo "$element"
2049
2050  func_begin_table
2051  func_module alignof
2052  func_module c99
2053  func_module flexmember
2054  func_module fpucw
2055  func_module func
2056  func_module inline
2057  func_module longlong
2058  func_module snippet/unused-parameter
2059  func_module va-args
2060  func_module vararrays
2061  func_module vla
2062  func_end_table
2063
2064  element="Variable arguments <stdarg.h>"
2065  element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2066  func_section_wrap isoc_sup_stdarg
2067  func_wrap H3
2068  func_echo "$element"
2069
2070  func_begin_table
2071  func_module stdarg
2072  func_end_table
2073
2074  element="Boolean type and values <stdbool.h>"
2075  element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2076  func_section_wrap isoc_sup_stdbool
2077  func_wrap H3
2078  func_echo "$element"
2079
2080  func_begin_table
2081  func_module stdbool
2082  func_end_table
2083
2084  element="Basic types <stddef.h>"
2085  element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2086  func_section_wrap isoc_sup_stddef
2087  func_wrap H3
2088  func_echo "$element"
2089
2090  func_begin_table
2091  func_module stddef
2092  func_end_table
2093
2094  element="Integer types and values <stdint.h>"
2095  element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2096  func_section_wrap isoc_sup_stdint
2097  func_wrap H3
2098  func_echo "$element"
2099
2100  func_begin_table
2101  func_module size_max
2102  func_module stdint
2103  func_end_table
2104
2105  element="Input/output <stdio.h>"
2106  element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2107  func_section_wrap isoc_sup_stdio
2108  func_wrap H3
2109  func_echo "$element"
2110
2111  func_begin_table
2112  func_module stdio
2113  func_module snprintf
2114  func_module vsnprintf
2115  func_end_table
2116
2117  element="Process control, Numeric conversion functions <stdlib.h>"
2118  element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2119  func_section_wrap isoc_sup_stdlib_procconv
2120  func_wrap H3
2121  func_echo "$element"
2122
2123  func_begin_table
2124  func_module _Exit
2125  func_module atoll
2126  func_module strtoll
2127  func_module strtoull
2128  func_end_table
2129
2130  element="Unibyte characters <ctype.h>"
2131  element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2132  func_section_wrap isoc_sup_ctype
2133  func_wrap H3
2134  func_echo "$element"
2135
2136  func_begin_table
2137  func_module ctype
2138  func_end_table
2139
2140  element="Functions for greatest-width integer types <inttypes.h>"
2141  element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2142  func_section_wrap isoc_sup_inttypes
2143  func_wrap H3
2144  func_echo "$element"
2145
2146  func_begin_table
2147  func_module imaxabs
2148  func_module imaxdiv
2149  func_module inttypes
2150  func_module strtoimax
2151  func_module strtoumax
2152  func_end_table
2153
2154  element="String handling <string.h>"
2155  element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2156  func_section_wrap isoc_sup_string
2157  func_wrap H3
2158  func_echo "$element"
2159
2160  func_begin_table
2161  func_module strncat
2162  func_end_table
2163
2164  element="Extended multibyte and wide character utilities <wchar.h>"
2165  element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2166  func_section_wrap isoc_sup_wchar
2167  func_wrap H3
2168  func_echo "$element"
2169
2170  func_begin_table
2171  func_module wchar
2172  func_module btowc
2173  func_module wctob
2174  func_module mbsinit
2175  func_module mbrlen
2176  func_module mbrtowc
2177  func_module mbsrtowcs
2178  func_module wcrtomb
2179  func_module wcsrtombs
2180  func_end_table
2181
2182  element="Wide character classification and mapping utilities <wctype.h>"
2183  element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2184  func_section_wrap isoc_sup_wctype
2185  func_wrap H3
2186  func_echo "$element"
2187
2188  func_begin_table
2189  func_module wctype
2190  func_end_table
2191
2192  element="Characteristics of floating types <float.h>"
2193  element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2194  func_section_wrap isoc_sup_float
2195  func_wrap H3
2196  func_echo "$element"
2197
2198  func_begin_table
2199  func_module float
2200  func_end_table
2201
2202  element="Mathematics <math.h>"
2203  element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2204  func_section_wrap isoc_sup_math
2205  func_wrap H3
2206  func_echo "$element"
2207
2208  func_begin_table
2209  func_module acos
2210  func_module acosl
2211  func_module asin
2212  func_module asinl
2213  func_module atan
2214  func_module atan2
2215  func_module atanl
2216  func_module cbrt
2217  func_module ceil
2218  func_module ceilf
2219  func_module ceill
2220  func_module copysign
2221  func_module cos
2222  func_module cosh
2223  func_module cosl
2224  func_module erf
2225  func_module erfc
2226  func_module exp
2227  func_module expl
2228  func_module fabs
2229  func_module floor
2230  func_module floorf
2231  func_module floorl
2232  func_module fmod
2233  func_module frexp
2234  func_module frexp-nolibm
2235  func_module frexpl
2236  func_module frexpl-nolibm
2237  func_module hypot
2238  func_module isfinite
2239  func_module isinf
2240  func_module isnan
2241  func_module isnanf
2242  func_module isnanf-nolibm
2243  func_module isnand
2244  func_module isnand-nolibm
2245  func_module isnanl
2246  func_module isnanl-nolibm
2247  func_module j0
2248  func_module j1
2249  func_module jn
2250  func_module ldexp
2251  func_module ldexpl
2252  func_module lgamma
2253  func_module log
2254  func_module log10
2255  func_module log1p
2256  func_module logb
2257  func_module logl
2258  func_module math
2259  func_module mathl
2260  func_module modf
2261  func_module nextafter
2262  func_module pow
2263  func_module remainder
2264  func_module rint
2265  func_module round
2266  func_module roundf
2267  func_module roundl
2268  func_module signbit
2269  func_module sin
2270  func_module sinh
2271  func_module sinl
2272  func_module sqrt
2273  func_module sqrtl
2274  func_module tan
2275  func_module tanh
2276  func_module tanl
2277  func_module trunc
2278  func_module truncf
2279  func_module truncl
2280  func_module y0
2281  func_module y1
2282  func_module yn
2283  func_end_table
2284
2285  element="Enhancements for ISO C 99 functions"
2286  func_section_wrap isoc_enh
2287  func_wrap H2
2288  func_echo "$element"
2289
2290  element="Input/output <stdio.h>"
2291  element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2292  func_section_wrap isoc_enh_stdio
2293  func_wrap H3
2294  func_echo "$element"
2295
2296  func_begin_table
2297  func_module printf-safe
2298  func_end_table
2299
2300  element="Extra functions based on ISO C 99"
2301  func_section_wrap isoc_ext
2302  func_wrap H2
2303  func_echo "$element"
2304
2305  element="Mathematics <math.h>"
2306  element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2307  func_section_wrap isoc_ext_math
2308  func_wrap H3
2309  func_echo "$element"
2310
2311  func_begin_table
2312  func_module printf-frexpl
2313  func_end_table
2314
2315  element="Numeric conversion functions <stdlib.h>"
2316  element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2317  func_section_wrap isoc_ext_stdlib_conv
2318  func_wrap H3
2319  func_echo "$element"
2320
2321  func_begin_table
2322  func_module c-dtoastr
2323  func_module c-ldtoastr
2324  func_module dtoastr
2325  func_module ftoastr
2326  func_module intprops
2327  func_module inttostr
2328  func_module ldtoastr
2329  func_module xstrtoimax
2330  func_module xstrtoumax
2331  func_end_table
2332
2333  element="Extended multibyte and wide character utilities <wchar.h>"
2334  element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2335  func_section_wrap isoc_ext_wchar_mb
2336  func_wrap H3
2337  func_echo "$element"
2338
2339  func_begin_table
2340  func_module mbchar
2341  func_module mbiter
2342  func_module mbuiter
2343  func_module mbfile
2344  func_end_table
2345
2346  element="Support for systems lacking ISO C 11"
2347  func_section_wrap c11_sup
2348  func_wrap H2
2349  func_echo "$element"
2350
2351  element="Core language properties"
2352  element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2353  func_section_wrap c11_core_properties
2354  func_wrap H3
2355  func_echo "$element"
2356
2357  func_begin_table
2358  func_module noreturn
2359  func_module std-gnu11
2360  func_module stdalign
2361  func_end_table
2362
2363  element="Support for standard extensions to ISO C 11"
2364  func_section_wrap c11_ext
2365  func_wrap H2
2366  func_echo "$element"
2367
2368  func_begin_table
2369  func_module attribute
2370  func_module builtin-expect
2371  func_module ieee754-h
2372  func_module limits-h
2373  func_end_table
2374
2375  element="Support for GNU multiple precision arithmetic"
2376  func_section_wrap gmp
2377  func_wrap H2
2378  func_echo "$element"
2379
2380  func_begin_table
2381  func_module libgmp
2382  func_end_table
2383
2384  element="Support for sharing code with the GNU C Library"
2385  func_section_wrap glibc
2386  func_wrap H2
2387  func_echo "$element"
2388
2389  func_begin_table
2390  func_module libc-config
2391  func_end_table
2392
2393  element="Support for obsolete systems lacking POSIX:2008"
2394  func_section_wrap posix_sup_obsolete
2395  func_wrap H2
2396  func_echo "$element"
2397
2398  func_begin_table
2399  func_module strdup
2400  func_end_table
2401
2402  func_echo 'These modules are not listed among dependencies below, for simplicity.'
2403  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.'
2404
2405  element="Support for systems lacking POSIX:2008"
2406  func_section_wrap posix_sup
2407  func_wrap H2
2408  func_echo "$element"
2409
2410  func_begin_table
2411  func_module accept
2412  func_module alphasort
2413  func_module arpa_inet
2414  func_module bind
2415  func_module calloc-posix
2416  func_module chown
2417  func_module close
2418  func_module connect
2419  func_module dirent
2420  func_module dprintf
2421  func_module dprintf-posix
2422  func_module dup2
2423  func_module duplocale
2424  func_module environ
2425  func_module errno
2426  func_module fchdir
2427  func_module fclose
2428  func_module fcntl-h
2429  func_module fcntl
2430  func_module fdatasync
2431  func_module flock
2432  func_module fopen
2433  func_module fprintf-posix
2434  func_module freopen
2435  func_module fseek
2436  func_module fseeko
2437  func_module fsync
2438  func_module ftell
2439  func_module ftello
2440  func_module ftruncate
2441  func_module futimens
2442  func_module getaddrinfo
2443  func_module getcwd
2444  func_module getcwd-lgpl
2445  func_module getgroups
2446  func_module gethostname
2447  func_module getlogin
2448  func_module getlogin_r
2449  func_module getopt-posix
2450  func_module getpeername
2451  func_module getsockname
2452  func_module getsockopt
2453  func_module getsubopt
2454  func_module gettimeofday
2455  func_module grantpt
2456  func_module hostent
2457  func_module iconv-h
2458  func_module iconv_open
2459  func_module inet_ntop
2460  func_module inet_pton
2461  func_module ioctl
2462  func_module isblank
2463  func_module langinfo
2464  func_module link
2465  func_module linkat
2466  func_module listen
2467  func_module locale
2468  func_module lseek
2469  func_module lstat
2470  func_module malloc-posix
2471  func_module mbsnrtowcs
2472  func_module mkdir
2473  func_module mkdtemp
2474  func_module mkfifo
2475  func_module mknod
2476  func_module mkstemp
2477  func_module net_if
2478  func_module netdb
2479  func_module netinet_in
2480  func_module nl_langinfo
2481  func_module open
2482  func_module perror
2483  func_module poll
2484  func_module popen
2485  func_module posix_openpt
2486  func_module posix_spawn
2487  func_module posix_spawnattr_destroy
2488  func_module posix_spawnattr_getflags
2489  func_module posix_spawnattr_getpgroup
2490  func_module posix_spawnattr_getschedparam
2491  func_module posix_spawnattr_getschedpolicy
2492  func_module posix_spawnattr_getsigdefault
2493  func_module posix_spawnattr_getsigmask
2494  func_module posix_spawnattr_init
2495  func_module posix_spawnattr_setflags
2496  func_module posix_spawnattr_setpgroup
2497  func_module posix_spawnattr_setschedparam
2498  func_module posix_spawnattr_setschedpolicy
2499  func_module posix_spawnattr_setsigdefault
2500  func_module posix_spawnattr_setsigmask
2501  func_module posix_spawn_file_actions_addclose
2502  func_module posix_spawn_file_actions_adddup2
2503  func_module posix_spawn_file_actions_addopen
2504  func_module posix_spawn_file_actions_destroy
2505  func_module posix_spawn_file_actions_init
2506  func_module posix_spawn-internal
2507  func_module posix_spawnp
2508  func_module pread
2509  func_module printf-posix
2510  func_module pselect
2511  func_module pthread
2512  func_module ptsname
2513  func_module pwrite
2514  func_module readlink
2515  func_module realloc-posix
2516  func_module recv
2517  func_module recvfrom
2518  func_module remove
2519  func_module scandir
2520  func_module sched
2521  func_module select
2522  func_module send
2523  func_module sendto
2524  func_module servent
2525  func_module setsockopt
2526  func_module shutdown
2527  func_module signal-h
2528  func_module sleep
2529  func_module snprintf-posix
2530  func_module socket
2531  func_module spawn
2532  func_module sprintf-posix
2533  func_module stat
2534  func_module strdup-posix
2535  func_module string
2536  func_module strings
2537  func_module tempname
2538  func_module time
2539  func_module time_r
2540  func_module times
2541  func_module timespec
2542  func_module nanosleep
2543  func_module pthread_sigmask
2544  func_module regex
2545  func_module rename
2546  func_module renameat
2547  func_module rmdir
2548  func_module search
2549  func_module sigaction
2550  func_module sigprocmask
2551  func_module socklen
2552  func_module ssize_t
2553  func_module strptime
2554  func_module strtok_r
2555  func_module sys_select
2556  func_module sys_socket
2557  func_module sys_stat
2558  func_module sys_time
2559  func_module sys_times
2560  func_module sys_uio
2561  func_module sys_utsname
2562  func_module sys_wait
2563  func_module truncate
2564  func_module tsearch
2565  func_module ttyname_r
2566  func_module uname
2567  func_module unistd
2568  func_module unlink
2569  func_module unlockpt
2570  func_module utime
2571  func_module utime-h
2572  func_module utimensat
2573  func_module vasnprintf-posix
2574  func_module vasprintf-posix
2575  func_module vdprintf
2576  func_module vdprintf-posix
2577  func_module vfprintf-posix
2578  func_module vprintf-posix
2579  func_module vsnprintf-posix
2580  func_module vsprintf-posix
2581  func_module wcsnrtombs
2582  func_module wcwidth
2583  func_module windows-stat-inodes
2584  func_module windows-stat-override
2585  func_module windows-stat-timespec
2586  func_module write
2587  func_end_table
2588
2589  element="Compatibility checks for POSIX:2008 functions"
2590  func_section_wrap posix_compat
2591  func_wrap H2
2592  func_echo "$element"
2593
2594  func_begin_table
2595  func_module clock-time
2596  func_module d-ino
2597  func_module d-type
2598  func_module link-follow
2599  func_module rmdir-errno
2600  func_module timer-time
2601  func_module unlink-busy
2602  func_module winsz-ioctl
2603  func_module winsz-termios
2604  func_end_table
2605
2606  element="Enhancements for POSIX:2008 functions"
2607  func_section_wrap posix_enh
2608  func_wrap H2
2609  func_echo "$element"
2610
2611  func_begin_table
2612  func_module chdir-long
2613  func_module dirent-safer
2614  func_module dirname
2615  func_module dirname-lgpl
2616  func_module getopt-gnu
2617  func_module iconv_open-utf
2618  func_module unistd-safer
2619  func_module fnmatch
2620  func_module fnmatch-gnu
2621  func_module glob
2622  func_module exclude
2623  func_end_table
2624
2625  element="Extra functions based on POSIX:2008"
2626  func_section_wrap posix_ext
2627  func_wrap H2
2628  func_echo "$element"
2629
2630  element="Input/output"
2631  element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2632  func_section_wrap posix_ext_stdio
2633  func_wrap H3
2634  func_echo "$element"
2635
2636  func_begin_table
2637  func_module xprintf-posix
2638  func_module xvasprintf-posix
2639  func_end_table
2640
2641  element="Numeric conversion functions"
2642  element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2643  func_section_wrap posix_ext_conv
2644  func_wrap H3
2645  func_echo "$element"
2646
2647  func_begin_table
2648  func_module human
2649  func_end_table
2650
2651  element="File system functions"
2652  element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2653  func_section_wrap posix_ext_filesys
2654  func_wrap H3
2655  func_echo "$element"
2656
2657  func_begin_table
2658  func_module acl
2659  func_module acl-permissions
2660  func_module areadlink
2661  func_module areadlink-with-size
2662  func_module areadlinkat
2663  func_module areadlinkat-with-size
2664  func_module backupfile
2665  func_module backup-rename
2666  func_module canonicalize
2667  func_module canonicalize-lgpl
2668  func_module clean-temp
2669  func_module concat-filename
2670  func_module copy-file
2671  func_module fsusage
2672  func_module dirfd
2673  func_module double-slash-root
2674  func_module euidaccess
2675  func_module faccessat
2676  func_module fdopendir
2677  func_module fdutimensat
2678  func_module file-type
2679  func_module fileblocks
2680  func_module filemode
2681  func_module filename
2682  func_module filenamecat
2683  func_module filenamecat-lgpl
2684  func_module fts
2685  func_module isdir
2686  func_module largefile
2687  func_module lchmod
2688  func_module lchown
2689  func_module mkancesdirs
2690  func_module mkfifoat
2691  func_module mkdir-p
2692  func_module mkostemp
2693  func_module mkostemps
2694  func_module mkstemps
2695  func_module modechange
2696  func_module mountlist
2697  func_module openat
2698  func_module openat-die
2699  func_module pathmax
2700  func_module qacl
2701  func_module qcopy-acl
2702  func_module qset-acl
2703  func_module read-file
2704  func_module readlinkat
2705  func_module renameatu
2706  func_module same
2707  func_module save-cwd
2708  func_module savedir
2709  func_module savewd
2710  func_module stat-macros
2711  func_module stat-time
2712  func_module symlink
2713  func_module symlinkat
2714  func_module sys_file
2715  func_module sys_ioctl
2716  func_module tmpdir
2717  func_module unlinkdir
2718  func_module utimecmp
2719  func_module utimens
2720  func_module write-any-file
2721  func_module xconcat-filename
2722  func_module xgetcwd
2723  func_module xreadlink
2724  func_module xreadlinkat
2725  func_end_table
2726
2727  element="File system as inode set"
2728  element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2729  func_section_wrap posix_ext_inodeset
2730  func_wrap H3
2731  func_echo "$element"
2732
2733  func_begin_table
2734  func_module cycle-check
2735  func_module dev-ino
2736  func_module file-set
2737  func_module hash-triple
2738  func_module i-ring
2739  func_module same-inode
2740  func_end_table
2741
2742  element="File descriptor based Input/Output"
2743  element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2744  func_section_wrap posix_ext_filedesc
2745  func_wrap H3
2746  func_echo "$element"
2747
2748  func_begin_table
2749  func_module binary-io
2750  func_module copy-file-range
2751  func_module dup3
2752  func_module fcntl-safer
2753  func_module fd-safer-flag
2754  func_module full-read
2755  func_module full-write
2756  func_module getdtablesize
2757  func_module isapipe
2758  func_module openat-safer
2759  func_module pipe-posix
2760  func_module pipe2
2761  func_module pipe2-safer
2762  func_module safe-read
2763  func_module safe-write
2764  func_end_table
2765
2766  element="File stream based Input/Output"
2767  element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2768  func_section_wrap posix_ext_filestream
2769  func_wrap H3
2770  func_echo "$element"
2771
2772  func_begin_table
2773  func_module close-stream
2774  func_module closein
2775  func_module closeout
2776  func_module fbufmode
2777  func_module fopen-safer
2778  func_module fpending
2779  func_module fpurge
2780  func_module freadable
2781  func_module freadahead
2782  func_module freading
2783  func_module freadptr
2784  func_module freadseek
2785  func_module freopen-safer
2786  func_module fwritable
2787  func_module fwriting
2788  func_module getpass
2789  func_module getpass-gnu
2790  func_module popen-safer
2791  func_module stdlib-safer
2792  func_module tmpfile-safer
2793  func_module xfreopen
2794  func_end_table
2795
2796  element="Users and groups"
2797  element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2798  func_section_wrap posix_ext_uidgid
2799  func_wrap H3
2800  func_echo "$element"
2801
2802  func_begin_table
2803  func_module getugroups
2804  func_module group-member
2805  func_module idcache
2806  func_module mgetgroups
2807  func_module userspec
2808  func_end_table
2809
2810  element="Security"
2811  element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2812  func_section_wrap posix_ext_security
2813  func_wrap H3
2814  func_echo "$element"
2815
2816  func_begin_table
2817  func_module idpriv-drop
2818  func_module idpriv-droptemp
2819  func_module priv-set
2820  func_end_table
2821
2822  element="Date and time"
2823  element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2824  func_section_wrap posix_ext_datetime
2825  func_wrap H3
2826  func_echo "$element"
2827
2828  func_begin_table
2829  func_module gethrxtime
2830  func_module gettime
2831  func_module posixtm
2832  func_module settime
2833  func_module usleep
2834  func_module xnanosleep
2835  func_end_table
2836
2837  element="Networking functions"
2838  element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2839  func_section_wrap posix_ext_net
2840  func_wrap H3
2841  func_echo "$element"
2842
2843  func_begin_table
2844  func_module accept4
2845  func_module xgethostname
2846  func_module canon-host
2847  func_module sockets
2848  func_end_table
2849
2850  element="Multithreading"
2851  element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2852  func_section_wrap posix_ext_thread
2853  func_wrap H3
2854  func_echo "$element"
2855
2856  func_begin_table
2857  func_module threadlib
2858  func_module lock
2859  func_module tls
2860  func_module thread
2861  func_module yield
2862  func_module cond
2863  func_module openmp
2864  func_end_table
2865
2866  element="Signal handling"
2867  element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2868  func_section_wrap posix_ext_signal
2869  func_wrap H3
2870  func_echo "$element"
2871
2872  func_begin_table
2873  func_module c-stack
2874  func_module libsigsegv
2875  func_module sig2str
2876  func_module sigpipe
2877  func_module sigpipe-die
2878  func_end_table
2879
2880  element="Internationalization functions"
2881  element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2882  func_section_wrap posix_ext_i18n
2883  func_wrap H3
2884  func_echo "$element"
2885
2886  func_begin_table
2887  func_module gettext
2888  func_module gettext-h
2889  func_module propername
2890  func_module iconv
2891  func_module striconv
2892  func_module xstriconv
2893  func_module striconveh
2894  func_module xstriconveh
2895  func_module striconveha
2896  func_module localcharset
2897  func_module hard-locale
2898  func_module localename
2899  func_module mbmemcasecmp
2900  func_module mbmemcasecoll
2901  func_module mbslen
2902  func_module mbsnlen
2903  func_module mbschr
2904  func_module mbsrchr
2905  func_module mbsstr
2906  func_module mbscasecmp
2907  func_module mbsncasecmp
2908  func_module mbspcasecmp
2909  func_module mbscasestr
2910  func_module mbscspn
2911  func_module mbspbrk
2912  func_module mbsspn
2913  func_module mbssep
2914  func_module mbstok_r
2915  func_module mbswidth
2916  func_module memcasecmp
2917  func_module memcoll
2918  func_module xmemcoll
2919  func_module unicodeio
2920  func_module rpmatch
2921  func_module yesno
2922  func_module bison-i18n
2923  func_end_table
2924
2925  element="Unicode string functions"
2926  element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2927  func_section_wrap posix_ext_unicode
2928  func_wrap H3
2929  func_echo "$element"
2930
2931  func_begin_table
2932  func_module libunistring
2933  func_module libunistring-optional
2934  func_module unitypes
2935  func_module ucs4-utf8
2936  func_module ucs4-utf16
2937  func_module utf8-ucs4-unsafe
2938  func_module utf16-ucs4-unsafe
2939  func_module utf8-ucs4
2940  func_module utf16-ucs4
2941  func_module unistr/base
2942  func_module unistr/u8-to-u16
2943  func_module unistr/u8-to-u32
2944  func_module unistr/u16-to-u8
2945  func_module unistr/u16-to-u32
2946  func_module unistr/u32-to-u8
2947  func_module unistr/u32-to-u16
2948  func_module unistr/u8-check
2949  func_module unistr/u16-check
2950  func_module unistr/u32-check
2951  func_module unistr/u8-chr
2952  func_module unistr/u16-chr
2953  func_module unistr/u32-chr
2954  func_module unistr/u8-cmp
2955  func_module unistr/u16-cmp
2956  func_module unistr/u32-cmp
2957  func_module unistr/u8-cmp2
2958  func_module unistr/u16-cmp2
2959  func_module unistr/u32-cmp2
2960  func_module unistr/u8-cpy
2961  func_module unistr/u16-cpy
2962  func_module unistr/u32-cpy
2963  func_module unistr/u8-cpy-alloc
2964  func_module unistr/u16-cpy-alloc
2965  func_module unistr/u32-cpy-alloc
2966  func_module unistr/u8-endswith
2967  func_module unistr/u16-endswith
2968  func_module unistr/u32-endswith
2969  func_module unistr/u8-mblen
2970  func_module unistr/u16-mblen
2971  func_module unistr/u32-mblen
2972  func_module unistr/u8-mbsnlen
2973  func_module unistr/u16-mbsnlen
2974  func_module unistr/u32-mbsnlen
2975  func_module unistr/u8-mbtouc-unsafe
2976  func_module unistr/u16-mbtouc-unsafe
2977  func_module unistr/u32-mbtouc-unsafe
2978  func_module unistr/u8-mbtouc
2979  func_module unistr/u16-mbtouc
2980  func_module unistr/u32-mbtouc
2981  func_module unistr/u8-mbtoucr
2982  func_module unistr/u16-mbtoucr
2983  func_module unistr/u32-mbtoucr
2984  func_module unistr/u8-move
2985  func_module unistr/u16-move
2986  func_module unistr/u32-move
2987  func_module unistr/u8-next
2988  func_module unistr/u16-next
2989  func_module unistr/u32-next
2990  func_module unistr/u8-prev
2991  func_module unistr/u16-prev
2992  func_module unistr/u32-prev
2993  func_module unistr/u8-set
2994  func_module unistr/u16-set
2995  func_module unistr/u32-set
2996  func_module unistr/u8-startswith
2997  func_module unistr/u16-startswith
2998  func_module unistr/u32-startswith
2999  func_module unistr/u8-stpcpy
3000  func_module unistr/u16-stpcpy
3001  func_module unistr/u32-stpcpy
3002  func_module unistr/u8-stpncpy
3003  func_module unistr/u16-stpncpy
3004  func_module unistr/u32-stpncpy
3005  func_module unistr/u8-strcat
3006  func_module unistr/u16-strcat
3007  func_module unistr/u32-strcat
3008  func_module unistr/u8-strchr
3009  func_module unistr/u16-strchr
3010  func_module unistr/u32-strchr
3011  func_module unistr/u8-strcmp
3012  func_module unistr/u16-strcmp
3013  func_module unistr/u32-strcmp
3014  func_module unistr/u8-strcoll
3015  func_module unistr/u16-strcoll
3016  func_module unistr/u32-strcoll
3017  func_module unistr/u8-strcpy
3018  func_module unistr/u16-strcpy
3019  func_module unistr/u32-strcpy
3020  func_module unistr/u8-strcspn
3021  func_module unistr/u16-strcspn
3022  func_module unistr/u32-strcspn
3023  func_module unistr/u8-strdup
3024  func_module unistr/u16-strdup
3025  func_module unistr/u32-strdup
3026  func_module unistr/u8-strlen
3027  func_module unistr/u16-strlen
3028  func_module unistr/u32-strlen
3029  func_module unistr/u8-strmblen
3030  func_module unistr/u16-strmblen
3031  func_module unistr/u32-strmblen
3032  func_module unistr/u8-strmbtouc
3033  func_module unistr/u16-strmbtouc
3034  func_module unistr/u32-strmbtouc
3035  func_module unistr/u8-strncat
3036  func_module unistr/u16-strncat
3037  func_module unistr/u32-strncat
3038  func_module unistr/u8-strncmp
3039  func_module unistr/u16-strncmp
3040  func_module unistr/u32-strncmp
3041  func_module unistr/u8-strncpy
3042  func_module unistr/u16-strncpy
3043  func_module unistr/u32-strncpy
3044  func_module unistr/u8-strnlen
3045  func_module unistr/u16-strnlen
3046  func_module unistr/u32-strnlen
3047  func_module unistr/u8-strpbrk
3048  func_module unistr/u16-strpbrk
3049  func_module unistr/u32-strpbrk
3050  func_module unistr/u8-strrchr
3051  func_module unistr/u16-strrchr
3052  func_module unistr/u32-strrchr
3053  func_module unistr/u8-strspn
3054  func_module unistr/u16-strspn
3055  func_module unistr/u32-strspn
3056  func_module unistr/u8-strstr
3057  func_module unistr/u16-strstr
3058  func_module unistr/u32-strstr
3059  func_module unistr/u8-strtok
3060  func_module unistr/u16-strtok
3061  func_module unistr/u32-strtok
3062  func_module unistr/u8-uctomb
3063  func_module unistr/u16-uctomb
3064  func_module unistr/u32-uctomb
3065  func_module uniconv/base
3066  func_module uniconv/u8-conv-from-enc
3067  func_module uniconv/u16-conv-from-enc
3068  func_module uniconv/u32-conv-from-enc
3069  func_module uniconv/u8-conv-to-enc
3070  func_module uniconv/u16-conv-to-enc
3071  func_module uniconv/u32-conv-to-enc
3072  func_module uniconv/u8-strconv-from-enc
3073  func_module uniconv/u16-strconv-from-enc
3074  func_module uniconv/u32-strconv-from-enc
3075  func_module uniconv/u8-strconv-to-enc
3076  func_module uniconv/u16-strconv-to-enc
3077  func_module uniconv/u32-strconv-to-enc
3078  func_module uniconv/u8-strconv-from-locale
3079  func_module uniconv/u16-strconv-from-locale
3080  func_module uniconv/u32-strconv-from-locale
3081  func_module uniconv/u8-strconv-to-locale
3082  func_module uniconv/u16-strconv-to-locale
3083  func_module uniconv/u32-strconv-to-locale
3084  func_module unistdio/base
3085  func_module unistdio/u-printf-args
3086  func_module unistdio/ulc-asnprintf
3087  func_module unistdio/ulc-asprintf
3088  func_module unistdio/ulc-fprintf
3089  func_module unistdio/ulc-printf-parse
3090  func_module unistdio/ulc-snprintf
3091  func_module unistdio/ulc-sprintf
3092  func_module unistdio/ulc-vasnprintf
3093  func_module unistdio/ulc-vasprintf
3094  func_module unistdio/ulc-vfprintf
3095  func_module unistdio/ulc-vsnprintf
3096  func_module unistdio/ulc-vsprintf
3097  func_module unistdio/u8-asnprintf
3098  func_module unistdio/u8-asprintf
3099  func_module unistdio/u8-printf-parse
3100  func_module unistdio/u8-snprintf
3101  func_module unistdio/u8-sprintf
3102  func_module unistdio/u8-vasnprintf
3103  func_module unistdio/u8-vasprintf
3104  func_module unistdio/u8-vsnprintf
3105  func_module unistdio/u8-vsprintf
3106  func_module unistdio/u8-u8-asnprintf
3107  func_module unistdio/u8-u8-asprintf
3108  func_module unistdio/u8-u8-snprintf
3109  func_module unistdio/u8-u8-sprintf
3110  func_module unistdio/u8-u8-vasnprintf
3111  func_module unistdio/u8-u8-vasprintf
3112  func_module unistdio/u8-u8-vsnprintf
3113  func_module unistdio/u8-u8-vsprintf
3114  func_module unistdio/u16-asnprintf
3115  func_module unistdio/u16-asprintf
3116  func_module unistdio/u16-printf-parse
3117  func_module unistdio/u16-snprintf
3118  func_module unistdio/u16-sprintf
3119  func_module unistdio/u16-vasnprintf
3120  func_module unistdio/u16-vasprintf
3121  func_module unistdio/u16-vsnprintf
3122  func_module unistdio/u16-vsprintf
3123  func_module unistdio/u16-u16-asnprintf
3124  func_module unistdio/u16-u16-asprintf
3125  func_module unistdio/u16-u16-snprintf
3126  func_module unistdio/u16-u16-sprintf
3127  func_module unistdio/u16-u16-vasnprintf
3128  func_module unistdio/u16-u16-vasprintf
3129  func_module unistdio/u16-u16-vsnprintf
3130  func_module unistdio/u16-u16-vsprintf
3131  func_module unistdio/u32-asnprintf
3132  func_module unistdio/u32-asprintf
3133  func_module unistdio/u32-printf-parse
3134  func_module unistdio/u32-snprintf
3135  func_module unistdio/u32-sprintf
3136  func_module unistdio/u32-vasnprintf
3137  func_module unistdio/u32-vasprintf
3138  func_module unistdio/u32-vsnprintf
3139  func_module unistdio/u32-vsprintf
3140  func_module unistdio/u32-u32-asnprintf
3141  func_module unistdio/u32-u32-asprintf
3142  func_module unistdio/u32-u32-snprintf
3143  func_module unistdio/u32-u32-sprintf
3144  func_module unistdio/u32-u32-vasnprintf
3145  func_module unistdio/u32-u32-vasprintf
3146  func_module unistdio/u32-u32-vsnprintf
3147  func_module unistdio/u32-u32-vsprintf
3148  func_module uniname/base
3149  func_module uniname/uniname
3150  func_module unictype/base
3151  func_module unictype/bidiclass-byname
3152  func_module unictype/bidiclass-name
3153  func_module unictype/bidiclass-longname
3154  func_module unictype/bidiclass-of
3155  func_module unictype/bidiclass-test
3156  func_module unictype/bidiclass-all
3157  func_module unictype/block-list
3158  func_module unictype/block-of
3159  func_module unictype/block-test
3160  func_module unictype/block-all
3161  func_module unictype/category-C
3162  func_module unictype/category-Cc
3163  func_module unictype/category-Cf
3164  func_module unictype/category-Cn
3165  func_module unictype/category-Co
3166  func_module unictype/category-Cs
3167  func_module unictype/category-L
3168  func_module unictype/category-Ll
3169  func_module unictype/category-Lm
3170  func_module unictype/category-Lo
3171  func_module unictype/category-Lt
3172  func_module unictype/category-Lu
3173  func_module unictype/category-M
3174  func_module unictype/category-Mc
3175  func_module unictype/category-Me
3176  func_module unictype/category-Mn
3177  func_module unictype/category-N
3178  func_module unictype/category-Nd
3179  func_module unictype/category-Nl
3180  func_module unictype/category-No
3181  func_module unictype/category-P
3182  func_module unictype/category-Pc
3183  func_module unictype/category-Pd
3184  func_module unictype/category-Pe
3185  func_module unictype/category-Pf
3186  func_module unictype/category-Pi
3187  func_module unictype/category-Po
3188  func_module unictype/category-Ps
3189  func_module unictype/category-S
3190  func_module unictype/category-Sc
3191  func_module unictype/category-Sk
3192  func_module unictype/category-Sm
3193  func_module unictype/category-So
3194  func_module unictype/category-Z
3195  func_module unictype/category-Zl
3196  func_module unictype/category-Zp
3197  func_module unictype/category-Zs
3198  func_module unictype/category-and
3199  func_module unictype/category-and-not
3200  func_module unictype/category-byname
3201  func_module unictype/category-name
3202  func_module unictype/category-none
3203  func_module unictype/category-of
3204  func_module unictype/category-or
3205  func_module unictype/category-test
3206  func_module unictype/category-test-withtable
3207  func_module unictype/category-all
3208  func_module unictype/combining-class
3209  func_module unictype/ctype-alnum
3210  func_module unictype/ctype-alpha
3211  func_module unictype/ctype-blank
3212  func_module unictype/ctype-cntrl
3213  func_module unictype/ctype-digit
3214  func_module unictype/ctype-graph
3215  func_module unictype/ctype-lower
3216  func_module unictype/ctype-print
3217  func_module unictype/ctype-punct
3218  func_module unictype/ctype-space
3219  func_module unictype/ctype-upper
3220  func_module unictype/ctype-xdigit
3221  func_module unictype/decimal-digit
3222  func_module unictype/digit
3223  func_module unictype/mirror
3224  func_module unictype/numeric
3225  func_module unictype/property-alphabetic
3226  func_module unictype/property-ascii-hex-digit
3227  func_module unictype/property-bidi-arabic-digit
3228  func_module unictype/property-bidi-arabic-right-to-left
3229  func_module unictype/property-bidi-block-separator
3230  func_module unictype/property-bidi-boundary-neutral
3231  func_module unictype/property-bidi-common-separator
3232  func_module unictype/property-bidi-control
3233  func_module unictype/property-bidi-embedding-or-override
3234  func_module unictype/property-bidi-eur-num-separator
3235  func_module unictype/property-bidi-eur-num-terminator
3236  func_module unictype/property-bidi-european-digit
3237  func_module unictype/property-bidi-hebrew-right-to-left
3238  func_module unictype/property-bidi-left-to-right
3239  func_module unictype/property-bidi-non-spacing-mark
3240  func_module unictype/property-bidi-other-neutral
3241  func_module unictype/property-bidi-pdf
3242  func_module unictype/property-bidi-segment-separator
3243  func_module unictype/property-bidi-whitespace
3244  func_module unictype/property-byname
3245  func_module unictype/property-case-ignorable
3246  func_module unictype/property-cased
3247  func_module unictype/property-changes-when-casefolded
3248  func_module unictype/property-changes-when-casemapped
3249  func_module unictype/property-changes-when-lowercased
3250  func_module unictype/property-changes-when-titlecased
3251  func_module unictype/property-changes-when-uppercased
3252  func_module unictype/property-combining
3253  func_module unictype/property-composite
3254  func_module unictype/property-currency-symbol
3255  func_module unictype/property-dash
3256  func_module unictype/property-decimal-digit
3257  func_module unictype/property-default-ignorable-code-point
3258  func_module unictype/property-deprecated
3259  func_module unictype/property-diacritic
3260  func_module unictype/property-extender
3261  func_module unictype/property-format-control
3262  func_module unictype/property-grapheme-base
3263  func_module unictype/property-grapheme-extend
3264  func_module unictype/property-grapheme-link
3265  func_module unictype/property-hex-digit
3266  func_module unictype/property-hyphen
3267  func_module unictype/property-id-continue
3268  func_module unictype/property-id-start
3269  func_module unictype/property-ideographic
3270  func_module unictype/property-ids-binary-operator
3271  func_module unictype/property-ids-trinary-operator
3272  func_module unictype/property-ignorable-control
3273  func_module unictype/property-iso-control
3274  func_module unictype/property-join-control
3275  func_module unictype/property-left-of-pair
3276  func_module unictype/property-line-separator
3277  func_module unictype/property-logical-order-exception
3278  func_module unictype/property-lowercase
3279  func_module unictype/property-math
3280  func_module unictype/property-non-break
3281  func_module unictype/property-not-a-character
3282  func_module unictype/property-numeric
3283  func_module unictype/property-other-alphabetic
3284  func_module unictype/property-other-default-ignorable-code-point
3285  func_module unictype/property-other-grapheme-extend
3286  func_module unictype/property-other-id-continue
3287  func_module unictype/property-other-id-start
3288  func_module unictype/property-other-lowercase
3289  func_module unictype/property-other-math
3290  func_module unictype/property-other-uppercase
3291  func_module unictype/property-paired-punctuation
3292  func_module unictype/property-paragraph-separator
3293  func_module unictype/property-pattern-syntax
3294  func_module unictype/property-pattern-white-space
3295  func_module unictype/property-private-use
3296  func_module unictype/property-punctuation
3297  func_module unictype/property-quotation-mark
3298  func_module unictype/property-radical
3299  func_module unictype/property-sentence-terminal
3300  func_module unictype/property-soft-dotted
3301  func_module unictype/property-space
3302  func_module unictype/property-terminal-punctuation
3303  func_module unictype/property-test
3304  func_module unictype/property-titlecase
3305  func_module unictype/property-unassigned-code-value
3306  func_module unictype/property-unified-ideograph
3307  func_module unictype/property-uppercase
3308  func_module unictype/property-variation-selector
3309  func_module unictype/property-white-space
3310  func_module unictype/property-xid-continue
3311  func_module unictype/property-xid-start
3312  func_module unictype/property-zero-width
3313  func_module unictype/property-all
3314  func_module unictype/scripts
3315  func_module unictype/scripts-all
3316  func_module unictype/syntax-c-ident
3317  func_module unictype/syntax-c-whitespace
3318  func_module unictype/syntax-java-ident
3319  func_module unictype/syntax-java-whitespace
3320  func_module uniwidth/base
3321  func_module uniwidth/u8-strwidth
3322  func_module uniwidth/u8-width
3323  func_module uniwidth/u16-strwidth
3324  func_module uniwidth/u16-width
3325  func_module uniwidth/u32-strwidth
3326  func_module uniwidth/u32-width
3327  func_module uniwidth/width
3328  func_module uniwbrk/base
3329  func_module uniwbrk/ulc-wordbreaks
3330  func_module uniwbrk/u8-wordbreaks
3331  func_module uniwbrk/u16-wordbreaks
3332  func_module uniwbrk/u32-wordbreaks
3333  func_module uniwbrk/wordbreak-property
3334  func_module unilbrk/base
3335  func_module unilbrk/tables
3336  func_module unilbrk/ulc-common
3337  func_module unilbrk/u8-possible-linebreaks
3338  func_module unilbrk/u16-possible-linebreaks
3339  func_module unilbrk/u32-possible-linebreaks
3340  func_module unilbrk/ulc-possible-linebreaks
3341  func_module unilbrk/u8-width-linebreaks
3342  func_module unilbrk/u16-width-linebreaks
3343  func_module unilbrk/u32-width-linebreaks
3344  func_module unilbrk/ulc-width-linebreaks
3345  func_module uninorm/base
3346  func_module uninorm/canonical-decomposition
3347  func_module uninorm/composition
3348  func_module uninorm/decomposing-form
3349  func_module uninorm/decomposition
3350  func_module uninorm/filter
3351  func_module uninorm/nfc
3352  func_module uninorm/nfd
3353  func_module uninorm/nfkc
3354  func_module uninorm/nfkd
3355  func_module uninorm/u8-normalize
3356  func_module uninorm/u16-normalize
3357  func_module uninorm/u32-normalize
3358  func_module uninorm/u8-normcmp
3359  func_module uninorm/u16-normcmp
3360  func_module uninorm/u32-normcmp
3361  func_module uninorm/u8-normcoll
3362  func_module uninorm/u16-normcoll
3363  func_module uninorm/u32-normcoll
3364  func_module uninorm/u8-normxfrm
3365  func_module uninorm/u16-normxfrm
3366  func_module uninorm/u32-normxfrm
3367  func_module unicase/base
3368  func_module unicase/empty-prefix-context
3369  func_module unicase/empty-suffix-context
3370  func_module unicase/locale-language
3371  func_module unicase/tolower
3372  func_module unicase/totitle
3373  func_module unicase/toupper
3374  func_module unicase/ulc-casecmp
3375  func_module unicase/ulc-casecoll
3376  func_module unicase/ulc-casexfrm
3377  func_module unicase/u8-casecmp
3378  func_module unicase/u16-casecmp
3379  func_module unicase/u32-casecmp
3380  func_module unicase/u8-casecoll
3381  func_module unicase/u16-casecoll
3382  func_module unicase/u32-casecoll
3383  func_module unicase/u8-casefold
3384  func_module unicase/u16-casefold
3385  func_module unicase/u32-casefold
3386  func_module unicase/u8-casexfrm
3387  func_module unicase/u16-casexfrm
3388  func_module unicase/u32-casexfrm
3389  func_module unicase/u8-ct-casefold
3390  func_module unicase/u16-ct-casefold
3391  func_module unicase/u32-ct-casefold
3392  func_module unicase/u8-ct-tolower
3393  func_module unicase/u16-ct-tolower
3394  func_module unicase/u32-ct-tolower
3395  func_module unicase/u8-ct-totitle
3396  func_module unicase/u16-ct-totitle
3397  func_module unicase/u32-ct-totitle
3398  func_module unicase/u8-ct-toupper
3399  func_module unicase/u16-ct-toupper
3400  func_module unicase/u32-ct-toupper
3401  func_module unicase/u8-is-cased
3402  func_module unicase/u16-is-cased
3403  func_module unicase/u32-is-cased
3404  func_module unicase/u8-is-casefolded
3405  func_module unicase/u16-is-casefolded
3406  func_module unicase/u32-is-casefolded
3407  func_module unicase/u8-is-lowercase
3408  func_module unicase/u16-is-lowercase
3409  func_module unicase/u32-is-lowercase
3410  func_module unicase/u8-is-titlecase
3411  func_module unicase/u16-is-titlecase
3412  func_module unicase/u32-is-titlecase
3413  func_module unicase/u8-is-uppercase
3414  func_module unicase/u16-is-uppercase
3415  func_module unicase/u8-prefix-context
3416  func_module unicase/u16-prefix-context
3417  func_module unicase/u32-prefix-context
3418  func_module unicase/u8-suffix-context
3419  func_module unicase/u16-suffix-context
3420  func_module unicase/u32-suffix-context
3421  func_module unicase/u8-tolower
3422  func_module unicase/u16-tolower
3423  func_module unicase/u32-tolower
3424  func_module unicase/u8-totitle
3425  func_module unicase/u16-totitle
3426  func_module unicase/u32-totitle
3427  func_module unicase/u8-toupper
3428  func_module unicase/u16-toupper
3429  func_module unicase/u32-toupper
3430  func_end_table
3431
3432  element="Executing programs"
3433  element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
3434  func_section_wrap posix_ext_exec
3435  func_wrap H3
3436  func_echo "$element"
3437
3438  func_begin_table
3439  func_module cloexec
3440  func_module findprog
3441  func_module findprog-lgpl
3442  func_module wait-process
3443  func_module execute
3444  func_module spawn-pipe
3445  func_module pipe-filter-gi
3446  func_module pipe-filter-ii
3447  func_module sh-quote
3448  func_end_table
3449
3450  element="Java"
3451  element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
3452  func_section_wrap posix_ext_java
3453  func_wrap H3
3454  func_echo "$element"
3455
3456  func_begin_table
3457  func_module classpath
3458  func_module javacomp-script
3459  func_module javacomp
3460  func_module javaexec-script
3461  func_module javaexec
3462  func_module javaversion
3463  #func_module gcj
3464  func_end_table
3465
3466  element="C#"
3467  element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
3468  func_section_wrap posix_ext_csharp
3469  func_wrap H3
3470  func_echo "$element"
3471
3472  func_begin_table
3473  func_module csharpcomp-script
3474  func_module csharpcomp
3475  func_module csharpexec-script
3476  func_module csharpexec
3477  func_end_table
3478
3479  element="Misc"
3480  element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
3481  func_section_wrap posix_ext_misc
3482  func_wrap H3
3483  func_echo "$element"
3484
3485  func_begin_table
3486  func_module argp
3487  func_module argp-version-etc
3488  func_module argz
3489  func_module bitrotate
3490  func_module byteswap
3491  func_module dfa
3492  func_module exitfail
3493  func_module error
3494  func_module extensions
3495  func_module forkpty
3496  func_module getdomainname
3497  func_module xgetdomainname
3498  func_module getentropy
3499  func_module getloadavg
3500  func_module getpagesize
3501  func_module getprogname
3502  func_module getrandom
3503  func_module getusershell
3504  func_module lib-symbol-visibility
3505  func_module login_tty
3506  func_module nproc
3507  func_module openpty
3508  func_module parse-duration
3509  func_module physmem
3510  func_module posixver
3511  func_module progname
3512  func_module ptsname_r
3513  func_module pty
3514  func_module quotearg
3515  func_module quote
3516  func_module readutmp
3517  func_module random_r
3518  func_module selinux-h
3519  func_module selinux-at
3520  func_module sysexits
3521  func_module u64
3522  func_module verror
3523  func_end_table
3524
3525  element="Support for building libraries and executables"
3526  func_section_wrap build_lib
3527  func_wrap H2
3528  func_echo "$element"
3529
3530  func_begin_table
3531  func_module absolute-header
3532  func_module snippet/arg-nonnull
3533  func_module config-h
3534  func_module configmake
3535  func_module dummy
3536  func_module gperf
3537  func_module havelib
3538  func_module include_next
3539  func_module ldd
3540  func_module lib-ignore
3541  func_module lib-msvc-compat
3542  func_module lib-symbol-versions
3543  func_module snippet/link-warning
3544  func_module manywarnings
3545  func_module no-c++
3546  func_module relocatable-lib
3547  func_module relocatable-lib-lgpl
3548  func_module relocatable-prog
3549  func_module relocatable-prog-wrapper
3550  func_module relocatable-script
3551  func_module snippet/warn-on-use
3552  func_module warnings
3553  func_end_table
3554
3555  element="Support for building documentation"
3556  func_section_wrap build_doc
3557  func_wrap H2
3558  func_echo "$element"
3559
3560  func_begin_table
3561  func_module agpl-3.0
3562  func_module fdl
3563  func_module fdl-1.3
3564  func_module gendocs
3565  func_module gpl-2.0
3566  func_module gpl-3.0
3567  func_module lgpl-2.1
3568  func_module lgpl-3.0
3569  func_module pmccabe2html
3570  func_module regexprops-generic
3571  func_end_table
3572
3573  element="Support for maintaining and releasing projects"
3574  func_section_wrap maintain
3575  func_wrap H2
3576  func_echo "$element"
3577
3578  func_begin_table
3579  func_module announce-gen
3580  func_module autobuild
3581  func_module do-release-commit-and-tag
3582  func_module git-version-gen
3583  func_module gitlog-to-changelog
3584  func_module gnu-web-doc-update
3585  func_module gnumakefile
3586  func_module gnupload
3587  func_module maintainer-makefile
3588  func_module mktempd
3589  func_module non-recursive-gnulib-prefix-hack
3590  func_module readme-release
3591  func_module test-framework-sh
3592  func_module update-copyright
3593  func_module useless-if-before-free
3594  func_module vc-list-files
3595  func_module vcs-to-changelog
3596  func_end_table
3597
3598  element="Misc"
3599  func_section_wrap misc
3600  func_wrap H2
3601  func_echo "$element"
3602
3603  func_begin_table
3604  func_module gnu-make
3605  func_module host-os
3606  func_module nocrash
3607  func_module perl
3608  func_module posix-shell
3609  func_module uptime
3610  func_end_table
3611}
3612
3613
3614func_tmpdir
3615trap 'exit_status=$?
3616      if test "$signal" != 0; then
3617        echo "caught signal $signal" >&2
3618      fi
3619      rm -rf "$tmp"
3620      exit $exit_status' 0
3621for signal in 1 2 3 13 15; do
3622  trap '{ signal='$signal'; func_exit 1; }' $signal
3623done
3624signal=0
3625
3626echo '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">'
3627func_begin HTML
3628
3629func_begin HEAD
3630
3631element="Gnulib Module List"
3632func_wrap TITLE
3633func_echo "$element"
3634
3635modules=`gnulib-tool --list`
3636modules=`for m in $modules; do printf "%s, " $m; done | sed -e 's/, $//'`
3637func_echo '<META NAME="keywords" CONTENT="'"${modules}"'">'
3638
3639func_end HEAD
3640
3641func_begin BODY
3642
3643element="Gnulib Module List"
3644func_wrap H1
3645func_echo "$element"
3646
3647func_echo 'This is a list of the modules which make up gnulib, with dependencies.'
3648
3649in_toc=yes
3650func_all_modules
3651
3652in_toc=
3653func_all_modules
3654
3655
3656gnulib-tool --list > "$tmp/all-modules"
3657missed_modules=`for module in $seen_modules; do echo $module; done \
3658                  | LC_ALL=C sort -u \
3659                  | LC_ALL=C join -v 2 - "$tmp/all-modules"`
3660
3661if test -n "$missed_modules"; then
3662
3663  element="Unclassified modules - please update MODULES.html.sh"
3664  element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
3665  func_wrap H2
3666  func_echo "$element"
3667
3668  func_begin_table
3669  for module in $missed_modules; do
3670    func_module $module
3671  done
3672  func_end_table
3673
3674fi
3675
3676{ 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"
3677missed_files=`for file in $seen_files; do echo $file; done \
3678                | LC_ALL=C sort -u \
3679                | LC_ALL=C join -v 2 - "$tmp/all-files"`
3680
3681if test -n "$missed_files"; then
3682
3683  element="Lone files - please create new modules containing them"
3684  element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
3685  func_wrap H2
3686  func_echo "$element"
3687
3688  func_echo '<PRE>'
3689  echo "$missed_files" | sed -e 's,^\(.*\)$,<A HREF="'"$repo_url_prefix"'\1'"$repo_url_suffix_repl"'">\1</A>,'
3690  echo '</PRE>'
3691
3692fi
3693
3694element="Future developments"
3695element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
3696func_wrap H2
3697func_echo "$element"
3698
3699func_echo 'Ideally a module could consist of:'
3700func_begin UL
3701func_echo '<LI>A header file: lib/<VAR>module</VAR>.h'
3702func_echo '<LI>One or more implementation files: lib/<VAR>module</VAR>.c et al.'
3703func_echo '<LI>One or more autoconf macro files: m4/<VAR>module</VAR>.m4 et al.'
3704func_echo '<LI>A configure.ac fragment, Makefile.am fragment, dependency list: modules/<VAR>module</VAR>'
3705func_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'
3706func_echo '<LI>Some documentation'
3707func_echo '<LI>A POT file and some PO files'
3708func_end UL
3709
3710func_echo '<HR>'
3711git_checkout_date=`if test -d .git; then
3712                     git log -n 1 --date=iso --format=fuller | sed -n -e 's/^CommitDate: //p';
3713                   else
3714                     sed -n -e 's/^\([0-9][0-9][0-9][0-9]-[0-9][0-9]-[0-9][0-9]\).*/\1/p' -e 1q ChangeLog;
3715                   fi`
3716pretty_date=`LC_ALL=C date +"%e %B %Y" --date="$git_checkout_date"`
3717func_echo "Generated by <CODE>MODULES.html.sh</CODE> from a git checkout as of ${pretty_date}."
3718
3719func_end BODY
3720
3721func_end HTML
3722
3723rm -rf "$tmp"
3724# Undo the effect of the previous 'trap' command.
3725trap '' 0
3726trap 'func_exit $?' 1 2 3 13 15
3727
3728exit 0
3729
3730# Local Variables:
3731# indent-tabs-mode: nil
3732# whitespace-check-buffer-indent: nil
3733# End:
3734