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