* MODULES.html.sh (Core language properties): New module flexmember.
[gnulib.git] / MODULES.html.sh
1 #!/bin/sh
2 #
3 # Copyright (C) 2002-2006 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/susv3'
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 stat
1067 statvfs
1068 stdin
1069 strcasecmp
1070 strcat
1071 strchr
1072 strcmp
1073 strcoll
1074 strcpy
1075 strcspn
1076 strdup
1077 strerror
1078 strerror_r
1079 strfmon
1080 strftime
1081 strlen
1082 strncasecmp
1083 strncat
1084 strncmp
1085 strncpy
1086 strpbrk
1087 strptime
1088 strrchr
1089 strspn
1090 strstr
1091 strtod
1092 strtof
1093 strtoimax
1094 strtok
1095 strtok_r
1096 strtol
1097 strtold
1098 strtoll
1099 strtoul
1100 strtoull
1101 strtoumax
1102 strxfrm
1103 swab
1104 swapcontext
1105 swprintf
1106 swscanf
1107 symlink
1108 sync
1109 sysconf
1110 syslog
1111 system
1112 tan
1113 tanf
1114 tanh
1115 tanhf
1116 tanhl
1117 tanl
1118 tcdrain
1119 tcflow
1120 tcflush
1121 tcgetattr
1122 tcgetpgrp
1123 tcgetsid
1124 tcsendbreak
1125 tcsetattr
1126 tcsetpgrp
1127 tdelete
1128 telldir
1129 tempnam
1130 tfind
1131 tgamma
1132 tgammaf
1133 tgammal
1134 time
1135 timer_create
1136 timer_delete
1137 timer_getoverrun
1138 timer_settime
1139 times
1140 timezone
1141 tmpfile
1142 tmpnam
1143 toascii
1144 toc
1145 tolower
1146 toupper
1147 towctrans
1148 towlower
1149 towupper
1150 trunc
1151 truncate
1152 truncf
1153 truncl
1154 tsearch
1155 ttyname
1156 ttyname_r
1157 twalk
1158 tzname
1159 tzset
1160 ualarm
1161 ulimit
1162 umask
1163 uname
1164 ungetc
1165 ungetwc
1166 unlink
1167 unlockpt
1168 unsetenv
1169 usleep
1170 utime
1171 utimes
1172 va_arg
1173 va_copy
1174 va_end
1175 va_start
1176 vfork
1177 vfprintf
1178 vfscanf
1179 vfwprintf
1180 vfwscanf
1181 vprintf
1182 vscanf
1183 vsnprintf
1184 vsprintf
1185 vsscanf
1186 vswprintf
1187 vswscanf
1188 vwprintf
1189 vwscanf
1190 wait
1191 waitid
1192 waitpid
1193 wcrtomb
1194 wcscat
1195 wcschr
1196 wcscmp
1197 wcscoll
1198 wcscpy
1199 wcscspn
1200 wcsftime
1201 wcslen
1202 wcsncat
1203 wcsncmp
1204 wcsncpy
1205 wcspbrk
1206 wcsrchr
1207 wcsrtombs
1208 wcsspn
1209 wcsstr
1210 wcstod
1211 wcstof
1212 wcstoimax
1213 wcstok
1214 wcstol
1215 wcstold
1216 wcstoll
1217 wcstombs
1218 wcstoul
1219 wcstoull
1220 wcstoumax
1221 wcswcs
1222 wcswidth
1223 wcsxfrm
1224 wctob
1225 wctomb
1226 wctrans
1227 wctype
1228 wcwidth
1229 wmemchr
1230 wmemcmp
1231 wmemcpy
1232 wmemmove
1233 wmemset
1234 wordexp
1235 wordfree
1236 wprintf
1237 write
1238 writev
1239 wscanf
1240 y0
1241 y1
1242 yn
1243 ' | sed -e "$sed_alt1" | tr -d "$trnl" | sed -e "$sed_alt2" -e "$sed_alt3"`
1244
1245 indent=""
1246 missed_modules=`gnulib-tool --list`
1247 missed_files=`ls -d lib/* m4/* | sed -e /CVS/d -e /README/d -e /ChangeLog/d -e /Makefile/d -e /TODO/d -e '/~$/d'`
1248
1249 # func_echo line
1250 # outputs line with indentation.
1251 func_echo ()
1252 {
1253   echo "${indent}$*"
1254 }
1255
1256 # func_indent
1257 # increases the indentation.
1258 func_indent ()
1259 {
1260   indent="$indent  "
1261 }
1262
1263 # func_unindent
1264 # decreases the indentation.
1265 func_unindent ()
1266 {
1267   indent=`echo "$indent" | sed -e 's/  $//'`
1268 }
1269
1270 # func_begin tag [attribute...]
1271 # opens a HTML tag.
1272 func_begin ()
1273 {
1274   func_echo "<$*>"
1275   func_indent
1276 }
1277
1278 # func_end tag
1279 # closes a HTML tag.
1280 func_end ()
1281 {
1282   func_unindent
1283   func_echo "</$1>"
1284 }
1285
1286 # func_wrap tag [attribute...]
1287 # encloses $element in a HTML tag, without line breaks.
1288 func_wrap ()
1289 {
1290   element="<$*>${element}</$1>"
1291 }
1292
1293 # func_section_wrap sectiontag
1294 # encloses $element in a HTML tag referring to the given tag.
1295 func_section_wrap ()
1296 {
1297   if test -n "$in_toc"; then
1298     func_wrap A "HREF=\"#$1\""
1299   else
1300     func_wrap A "NAME=\"$1\""
1301   fi
1302 }
1303
1304 # func_begin_table
1305 func_begin_table ()
1306 {
1307   func_begin TABLE
1308   if test -z "$in_toc"; then
1309     func_begin TR
1310     func_echo "<TH ALIGN=LEFT>modules/"
1311     func_echo "<TH ALIGN=LEFT>lib/"
1312     func_echo "<TH ALIGN=LEFT>lib/"
1313     func_echo "<TH ALIGN=LEFT>m4/"
1314     func_echo "<TH ALIGN=LEFT>&nbsp;"
1315     func_end TR
1316     func_begin TR
1317     func_echo "<TH ALIGN=LEFT>Module"
1318     func_echo "<TH ALIGN=LEFT>Header"
1319     func_echo "<TH ALIGN=LEFT>Implementation"
1320     func_echo "<TH ALIGN=LEFT>Autoconf macro"
1321     func_echo "<TH ALIGN=LEFT>Depends on"
1322     func_end TR
1323   fi
1324 }
1325
1326 # func_module module
1327 func_module ()
1328 {
1329     sed_remove_trailing_empty_line='${
1330 /^$/d
1331 }'
1332
1333   if test -n "$in_toc"; then
1334
1335     func_begin TR "WIDTH=\"100%\""
1336
1337     element='<A HREF="#module='$1'">'$1'</A>'
1338     func_echo "<TD ALIGN=LEFT VALIGN=TOP WIDTH=\"20%\">$element"
1339
1340     element=`gnulib-tool --extract-description $1 \
1341              | sed -e "$sed_lt" -e "$sed_gt" -e "$sed_remove_trailing_empty_line" \
1342              | sed -e 's,^, ,' \
1343              | sed -e 's,\([^a-zA-Z]\)'"${posix_functions}"'(),\1<A HREF="'"$POSIX2001_URL"'xsh/\2.html">\2</A>(),g' \
1344              | sed -e 's,^ ,,'`
1345     func_echo "<TD ALIGN=LEFT VALIGN=TOP WIDTH=\"80%\">$element"
1346
1347     func_end TR
1348
1349   else
1350
1351     func_begin TR
1352
1353     element='<A NAME="module='$1'"></A><A HREF="modules/'$1'">'$1'</A>'
1354     func_echo "<TD ALIGN=LEFT VALIGN=TOP>$element"
1355
1356     element=`gnulib-tool --extract-include-directive $1 \
1357              | sed -e "$sed_lt" -e "$sed_gt" -e "$sed_remove_trailing_empty_line" \
1358              | sed -e 's,^#include "\(.*\)"$,#include "<A HREF="lib/\1">\1</A>",' \
1359                     -e 's,^#include &lt;'"${posix_headers}"'\.h&gt;$,#include \&lt;<A HREF="'"$POSIX2001_URL"'xbd/\1.h.html">\1.h</A>\&gt;,' \
1360              | sed -e 's/$/<BR>/' | tr -d "$trnl" | sed -e 's/<BR>$//'`
1361     test -n "$element" || element='---'
1362     func_echo "<TD ALIGN=LEFT VALIGN=TOP>$element"
1363
1364     sed_choose_unconditional_nonstandard_include='s,^#include "\(.*\)"$,\1,p'
1365     includefile=`gnulib-tool --extract-include-directive $1 \
1366                  | sed -n -e "$sed_choose_unconditional_nonstandard_include" \
1367                  | sed -e "$sed_escape_dot" | tr -d "$trnl"`
1368     sed_choose_lib_files='s,^lib/\(.*\)$,\1,p'
1369     element=`gnulib-tool --extract-filelist $1 \
1370              | sed -e '/^$/d' \
1371              | sed -n -e "$sed_choose_lib_files" \
1372              | sed -e '/^'"${includefile}"'$/d' \
1373              | sed -e 's,^\(.*\)$,<A HREF="lib/\1">\1</A>,' \
1374              | sed -e 's/$/<BR>/' | tr -d "$trnl" | sed -e 's/<BR>$//'`
1375     test -n "$element" || element='---'
1376     func_echo "<TD ALIGN=LEFT VALIGN=TOP>$element"
1377
1378     sed_choose_m4_files='s,^m4/\(.*\)$,\1,p'
1379     element=`(gnulib-tool --extract-filelist $1 \
1380               | sed -e "$sed_remove_trailing_empty_line" \
1381               | sed -n -e "$sed_choose_m4_files" \
1382               | sed -e '/^onceonly/d' \
1383               | sed -e 's,^\(.*\)$,<A HREF="m4/\1">\1</A>,'; \
1384               gnulib-tool --extract-autoconf-snippet $1 \
1385               | sed -e "$sed_remove_trailing_empty_line") \
1386               | sed -e 's/$/<BR>/' | tr -d "$trnl" | sed -e 's/<BR>$//'`
1387     test -n "$element" || element='---'
1388     func_echo "<TD ALIGN=LEFT VALIGN=TOP>$element"
1389
1390     element=`gnulib-tool --extract-dependencies $1 \
1391              | sed -e "$sed_remove_trailing_empty_line" \
1392              | sed -e 's/$/<BR>/' | tr -d "$trnl" | sed -e 's/<BR>$//'`
1393     test -n "$element" || element='---'
1394     func_echo "<TD ALIGN=LEFT VALIGN=TOP>$element"
1395
1396     func_end TR
1397
1398     missed_modules=`echo "$missed_modules" | sed -e '/^'"$1"'$/d'`
1399
1400     files=`gnulib-tool --extract-filelist $1`
1401     sed_removal_prefix='s,^,/^,'
1402     sed_removal_suffix='s,$,\$/d,'
1403     sed_remove_files=`echo '{'; \
1404                       for file in $files; do \
1405                         echo $file \
1406                         | sed -e "$sed_escape_dot" -e "$sed_escape_slash" \
1407                         | sed -e "$sed_removal_prefix" -e "$sed_removal_suffix"; \
1408                       done; \
1409                       echo '}'`
1410     missed_files=`echo "$missed_files" | sed -e "$sed_remove_files"`
1411
1412   fi
1413 }
1414
1415 # func_end_table
1416 func_end_table ()
1417 {
1418   func_end TABLE
1419 }
1420
1421 # func_all_modules
1422 func_all_modules ()
1423 {
1424   element="Support for systems lacking ANSI C 89"
1425   func_section_wrap ansic_sup
1426   func_wrap H2
1427   func_echo "$element"
1428
1429   func_begin_table
1430   func_module exit
1431   func_module atexit
1432   func_module strtod
1433   func_module strtol
1434   func_module strtoul
1435   func_module memchr
1436   func_module memcmp
1437   func_module memcpy
1438   func_module memmove
1439   func_module memset
1440   func_module strcspn
1441   func_module strpbrk
1442   func_module strstr
1443   func_module strerror
1444   func_module mktime
1445   func_end_table
1446
1447   func_echo 'Most of these modules are not listed among dependencies below, for simplicity.'
1448
1449   element="Enhancements for ANSI C 89 functions"
1450   func_section_wrap ansic_enh
1451   func_wrap H2
1452   func_echo "$element"
1453
1454   element="Diagnostics <assert.h>"
1455   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1456   func_section_wrap ansic_enh_assert_diagnostics
1457   func_wrap H3
1458   func_echo "$element"
1459
1460   func_begin_table
1461   func_module assert
1462   func_module verify
1463   func_end_table
1464
1465   element="Memory management functions <stdlib.h>"
1466   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1467   func_section_wrap ansic_enh_stdlib_memory
1468   func_wrap H3
1469   func_echo "$element"
1470
1471   func_begin_table
1472   func_module calloc
1473   func_module eealloc
1474   func_module free
1475   func_module malloc
1476   func_module realloc
1477   func_module pagealign_alloc
1478   func_end_table
1479
1480   element="Date and time <time.h>"
1481   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1482   func_section_wrap ansic_enh_time_datetime
1483   func_wrap H3
1484   func_echo "$element"
1485
1486   func_begin_table
1487   func_module fprintftime
1488   func_module strftime
1489   func_end_table
1490
1491   element="Extra functions based on ANSI C 89"
1492   func_section_wrap ansic_ext
1493   func_wrap H2
1494   func_echo "$element"
1495
1496   element="Memory management functions <stdlib.h>"
1497   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1498   func_section_wrap ansic_ext_stdlib_memory
1499   func_wrap H3
1500   func_echo "$element"
1501
1502   func_begin_table
1503   func_module xsize
1504   func_module xalloc
1505   func_module xalloc-die
1506   func_module alloca
1507   func_module alloca-opt
1508   func_module allocsa
1509   func_module xallocsa
1510   func_end_table
1511
1512   element="Integer arithmetic functions <stdlib.h>"
1513   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1514   func_section_wrap ansic_ext_stdlib_arith
1515   func_wrap H3
1516   func_echo "$element"
1517
1518   func_begin_table
1519   func_module gcd
1520   func_module minmax
1521   func_end_table
1522
1523   element="Environment variables <stdlib.h>"
1524   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1525   func_section_wrap ansic_ext_stdlib_env
1526   func_wrap H3
1527   func_echo "$element"
1528
1529   func_begin_table
1530   func_module putenv
1531   func_module setenv
1532   func_module xsetenv
1533   func_end_table
1534
1535   element="Character handling <ctype.h>"
1536   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1537   func_section_wrap ansic_ext_ctype
1538   func_wrap H3
1539   func_echo "$element"
1540
1541   func_begin_table
1542   func_module c-ctype
1543   func_end_table
1544
1545   element="String handling <string.h>"
1546   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1547   func_section_wrap ansic_ext_string
1548   func_wrap H3
1549   func_echo "$element"
1550
1551   func_begin_table
1552   func_module bcopy
1553   func_module memmem
1554   func_module mempcpy
1555   func_module memrchr
1556   func_module stpcpy
1557   func_module stpncpy
1558   func_module c-strcase
1559   func_module strcase
1560   func_module c-strcasestr
1561   func_module strcasestr
1562   func_module strchrnul
1563   func_module strdup
1564   func_module strnlen
1565   func_module strnlen1
1566   func_module strndup
1567   func_module strsep
1568   func_module c-strstr
1569   func_module trim
1570   #func_module fstrcmp
1571   func_module xstrndup
1572   func_end_table
1573
1574   element="Numeric conversion functions <stdlib.h>"
1575   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1576   func_section_wrap ansic_ext_stdlib_conv
1577   func_wrap H3
1578   func_echo "$element"
1579
1580   func_begin_table
1581   func_module c-strtod
1582   func_module c-strtold
1583   func_module xstrtod
1584   func_module xstrtol
1585   func_module xstrtold
1586   func_end_table
1587
1588   element="Date and time <time.h>"
1589   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1590   func_section_wrap ansic_ext_time_datetime
1591   func_wrap H3
1592   func_echo "$element"
1593
1594   func_begin_table
1595   func_module getdate
1596   func_module timegm
1597   func_module tzset
1598   func_end_table
1599
1600   element="Input/Output <stdio.h>"
1601   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1602   func_section_wrap ansic_ext_stdio
1603   func_wrap H3
1604   func_echo "$element"
1605
1606   func_begin_table
1607   func_module unlocked-io
1608   func_module fwriteerror
1609   func_module vasnprintf
1610   func_module vasprintf
1611   func_module xvasprintf
1612   func_end_table
1613
1614   element="Signal handling <signal.h>"
1615   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1616   func_section_wrap ansic_ext_signal
1617   func_wrap H3
1618   func_echo "$element"
1619
1620   func_begin_table
1621   func_module fatal-signal
1622   func_module raise
1623   func_end_table
1624
1625   element="Command-line arguments"
1626   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1627   func_section_wrap ansic_ext_argv
1628   func_wrap H3
1629   func_echo "$element"
1630
1631   func_begin_table
1632   func_module argmatch
1633   func_module version-etc
1634   func_module version-etc-fsf
1635   func_module long-options
1636   func_end_table
1637
1638   element="Container data structures"
1639   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1640   func_section_wrap ansic_ext_container
1641   func_wrap H3
1642   func_echo "$element"
1643
1644   func_begin_table
1645   func_module list
1646   func_module array-list
1647   func_module carray-list
1648   func_module linked-list
1649   func_module avltree-list
1650   func_module rbtree-list
1651   func_module linkedhash-list
1652   func_module avltreehash-list
1653   func_module rbtreehash-list
1654   func_module oset
1655   func_module array-oset
1656   func_module avltree-oset
1657   func_module rbtree-oset
1658   func_end_table
1659
1660   element="Cryptographic computations"
1661   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1662   func_section_wrap ansic_ext_crypto
1663   func_wrap H3
1664   func_echo "$element"
1665
1666   func_begin_table
1667   func_module md5
1668   func_module sha1
1669   func_end_table
1670
1671   element="Misc"
1672   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1673   func_section_wrap ansic_ext_misc
1674   func_wrap H3
1675   func_echo "$element"
1676
1677   func_begin_table
1678   func_module base64
1679   func_module check-version
1680   func_module diacrit
1681   func_module getline
1682   func_module getdelim
1683   func_module getnline
1684   func_module getndelim2
1685   func_module linebuffer
1686   func_module obstack
1687   func_module hash-pjw
1688   func_module hash
1689   func_module readline
1690   func_module readtokens
1691   func_module readtokens0
1692   func_module strverscmp
1693   func_end_table
1694
1695   element="Support for systems lacking ISO C 99"
1696   func_section_wrap isoc_sup
1697   func_wrap H2
1698   func_echo "$element"
1699
1700   element="Core language properties"
1701   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1702   func_section_wrap isoc_core_properties
1703   func_wrap H3
1704   func_echo "$element"
1705
1706   func_begin_table
1707   func_module flexmember
1708   func_module vararrays
1709   func_end_table
1710
1711   element="Sizes of integer types <limits.h>"
1712   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1713   func_section_wrap isoc_sup_limits
1714   func_wrap H3
1715   func_echo "$element"
1716
1717   func_begin_table
1718   func_module size_max
1719   func_end_table
1720
1721   element="Variable arguments <stdarg.h>"
1722   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1723   func_section_wrap isoc_sup_stdarg
1724   func_wrap H3
1725   func_echo "$element"
1726
1727   func_begin_table
1728   func_module stdarg
1729   func_end_table
1730
1731   element="Boolean type and values <stdbool.h>"
1732   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1733   func_section_wrap isoc_sup_stdbool
1734   func_wrap H3
1735   func_echo "$element"
1736
1737   func_begin_table
1738   func_module stdbool
1739   func_end_table
1740
1741   element="Integer types and values <stdint.h>"
1742   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1743   func_section_wrap isoc_sup_stdint
1744   func_wrap H3
1745   func_echo "$element"
1746
1747   func_begin_table
1748   func_module stdint
1749   func_end_table
1750
1751   element="Input/output <stdio.h>"
1752   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1753   func_section_wrap isoc_sup_stdio
1754   func_wrap H3
1755   func_echo "$element"
1756
1757   func_begin_table
1758   func_module snprintf
1759   func_module vsnprintf
1760   func_end_table
1761
1762   element="Numeric conversion functions <stdlib.h>"
1763   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1764   func_section_wrap isoc_sup_stdlib_conv
1765   func_wrap H3
1766   func_echo "$element"
1767
1768   func_begin_table
1769   func_module strtoll
1770   func_module strtoull
1771   func_end_table
1772
1773   element="Functions for greatest-width integer types <inttypes.h>"
1774   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1775   func_section_wrap isoc_sup_inttypes
1776   func_wrap H3
1777   func_echo "$element"
1778
1779   func_begin_table
1780   func_module strtoimax
1781   func_module strtoumax
1782   func_end_table
1783
1784   element="Mathematics <math.h>"
1785   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1786   func_section_wrap isoc_sup_math
1787   func_wrap H3
1788   func_echo "$element"
1789
1790   func_begin_table
1791   func_module mathl
1792   func_end_table
1793
1794   element="Enhancements for ISO C 99 functions"
1795   func_section_wrap isoc_enh
1796   func_wrap H2
1797   func_echo "$element"
1798
1799   func_begin_table
1800   func_end_table
1801
1802   element="Extra functions based on ISO C 99"
1803   func_section_wrap isoc_ext
1804   func_wrap H2
1805   func_echo "$element"
1806
1807   element="Numeric conversion functions <stdlib.h>"
1808   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1809   func_section_wrap isoc_ext_stdlib_conv
1810   func_wrap H3
1811   func_echo "$element"
1812
1813   func_begin_table
1814   func_module intprops
1815   func_module inttostr
1816   func_module xstrtoimax
1817   func_module xstrtoumax
1818   func_end_table
1819
1820   element="Extended multibyte and wide character utilities <wchar.h>"
1821   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1822   func_section_wrap isoc_ext_wchar_mb
1823   func_wrap H3
1824   func_echo "$element"
1825
1826   func_begin_table
1827   func_module mbchar
1828   func_module mbiter
1829   func_module mbuiter
1830   func_module mbfile
1831   func_end_table
1832
1833   element="Support for systems lacking POSIX:2001"
1834   func_section_wrap posix_sup
1835   func_wrap H2
1836   func_echo "$element"
1837
1838   func_begin_table
1839   func_module chown
1840   func_module dup2
1841   func_module ftruncate
1842   func_module getaddrinfo
1843   func_module getcwd
1844   func_module getgroups
1845   func_module gethostname
1846   func_module getlogin_r
1847   func_module getsubopt
1848   func_module gettimeofday
1849   func_module inet_ntop
1850   func_module inet_pton
1851   func_module mkdir
1852   func_module mkdtemp
1853   func_module mkstemp
1854   func_module poll
1855   func_module readlink
1856   func_module lstat
1857   func_module tempname
1858   func_module time_r
1859   func_module timespec
1860   func_module nanosleep
1861   func_module regex
1862   func_module rename
1863   func_module rmdir
1864   func_module sigprocmask
1865   func_module ssize_t
1866   func_module strtok_r
1867   func_module sys_stat
1868   func_module tsearch
1869   func_module unistd
1870   func_module utime
1871   func_module wcwidth
1872   func_end_table
1873
1874   element="Compatibility checks for POSIX:2001 functions"
1875   func_section_wrap posix_compat
1876   func_wrap H2
1877   func_echo "$element"
1878
1879   func_begin_table
1880   func_module d-ino
1881   func_module d-type
1882   func_module link-follow
1883   func_module rename-dest-slash
1884   func_module rmdir-errno
1885   func_module unlink-busy
1886   func_module winsz-ioctl
1887   func_module winsz-termios
1888   func_end_table
1889
1890   element="Enhancements for POSIX:2001 functions"
1891   func_section_wrap posix_enh
1892   func_wrap H2
1893   func_echo "$element"
1894
1895   func_begin_table
1896   func_module dirname
1897   func_module getopt
1898   func_module unistd-safer
1899   func_module fnmatch
1900   func_module fnmatch-posix
1901   func_module fnmatch-gnu
1902   func_module glob
1903   func_module exclude
1904   func_end_table
1905
1906   element="Extra functions based on POSIX:2001"
1907   func_section_wrap posix_ext
1908   func_wrap H2
1909   func_echo "$element"
1910
1911   element="Numeric conversion functions"
1912   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1913   func_section_wrap posix_ext_conv
1914   func_wrap H3
1915   func_echo "$element"
1916
1917   func_begin_table
1918   func_module human
1919   func_end_table
1920
1921   element="File system functions"
1922   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1923   func_section_wrap posix_ext_filesys
1924   func_wrap H3
1925   func_echo "$element"
1926
1927   func_begin_table
1928   func_module acl
1929   func_module backupfile
1930   func_module canonicalize
1931   func_module canonicalize-lgpl
1932   func_module clean-temp
1933   func_module copy-file
1934   func_module cycle-check
1935   func_module fsusage
1936   func_module dirfd
1937   func_module euidaccess
1938   func_module file-type
1939   func_module fileblocks
1940   func_module filemode
1941   func_module filenamecat
1942   func_module fts
1943   func_module fts-lgpl
1944   func_module isdir
1945   func_module lchmod
1946   func_module lchown
1947   func_module mkancesdirs
1948   func_module mkdir-p
1949   func_module modechange
1950   func_module mountlist
1951   func_module pathname
1952   func_module pathmax
1953   func_module same
1954   func_module save-cwd
1955   func_module savedir
1956   func_module savewd
1957   func_module stat-time
1958   func_module tmpdir
1959   func_module unlinkdir
1960   func_module utimecmp
1961   func_module utimens
1962   func_module xgetcwd
1963   func_module xreadlink
1964   func_end_table
1965
1966   element="File descriptor based Input/Output"
1967   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1968   func_section_wrap posix_ext_filedesc
1969   func_wrap H3
1970   func_echo "$element"
1971
1972   func_begin_table
1973   func_module fcntl-safer
1974   func_module safe-read
1975   func_module safe-write
1976   func_module full-read
1977   func_module full-write
1978   func_module binary-io
1979   func_module isapipe
1980   func_end_table
1981
1982   element="File stream based Input/Output"
1983   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1984   func_section_wrap posix_ext_filestream
1985   func_wrap H3
1986   func_echo "$element"
1987
1988   func_begin_table
1989   func_module close-stream
1990   func_module closeout
1991   func_module fopen-safer
1992   func_module fpending
1993   func_module getpass
1994   func_module getpass-gnu
1995   func_module stdlib-safer
1996   func_module tmpfile-safer
1997   func_end_table
1998
1999   element="Users and groups"
2000   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2001   func_section_wrap posix_ext_uidgid
2002   func_wrap H3
2003   func_echo "$element"
2004
2005   func_begin_table
2006   func_module getugroups
2007   func_module group-member
2008   func_module idcache
2009   func_module userspec
2010   func_end_table
2011
2012   element="Date and time"
2013   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2014   func_section_wrap posix_ext_datetime
2015   func_wrap H3
2016   func_echo "$element"
2017
2018   func_begin_table
2019   func_module gettime
2020   func_module settime
2021   func_module posixtm
2022   func_module xnanosleep
2023   func_end_table
2024
2025   element="Networking functions"
2026   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2027   func_section_wrap posix_ext_net
2028   func_wrap H3
2029   func_echo "$element"
2030
2031   func_begin_table
2032   func_module xgethostname
2033   func_module canon-host
2034   func_end_table
2035
2036   element="Multithreading"
2037   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2038   func_section_wrap posix_ext_thread
2039   func_wrap H3
2040   func_echo "$element"
2041
2042   func_begin_table
2043   func_module lock
2044   func_module tls
2045   func_end_table
2046
2047   element="Internationalization functions"
2048   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2049   func_section_wrap posix_ext_i18n
2050   func_wrap H3
2051   func_echo "$element"
2052
2053   func_begin_table
2054   func_module gettext
2055   func_module gettext-h
2056   func_module iconv
2057   func_module striconv
2058   func_module xstriconv
2059   func_module iconvme
2060   func_module localcharset
2061   func_module hard-locale
2062   func_module mbswidth
2063   func_module memcasecmp
2064   func_module memcoll
2065   func_module xmemcoll
2066   func_module unicodeio
2067   func_module rpmatch
2068   func_module yesno
2069   func_module ucs4-utf8
2070   func_module ucs4-utf16
2071   func_module utf8-ucs4
2072   func_module utf16-ucs4
2073   func_module linebreak
2074   func_module bison-i18n
2075   func_end_table
2076
2077   element="Executing programs"
2078   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2079   func_section_wrap posix_ext_exec
2080   func_wrap H3
2081   func_echo "$element"
2082
2083   func_begin_table
2084   func_module cloexec
2085   func_module findprog
2086   func_module wait-process
2087   func_module execute
2088   func_module pipe
2089   func_module sh-quote
2090   func_end_table
2091
2092   element="Java"
2093   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2094   func_section_wrap posix_ext_java
2095   func_wrap H3
2096   func_echo "$element"
2097
2098   func_begin_table
2099   func_module classpath
2100   func_module javacomp
2101   func_module javaexec
2102   func_module javaversion
2103   #func_module gcj
2104   func_end_table
2105
2106   element="C#"
2107   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2108   func_section_wrap posix_ext_csharp
2109   func_wrap H3
2110   func_echo "$element"
2111
2112   func_begin_table
2113   func_module csharpcomp
2114   func_module csharpexec
2115   func_end_table
2116
2117   element="Misc"
2118   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2119   func_section_wrap posix_ext_misc
2120   func_wrap H3
2121   func_echo "$element"
2122
2123   func_begin_table
2124   func_module argp
2125   func_module argz
2126   func_module byteswap
2127   func_module exitfail
2128   func_module c-stack
2129   func_module error
2130   func_module extensions
2131   func_module getdomainname
2132   func_module xgetdomainname
2133   func_module getloadavg
2134   func_module getpagesize
2135   func_module getusershell
2136   func_module physmem
2137   func_module posixver
2138   func_module progname
2139   func_module quotearg
2140   func_module quote
2141   func_module readutmp
2142   func_module sig2str
2143   func_module sysexits
2144   func_module verror
2145   func_module visibility
2146   func_end_table
2147
2148   element="Support for building libraries and executables"
2149   func_section_wrap build_lib
2150   func_wrap H2
2151   func_echo "$element"
2152
2153   func_begin_table
2154   func_module config-h
2155   func_module configmake
2156   func_module dummy
2157   func_module elisp-comp
2158   func_module ldd
2159   func_module lib-ignore
2160   func_end_table
2161
2162   element="Support for building documentation"
2163   func_section_wrap build_doc
2164   func_wrap H2
2165   func_echo "$element"
2166
2167   func_begin_table
2168   func_module fdl
2169   func_module gendocs
2170   func_module gpl
2171   func_module lgpl
2172   func_module regexprops-generic
2173   func_end_table
2174
2175   element="Support for maintaining and release projects"
2176   func_section_wrap maintain
2177   func_wrap H2
2178   func_echo "$element"
2179
2180   func_begin_table
2181   func_module gnupload
2182   func_module maintainer-makefile
2183   func_end_table
2184
2185   element="Misc"
2186   func_section_wrap misc
2187   func_wrap H2
2188   func_echo "$element"
2189
2190   func_begin_table
2191   func_module host-os
2192   func_module perl
2193   func_module uptime
2194   func_end_table
2195 }
2196
2197
2198 echo '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">'
2199 func_begin HTML
2200
2201 func_begin HEAD
2202
2203 element="Gnulib Module List"
2204 func_wrap TITLE
2205 func_echo "$element"
2206
2207 modules=`gnulib-tool --list`
2208 modules=`for m in $modules; do printf "%s, " $m; done | sed -e 's/, $//'`
2209 func_echo '<META NAME="keywords" CONTENT="'"${modules}"'">'
2210
2211 func_end HEAD
2212
2213 func_begin BODY
2214
2215 element="Gnulib Module List"
2216 func_wrap H1
2217 func_echo "$element"
2218
2219 func_echo 'This is a list of the modules which make up gnulib, with dependencies.'
2220
2221 in_toc=yes
2222 func_all_modules
2223
2224 in_toc=
2225 func_all_modules
2226
2227 if test -n "$missed_modules"; then
2228
2229   element="Unclassified modules - please update MODULES.html.sh"
2230   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2231   func_wrap H2
2232   func_echo "$element"
2233
2234   func_begin_table
2235   for module in $missed_modules; do
2236     func_module $module
2237   done
2238   func_end_table
2239
2240 fi
2241
2242 if test -n "$missed_files"; then
2243
2244   element="Lone files - please create new modules containing them"
2245   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2246   func_wrap H2
2247   func_echo "$element"
2248
2249   func_echo '<PRE>'
2250   echo "$missed_files" | sed -e 's,^\(.*\)$,<A HREF="\1">\1</A>,'
2251   echo '</PRE>'
2252
2253 fi
2254
2255 element="Future developments"
2256 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2257 func_wrap H2
2258 func_echo "$element"
2259
2260 func_echo 'Ideally a module could consist of:'
2261 func_begin UL
2262 func_echo '<LI>A header file: lib/<VAR>module</VAR>.h'
2263 func_echo '<LI>One or more implementation files: lib/<VAR>module</VAR>.c et al.'
2264 func_echo '<LI>One or more autoconf macro files: m4/<VAR>module</VAR>.m4 et al.'
2265 func_echo '<LI>A configure.ac fragment, Makefile.am fragment, dependency list: modules/<VAR>module</VAR>'
2266 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'
2267 func_echo '<LI>Some documentation'
2268 func_echo '<LI>A POT file and some PO files'
2269 func_end UL
2270
2271 func_echo '<HR>'
2272 func_echo 'Generated from <CODE>MODULES.html.sh</CODE> on '`LC_ALL=C date +"%e %B %Y"`.
2273
2274 func_end BODY
2275
2276 func_end HTML