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