128390200e0a0acf7fc0c36d10123f1a6522274b
[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 | 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"'xsh/\2.html">\2</A>(),g' | sed -e 's,^ ,,'`
1341     func_echo "<TD ALIGN=LEFT VALIGN=TOP WIDTH=\"80%\">$element"
1342
1343     func_end TR
1344
1345   else
1346
1347     func_begin TR
1348
1349     element='<A NAME="module='$1'"></A><A HREF="modules/'$1'">'$1'</A>'
1350     func_echo "<TD ALIGN=LEFT VALIGN=TOP>$element"
1351
1352     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"'xbd/\1.h.html">\1.h</A>\&gt;,' | sed -e 's/$/<BR>/' | tr -d "$trnl" | sed -e 's/<BR>$//'`
1353     test -n "$element" || element='---'
1354     func_echo "<TD ALIGN=LEFT VALIGN=TOP>$element"
1355
1356     sed_choose_unconditional_nonstandard_include='s,^#include "\(.*\)"$,\1,p'
1357     includefile=`gnulib-tool --extract-include-directive $1 | sed -n -e "$sed_choose_unconditional_nonstandard_include" | sed -e "$sed_escape_dot" | tr -d "$trnl"`
1358     sed_choose_lib_files='s,^lib/\(.*\)$,\1,p'
1359     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>$//'`
1360     test -n "$element" || element='---'
1361     func_echo "<TD ALIGN=LEFT VALIGN=TOP>$element"
1362
1363     sed_choose_m4_files='s,^m4/\(.*\)$,\1,p'
1364     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>$//'`
1365     test -n "$element" || element='---'
1366     func_echo "<TD ALIGN=LEFT VALIGN=TOP>$element"
1367
1368     element=`gnulib-tool --extract-dependencies $1 | sed -e "$sed_remove_trailing_empty_line" | sed -e 's/$/<BR>/' | tr -d "$trnl" | sed -e 's/<BR>$//'`
1369     test -n "$element" || element='---'
1370     func_echo "<TD ALIGN=LEFT VALIGN=TOP>$element"
1371
1372     func_end TR
1373
1374     missed_modules=`echo "$missed_modules" | sed -e '/^'"$1"'$/d'`
1375
1376     files=`gnulib-tool --extract-filelist $1`
1377     sed_removal_prefix='s,^,/^,'
1378     sed_removal_suffix='s,$,\$/d,'
1379     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 '}'`
1380     missed_files=`echo "$missed_files" | sed -e "$sed_remove_files"`
1381
1382   fi
1383 }
1384
1385 # func_end_table
1386 func_end_table ()
1387 {
1388   func_end TABLE
1389 }
1390
1391 # func_all_modules
1392 func_all_modules ()
1393 {
1394   element="Support for systems lacking ANSI C 89"
1395   func_section_wrap ansic_sup
1396   func_wrap H2
1397   func_echo "$element"
1398
1399   func_begin_table
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="Diagnostics <assert.h>"
1427   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1428   func_section_wrap ansic_enh_assert_diagnostics
1429   func_wrap H3
1430   func_echo "$element"
1431
1432   func_begin_table
1433   func_module verify
1434   func_end_table
1435
1436   element="Memory management functions <stdlib.h>"
1437   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1438   func_section_wrap ansic_enh_stdlib_memory
1439   func_wrap H3
1440   func_echo "$element"
1441
1442   func_begin_table
1443   func_module calloc
1444   func_module eealloc
1445   func_module free
1446   func_module malloc
1447   func_module realloc
1448   func_module pagealign_alloc
1449   func_end_table
1450
1451   element="Date and time <time.h>"
1452   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1453   func_section_wrap ansic_enh_time_datetime
1454   func_wrap H3
1455   func_echo "$element"
1456
1457   func_begin_table
1458   func_module fprintftime
1459   func_module strftime
1460   func_end_table
1461
1462   element="Extra functions based on ANSI C 89"
1463   func_section_wrap ansic_ext
1464   func_wrap H2
1465   func_echo "$element"
1466
1467   element="Memory management functions <stdlib.h>"
1468   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1469   func_section_wrap ansic_ext_stdlib_memory
1470   func_wrap H3
1471   func_echo "$element"
1472
1473   func_begin_table
1474   func_module xsize
1475   func_module xalloc
1476   func_module xalloc-die
1477   func_module alloca
1478   func_module alloca-opt
1479   func_module allocsa
1480   func_module xallocsa
1481   func_end_table
1482
1483   element="Integer arithmetic functions <stdlib.h>"
1484   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1485   func_section_wrap ansic_ext_stdlib_arith
1486   func_wrap H3
1487   func_echo "$element"
1488
1489   func_begin_table
1490   func_module gcd
1491   func_module minmax
1492   func_end_table
1493
1494   element="Environment variables <stdlib.h>"
1495   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1496   func_section_wrap ansic_ext_stdlib_env
1497   func_wrap H3
1498   func_echo "$element"
1499
1500   func_begin_table
1501   func_module putenv
1502   func_module setenv
1503   func_module xsetenv
1504   func_end_table
1505
1506   element="Character handling <ctype.h>"
1507   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1508   func_section_wrap ansic_ext_ctype
1509   func_wrap H3
1510   func_echo "$element"
1511
1512   func_begin_table
1513   func_module c-ctype
1514   func_end_table
1515
1516   element="String handling <string.h>"
1517   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1518   func_section_wrap ansic_ext_string
1519   func_wrap H3
1520   func_echo "$element"
1521
1522   func_begin_table
1523   func_module bcopy
1524   func_module memmem
1525   func_module mempcpy
1526   func_module memrchr
1527   func_module stpcpy
1528   func_module stpncpy
1529   func_module c-strcase
1530   func_module strcase
1531   func_module c-strcasestr
1532   func_module strcasestr
1533   func_module strchrnul
1534   func_module strdup
1535   func_module strnlen
1536   func_module strnlen1
1537   func_module strndup
1538   func_module strsep
1539   #func_module fstrcmp
1540   func_module xstrndup
1541   func_end_table
1542
1543   element="Numeric conversion functions <stdlib.h>"
1544   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1545   func_section_wrap ansic_ext_stdlib_conv
1546   func_wrap H3
1547   func_echo "$element"
1548
1549   func_begin_table
1550   func_module c-strtod
1551   func_module c-strtold
1552   func_module xstrtod
1553   func_module xstrtol
1554   func_module xstrtold
1555   func_end_table
1556
1557   element="Date and time <time.h>"
1558   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1559   func_section_wrap ansic_ext_time_datetime
1560   func_wrap H3
1561   func_echo "$element"
1562
1563   func_begin_table
1564   func_module getdate
1565   func_module timegm
1566   func_module tzset
1567   func_end_table
1568
1569   element="Input/Output <stdio.h>"
1570   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1571   func_section_wrap ansic_ext_stdio
1572   func_wrap H3
1573   func_echo "$element"
1574
1575   func_begin_table
1576   func_module unlocked-io
1577   func_module fwriteerror
1578   func_module vasnprintf
1579   func_module vasprintf
1580   func_module xvasprintf
1581   func_end_table
1582
1583   element="Signal handling <signal.h>"
1584   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1585   func_section_wrap ansic_ext_signal
1586   func_wrap H3
1587   func_echo "$element"
1588
1589   func_begin_table
1590   func_module fatal-signal
1591   func_module raise
1592   func_end_table
1593
1594   element="Command-line arguments"
1595   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1596   func_section_wrap ansic_ext_argv
1597   func_wrap H3
1598   func_echo "$element"
1599
1600   func_begin_table
1601   func_module argmatch
1602   func_module version-etc
1603   func_module version-etc-fsf
1604   func_module long-options
1605   func_end_table
1606
1607   element="Container data structures"
1608   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1609   func_section_wrap ansic_ext_container
1610   func_wrap H3
1611   func_echo "$element"
1612
1613   func_begin_table
1614   func_module list
1615   func_module array-list
1616   func_module carray-list
1617   func_module linked-list
1618   func_module avltree-list
1619   func_module rbtree-list
1620   func_module linkedhash-list
1621   func_module avltreehash-list
1622   func_module rbtreehash-list
1623   func_module oset
1624   func_module array-oset
1625   func_module avltree-oset
1626   func_module rbtree-oset
1627   func_end_table
1628
1629   element="Cryptographic computations"
1630   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1631   func_section_wrap ansic_ext_crypto
1632   func_wrap H3
1633   func_echo "$element"
1634
1635   func_begin_table
1636   func_module md5
1637   func_module sha1
1638   func_end_table
1639
1640   element="Misc"
1641   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1642   func_section_wrap ansic_ext_misc
1643   func_wrap H3
1644   func_echo "$element"
1645
1646   func_begin_table
1647   func_module base64
1648   func_module check-version
1649   func_module diacrit
1650   func_module getline
1651   func_module getdelim
1652   func_module getnline
1653   func_module getndelim2
1654   func_module linebuffer
1655   func_module obstack
1656   func_module hash-pjw
1657   func_module hash
1658   func_module readline
1659   func_module readtokens
1660   func_module readtokens0
1661   func_module strverscmp
1662   func_end_table
1663
1664   element="Support for systems lacking ISO C 99"
1665   func_section_wrap isoc_sup
1666   func_wrap H2
1667   func_echo "$element"
1668
1669   element="Sizes of integer types <limits.h>"
1670   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1671   func_section_wrap isoc_sup_limits
1672   func_wrap H3
1673   func_echo "$element"
1674
1675   func_begin_table
1676   func_module ullong_max
1677   func_module size_max
1678   func_end_table
1679
1680   element="Variable arguments <stdarg.h>"
1681   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1682   func_section_wrap isoc_sup_stdarg
1683   func_wrap H3
1684   func_echo "$element"
1685
1686   func_begin_table
1687   func_module stdarg
1688   func_end_table
1689
1690   element="Boolean type and values <stdbool.h>"
1691   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1692   func_section_wrap isoc_sup_stdbool
1693   func_wrap H3
1694   func_echo "$element"
1695
1696   func_begin_table
1697   func_module stdbool
1698   func_end_table
1699
1700   element="Integer types and values <stdint.h>"
1701   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1702   func_section_wrap isoc_sup_stdint
1703   func_wrap H3
1704   func_echo "$element"
1705
1706   func_begin_table
1707   func_module stdint
1708   func_end_table
1709
1710   element="Input/output <stdio.h>"
1711   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1712   func_section_wrap isoc_sup_stdio
1713   func_wrap H3
1714   func_echo "$element"
1715
1716   func_begin_table
1717   func_module snprintf
1718   func_module vsnprintf
1719   func_end_table
1720
1721   element="Numeric conversion functions <stdlib.h>"
1722   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1723   func_section_wrap isoc_sup_stdlib_conv
1724   func_wrap H3
1725   func_echo "$element"
1726
1727   func_begin_table
1728   func_module strtoll
1729   func_module strtoull
1730   func_end_table
1731
1732   element="Functions for greatest-width integer types <inttypes.h>"
1733   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1734   func_section_wrap isoc_sup_inttypes
1735   func_wrap H3
1736   func_echo "$element"
1737
1738   func_begin_table
1739   func_module strtoimax
1740   func_module strtoumax
1741   func_end_table
1742
1743   element="Mathematics <math.h>"
1744   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1745   func_section_wrap isoc_sup_math
1746   func_wrap H3
1747   func_echo "$element"
1748
1749   func_begin_table
1750   func_module mathl
1751   func_end_table
1752
1753   element="Enhancements for ISO C 99 functions"
1754   func_section_wrap isoc_enh
1755   func_wrap H2
1756   func_echo "$element"
1757
1758   func_begin_table
1759   func_end_table
1760
1761   element="Extra functions based on ISO C 99"
1762   func_section_wrap isoc_ext
1763   func_wrap H2
1764   func_echo "$element"
1765
1766   element="Numeric conversion functions <stdlib.h>"
1767   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1768   func_section_wrap isoc_ext_stdlib_conv
1769   func_wrap H3
1770   func_echo "$element"
1771
1772   func_begin_table
1773   func_module intprops
1774   func_module inttostr
1775   func_module xstrtoimax
1776   func_module xstrtoumax
1777   func_end_table
1778
1779   element="Extended multibyte and wide character utilities <wchar.h>"
1780   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1781   func_section_wrap isoc_ext_wchar_mb
1782   func_wrap H3
1783   func_echo "$element"
1784
1785   func_begin_table
1786   func_module mbchar
1787   func_module mbiter
1788   func_module mbuiter
1789   func_module mbfile
1790   func_end_table
1791
1792   element="Support for systems lacking POSIX:2001"
1793   func_section_wrap posix_sup
1794   func_wrap H2
1795   func_echo "$element"
1796
1797   func_begin_table
1798   func_module chown
1799   func_module dup2
1800   func_module ftruncate
1801   func_module getaddrinfo
1802   func_module getcwd
1803   func_module getgroups
1804   func_module gethostname
1805   func_module getlogin_r
1806   func_module getsubopt
1807   func_module gettimeofday
1808   func_module inet_ntop
1809   func_module inet_pton
1810   func_module mkdir
1811   func_module mkstemp
1812   func_module mkdtemp
1813   func_module poll
1814   func_module readlink
1815   func_module lstat
1816   func_module time_r
1817   func_module timespec
1818   func_module nanosleep
1819   func_module regex
1820   func_module rename
1821   func_module rmdir
1822   func_module ssize_t
1823   func_module strtok_r
1824   func_module sys_stat
1825   func_module unistd
1826   func_module utime
1827   func_module wcwidth
1828   func_end_table
1829
1830   element="Enhancements for POSIX:2001 functions"
1831   func_section_wrap posix_enh
1832   func_wrap H2
1833   func_echo "$element"
1834
1835   func_begin_table
1836   func_module dirname
1837   func_module getopt
1838   func_module unistd-safer
1839   func_module fnmatch
1840   func_module fnmatch-posix
1841   func_module fnmatch-gnu
1842   func_module glob
1843   func_module exclude
1844   func_end_table
1845
1846   element="Extra functions based on POSIX:2001"
1847   func_section_wrap posix_ext
1848   func_wrap H2
1849   func_echo "$element"
1850
1851   element="Numeric conversion functions"
1852   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1853   func_section_wrap posix_ext_conv
1854   func_wrap H3
1855   func_echo "$element"
1856
1857   func_begin_table
1858   func_module human
1859   func_end_table
1860
1861   element="File system functions"
1862   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1863   func_section_wrap posix_ext_filesys
1864   func_wrap H3
1865   func_echo "$element"
1866
1867   func_begin_table
1868   func_module acl
1869   func_module backupfile
1870   func_module canonicalize
1871   func_module clean-temp
1872   func_module copy-file
1873   func_module cycle-check
1874   func_module fsusage
1875   func_module dirfd
1876   func_module euidaccess
1877   func_module file-type
1878   func_module fileblocks
1879   func_module filemode
1880   func_module filenamecat
1881   func_module fts
1882   func_module fts-lgpl
1883   func_module isdir
1884   func_module lchown
1885   func_module mkancesdirs
1886   func_module mkdir-p
1887   func_module modechange
1888   func_module mountlist
1889   func_module pathname
1890   func_module pathmax
1891   func_module same
1892   func_module save-cwd
1893   func_module savedir
1894   func_module stat-time
1895   func_module tmpdir
1896   func_module unlinkdir
1897   func_module utimecmp
1898   func_module utimens
1899   func_module xgetcwd
1900   func_module xreadlink
1901   func_end_table
1902
1903   element="File descriptor based Input/Output"
1904   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1905   func_section_wrap posix_ext_filedesc
1906   func_wrap H3
1907   func_echo "$element"
1908
1909   func_begin_table
1910   func_module fcntl-safer
1911   func_module safe-read
1912   func_module safe-write
1913   func_module full-read
1914   func_module full-write
1915   func_module binary-io
1916   func_end_table
1917
1918   element="File stream based Input/Output"
1919   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1920   func_section_wrap posix_ext_filestream
1921   func_wrap H3
1922   func_echo "$element"
1923
1924   func_begin_table
1925   func_module close-stream
1926   func_module closeout
1927   func_module fopen-safer
1928   func_module fpending
1929   func_module getpass
1930   func_module getpass-gnu
1931   func_module stdlib-safer
1932   func_module tmpfile-safer
1933   func_end_table
1934
1935   element="Users and groups"
1936   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1937   func_section_wrap posix_ext_uidgid
1938   func_wrap H3
1939   func_echo "$element"
1940
1941   func_begin_table
1942   func_module getugroups
1943   func_module group-member
1944   func_module idcache
1945   func_module userspec
1946   func_end_table
1947
1948   element="Date and time"
1949   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1950   func_section_wrap posix_ext_datetime
1951   func_wrap H3
1952   func_echo "$element"
1953
1954   func_begin_table
1955   func_module gettime
1956   func_module settime
1957   func_module posixtm
1958   func_module xnanosleep
1959   func_end_table
1960
1961   element="Networking functions"
1962   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1963   func_section_wrap posix_ext_net
1964   func_wrap H3
1965   func_echo "$element"
1966
1967   func_begin_table
1968   func_module xgethostname
1969   func_module canon-host
1970   func_end_table
1971
1972   element="Multithreading"
1973   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1974   func_section_wrap posix_ext_thread
1975   func_wrap H3
1976   func_echo "$element"
1977
1978   func_begin_table
1979   func_module lock
1980   func_module tls
1981   func_end_table
1982
1983   element="Internationalization functions"
1984   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1985   func_section_wrap posix_ext_i18n
1986   func_wrap H3
1987   func_echo "$element"
1988
1989   func_begin_table
1990   func_module gettext
1991   func_module gettext-h
1992   func_module iconv
1993   func_module iconvme
1994   func_module localcharset
1995   func_module hard-locale
1996   func_module mbswidth
1997   func_module memcasecmp
1998   func_module memcoll
1999   func_module xmemcoll
2000   func_module unicodeio
2001   func_module rpmatch
2002   func_module yesno
2003   func_module ucs4-utf8
2004   func_module ucs4-utf16
2005   func_module utf8-ucs4
2006   func_module utf16-ucs4
2007   func_module linebreak
2008   func_module bison-i18n
2009   func_end_table
2010
2011   element="Executing programs"
2012   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2013   func_section_wrap posix_ext_exec
2014   func_wrap H3
2015   func_echo "$element"
2016
2017   func_begin_table
2018   func_module cloexec
2019   func_module findprog
2020   func_module wait-process
2021   func_module execute
2022   func_module pipe
2023   func_module sh-quote
2024   func_end_table
2025
2026   element="Java"
2027   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2028   func_section_wrap posix_ext_java
2029   func_wrap H3
2030   func_echo "$element"
2031
2032   func_begin_table
2033   func_module classpath
2034   func_module javacomp
2035   func_module javaexec
2036   func_module javaversion
2037   #func_module gcj
2038   func_end_table
2039
2040   element="C#"
2041   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2042   func_section_wrap posix_ext_csharp
2043   func_wrap H3
2044   func_echo "$element"
2045
2046   func_begin_table
2047   func_module csharpcomp
2048   func_module csharpexec
2049   func_end_table
2050
2051   element="Misc"
2052   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2053   func_section_wrap posix_ext_misc
2054   func_wrap H3
2055   func_echo "$element"
2056
2057   func_begin_table
2058   func_module argp
2059   func_module argz
2060   func_module byteswap
2061   func_module exitfail
2062   func_module c-stack
2063   func_module error
2064   func_module extensions
2065   func_module getdomainname
2066   func_module xgetdomainname
2067   func_module getloadavg
2068   func_module getpagesize
2069   func_module getusershell
2070   func_module physmem
2071   func_module posixver
2072   func_module progname
2073   func_module quotearg
2074   func_module quote
2075   func_module readutmp
2076   func_module sig2str
2077   func_module sysexits
2078   func_module verror
2079   func_module visibility
2080   func_end_table
2081
2082   element="Support for building libraries and executables"
2083   func_section_wrap build_lib
2084   func_wrap H2
2085   func_echo "$element"
2086
2087   func_begin_table
2088   func_module ldd
2089   func_module lib-ignore
2090   func_end_table
2091
2092   element="Support for building documentation"
2093   func_section_wrap build_doc
2094   func_wrap H2
2095   func_echo "$element"
2096
2097   func_begin_table
2098   func_module fdl
2099   func_module gendocs
2100   func_end_table
2101 }
2102
2103
2104 echo '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">'
2105 func_begin HTML
2106
2107 func_begin HEAD
2108
2109 element="Gnulib Module List"
2110 func_wrap TITLE
2111 func_echo "$element"
2112
2113 modules=`gnulib-tool --list`
2114 modules=`for m in $modules; do printf "%s, " $m; done | sed -e 's/, $//'`
2115 func_echo '<META NAME="keywords" CONTENT="'"${modules}"'">'
2116
2117 func_end HEAD
2118
2119 func_begin BODY
2120
2121 element="Gnulib Module List"
2122 func_wrap H1
2123 func_echo "$element"
2124
2125 func_echo 'This is a list of the modules which make up gnulib, with dependencies.'
2126
2127 in_toc=yes
2128 func_all_modules
2129
2130 in_toc=
2131 func_all_modules
2132
2133 if test -n "$missed_modules"; then
2134
2135   element="Unclassified modules - please update MODULES.html.sh"
2136   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2137   func_wrap H2
2138   func_echo "$element"
2139
2140   func_begin_table
2141   for module in $missed_modules; do
2142     func_module $module
2143   done
2144   func_end_table
2145
2146 fi
2147
2148 if test -n "$missed_files"; then
2149
2150   element="Lone files - please create new modules containing them"
2151   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2152   func_wrap H2
2153   func_echo "$element"
2154
2155   func_echo '<PRE>'
2156   echo "$missed_files" | sed -e 's,^\(.*\)$,<A HREF="\1">\1</A>,'
2157   echo '</PRE>'
2158
2159 fi
2160
2161 element="Future developments"
2162 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2163 func_wrap H2
2164 func_echo "$element"
2165
2166 func_echo 'Ideally a module could consist of:'
2167 func_begin UL
2168 func_echo '<LI>A header file: lib/<VAR>module</VAR>.h'
2169 func_echo '<LI>One or more implementation files: lib/<VAR>module</VAR>.c et al.'
2170 func_echo '<LI>One or more autoconf macro files: m4/<VAR>module</VAR>.m4 et al.'
2171 func_echo '<LI>A configure.ac fragment, Makefile.am fragment, dependency list: modules/<VAR>module</VAR>'
2172 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'
2173 func_echo '<LI>Some documentation'
2174 func_echo '<LI>A POT file and some PO files'
2175 func_end UL
2176
2177 func_echo '<HR>'
2178 func_echo 'Generated from <CODE>MODULES.html.sh</CODE> on '`LC_ALL=C date +"%e %B %Y"`.
2179
2180 func_end BODY
2181
2182 func_end HTML