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