Support programs like Emacs that use gnulib but not gettext.
[gnulib.git] / MODULES.html.sh
1 #!/bin/sh
2 #
3 # Copyright (C) 2002-2005 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 2, or (at your option)
8 # 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, write to the Free Software
17 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18 #
19
20 # Usage: MODULES.html.sh > MODULES.html
21
22 # Extend the PATH so that gnulib-tool is found.
23 PATH=`dirname "$0"`:$PATH; export PATH
24
25 POSIX2001_URL='http://www.opengroup.org/onlinepubs/007904975/'
26 case $USER in
27   bruno )
28     POSIX2001_URL='file:/packages/www/www.opengroup.org/susv3/' ;;
29 esac
30
31 sed_lt='s,<,\&lt;,g'
32 sed_gt='s,>,\&gt;,g'
33 sed_escape_dot='s,\.,\\.,g'
34 sed_escape_slash='s,/,\\/,g'
35 trnl='\012'
36 sed_alt1='s,$,\\|,'
37 sed_alt2='s,^\\|,\\(,'
38 sed_alt3='s,\\|\\|$,\\),'
39 posix_headers=`echo '
40 aio
41 arpa/inet
42 assert
43 complex
44 cpio
45 ctype
46 dirent
47 dlfcn
48 errno
49 fcntl
50 fenv
51 float
52 fmtmsg
53 fnmatch
54 ftw
55 glob
56 grp
57 iconv
58 inttypes
59 iso646
60 langinfo
61 libgen
62 limits
63 locale
64 math
65 monetary
66 mqueue
67 ndbm
68 net/if
69 netdb
70 netinet/in
71 netinet/tcp
72 nl_types
73 poll
74 pthread
75 pwd
76 regex
77 sched
78 search
79 semaphore
80 setjmp
81 signal
82 spawn
83 stdarg
84 stdbool
85 stddef
86 stdint
87 stdio
88 stdlib
89 string
90 strings
91 stropts
92 sys/ipc
93 sys/mman
94 sys/msg
95 sys/resource
96 sys/select
97 sys/sem
98 sys/shm
99 sys/socket
100 sys/stat
101 sys/statvfs
102 sys/time
103 sys/timeb
104 sys/times
105 sys/types
106 sys/uio
107 sys/un
108 sys/utsname
109 sys/wait
110 syslog
111 tar
112 termios
113 tgmath
114 time
115 trace
116 ucontext
117 ulimit
118 unistd
119 utime
120 utmpx
121 wchar
122 wctype
123 wordexp
124 ' | sed -e "$sed_alt1" | tr -d "$trnl" | sed -e "$sed_alt2" -e "$sed_alt3"`
125 posix_functions=`echo '
126 FD_CLR
127 FD_ISSET
128 FD_SET
129 FD_ZERO
130 _Exit
131 _exit
132 _longjmp
133 _setjmp
134 _tolower
135 _toupper
136 a64l
137 abort
138 abs
139 accept
140 access
141 acos
142 acosf
143 acosh
144 acoshf
145 acoshl
146 acosl
147 aio_cancel
148 aio_error
149 aio_fsync
150 aio_read
151 aio_return
152 aio_suspend
153 aio_write
154 alarm
155 asctime
156 asctime_r
157 asin
158 asinf
159 asinh
160 asinhf
161 asinhl
162 asinl
163 assert
164 atan
165 atan2
166 atan2f
167 atan2l
168 atanf
169 atanh
170 atanhf
171 atanhl
172 atanl
173 atexit
174 atof
175 atoi
176 atol
177 atoll
178 basename
179 bcmp
180 bcopy
181 bind
182 bsd_signal
183 bsearch
184 btowc
185 bzero
186 cabs
187 cabsf
188 cabsl
189 cacos
190 cacosf
191 cacosh
192 cacoshf
193 cacoshl
194 cacosl
195 calloc
196 carg
197 cargf
198 cargl
199 casin
200 casinf
201 casinh
202 casinhf
203 casinhl
204 casinl
205 catan
206 catanf
207 catanh
208 catanhf
209 catanhl
210 catanl
211 catclose
212 catgets
213 catopen
214 cbrt
215 cbrtf
216 cbrtl
217 ccos
218 ccosf
219 ccosh
220 ccoshf
221 ccoshl
222 ccosl
223 ceil
224 ceilf
225 ceill
226 cexp
227 cexpf
228 cexpl
229 cfgetispeed
230 cfgetospeed
231 cfsetispeed
232 cfsetospeed
233 chdir
234 chmod
235 chown
236 cimag
237 cimagf
238 cimagl
239 clearerr
240 clock
241 clock_getcpuclockid
242 clock_getres
243 clock_gettime
244 clock_nanosleep
245 clock_settime
246 clog
247 clogf
248 clogl
249 close
250 closedir
251 closelog
252 confstr
253 conj
254 conjf
255 conjl
256 connect
257 contents
258 copysign
259 copysignf
260 copysignl
261 cos
262 cosf
263 cosh
264 coshf
265 coshl
266 cosl
267 cpow
268 cpowf
269 cpowl
270 cproj
271 cprojf
272 cprojl
273 creal
274 crealf
275 creall
276 creat
277 crypt
278 csin
279 csinf
280 csinh
281 csinhf
282 csinhl
283 csinl
284 csqrt
285 csqrtf
286 csqrtl
287 ctan
288 ctanf
289 ctanh
290 ctanhf
291 ctanhl
292 ctanl
293 ctermid
294 ctime
295 ctime_r
296 daylight
297 dbm_clearerr
298 dbm_close
299 dbm_delete
300 dbm_error
301 dbm_fetch
302 dbm_firstkey
303 dbm_nextkey
304 dbm_open
305 dbm_store
306 difftime
307 dirname
308 div
309 dlclose
310 dlerror
311 dlopen
312 dlsym
313 drand48
314 dup
315 dup2
316 ecvt
317 encrypt
318 endgrent
319 endhostent
320 endnetent
321 endprotoent
322 endpwent
323 endservent
324 endutxent
325 environ
326 erand48
327 erf
328 erfc
329 erfcf
330 erfcl
331 erff
332 erfl
333 errno
334 exec
335 execl
336 execle
337 execlp
338 execv
339 execve
340 execvp
341 exit
342 exp
343 exp2
344 exp2f
345 exp2l
346 expf
347 expl
348 expm1
349 expm1f
350 expm1l
351 fabs
352 fabsf
353 fabsl
354 fattach
355 fchdir
356 fchmod
357 fchown
358 fclose
359 fcntl
360 fcvt
361 fdatasync
362 fdetach
363 fdim
364 fdimf
365 fdiml
366 fdopen
367 feclearexcept
368 fegetenv
369 fegetexceptflag
370 fegetround
371 feholdexcept
372 feof
373 feraiseexcept
374 ferror
375 fesetenv
376 fesetexceptflag
377 fesetround
378 fetestexcept
379 feupdateenv
380 fflush
381 ffs
382 fgetc
383 fgetpos
384 fgets
385 fgetwc
386 fgetws
387 fileno
388 flockfile
389 floor
390 floorf
391 floorl
392 fma
393 fmaf
394 fmal
395 fmax
396 fmaxf
397 fmaxl
398 fmin
399 fminf
400 fminl
401 fmod
402 fmodf
403 fmodl
404 fmtmsg
405 fnmatch
406 fopen
407 fork
408 fpathconf
409 fpclassify
410 fprintf
411 fputc
412 fputs
413 fputwc
414 fputws
415 fread
416 free
417 freeaddrinfo
418 freopen
419 frexp
420 frexpf
421 frexpl
422 fscanf
423 fseek
424 fseeko
425 fsetpos
426 fstat
427 fstatvfs
428 fsync
429 ftell
430 ftello
431 ftime
432 ftok
433 ftruncate
434 ftrylockfile
435 ftw
436 funlockfile
437 fwide
438 fwprintf
439 fwrite
440 fwscanf
441 gai_strerror
442 gcvt
443 getaddrinfo
444 getc
445 getc_unlocked
446 getchar
447 getchar_unlocked
448 getcontext
449 getcwd
450 getdate
451 getegid
452 getenv
453 geteuid
454 getgid
455 getgrent
456 getgrgid
457 getgrgid_r
458 getgrnam
459 getgrnam_r
460 getgroups
461 gethostbyaddr
462 gethostbyname
463 gethostent
464 gethostid
465 gethostname
466 getitimer
467 getlogin
468 getlogin_r
469 getmsg
470 getnameinfo
471 getnetbyaddr
472 getnetbyname
473 getnetent
474 getopt
475 getpeername
476 getpgid
477 getpgrp
478 getpid
479 getpmsg
480 getppid
481 getpriority
482 getprotobyname
483 getprotobynumber
484 getprotoent
485 getpwent
486 getpwnam
487 getpwnam_r
488 getpwuid
489 getpwuid_r
490 getrlimit
491 getrusage
492 gets
493 getservbyname
494 getservbyport
495 getservent
496 getsid
497 getsockname
498 getsockopt
499 getsubopt
500 gettimeofday
501 getuid
502 getutxent
503 getutxid
504 getutxline
505 getwc
506 getwchar
507 getwd
508 glob
509 globfree
510 gmtime
511 gmtime_r
512 grantpt
513 h_errno
514 hcreate
515 hdestroy
516 hsearch
517 htonl
518 htons
519 hypot
520 hypotf
521 hypotl
522 iconv
523 iconv_close
524 iconv_open
525 if_freenameindex
526 if_indextoname
527 if_nameindex
528 if_nametoindex
529 ilogb
530 ilogbf
531 ilogbl
532 imaxabs
533 imaxdiv
534 index
535 inet_addr
536 inet_ntoa
537 inet_ntop
538 inet_pton
539 initstate
540 insque
541 ioctl
542 isalnum
543 isalpha
544 isascii
545 isastream
546 isatty
547 isblank
548 iscntrl
549 isdigit
550 isfinite
551 isgraph
552 isgreater
553 isgreaterequal
554 isinf
555 isless
556 islessequal
557 islessgreater
558 islower
559 isnan
560 isnormal
561 isprint
562 ispunct
563 isspace
564 isunordered
565 isupper
566 iswalnum
567 iswalpha
568 iswblank
569 iswcntrl
570 iswctype
571 iswdigit
572 iswgraph
573 iswlower
574 iswprint
575 iswpunct
576 iswspace
577 iswupper
578 iswxdigit
579 isxdigit
580 j0
581 j1
582 jn
583 jrand48
584 kill
585 killpg
586 l64a
587 labs
588 lchown
589 lcong48
590 ldexp
591 ldexpf
592 ldexpl
593 ldiv
594 lfind
595 lgamma
596 lgammaf
597 lgammal
598 link
599 lio_listio
600 listen
601 llabs
602 lldiv
603 llrint
604 llrintf
605 llrintl
606 llround
607 llroundf
608 llroundl
609 localeconv
610 localtime
611 localtime_r
612 lockf
613 log
614 log10
615 log10f
616 log10l
617 log1p
618 log1pf
619 log1pl
620 log2
621 log2f
622 log2l
623 logb
624 logbf
625 logbl
626 logf
627 logl
628 longjmp
629 lrand48
630 lrint
631 lrintf
632 lrintl
633 lround
634 lroundf
635 lroundl
636 lsearch
637 lseek
638 lstat
639 makecontext
640 malloc
641 mblen
642 mbrlen
643 mbrtowc
644 mbsinit
645 mbsrtowcs
646 mbstowcs
647 mbtowc
648 memccpy
649 memchr
650 memcmp
651 memcpy
652 memmove
653 memset
654 mkdir
655 mkfifo
656 mknod
657 mkstemp
658 mktemp
659 mktime
660 mlock
661 mlockall
662 mmap
663 modf
664 modff
665 modfl
666 mprotect
667 mq_close
668 mq_getattr
669 mq_notify
670 mq_open
671 mq_receive
672 mq_send
673 mq_setattr
674 mq_timedreceive
675 mq_timedsend
676 mq_unlink
677 mrand48
678 msgctl
679 msgget
680 msgrcv
681 msgsnd
682 msync
683 munlock
684 munlockall
685 munmap
686 nan
687 nanf
688 nanl
689 nanosleep
690 nearbyint
691 nearbyintf
692 nearbyintl
693 nextafter
694 nextafterf
695 nextafterl
696 nexttoward
697 nexttowardf
698 nexttowardl
699 nftw
700 nice
701 nl_langinfo
702 nrand48
703 ntohl
704 ntohs
705 open
706 opendir
707 openlog
708 optarg
709 pathconf
710 pause
711 pclose
712 perror
713 pipe
714 poll
715 popen
716 posix_fadvise
717 posix_fallocate
718 posix_madvise
719 posix_mem_offset
720 posix_memalign
721 posix_openpt
722 posix_spawn
723 posix_spawn_file_actions_addclose
724 posix_spawn_file_actions_adddup2
725 posix_spawn_file_actions_addopen
726 posix_spawn_file_actions_destroy
727 posix_spawn_file_actions_init
728 posix_spawnattr_destroy
729 posix_spawnattr_getflags
730 posix_spawnattr_getpgroup
731 posix_spawnattr_getschedparam
732 posix_spawnattr_getschedpolicy
733 posix_spawnattr_getsigdefault
734 posix_spawnattr_getsigmask
735 posix_spawnattr_init
736 posix_spawnattr_setflags
737 posix_spawnattr_setpgroup
738 posix_spawnattr_setschedparam
739 posix_spawnattr_setschedpolicy
740 posix_spawnattr_setsigdefault
741 posix_spawnattr_setsigmask
742 posix_spawnp
743 posix_trace_attr_destroy
744 posix_trace_attr_getclockres
745 posix_trace_attr_getcreatetime
746 posix_trace_attr_getgenversion
747 posix_trace_attr_getinherited
748 posix_trace_attr_getlogfullpolicy
749 posix_trace_attr_getlogsize
750 posix_trace_attr_getmaxdatasize
751 posix_trace_attr_getmaxsystemeventsize
752 posix_trace_attr_getmaxusereventsize
753 posix_trace_attr_getname
754 posix_trace_attr_getstreamfullpolicy
755 posix_trace_attr_getstreamsize
756 posix_trace_attr_init
757 posix_trace_attr_setinherited
758 posix_trace_attr_setlogfullpolicy
759 posix_trace_attr_setlogsize
760 posix_trace_attr_setmaxdatasize
761 posix_trace_attr_setname
762 posix_trace_attr_setstreamfullpolicy
763 posix_trace_attr_setstreamsize
764 posix_trace_clear
765 posix_trace_close
766 posix_trace_create
767 posix_trace_create_withlog
768 posix_trace_event
769 posix_trace_eventid_equal
770 posix_trace_eventid_get_name
771 posix_trace_eventid_open
772 posix_trace_eventset_add
773 posix_trace_eventset_del
774 posix_trace_eventset_empty
775 posix_trace_eventset_fill
776 posix_trace_eventset_ismember
777 posix_trace_eventtypelist_getnext_id
778 posix_trace_eventtypelist_rewind
779 posix_trace_flush
780 posix_trace_get_attr
781 posix_trace_get_filter
782 posix_trace_get_status
783 posix_trace_getnext_event
784 posix_trace_open
785 posix_trace_rewind
786 posix_trace_set_filter
787 posix_trace_shutdown
788 posix_trace_start
789 posix_trace_stop
790 posix_trace_timedgetnext_event
791 posix_trace_trid_eventid_open
792 posix_trace_trygetnext_event
793 posix_typed_mem_get_info
794 posix_typed_mem_open
795 pow
796 powf
797 powl
798 pread
799 printf
800 pselect
801 pthread_atfork
802 pthread_attr_destroy
803 pthread_attr_getdetachstate
804 pthread_attr_getguardsize
805 pthread_attr_getinheritsched
806 pthread_attr_getschedparam
807 pthread_attr_getschedpolicy
808 pthread_attr_getscope
809 pthread_attr_getstack
810 pthread_attr_getstackaddr
811 pthread_attr_getstacksize
812 pthread_attr_init
813 pthread_attr_setdetachstate
814 pthread_attr_setguardsize
815 pthread_attr_setinheritsched
816 pthread_attr_setschedparam
817 pthread_attr_setschedpolicy
818 pthread_attr_setscope
819 pthread_attr_setstack
820 pthread_attr_setstackaddr
821 pthread_attr_setstacksize
822 pthread_barrier_destroy
823 pthread_barrier_init
824 pthread_barrier_wait
825 pthread_barrierattr_destroy
826 pthread_barrierattr_getpshared
827 pthread_barrierattr_init
828 pthread_barrierattr_setpshared
829 pthread_cancel
830 pthread_cleanup_pop
831 pthread_cleanup_push
832 pthread_cond_broadcast
833 pthread_cond_destroy
834 pthread_cond_init
835 pthread_cond_signal
836 pthread_cond_timedwait
837 pthread_cond_wait
838 pthread_condattr_destroy
839 pthread_condattr_getclock
840 pthread_condattr_getpshared
841 pthread_condattr_init
842 pthread_condattr_setclock
843 pthread_condattr_setpshared
844 pthread_create
845 pthread_detach
846 pthread_equal
847 pthread_exit
848 pthread_getconcurrency
849 pthread_getcpuclockid
850 pthread_getschedparam
851 pthread_getspecific
852 pthread_join
853 pthread_key_create
854 pthread_key_delete
855 pthread_kill
856 pthread_mutex_destroy
857 pthread_mutex_getprioceiling
858 pthread_mutex_init
859 pthread_mutex_lock
860 pthread_mutex_setprioceiling
861 pthread_mutex_timedlock
862 pthread_mutex_trylock
863 pthread_mutex_unlock
864 pthread_mutexattr_destroy
865 pthread_mutexattr_getprioceiling
866 pthread_mutexattr_getprotocol
867 pthread_mutexattr_getpshared
868 pthread_mutexattr_gettype
869 pthread_mutexattr_init
870 pthread_mutexattr_setprioceiling
871 pthread_mutexattr_setprotocol
872 pthread_mutexattr_setpshared
873 pthread_mutexattr_settype
874 pthread_once
875 pthread_rwlock_destroy
876 pthread_rwlock_init
877 pthread_rwlock_rdlock
878 pthread_rwlock_timedrdlock
879 pthread_rwlock_timedwrlock
880 pthread_rwlock_tryrdlock
881 pthread_rwlock_trywrlock
882 pthread_rwlock_unlock
883 pthread_rwlock_wrlock
884 pthread_rwlockattr_destroy
885 pthread_rwlockattr_getpshared
886 pthread_rwlockattr_init
887 pthread_rwlockattr_setpshared
888 pthread_self
889 pthread_setcancelstate
890 pthread_setcanceltype
891 pthread_setconcurrency
892 pthread_setschedparam
893 pthread_setschedprio
894 pthread_setspecific
895 pthread_sigmask
896 pthread_spin_destroy
897 pthread_spin_init
898 pthread_spin_lock
899 pthread_spin_trylock
900 pthread_spin_unlock
901 pthread_testcancel
902 ptsname
903 putc
904 putc_unlocked
905 putchar
906 putchar_unlocked
907 putenv
908 putmsg
909 putpmsg
910 puts
911 pututxline
912 putwc
913 putwchar
914 pwrite
915 qsort
916 raise
917 rand
918 rand_r
919 random
920 read
921 readdir
922 readdir_r
923 readlink
924 readv
925 realloc
926 realpath
927 recv
928 recvfrom
929 recvmsg
930 regcomp
931 regerror
932 regexec
933 regfree
934 remainder
935 remainderf
936 remainderl
937 remove
938 remque
939 remquo
940 remquof
941 remquol
942 rename
943 rewind
944 rewinddir
945 rindex
946 rint
947 rintf
948 rintl
949 rmdir
950 round
951 roundf
952 roundl
953 scalb
954 scalbln
955 scalblnf
956 scalblnl
957 scalbn
958 scalbnf
959 scalbnl
960 scanf
961 sched_get_priority_max
962 sched_getparam
963 sched_getscheduler
964 sched_rr_get_interval
965 sched_setparam
966 sched_setscheduler
967 sched_yield
968 seed48
969 seekdir
970 select
971 sem_close
972 sem_destroy
973 sem_getvalue
974 sem_init
975 sem_open
976 sem_post
977 sem_timedwait
978 sem_trywait
979 sem_unlink
980 sem_wait
981 semctl
982 semget
983 semop
984 send
985 sendmsg
986 sendto
987 setbuf
988 setcontext
989 setegid
990 setenv
991 seteuid
992 setgid
993 setgrent
994 sethostent
995 setitimer
996 setjmp
997 setkey
998 setlocale
999 setlogmask
1000 setnetent
1001 setpgid
1002 setpgrp
1003 setpriority
1004 setprotoent
1005 setpwent
1006 setregid
1007 setreuid
1008 setrlimit
1009 setservent
1010 setsid
1011 setsockopt
1012 setstate
1013 setuid
1014 setutxent
1015 setvbuf
1016 shm_open
1017 shm_unlink
1018 shmat
1019 shmctl
1020 shmdt
1021 shmget
1022 shutdown
1023 sigaction
1024 sigaddset
1025 sigaltstack
1026 sigdelset
1027 sigemptyset
1028 sigfillset
1029 sighold
1030 sigignore
1031 siginterrupt
1032 sigismember
1033 siglongjmp
1034 signal
1035 signbit
1036 sigpause
1037 sigpending
1038 sigprocmask
1039 sigqueue
1040 sigrelse
1041 sigset
1042 sigsetjmp
1043 sigsuspend
1044 sigtimedwait
1045 sigwait
1046 sigwaitinfo
1047 sin
1048 sinf
1049 sinh
1050 sinhf
1051 sinhl
1052 sinl
1053 sleep
1054 snprintf
1055 sockatmark
1056 socket
1057 socketpair
1058 sprintf
1059 sqrt
1060 sqrtf
1061 sqrtl
1062 srand
1063 srand48
1064 srandom
1065 sscanf
1066 statvfs
1067 stdin
1068 strcasecmp
1069 strcat
1070 strchr
1071 strcmp
1072 strcoll
1073 strcpy
1074 strcspn
1075 strdup
1076 strerror
1077 strerror_r
1078 strfmon
1079 strftime
1080 strlen
1081 strncasecmp
1082 strncat
1083 strncmp
1084 strncpy
1085 strpbrk
1086 strptime
1087 strrchr
1088 strspn
1089 strstr
1090 strtod
1091 strtof
1092 strtoimax
1093 strtok
1094 strtok_r
1095 strtol
1096 strtold
1097 strtoll
1098 strtoul
1099 strtoull
1100 strtoumax
1101 strxfrm
1102 swab
1103 swapcontext
1104 swprintf
1105 swscanf
1106 symlink
1107 sync
1108 sysconf
1109 syslog
1110 system
1111 tan
1112 tanf
1113 tanh
1114 tanhf
1115 tanhl
1116 tanl
1117 tcdrain
1118 tcflow
1119 tcflush
1120 tcgetattr
1121 tcgetpgrp
1122 tcgetsid
1123 tcsendbreak
1124 tcsetattr
1125 tcsetpgrp
1126 tdelete
1127 telldir
1128 tempnam
1129 tfind
1130 tgamma
1131 tgammaf
1132 tgammal
1133 time
1134 timer_create
1135 timer_delete
1136 timer_getoverrun
1137 timer_settime
1138 times
1139 timezone
1140 tmpfile
1141 tmpnam
1142 toascii
1143 toc
1144 tolower
1145 toupper
1146 towctrans
1147 towlower
1148 towupper
1149 trunc
1150 truncate
1151 truncf
1152 truncl
1153 tsearch
1154 ttyname
1155 ttyname_r
1156 twalk
1157 tzname
1158 tzset
1159 ualarm
1160 ulimit
1161 umask
1162 uname
1163 ungetc
1164 ungetwc
1165 unlink
1166 unlockpt
1167 unsetenv
1168 usleep
1169 utime
1170 utimes
1171 va_arg
1172 va_copy
1173 va_end
1174 va_start
1175 vfork
1176 vfprintf
1177 vfscanf
1178 vfwprintf
1179 vfwscanf
1180 vprintf
1181 vscanf
1182 vsnprintf
1183 vsprintf
1184 vsscanf
1185 vswprintf
1186 vswscanf
1187 vwprintf
1188 vwscanf
1189 wait
1190 waitid
1191 waitpid
1192 wcrtomb
1193 wcscat
1194 wcschr
1195 wcscmp
1196 wcscoll
1197 wcscpy
1198 wcscspn
1199 wcsftime
1200 wcslen
1201 wcsncat
1202 wcsncmp
1203 wcsncpy
1204 wcspbrk
1205 wcsrchr
1206 wcsrtombs
1207 wcsspn
1208 wcsstr
1209 wcstod
1210 wcstof
1211 wcstoimax
1212 wcstok
1213 wcstol
1214 wcstold
1215 wcstoll
1216 wcstombs
1217 wcstoul
1218 wcstoull
1219 wcstoumax
1220 wcswcs
1221 wcswidth
1222 wcsxfrm
1223 wctob
1224 wctomb
1225 wctrans
1226 wctype
1227 wcwidth
1228 wmemchr
1229 wmemcmp
1230 wmemcpy
1231 wmemmove
1232 wmemset
1233 wordexp
1234 wordfree
1235 wprintf
1236 write
1237 writev
1238 wscanf
1239 y0
1240 y1
1241 yn
1242 ' | sed -e "$sed_alt1" | tr -d "$trnl" | sed -e "$sed_alt2" -e "$sed_alt3"`
1243
1244 indent=""
1245 missed_modules=`gnulib-tool --list`
1246 missed_files=`ls -d lib/* m4/* | sed -e /CVS/d -e /README/d -e /ChangeLog/d -e /Makefile/d -e /TODO/d -e '/~$/d'`
1247
1248 # func_echo line
1249 # outputs line with indentation.
1250 func_echo ()
1251 {
1252   echo "${indent}$*"
1253 }
1254
1255 # func_indent
1256 # increases the indentation.
1257 func_indent ()
1258 {
1259   indent="$indent  "
1260 }
1261
1262 # func_unindent
1263 # decreases the indentation.
1264 func_unindent ()
1265 {
1266   indent=`echo "$indent" | sed -e 's/  $//'`
1267 }
1268
1269 # func_begin tag [attribute...]
1270 # opens a HTML tag.
1271 func_begin ()
1272 {
1273   func_echo "<$*>"
1274   func_indent
1275 }
1276
1277 # func_end tag
1278 # closes a HTML tag.
1279 func_end ()
1280 {
1281   func_unindent
1282   func_echo "</$1>"
1283 }
1284
1285 # func_wrap tag [attribute...]
1286 # encloses $element in a HTML tag, without line breaks.
1287 func_wrap ()
1288 {
1289   element="<$*>${element}</$1>"
1290 }
1291
1292 # func_section_wrap sectiontag
1293 # encloses $element in a HTML tag referring to the given tag.
1294 func_section_wrap ()
1295 {
1296   if test -n "$in_toc"; then
1297     func_wrap A "HREF=\"#$1\""
1298   else
1299     func_wrap A "NAME=\"$1\""
1300   fi
1301 }
1302
1303 # func_begin_table
1304 func_begin_table ()
1305 {
1306   func_begin TABLE
1307   if test -z "$in_toc"; then
1308     func_begin TR
1309     func_echo "<TH ALIGN=LEFT>modules/"
1310     func_echo "<TH ALIGN=LEFT>lib/"
1311     func_echo "<TH ALIGN=LEFT>lib/"
1312     func_echo "<TH ALIGN=LEFT>m4/"
1313     func_echo "<TH ALIGN=LEFT>&nbsp;"
1314     func_end TR
1315     func_begin TR
1316     func_echo "<TH ALIGN=LEFT>Module"
1317     func_echo "<TH ALIGN=LEFT>Header"
1318     func_echo "<TH ALIGN=LEFT>Implementation"
1319     func_echo "<TH ALIGN=LEFT>Autoconf macro"
1320     func_echo "<TH ALIGN=LEFT>Depends on"
1321     func_end TR
1322   fi
1323 }
1324
1325 # func_module module
1326 func_module ()
1327 {
1328     sed_remove_trailing_empty_line='${
1329 /^$/d
1330 }'
1331
1332   if test -n "$in_toc"; then
1333
1334     func_begin TR "WIDTH=\"100%\""
1335
1336     element='<A HREF="#module='$1'">'$1'</A>'
1337     func_echo "<TD ALIGN=LEFT VALIGN=TOP WIDTH=\"20%\">$element"
1338
1339     element=`gnulib-tool --extract-description $1 | sed -e "$sed_lt" -e "$sed_gt" -e "$sed_remove_trailing_empty_line" | sed -e 's,^, ,' | sed -e 's,\([^a-zA-Z]\)'"${posix_functions}"'(),\1<A HREF="'"$POSIX2001_URL"'functions/\2.html">\2</A>(),g' | sed -e 's,^ ,,'`
1340     func_echo "<TD ALIGN=LEFT VALIGN=TOP WIDTH=\"80%\">$element"
1341
1342     func_end TR
1343
1344   else
1345
1346     func_begin TR
1347
1348     element='<A NAME="module='$1'"></A><A HREF="modules/'$1'">'$1'</A>'
1349     func_echo "<TD ALIGN=LEFT VALIGN=TOP>$element"
1350
1351     element=`gnulib-tool --extract-include-directive $1 | sed -e "$sed_lt" -e "$sed_gt" -e "$sed_remove_trailing_empty_line" | sed -e 's,^#include "\(.*\)"$,#include "<A HREF="lib/\1">\1</A>",' -e 's,^#include &lt;'"${posix_headers}"'\.h&gt;$,#include \&lt;<A HREF="'"$POSIX2001_URL"'basedefs/\1.h.html">\1.h</A>\&gt;,' | sed -e 's/$/<BR>/' | tr -d "$trnl" | sed -e 's/<BR>$//'`
1352     test -n "$element" || element='---'
1353     func_echo "<TD ALIGN=LEFT VALIGN=TOP>$element"
1354
1355     sed_choose_unconditional_nonstandard_include='s,^#include "\(.*\)"$,\1,p'
1356     includefile=`gnulib-tool --extract-include-directive $1 | sed -n -e "$sed_choose_unconditional_nonstandard_include" | sed -e "$sed_escape_dot" | tr -d "$trnl"`
1357     sed_choose_lib_files='s,^lib/\(.*\)$,\1,p'
1358     element=`gnulib-tool --extract-filelist $1 | sed -e '/^$/d' | sed -n -e "$sed_choose_lib_files" | sed -e '/^'"${includefile}"'$/d' | sed -e 's,^\(.*\)$,<A HREF="lib/\1">\1</A>,' | sed -e 's/$/<BR>/' | tr -d "$trnl" | sed -e 's/<BR>$//'`
1359     test -n "$element" || element='---'
1360     func_echo "<TD ALIGN=LEFT VALIGN=TOP>$element"
1361
1362     sed_choose_m4_files='s,^m4/\(.*\)$,\1,p'
1363     element=`(gnulib-tool --extract-filelist $1 | sed -e "$sed_remove_trailing_empty_line" | sed -n -e "$sed_choose_m4_files" | sed -e '/^onceonly/d' | sed -e 's,^\(.*\)$,<A HREF="m4/\1">\1</A>,'; gnulib-tool --extract-autoconf-snippet $1 | sed -e "$sed_remove_trailing_empty_line") | sed -e 's/$/<BR>/' | tr -d "$trnl" | sed -e 's/<BR>$//'`
1364     test -n "$element" || element='---'
1365     func_echo "<TD ALIGN=LEFT VALIGN=TOP>$element"
1366
1367     element=`gnulib-tool --extract-dependencies $1 | sed -e "$sed_remove_trailing_empty_line" | sed -e 's/$/<BR>/' | tr -d "$trnl" | sed -e 's/<BR>$//'`
1368     test -n "$element" || element='---'
1369     func_echo "<TD ALIGN=LEFT VALIGN=TOP>$element"
1370
1371     func_end TR
1372
1373     missed_modules=`echo "$missed_modules" | sed -e '/^'"$1"'$/d'`
1374
1375     files=`gnulib-tool --extract-filelist $1`
1376     sed_removal_prefix='s,^,/^,'
1377     sed_removal_suffix='s,$,\$/d,'
1378     sed_remove_files=`echo '{'; for file in $files; do echo $file | sed -e "$sed_escape_dot" -e "$sed_escape_slash" | sed -e "$sed_removal_prefix" -e "$sed_removal_suffix"; done; echo '}'`
1379     missed_files=`echo "$missed_files" | sed -e "$sed_remove_files"`
1380
1381   fi
1382 }
1383
1384 # func_end_table
1385 func_end_table ()
1386 {
1387   func_end TABLE
1388 }
1389
1390 # func_all_modules
1391 func_all_modules ()
1392 {
1393   element="Support for systems lacking ANSI C 89"
1394   func_section_wrap ansic_sup
1395   func_wrap H2
1396   func_echo "$element"
1397
1398   func_begin_table
1399   func_module c-bs-a
1400   func_module assert
1401   func_module dummy
1402   func_module exit
1403   func_module atexit
1404   func_module strtod
1405   func_module strtol
1406   func_module strtoul
1407   func_module memchr
1408   func_module memcmp
1409   func_module memcpy
1410   func_module memmove
1411   func_module memset
1412   func_module strcspn
1413   func_module strpbrk
1414   func_module strstr
1415   func_module strerror
1416   func_module mktime
1417   func_end_table
1418
1419   func_echo 'Most of these modules are not listed among dependencies below, for simplicity.'
1420
1421   element="Enhancements for ANSI C 89 functions"
1422   func_section_wrap ansic_enh
1423   func_wrap H2
1424   func_echo "$element"
1425
1426   element="Memory management functions <stdlib.h>"
1427   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1428   func_section_wrap ansic_enh_stdlib_memory
1429   func_wrap H3
1430   func_echo "$element"
1431
1432   func_begin_table
1433   func_module calloc
1434   func_module eealloc
1435   func_module free
1436   func_module malloc
1437   func_module realloc
1438   func_module pagealign_alloc
1439   func_end_table
1440
1441   element="Date and time <time.h>"
1442   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1443   func_section_wrap ansic_enh_time_datetime
1444   func_wrap H3
1445   func_echo "$element"
1446
1447   func_begin_table
1448   func_module strftime
1449   func_end_table
1450
1451   element="Extra functions based on ANSI C 89"
1452   func_section_wrap ansic_ext
1453   func_wrap H2
1454   func_echo "$element"
1455
1456   element="Memory management functions <stdlib.h>"
1457   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1458   func_section_wrap ansic_ext_stdlib_memory
1459   func_wrap H3
1460   func_echo "$element"
1461
1462   func_begin_table
1463   func_module xsize
1464   func_module xalloc
1465   func_module xalloc-die
1466   func_module alloca
1467   func_module alloca-opt
1468   func_module allocsa
1469   func_module xallocsa
1470   func_end_table
1471
1472   element="Integer arithmetic functions <stdlib.h>"
1473   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1474   func_section_wrap ansic_ext_stdlib_arith
1475   func_wrap H3
1476   func_echo "$element"
1477
1478   func_begin_table
1479   func_module gcd
1480   func_module minmax
1481   func_end_table
1482
1483   element="Environment variables <stdlib.h>"
1484   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1485   func_section_wrap ansic_ext_stdlib_env
1486   func_wrap H3
1487   func_echo "$element"
1488
1489   func_begin_table
1490   func_module putenv
1491   func_module setenv
1492   func_module xsetenv
1493   func_end_table
1494
1495   element="Character handling <ctype.h>"
1496   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1497   func_section_wrap ansic_ext_ctype
1498   func_wrap H3
1499   func_echo "$element"
1500
1501   func_begin_table
1502   func_module c-ctype
1503   func_end_table
1504
1505   element="String handling <string.h>"
1506   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1507   func_section_wrap ansic_ext_string
1508   func_wrap H3
1509   func_echo "$element"
1510
1511   func_begin_table
1512   func_module bcopy
1513   func_module memmem
1514   func_module mempcpy
1515   func_module memrchr
1516   func_module stpcpy
1517   func_module stpncpy
1518   func_module strcase
1519   func_module strchrnul
1520   func_module strdup
1521   func_module strnlen
1522   func_module strndup
1523   func_module strsep
1524   #func_module fstrcmp
1525   func_module xstrndup
1526   func_end_table
1527
1528   element="Numeric conversion functions <stdlib.h>"
1529   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1530   func_section_wrap ansic_ext_stdlib_conv
1531   func_wrap H3
1532   func_echo "$element"
1533
1534   func_begin_table
1535   func_module c-strtod
1536   func_module c-strtold
1537   func_module xstrtod
1538   func_module xstrtol
1539   func_end_table
1540
1541   element="Date and time <time.h>"
1542   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1543   func_section_wrap ansic_ext_time_datetime
1544   func_wrap H3
1545   func_echo "$element"
1546
1547   func_begin_table
1548   func_module getdate
1549   func_module timegm
1550   func_module tzset
1551   func_end_table
1552
1553   element="Input/Output <stdio.h>"
1554   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1555   func_section_wrap ansic_ext_stdio
1556   func_wrap H3
1557   func_echo "$element"
1558
1559   func_begin_table
1560   func_module unlocked-io
1561   func_module fwriteerror
1562   func_module vasnprintf
1563   func_module vasprintf
1564   func_module xvasprintf
1565   func_end_table
1566
1567   element="Signal handling <signal.h>"
1568   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1569   func_section_wrap ansic_ext_signal
1570   func_wrap H3
1571   func_echo "$element"
1572
1573   func_begin_table
1574   func_module fatal-signal
1575   func_module raise
1576   func_end_table
1577
1578   element="Command-line arguments"
1579   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1580   func_section_wrap ansic_ext_argv
1581   func_wrap H3
1582   func_echo "$element"
1583
1584   func_begin_table
1585   func_module argmatch
1586   func_module version-etc
1587   func_module version-etc-fsf
1588   func_module long-options
1589   func_end_table
1590
1591   element="Cryptographic computations"
1592   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1593   func_section_wrap ansic_ext_crypto
1594   func_wrap H3
1595   func_echo "$element"
1596
1597   func_begin_table
1598   func_module md5
1599   func_module sha1
1600   func_end_table
1601
1602   element="Misc"
1603   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1604   func_section_wrap ansic_ext_misc
1605   func_wrap H3
1606   func_echo "$element"
1607
1608   func_begin_table
1609   func_module base64
1610   func_module diacrit
1611   func_module getline
1612   func_module getnline
1613   func_module getndelim2
1614   func_module linebuffer
1615   func_module obstack
1616   func_module hash-pjw
1617   func_module hash
1618   func_module readtokens
1619   func_module readtokens0
1620   func_module strverscmp
1621   func_end_table
1622
1623   element="Support for systems lacking ISO C 99"
1624   func_section_wrap isoc_sup
1625   func_wrap H2
1626   func_echo "$element"
1627
1628   element="Keywords"
1629   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1630   func_section_wrap isoc_sup_keywords
1631   func_wrap H3
1632   func_echo "$element"
1633
1634   func_begin_table
1635   func_module restrict
1636   func_end_table
1637
1638   element="Sizes of integer types <limits.h>"
1639   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1640   func_section_wrap isoc_sup_limits
1641   func_wrap H3
1642   func_echo "$element"
1643
1644   func_begin_table
1645   func_module ullong_max
1646   func_end_table
1647
1648   element="Boolean type and values <stdbool.h>"
1649   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1650   func_section_wrap isoc_sup_stdbool
1651   func_wrap H3
1652   func_echo "$element"
1653
1654   func_begin_table
1655   func_module stdbool
1656   func_end_table
1657
1658   element="Integer types and values <stdint.h>"
1659   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1660   func_section_wrap isoc_sup_stdint
1661   func_wrap H3
1662   func_echo "$element"
1663
1664   func_begin_table
1665   func_module stdint
1666   func_end_table
1667
1668   element="Input/output <stdio.h>"
1669   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1670   func_section_wrap isoc_sup_stdio
1671   func_wrap H3
1672   func_echo "$element"
1673
1674   func_begin_table
1675   func_module snprintf
1676   func_module vsnprintf
1677   func_end_table
1678
1679   element="Numeric conversion functions <stdlib.h>"
1680   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1681   func_section_wrap isoc_sup_stdlib_conv
1682   func_wrap H3
1683   func_echo "$element"
1684
1685   func_begin_table
1686   func_module strtoll
1687   func_module strtoull
1688   func_end_table
1689
1690   element="Functions for greatest-width integer types <inttypes.h>"
1691   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1692   func_section_wrap isoc_sup_inttypes
1693   func_wrap H3
1694   func_echo "$element"
1695
1696   func_begin_table
1697   func_module strtoimax
1698   func_module strtoumax
1699   func_end_table
1700
1701   element="Mathematics <math.h>"
1702   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1703   func_section_wrap isoc_sup_math
1704   func_wrap H3
1705   func_echo "$element"
1706
1707   func_begin_table
1708   func_module mathl
1709   func_end_table
1710
1711   element="Enhancements for ISO C 99 functions"
1712   func_section_wrap isoc_enh
1713   func_wrap H2
1714   func_echo "$element"
1715
1716   func_begin_table
1717   func_end_table
1718
1719   element="Extra functions based on ISO C 99"
1720   func_section_wrap isoc_ext
1721   func_wrap H2
1722   func_echo "$element"
1723
1724   element="Numeric conversion functions <stdlib.h>"
1725   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1726   func_section_wrap isoc_ext_stdlib_conv
1727   func_wrap H3
1728   func_echo "$element"
1729
1730   func_begin_table
1731   func_module inttostr
1732   func_module xstrtoimax
1733   func_module xstrtoumax
1734   func_end_table
1735
1736   element="Support for systems lacking POSIX:2001"
1737   func_section_wrap posix_sup
1738   func_wrap H2
1739   func_echo "$element"
1740
1741   func_begin_table
1742   func_module chown
1743   func_module dup2
1744   func_module ftruncate
1745   func_module getaddrinfo
1746   func_module getcwd
1747   func_module getgroups
1748   func_module gethostname
1749   func_module getlogin_r
1750   func_module getsubopt
1751   func_module gettimeofday
1752   func_module inet_ntop
1753   func_module mkdir
1754   func_module mkstemp
1755   func_module mkdtemp
1756   func_module poll
1757   func_module readlink
1758   func_module lstat
1759   func_module time_r
1760   func_module timespec
1761   func_module nanosleep
1762   func_module regex
1763   func_module rename
1764   func_module rmdir
1765   func_module strtok_r
1766   func_module utime
1767   func_end_table
1768
1769   element="Enhancements for POSIX:2001 functions"
1770   func_section_wrap posix_enh
1771   func_wrap H2
1772   func_echo "$element"
1773
1774   func_begin_table
1775   func_module dirname
1776   func_module getopt
1777   func_module unistd-safer
1778   func_module fnmatch
1779   func_module fnmatch-posix
1780   func_module fnmatch-gnu
1781   func_module glob
1782   func_module exclude
1783   func_end_table
1784
1785   element="Extra functions based on POSIX:2001"
1786   func_section_wrap posix_ext
1787   func_wrap H2
1788   func_echo "$element"
1789
1790   element="Numeric conversion functions"
1791   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1792   func_section_wrap posix_ext_conv
1793   func_wrap H3
1794   func_echo "$element"
1795
1796   func_begin_table
1797   func_module human
1798   func_end_table
1799
1800   element="File system functions"
1801   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1802   func_section_wrap posix_ext_filesys
1803   func_wrap H3
1804   func_echo "$element"
1805
1806   func_begin_table
1807   func_module acl
1808   func_module backupfile
1809   func_module canonicalize
1810   func_module copy-file
1811   func_module cycle-check
1812   func_module fsusage
1813   func_module dirfd
1814   func_module euidaccess
1815   func_module file-type
1816   func_module fileblocks
1817   func_module filemode
1818   func_module filenamecat
1819   func_module fts
1820   func_module fts-lgpl
1821   func_module isdir
1822   func_module lchown
1823   func_module mkdir-p
1824   func_module modechange
1825   func_module mountlist
1826   func_module pathname
1827   func_module pathmax
1828   func_module same
1829   func_module save-cwd
1830   func_module savedir
1831   func_module unlinkdir
1832   func_module utimecmp
1833   func_module utimens
1834   func_module xgetcwd
1835   func_module xreadlink
1836   func_end_table
1837
1838   element="File descriptor based Input/Output"
1839   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1840   func_section_wrap posix_ext_filedesc
1841   func_wrap H3
1842   func_echo "$element"
1843
1844   func_begin_table
1845   func_module safe-read
1846   func_module safe-write
1847   func_module full-read
1848   func_module full-write
1849   func_module binary-io
1850   func_end_table
1851
1852   element="File stream based Input/Output"
1853   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1854   func_section_wrap posix_ext_filestream
1855   func_wrap H3
1856   func_echo "$element"
1857
1858   func_begin_table
1859   func_module fpending
1860   func_module closeout
1861   func_module stdio-safer
1862   func_module getpass
1863   func_module getpass-gnu
1864   func_end_table
1865
1866   element="Users and groups"
1867   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1868   func_section_wrap posix_ext_uidgid
1869   func_wrap H3
1870   func_echo "$element"
1871
1872   func_begin_table
1873   func_module getugroups
1874   func_module group-member
1875   func_module idcache
1876   func_module userspec
1877   func_end_table
1878
1879   element="Date and time"
1880   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1881   func_section_wrap posix_ext_datetime
1882   func_wrap H3
1883   func_echo "$element"
1884
1885   func_begin_table
1886   func_module gettime
1887   func_module settime
1888   func_module posixtm
1889   func_module xnanosleep
1890   func_end_table
1891
1892   element="Networking functions"
1893   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1894   func_section_wrap posix_ext_net
1895   func_wrap H3
1896   func_echo "$element"
1897
1898   func_begin_table
1899   func_module xgethostname
1900   func_module canon-host
1901   func_end_table
1902
1903   element="Internationalization functions"
1904   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1905   func_section_wrap posix_ext_i18n
1906   func_wrap H3
1907   func_echo "$element"
1908
1909   func_begin_table
1910   func_module gettext
1911   func_module gettext-h
1912   func_module iconv
1913   func_module iconvme
1914   func_module localcharset
1915   func_module hard-locale
1916   func_module mbswidth
1917   func_module memcasecmp
1918   func_module memcoll
1919   func_module xmemcoll
1920   func_module unicodeio
1921   func_module rpmatch
1922   func_module yesno
1923   func_module ucs4-utf8
1924   func_module ucs4-utf16
1925   func_module utf8-ucs4
1926   func_module utf16-ucs4
1927   func_module linebreak
1928   func_end_table
1929
1930   element="Executing programs"
1931   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1932   func_section_wrap posix_ext_exec
1933   func_wrap H3
1934   func_echo "$element"
1935
1936   func_begin_table
1937   func_module cloexec
1938   func_module findprog
1939   func_module wait-process
1940   func_module execute
1941   func_module pipe
1942   func_module sh-quote
1943   func_end_table
1944
1945   element="Java"
1946   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1947   func_section_wrap posix_ext_java
1948   func_wrap H3
1949   func_echo "$element"
1950
1951   func_begin_table
1952   func_module classpath
1953   func_module javacomp
1954   func_module javaexec
1955   #func_module gcj
1956   func_end_table
1957
1958   element="C#"
1959   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1960   func_section_wrap posix_ext_csharp
1961   func_wrap H3
1962   func_echo "$element"
1963
1964   func_begin_table
1965   func_module csharpcomp
1966   func_module csharpexec
1967   func_end_table
1968
1969   element="Misc"
1970   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1971   func_section_wrap posix_ext_misc
1972   func_wrap H3
1973   func_echo "$element"
1974
1975   func_begin_table
1976   func_module argp
1977   func_module argz
1978   func_module byteswap
1979   func_module exitfail
1980   func_module c-stack
1981   func_module error
1982   func_module extensions
1983   func_module getdomainname
1984   func_module xgetdomainname
1985   func_module getloadavg
1986   func_module getpagesize
1987   func_module getusershell
1988   func_module physmem
1989   func_module posixver
1990   func_module progname
1991   func_module quotearg
1992   func_module quote
1993   func_module readutmp
1994   func_module sig2str
1995   func_module sysexits
1996   func_end_table
1997 }
1998
1999
2000 echo '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">'
2001 func_begin HTML
2002
2003 func_begin HEAD
2004
2005 element="Gnulib Module List"
2006 func_wrap TITLE
2007 func_echo "$element"
2008
2009 modules=`gnulib-tool --list`
2010 modules=`for m in $modules; do printf "%s, " $m; done | sed -e 's/, $//'`
2011 func_echo '<META NAME="keywords" CONTENT="'"${modules}"'">'
2012
2013 func_end HEAD
2014
2015 func_begin BODY
2016
2017 element="Gnulib Module List"
2018 func_wrap H1
2019 func_echo "$element"
2020
2021 func_echo 'This is a list of the modules which make up gnulib, with dependencies.'
2022
2023 in_toc=yes
2024 func_all_modules
2025
2026 in_toc=
2027 func_all_modules
2028
2029 if test -n "$missed_modules"; then
2030
2031   element="Unclassified modules - please update MODULES.html.sh"
2032   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2033   func_wrap H2
2034   func_echo "$element"
2035
2036   func_begin_table
2037   for module in $missed_modules; do
2038     func_module $module
2039   done
2040   func_end_table
2041
2042 fi
2043
2044 if test -n "$missed_files"; then
2045
2046   element="Lone files - please create new modules containing them"
2047   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2048   func_wrap H2
2049   func_echo "$element"
2050
2051   func_echo '<PRE>'
2052   echo "$missed_files" | sed -e 's,^\(.*\)$,<A HREF="\1">\1</A>,'
2053   echo '</PRE>'
2054
2055 fi
2056
2057 element="Future developments"
2058 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2059 func_wrap H2
2060 func_echo "$element"
2061
2062 func_echo 'Ideally a module could consist of:'
2063 func_begin UL
2064 func_echo '<LI>A header file: lib/<VAR>module</VAR>.h'
2065 func_echo '<LI>One or more implementation files: lib/<VAR>module</VAR>.c et al.'
2066 func_echo '<LI>One or more autoconf macro files: m4/<VAR>module</VAR>.m4 et al.'
2067 func_echo '<LI>A configure.ac fragment, Makefile.am fragment, dependency list: modules/<VAR>module</VAR>'
2068 func_echo '<LI>Some documentation'
2069 func_echo '<LI>A POT file and some PO files'
2070 func_echo '<LI>A testsuite'
2071 func_end UL
2072
2073 func_echo '<HR>'
2074 func_echo 'Generated from <CODE>MODULES.html.sh</CODE> on '`LC_ALL=C date +"%e %B %Y"`.
2075
2076 func_end BODY
2077
2078 func_end HTML