New module 'memchr2'.
[gnulib.git] / MODULES.html.sh
1 #!/bin/sh
2 #
3 # Copyright (C) 2002-2008 Free Software Foundation, Inc.
4 #
5 # This program is free software: you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; either version 3 of the License, or
8 # (at your option) any later version.
9 #
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 # GNU General Public License for more details.
14 #
15 # You should have received a copy of the GNU General Public License
16 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
17 #
18
19 # Usage: MODULES.html.sh [--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     # Rendering the description:
1410     # - Change the symbol() syntax as suitable for documentation, removing the
1411     #   parentheses (as per GNU standards, section "GNU Manuals").
1412     # - Flag the remaining symbol() constructs as errors.
1413     # - Change 'xxx' to <CODE>xxx</CODE>.
1414     element=`gnulib-tool --extract-description $1 \
1415              | sed -e "$sed_lt" -e "$sed_gt" -e "$sed_remove_trailing_empty_line" \
1416                    -e 's,^, ,' -e 's,$, ,' \
1417                    -e 's,\([^a-zA-Z_]\)'"${posix_functions}"'() \(function\|macro\),\1<A HREF="'"$POSIX2001_URL"'xsh/\2.html">\2</A> \3,g' \
1418                    -e 's,\([^a-zA-Z_]\)'"${posix_functions}"' \(function\|macro\),\1<A HREF="'"$POSIX2001_URL"'xsh/\2.html">\2</A> \3,g' \
1419                    -e 's,\([^a-zA-Z_]\)'"${posix_functions}"'(),\1<A HREF="'"$POSIX2001_URL"'xsh/\2.html">\2</A> <SPAN STYLE="color:#FF0000;">what?? If you mean a function\, please say so.</SPAN>,g' \
1420                    -e 's,\([^a-zA-Z_]\)\([a-zA-Z_][a-zA-Z0-9_]*\)() \(function\|macro\),\1\2 \3,g' \
1421                    -e 's,\([^a-zA-Z_]\)\([a-zA-Z_][a-zA-Z0-9_]*\)(),\1\2 <SPAN STYLE="color:#FF0000;">what?? If you mean a function\, please say so.</SPAN>,g' \
1422                    -e 's, '"'"'\([a-zA-Z0-9_ -]*\)'"'"'\([^a-zA-Z0-9_]\), <CODE>\1</CODE>\2,g' \
1423                    -e 's,^ ,,' -e 's, $,,'`
1424     func_echo "<TD ALIGN=LEFT VALIGN=TOP WIDTH=\"80%\">$element"
1425
1426     func_end TR
1427
1428   else
1429
1430     func_begin TR
1431
1432     element='<A NAME="module='$1'"></A><A HREF="'$repo_url_prefix'modules/'$1$repo_url_suffix'">'$1'</A>'
1433     func_echo "<TD ALIGN=LEFT VALIGN=TOP>$element"
1434
1435     includes=`gnulib-tool --extract-include-directive $1`
1436     files=`gnulib-tool --extract-filelist $1 \
1437            | grep -v '^m4/gnulib-common\.m4$'`
1438     element=`echo "$includes" \
1439              | sed -e "$sed_lt" -e "$sed_gt" -e "$sed_remove_trailing_empty_line" \
1440                    -e 's,^#include "\(.*\)"$,#include "<A HREF="'$repo_url_prefix'lib/\1'$repo_url_suffix_repl'">\1</A>",' \
1441                    -e 's,^#include &lt;'"${posix_headers}"'\.h&gt;$,#include \&lt;<A HREF="'"$POSIX2001_URL"'xbd/\1.h.html">\1.h</A>\&gt;,' \
1442                    -e 's/$/<BR>/' | tr -d "$trnl" | sed -e 's/<BR>$//'`
1443     test -n "$element" || element='---'
1444     func_echo "<TD ALIGN=LEFT VALIGN=TOP>$element"
1445
1446     sed_choose_unconditional_nonstandard_include='s,^#include "\(.*\)"$,\1,p'
1447     includefile=`echo "$includes" \
1448                  | sed -n -e "$sed_choose_unconditional_nonstandard_include" \
1449                  | sed -e "$sed_escape_dot" | tr -d "$trnl"`
1450     sed_choose_lib_files='s,^lib/\(.*\)$,\1,p'
1451     element=`echo "$files" \
1452              | sed -e '/^$/d' \
1453              | sed -n -e "$sed_choose_lib_files" \
1454              | sed -e '\|^'"${includefile}"'$|d' \
1455                    -e 's,^\(.*\)$,<A HREF="'$repo_url_prefix'lib/\1'$repo_url_suffix_repl'">\1</A>,' \
1456                    -e 's/$/<BR>/' | tr -d "$trnl" | sed -e 's/<BR>$//'`
1457     test -n "$element" || element='---'
1458     func_echo "<TD ALIGN=LEFT VALIGN=TOP>$element"
1459
1460     sed_choose_m4_files='s,^m4/\(.*\)$,\1,p'
1461     element=`(echo "$files" \
1462               | sed -e "$sed_remove_trailing_empty_line" \
1463               | sed -n -e "$sed_choose_m4_files" \
1464               | sed -e '/^onceonly/d' \
1465                     -e 's,^\(.*\)$,<A HREF="'$repo_url_prefix'm4/\1'$repo_url_suffix_repl'">\1</A>,'; \
1466               gnulib-tool --extract-autoconf-snippet $1 \
1467               | sed -e "$sed_remove_trailing_empty_line") \
1468               | sed -e 's/$/<BR>/' | tr -d "$trnl" | sed -e 's/<BR>$//'`
1469     test -n "$element" || element='---'
1470     func_echo "<TD ALIGN=LEFT VALIGN=TOP>$element"
1471
1472     element=`gnulib-tool --extract-dependencies $1 \
1473              | sed -e "$sed_remove_trailing_empty_line" \
1474                    -e 's/$/<BR>/' | tr -d "$trnl" | sed -e 's/<BR>$//'`
1475     test -n "$element" || element='---'
1476     func_echo "<TD ALIGN=LEFT VALIGN=TOP>$element"
1477
1478     func_end TR
1479
1480     func_append seen_modules " $1"
1481     func_append seen_files " $files"
1482   fi
1483 }
1484
1485 # func_end_table
1486 func_end_table ()
1487 {
1488   func_end TABLE
1489 }
1490
1491 # func_all_modules
1492 func_all_modules ()
1493 {
1494   element="Support for systems lacking ANSI C 89"
1495   func_section_wrap ansic_sup
1496   func_wrap H2
1497   func_echo "$element"
1498
1499   func_begin_table
1500   func_module stdlib
1501   func_module exit
1502   func_module atexit
1503   func_module strtod
1504   func_module strtol
1505   func_module strtoul
1506   func_module memchr
1507   func_module memcmp
1508   func_module memcpy
1509   func_module memmove
1510   func_module memset
1511   func_module strcspn
1512   func_module strpbrk
1513   func_module strerror
1514   func_module mktime
1515   func_end_table
1516
1517   func_echo 'Most of these modules are not listed among dependencies below, for simplicity.'
1518
1519   element="Enhancements for ANSI C 89 functions"
1520   func_section_wrap ansic_enh
1521   func_wrap H2
1522   func_echo "$element"
1523
1524   element="Diagnostics <assert.h>"
1525   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1526   func_section_wrap ansic_enh_assert_diagnostics
1527   func_wrap H3
1528   func_echo "$element"
1529
1530   func_begin_table
1531   func_module assert
1532   func_module verify
1533   func_end_table
1534
1535   element="Mathematics <math.h>"
1536   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1537   func_section_wrap ansic_enh_math
1538   func_wrap H3
1539   func_echo "$element"
1540
1541   func_begin_table
1542   func_module fpieee
1543   func_end_table
1544
1545   element="Input/output <stdio.h>"
1546   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1547   func_section_wrap ansic_enh_stdio
1548   func_wrap H3
1549   func_echo "$element"
1550
1551   func_begin_table
1552   func_module fflush
1553   func_module fseterr
1554   func_module tmpfile
1555   func_end_table
1556
1557   element="Memory management functions <stdlib.h>"
1558   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1559   func_section_wrap ansic_enh_stdlib_memory
1560   func_wrap H3
1561   func_echo "$element"
1562
1563   func_begin_table
1564   func_module calloc
1565   func_module eealloc
1566   func_module free
1567   func_module malloc
1568   func_module realloc
1569   func_module pagealign_alloc
1570   func_end_table
1571
1572   element="Sorting functions <stdlib.h>"
1573   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1574   func_section_wrap ansic_enh_stdlib_sorting
1575   func_wrap H3
1576   func_echo "$element"
1577
1578   func_begin_table
1579   func_module mpsort
1580   func_end_table
1581
1582   element="Date and time <time.h>"
1583   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1584   func_section_wrap ansic_enh_time_datetime
1585   func_wrap H3
1586   func_echo "$element"
1587
1588   func_begin_table
1589   func_module fprintftime
1590   func_module strftime
1591   func_end_table
1592
1593   element="Extra functions based on ANSI C 89"
1594   func_section_wrap ansic_ext
1595   func_wrap H2
1596   func_echo "$element"
1597
1598   element="Memory management functions <stdlib.h>"
1599   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1600   func_section_wrap ansic_ext_stdlib_memory
1601   func_wrap H3
1602   func_echo "$element"
1603
1604   func_begin_table
1605   func_module xsize
1606   func_module xalloc
1607   func_module xalloc-die
1608   func_module alloca
1609   func_module alloca-opt
1610   func_module malloca
1611   func_module xmalloca
1612   func_end_table
1613
1614   element="Integer arithmetic functions <stdlib.h>"
1615   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1616   func_section_wrap ansic_ext_stdlib_arith
1617   func_wrap H3
1618   func_echo "$element"
1619
1620   func_begin_table
1621   func_module count-one-bits
1622   func_module gcd
1623   func_module minmax
1624   func_end_table
1625
1626   element="Environment variables <stdlib.h>"
1627   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1628   func_section_wrap ansic_ext_stdlib_env
1629   func_wrap H3
1630   func_echo "$element"
1631
1632   func_begin_table
1633   func_module putenv
1634   func_module setenv
1635   func_module xsetenv
1636   func_end_table
1637
1638   element="Character handling <ctype.h>"
1639   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1640   func_section_wrap ansic_ext_ctype
1641   func_wrap H3
1642   func_echo "$element"
1643
1644   func_begin_table
1645   func_module c-ctype
1646   func_end_table
1647
1648   element="String handling <string.h>"
1649   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1650   func_section_wrap ansic_ext_string
1651   func_wrap H3
1652   func_echo "$element"
1653
1654   func_begin_table
1655   func_module bcopy
1656   func_module memchr2
1657   func_module memmem
1658   func_module memmem-simple
1659   func_module mempcpy
1660   func_module memrchr
1661   func_module stpcpy
1662   func_module stpncpy
1663   func_module c-strcase
1664   func_module strcase
1665   func_module c-strcaseeq
1666   func_module c-strcasestr
1667   func_module strcasestr
1668   func_module strcasestr-simple
1669   func_module strchrnul
1670   func_module strdup
1671   func_module streq
1672   func_module strnlen
1673   func_module strnlen1
1674   func_module strndup
1675   func_module strsep
1676   func_module strstr
1677   func_module c-strstr
1678   func_module trim
1679   func_module fstrcmp
1680   func_module xstrndup
1681   func_end_table
1682
1683   element="Mathematics <math.h>"
1684   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1685   func_section_wrap ansic_ext_math
1686   func_wrap H3
1687   func_echo "$element"
1688
1689   func_begin_table
1690   func_module printf-frexp
1691   func_end_table
1692
1693   element="Numeric conversion functions <stdlib.h>"
1694   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1695   func_section_wrap ansic_ext_stdlib_conv
1696   func_wrap H3
1697   func_echo "$element"
1698
1699   func_begin_table
1700   func_module c-strtod
1701   func_module c-strtold
1702   func_module xstrtod
1703   func_module xstrtol
1704   func_module xstrtold
1705   func_end_table
1706
1707   element="Date and time <time.h>"
1708   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1709   func_section_wrap ansic_ext_time_datetime
1710   func_wrap H3
1711   func_echo "$element"
1712
1713   func_begin_table
1714   func_module getdate
1715   func_module timegm
1716   func_module tzset
1717   func_end_table
1718
1719   element="Input/Output <stdio.h>"
1720   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1721   func_section_wrap ansic_ext_stdio
1722   func_wrap H3
1723   func_echo "$element"
1724
1725   func_begin_table
1726   func_module unlocked-io
1727   func_module fwriteerror
1728   func_module vasnprintf
1729   func_module vasprintf
1730   func_module xvasprintf
1731   func_end_table
1732
1733   element="Signal handling <signal.h>"
1734   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1735   func_section_wrap ansic_ext_signal
1736   func_wrap H3
1737   func_echo "$element"
1738
1739   func_begin_table
1740   func_module fatal-signal
1741   func_module raise
1742   func_end_table
1743
1744   element="Command-line arguments"
1745   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1746   func_section_wrap ansic_ext_argv
1747   func_wrap H3
1748   func_echo "$element"
1749
1750   func_begin_table
1751   func_module argmatch
1752   func_module version-etc
1753   func_module version-etc-fsf
1754   func_module long-options
1755   func_end_table
1756
1757   element="Container data structures"
1758   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1759   func_section_wrap ansic_ext_container
1760   func_wrap H3
1761   func_echo "$element"
1762
1763   func_begin_table
1764   func_module list
1765   func_module array-list
1766   func_module carray-list
1767   func_module linked-list
1768   func_module avltree-list
1769   func_module rbtree-list
1770   func_module linkedhash-list
1771   func_module avltreehash-list
1772   func_module rbtreehash-list
1773   func_module sublist
1774   func_module oset
1775   func_module array-oset
1776   func_module avltree-oset
1777   func_module rbtree-oset
1778   func_end_table
1779
1780   element="Cryptographic computations (low-level)"
1781   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1782   func_section_wrap ansic_ext_crypto
1783   func_wrap H3
1784   func_echo "$element"
1785
1786   func_begin_table
1787   func_module crypto/arcfour
1788   func_module crypto/arctwo
1789   func_module crypto/des
1790   func_module crypto/hmac-md5
1791   func_module crypto/hmac-sha1
1792   func_module crypto/md2
1793   func_module crypto/md4
1794   func_module crypto/md5
1795   func_module crypto/rijndael
1796   func_module crypto/sha1
1797   func_end_table
1798
1799   element="Cryptographic computations (high-level)"
1800   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1801   func_section_wrap ansic_ext_crypto2
1802   func_wrap H3
1803   func_echo "$element"
1804
1805   func_begin_table
1806   func_module crypto/gc
1807   func_module crypto/gc-arcfour
1808   func_module crypto/gc-arctwo
1809   func_module crypto/gc-des
1810   func_module crypto/gc-hmac-md5
1811   func_module crypto/gc-hmac-sha1
1812   func_module crypto/gc-md2
1813   func_module crypto/gc-md4
1814   func_module crypto/gc-md5
1815   func_module crypto/gc-pbkdf2-sha1
1816   func_module crypto/gc-random
1817   func_module crypto/gc-rijndael
1818   func_module crypto/gc-sha1
1819   func_end_table
1820
1821   element="Misc"
1822   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1823   func_section_wrap ansic_ext_misc
1824   func_wrap H3
1825   func_echo "$element"
1826
1827   func_begin_table
1828   func_module base64
1829   func_module check-version
1830   func_module crc
1831   func_module diacrit
1832   func_module diffseq
1833   func_module getline
1834   func_module getdelim
1835   func_module getnline
1836   func_module getndelim2
1837   func_module linebuffer
1838   func_module memxor
1839   func_module obstack
1840   func_module hash-pjw
1841   func_module hash
1842   func_module readline
1843   func_module readtokens
1844   func_module readtokens0
1845   func_module strverscmp
1846   func_end_table
1847
1848   element="Support for systems lacking ISO C 99"
1849   func_section_wrap isoc_sup
1850   func_wrap H2
1851   func_echo "$element"
1852
1853   element="Core language properties"
1854   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1855   func_section_wrap isoc_core_properties
1856   func_wrap H3
1857   func_echo "$element"
1858
1859   func_begin_table
1860   func_module flexmember
1861   func_module fpucw
1862   func_module inline
1863   func_module vararrays
1864   func_end_table
1865
1866   element="Sizes of integer types <limits.h>"
1867   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1868   func_section_wrap isoc_sup_limits
1869   func_wrap H3
1870   func_echo "$element"
1871
1872   func_begin_table
1873   func_module size_max
1874   func_end_table
1875
1876   element="Variable arguments <stdarg.h>"
1877   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1878   func_section_wrap isoc_sup_stdarg
1879   func_wrap H3
1880   func_echo "$element"
1881
1882   func_begin_table
1883   func_module stdarg
1884   func_end_table
1885
1886   element="Boolean type and values <stdbool.h>"
1887   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1888   func_section_wrap isoc_sup_stdbool
1889   func_wrap H3
1890   func_echo "$element"
1891
1892   func_begin_table
1893   func_module stdbool
1894   func_end_table
1895
1896   element="Integer types and values <stdint.h>"
1897   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1898   func_section_wrap isoc_sup_stdint
1899   func_wrap H3
1900   func_echo "$element"
1901
1902   func_begin_table
1903   func_module stdint
1904   func_end_table
1905
1906   element="Input/output <stdio.h>"
1907   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1908   func_section_wrap isoc_sup_stdio
1909   func_wrap H3
1910   func_echo "$element"
1911
1912   func_begin_table
1913   func_module stdio
1914   func_module snprintf
1915   func_module vsnprintf
1916   func_end_table
1917
1918   element="Numeric conversion functions <stdlib.h>"
1919   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1920   func_section_wrap isoc_sup_stdlib_conv
1921   func_wrap H3
1922   func_echo "$element"
1923
1924   func_begin_table
1925   func_module strtoll
1926   func_module strtoull
1927   func_end_table
1928
1929   element="Functions for greatest-width integer types <inttypes.h>"
1930   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1931   func_section_wrap isoc_sup_inttypes
1932   func_wrap H3
1933   func_echo "$element"
1934
1935   func_begin_table
1936   func_module imaxabs
1937   func_module imaxdiv
1938   func_module inttypes
1939   func_module strtoimax
1940   func_module strtoumax
1941   func_end_table
1942
1943   element="Extended multibyte and wide character utilities <wchar.h>"
1944   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1945   func_section_wrap isoc_sup_wchar
1946   func_wrap H3
1947   func_echo "$element"
1948
1949   func_begin_table
1950   func_module wchar
1951   func_end_table
1952
1953   element="Wide character classification and mapping utilities <wctype.h>"
1954   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1955   func_section_wrap isoc_sup_wctype
1956   func_wrap H3
1957   func_echo "$element"
1958
1959   func_begin_table
1960   func_module wctype
1961   func_end_table
1962
1963   element="Characteristics of floating types <float.h>"
1964   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1965   func_section_wrap isoc_sup_float
1966   func_wrap H3
1967   func_echo "$element"
1968
1969   func_begin_table
1970   func_module float
1971   func_end_table
1972
1973   element="Mathematics <math.h>"
1974   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
1975   func_section_wrap isoc_sup_math
1976   func_wrap H3
1977   func_echo "$element"
1978
1979   func_begin_table
1980   func_module ceilf
1981   func_module ceill
1982   func_module floorf
1983   func_module floorl
1984   func_module frexp
1985   func_module frexpl
1986   func_module frexpl-nolibm
1987   func_module isfinite
1988   func_module isnanf-nolibm
1989   func_module isnand-nolibm
1990   func_module isnanl
1991   func_module isnanl-nolibm
1992   func_module ldexpl
1993   func_module math
1994   func_module mathl
1995   func_module round
1996   func_module roundf
1997   func_module roundl
1998   func_module signbit
1999   func_module trunc
2000   func_module truncf
2001   func_module truncl
2002   func_end_table
2003
2004   element="Enhancements for ISO C 99 functions"
2005   func_section_wrap isoc_enh
2006   func_wrap H2
2007   func_echo "$element"
2008
2009   element="Input/output <stdio.h>"
2010   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2011   func_section_wrap isoc_enh_stdio
2012   func_wrap H3
2013   func_echo "$element"
2014
2015   func_begin_table
2016   func_module printf-safe
2017   func_end_table
2018
2019   element="Extra functions based on ISO C 99"
2020   func_section_wrap isoc_ext
2021   func_wrap H2
2022   func_echo "$element"
2023
2024   element="Mathematics <math.h>"
2025   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2026   func_section_wrap isoc_ext_math
2027   func_wrap H3
2028   func_echo "$element"
2029
2030   func_begin_table
2031   func_module printf-frexpl
2032   func_end_table
2033
2034   element="Numeric conversion functions <stdlib.h>"
2035   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2036   func_section_wrap isoc_ext_stdlib_conv
2037   func_wrap H3
2038   func_echo "$element"
2039
2040   func_begin_table
2041   func_module intprops
2042   func_module inttostr
2043   func_module xstrtoimax
2044   func_module xstrtoumax
2045   func_end_table
2046
2047   element="Extended multibyte and wide character utilities <wchar.h>"
2048   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2049   func_section_wrap isoc_ext_wchar_mb
2050   func_wrap H3
2051   func_echo "$element"
2052
2053   func_begin_table
2054   func_module mbchar
2055   func_module mbiter
2056   func_module mbuiter
2057   func_module mbfile
2058   func_end_table
2059
2060   element="Support for systems lacking POSIX:2001"
2061   func_section_wrap posix_sup
2062   func_wrap H2
2063   func_echo "$element"
2064
2065   func_begin_table
2066   func_module arpa_inet
2067   func_module calloc-posix
2068   func_module chown
2069   func_module dup2
2070   func_module fchdir
2071   func_module fcntl
2072   func_module fopen
2073   func_module fprintf-posix
2074   func_module freopen
2075   func_module fseek
2076   func_module fseeko
2077   func_module ftell
2078   func_module ftello
2079   func_module ftruncate
2080   func_module getaddrinfo
2081   func_module getcwd
2082   func_module getgroups
2083   func_module gethostname
2084   func_module getlogin_r
2085   func_module getsubopt
2086   func_module gettimeofday
2087   func_module iconv_open
2088   func_module inet_ntop
2089   func_module inet_pton
2090   func_module locale
2091   func_module lseek
2092   func_module lstat
2093   func_module malloc-posix
2094   func_module mkdir
2095   func_module mkdtemp
2096   func_module mkstemp
2097   func_module netinet_in
2098   func_module open
2099   func_module poll
2100   func_module printf-posix
2101   func_module readlink
2102   func_module realloc-posix
2103   func_module signal
2104   func_module sleep
2105   func_module snprintf-posix
2106   func_module sprintf-posix
2107   func_module string
2108   func_module tempname
2109   func_module time
2110   func_module time_r
2111   func_module timespec
2112   func_module nanosleep
2113   func_module regex
2114   func_module rename
2115   func_module rmdir
2116   func_module search
2117   func_module sigprocmask
2118   func_module socklen
2119   func_module ssize_t
2120   func_module strptime
2121   func_module strtok_r
2122   func_module sys_select
2123   func_module sys_socket
2124   func_module sys_stat
2125   func_module sys_time
2126   func_module tsearch
2127   func_module unistd
2128   func_module utime
2129   func_module vasnprintf-posix
2130   func_module vasprintf-posix
2131   func_module vfprintf-posix
2132   func_module vprintf-posix
2133   func_module vsnprintf-posix
2134   func_module vsprintf-posix
2135   func_module wcwidth
2136   func_end_table
2137
2138   element="Compatibility checks for POSIX:2001 functions"
2139   func_section_wrap posix_compat
2140   func_wrap H2
2141   func_echo "$element"
2142
2143   func_begin_table
2144   func_module clock-time
2145   func_module d-ino
2146   func_module d-type
2147   func_module link-follow
2148   func_module rename-dest-slash
2149   func_module rmdir-errno
2150   func_module unlink-busy
2151   func_module winsz-ioctl
2152   func_module winsz-termios
2153   func_end_table
2154
2155   element="Enhancements for POSIX:2001 functions"
2156   func_section_wrap posix_enh
2157   func_wrap H2
2158   func_echo "$element"
2159
2160   func_begin_table
2161   func_module chdir-long
2162   func_module dirname
2163   func_module getopt
2164   func_module unistd-safer
2165   func_module fnmatch
2166   func_module fnmatch-posix
2167   func_module fnmatch-gnu
2168   func_module glob
2169   func_module exclude
2170   func_end_table
2171
2172   element="Extra functions based on POSIX:2001"
2173   func_section_wrap posix_ext
2174   func_wrap H2
2175   func_echo "$element"
2176
2177   element="Numeric conversion functions"
2178   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2179   func_section_wrap posix_ext_conv
2180   func_wrap H3
2181   func_echo "$element"
2182
2183   func_begin_table
2184   func_module human
2185   func_end_table
2186
2187   element="File system functions"
2188   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2189   func_section_wrap posix_ext_filesys
2190   func_wrap H3
2191   func_echo "$element"
2192
2193   func_begin_table
2194   func_module acl
2195   func_module areadlink
2196   func_module areadlink-with-size
2197   func_module backupfile
2198   func_module canonicalize
2199   func_module canonicalize-lgpl
2200   func_module chdir-safer
2201   func_module clean-temp
2202   func_module copy-file
2203   func_module fsusage
2204   func_module dirfd
2205   func_module double-slash-root
2206   func_module euidaccess
2207   func_module file-type
2208   func_module fileblocks
2209   func_module filemode
2210   func_module filename
2211   func_module filenamecat
2212   func_module fts
2213   func_module fts-lgpl
2214   func_module isdir
2215   func_module lchmod
2216   func_module lchown
2217   func_module mkancesdirs
2218   func_module mkdir-p
2219   func_module modechange
2220   func_module mountlist
2221   func_module openat
2222   func_module pathmax
2223   func_module read-file
2224   func_module same
2225   func_module save-cwd
2226   func_module savedir
2227   func_module savewd
2228   func_module stat-time
2229   func_module tmpdir
2230   func_module unlinkdir
2231   func_module utimecmp
2232   func_module utimens
2233   func_module write-any-file
2234   func_module xgetcwd
2235   func_module xreadlink
2236   func_end_table
2237
2238   element="File system as inode set"
2239   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2240   func_section_wrap posix_ext_inodeset
2241   func_wrap H3
2242   func_echo "$element"
2243
2244   func_begin_table
2245   func_module cycle-check
2246   func_module dev-ino
2247   func_module file-set
2248   func_module hash-triple
2249   func_module i-ring
2250   func_module same-inode
2251   func_end_table
2252
2253   element="File descriptor based Input/Output"
2254   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2255   func_section_wrap posix_ext_filedesc
2256   func_wrap H3
2257   func_echo "$element"
2258
2259   func_begin_table
2260   func_module fcntl-safer
2261   func_module safe-read
2262   func_module safe-write
2263   func_module full-read
2264   func_module full-write
2265   func_module binary-io
2266   func_module isapipe
2267   func_end_table
2268
2269   element="File stream based Input/Output"
2270   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2271   func_section_wrap posix_ext_filestream
2272   func_wrap H3
2273   func_echo "$element"
2274
2275   func_begin_table
2276   func_module close-stream
2277   func_module closein
2278   func_module closeout
2279   func_module fbufmode
2280   func_module fopen-safer
2281   func_module fpending
2282   func_module fpurge
2283   func_module freadable
2284   func_module freadahead
2285   func_module freading
2286   func_module freadptr
2287   func_module freadseek
2288   func_module fwritable
2289   func_module fwriting
2290   func_module getpass
2291   func_module getpass-gnu
2292   func_module stdlib-safer
2293   func_module tmpfile-safer
2294   func_end_table
2295
2296   element="Users and groups"
2297   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2298   func_section_wrap posix_ext_uidgid
2299   func_wrap H3
2300   func_echo "$element"
2301
2302   func_begin_table
2303   func_module getugroups
2304   func_module group-member
2305   func_module idcache
2306   func_module userspec
2307   func_end_table
2308
2309   element="Date and time"
2310   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2311   func_section_wrap posix_ext_datetime
2312   func_wrap H3
2313   func_echo "$element"
2314
2315   func_begin_table
2316   func_module gethrxtime
2317   func_module gettime
2318   func_module settime
2319   func_module posixtm
2320   func_module xnanosleep
2321   func_end_table
2322
2323   element="Networking functions"
2324   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2325   func_section_wrap posix_ext_net
2326   func_wrap H3
2327   func_echo "$element"
2328
2329   func_begin_table
2330   func_module xgethostname
2331   func_module canon-host
2332   func_end_table
2333
2334   element="Multithreading"
2335   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2336   func_section_wrap posix_ext_thread
2337   func_wrap H3
2338   func_echo "$element"
2339
2340   func_begin_table
2341   func_module lock
2342   func_module tls
2343   func_module openmp
2344   func_end_table
2345
2346   element="Internationalization functions"
2347   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2348   func_section_wrap posix_ext_i18n
2349   func_wrap H3
2350   func_echo "$element"
2351
2352   func_begin_table
2353   func_module gettext
2354   func_module gettext-h
2355   func_module iconv
2356   func_module striconv
2357   func_module xstriconv
2358   func_module striconveh
2359   func_module striconveha
2360   func_module localcharset
2361   func_module hard-locale
2362   func_module localename
2363   func_module mbslen
2364   func_module mbsnlen
2365   func_module mbschr
2366   func_module mbsrchr
2367   func_module mbsstr
2368   func_module mbscasecmp
2369   func_module mbsncasecmp
2370   func_module mbspcasecmp
2371   func_module mbscasestr
2372   func_module mbscspn
2373   func_module mbspbrk
2374   func_module mbsspn
2375   func_module mbssep
2376   func_module mbstok_r
2377   func_module mbswidth
2378   func_module memcasecmp
2379   func_module memcoll
2380   func_module xmemcoll
2381   func_module unicodeio
2382   func_module rpmatch
2383   func_module yesno
2384   func_module linebreak
2385   func_module bison-i18n
2386   func_end_table
2387
2388   element="Unicode string functions"
2389   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2390   func_section_wrap posix_ext_unicode
2391   func_wrap H3
2392   func_echo "$element"
2393
2394   func_begin_table
2395   func_module unitypes
2396   func_module ucs4-utf8
2397   func_module ucs4-utf16
2398   func_module utf8-ucs4-unsafe
2399   func_module utf16-ucs4-unsafe
2400   func_module utf8-ucs4
2401   func_module utf16-ucs4
2402   func_module unistr/base
2403   func_module unistr/u8-to-u16
2404   func_module unistr/u8-to-u32
2405   func_module unistr/u16-to-u8
2406   func_module unistr/u16-to-u32
2407   func_module unistr/u32-to-u8
2408   func_module unistr/u32-to-u16
2409   func_module unistr/u8-check
2410   func_module unistr/u16-check
2411   func_module unistr/u32-check
2412   func_module unistr/u8-chr
2413   func_module unistr/u16-chr
2414   func_module unistr/u32-chr
2415   func_module unistr/u8-cmp
2416   func_module unistr/u16-cmp
2417   func_module unistr/u32-cmp
2418   func_module unistr/u8-cpy
2419   func_module unistr/u16-cpy
2420   func_module unistr/u32-cpy
2421   func_module unistr/u8-cpy-alloc
2422   func_module unistr/u16-cpy-alloc
2423   func_module unistr/u32-cpy-alloc
2424   func_module unistr/u8-endswith
2425   func_module unistr/u16-endswith
2426   func_module unistr/u32-endswith
2427   func_module unistr/u8-mblen
2428   func_module unistr/u16-mblen
2429   func_module unistr/u32-mblen
2430   func_module unistr/u8-mbsnlen
2431   func_module unistr/u16-mbsnlen
2432   func_module unistr/u32-mbsnlen
2433   func_module unistr/u8-mbtouc-unsafe
2434   func_module unistr/u16-mbtouc-unsafe
2435   func_module unistr/u32-mbtouc-unsafe
2436   func_module unistr/u8-mbtouc
2437   func_module unistr/u16-mbtouc
2438   func_module unistr/u32-mbtouc
2439   func_module unistr/u8-mbtoucr
2440   func_module unistr/u16-mbtoucr
2441   func_module unistr/u32-mbtoucr
2442   func_module unistr/u8-move
2443   func_module unistr/u16-move
2444   func_module unistr/u32-move
2445   func_module unistr/u8-next
2446   func_module unistr/u16-next
2447   func_module unistr/u32-next
2448   func_module unistr/u8-prev
2449   func_module unistr/u16-prev
2450   func_module unistr/u32-prev
2451   func_module unistr/u8-set
2452   func_module unistr/u16-set
2453   func_module unistr/u32-set
2454   func_module unistr/u8-startswith
2455   func_module unistr/u16-startswith
2456   func_module unistr/u32-startswith
2457   func_module unistr/u8-stpcpy
2458   func_module unistr/u16-stpcpy
2459   func_module unistr/u32-stpcpy
2460   func_module unistr/u8-stpncpy
2461   func_module unistr/u16-stpncpy
2462   func_module unistr/u32-stpncpy
2463   func_module unistr/u8-strcat
2464   func_module unistr/u16-strcat
2465   func_module unistr/u32-strcat
2466   func_module unistr/u8-strchr
2467   func_module unistr/u16-strchr
2468   func_module unistr/u32-strchr
2469   func_module unistr/u8-strcmp
2470   func_module unistr/u16-strcmp
2471   func_module unistr/u32-strcmp
2472   func_module unistr/u8-strcpy
2473   func_module unistr/u16-strcpy
2474   func_module unistr/u32-strcpy
2475   func_module unistr/u8-strcspn
2476   func_module unistr/u16-strcspn
2477   func_module unistr/u32-strcspn
2478   func_module unistr/u8-strdup
2479   func_module unistr/u16-strdup
2480   func_module unistr/u32-strdup
2481   func_module unistr/u8-strlen
2482   func_module unistr/u16-strlen
2483   func_module unistr/u32-strlen
2484   func_module unistr/u8-strmblen
2485   func_module unistr/u16-strmblen
2486   func_module unistr/u32-strmblen
2487   func_module unistr/u8-strmbtouc
2488   func_module unistr/u16-strmbtouc
2489   func_module unistr/u32-strmbtouc
2490   func_module unistr/u8-strncat
2491   func_module unistr/u16-strncat
2492   func_module unistr/u32-strncat
2493   func_module unistr/u8-strncmp
2494   func_module unistr/u16-strncmp
2495   func_module unistr/u32-strncmp
2496   func_module unistr/u8-strncpy
2497   func_module unistr/u16-strncpy
2498   func_module unistr/u32-strncpy
2499   func_module unistr/u8-strnlen
2500   func_module unistr/u16-strnlen
2501   func_module unistr/u32-strnlen
2502   func_module unistr/u8-strpbrk
2503   func_module unistr/u16-strpbrk
2504   func_module unistr/u32-strpbrk
2505   func_module unistr/u8-strrchr
2506   func_module unistr/u16-strrchr
2507   func_module unistr/u32-strrchr
2508   func_module unistr/u8-strspn
2509   func_module unistr/u16-strspn
2510   func_module unistr/u32-strspn
2511   func_module unistr/u8-strstr
2512   func_module unistr/u16-strstr
2513   func_module unistr/u32-strstr
2514   func_module unistr/u8-strtok
2515   func_module unistr/u16-strtok
2516   func_module unistr/u32-strtok
2517   func_module unistr/u8-uctomb
2518   func_module unistr/u16-uctomb
2519   func_module unistr/u32-uctomb
2520   func_module uniconv/base
2521   func_module uniconv/u8-conv-from-enc
2522   func_module uniconv/u16-conv-from-enc
2523   func_module uniconv/u32-conv-from-enc
2524   func_module uniconv/u8-conv-to-enc
2525   func_module uniconv/u16-conv-to-enc
2526   func_module uniconv/u32-conv-to-enc
2527   func_module uniconv/u8-strconv-from-enc
2528   func_module uniconv/u16-strconv-from-enc
2529   func_module uniconv/u32-strconv-from-enc
2530   func_module uniconv/u8-strconv-to-enc
2531   func_module uniconv/u16-strconv-to-enc
2532   func_module uniconv/u32-strconv-to-enc
2533   func_module uniconv/u8-strconv-from-locale
2534   func_module uniconv/u16-strconv-from-locale
2535   func_module uniconv/u32-strconv-from-locale
2536   func_module uniconv/u8-strconv-to-locale
2537   func_module uniconv/u16-strconv-to-locale
2538   func_module uniconv/u32-strconv-to-locale
2539   func_module unistdio/base
2540   func_module unistdio/u-printf-args
2541   func_module unistdio/ulc-asnprintf
2542   func_module unistdio/ulc-asprintf
2543   func_module unistdio/ulc-fprintf
2544   func_module unistdio/ulc-printf-parse
2545   func_module unistdio/ulc-snprintf
2546   func_module unistdio/ulc-sprintf
2547   func_module unistdio/ulc-vasnprintf
2548   func_module unistdio/ulc-vasprintf
2549   func_module unistdio/ulc-vfprintf
2550   func_module unistdio/ulc-vsnprintf
2551   func_module unistdio/ulc-vsprintf
2552   func_module unistdio/u8-asnprintf
2553   func_module unistdio/u8-asprintf
2554   func_module unistdio/u8-printf-parse
2555   func_module unistdio/u8-snprintf
2556   func_module unistdio/u8-sprintf
2557   func_module unistdio/u8-vasnprintf
2558   func_module unistdio/u8-vasprintf
2559   func_module unistdio/u8-vsnprintf
2560   func_module unistdio/u8-vsprintf
2561   func_module unistdio/u8-u8-asnprintf
2562   func_module unistdio/u8-u8-asprintf
2563   func_module unistdio/u8-u8-snprintf
2564   func_module unistdio/u8-u8-sprintf
2565   func_module unistdio/u8-u8-vasnprintf
2566   func_module unistdio/u8-u8-vasprintf
2567   func_module unistdio/u8-u8-vsnprintf
2568   func_module unistdio/u8-u8-vsprintf
2569   func_module unistdio/u16-asnprintf
2570   func_module unistdio/u16-asprintf
2571   func_module unistdio/u16-printf-parse
2572   func_module unistdio/u16-snprintf
2573   func_module unistdio/u16-sprintf
2574   func_module unistdio/u16-vasnprintf
2575   func_module unistdio/u16-vasprintf
2576   func_module unistdio/u16-vsnprintf
2577   func_module unistdio/u16-vsprintf
2578   func_module unistdio/u16-u16-asnprintf
2579   func_module unistdio/u16-u16-asprintf
2580   func_module unistdio/u16-u16-snprintf
2581   func_module unistdio/u16-u16-sprintf
2582   func_module unistdio/u16-u16-vasnprintf
2583   func_module unistdio/u16-u16-vasprintf
2584   func_module unistdio/u16-u16-vsnprintf
2585   func_module unistdio/u16-u16-vsprintf
2586   func_module unistdio/u32-asnprintf
2587   func_module unistdio/u32-asprintf
2588   func_module unistdio/u32-printf-parse
2589   func_module unistdio/u32-snprintf
2590   func_module unistdio/u32-sprintf
2591   func_module unistdio/u32-vasnprintf
2592   func_module unistdio/u32-vasprintf
2593   func_module unistdio/u32-vsnprintf
2594   func_module unistdio/u32-vsprintf
2595   func_module unistdio/u32-u32-asnprintf
2596   func_module unistdio/u32-u32-asprintf
2597   func_module unistdio/u32-u32-snprintf
2598   func_module unistdio/u32-u32-sprintf
2599   func_module unistdio/u32-u32-vasnprintf
2600   func_module unistdio/u32-u32-vasprintf
2601   func_module unistdio/u32-u32-vsnprintf
2602   func_module unistdio/u32-u32-vsprintf
2603   func_module uniname/base
2604   func_module uniname/uniname
2605   func_module uniwidth/base
2606   func_module uniwidth/u8-strwidth
2607   func_module uniwidth/u8-width
2608   func_module uniwidth/u16-strwidth
2609   func_module uniwidth/u16-width
2610   func_module uniwidth/u32-strwidth
2611   func_module uniwidth/u32-width
2612   func_module uniwidth/width
2613   func_end_table
2614
2615   element="Executing programs"
2616   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2617   func_section_wrap posix_ext_exec
2618   func_wrap H3
2619   func_echo "$element"
2620
2621   func_begin_table
2622   func_module cloexec
2623   func_module findprog
2624   func_module wait-process
2625   func_module execute
2626   func_module pipe
2627   func_module sh-quote
2628   func_end_table
2629
2630   element="Java"
2631   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2632   func_section_wrap posix_ext_java
2633   func_wrap H3
2634   func_echo "$element"
2635
2636   func_begin_table
2637   func_module classpath
2638   func_module javacomp-script
2639   func_module javacomp
2640   func_module javaexec-script
2641   func_module javaexec
2642   func_module javaversion
2643   #func_module gcj
2644   func_end_table
2645
2646   element="C#"
2647   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2648   func_section_wrap posix_ext_csharp
2649   func_wrap H3
2650   func_echo "$element"
2651
2652   func_begin_table
2653   func_module csharpcomp-script
2654   func_module csharpcomp
2655   func_module csharpexec-script
2656   func_module csharpexec
2657   func_end_table
2658
2659   element="Misc"
2660   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2661   func_section_wrap posix_ext_misc
2662   func_wrap H3
2663   func_echo "$element"
2664
2665   func_begin_table
2666   func_module argp
2667   func_module argz
2668   func_module byteswap
2669   func_module exitfail
2670   func_module c-stack
2671   func_module error
2672   func_module extensions
2673   func_module getdomainname
2674   func_module xgetdomainname
2675   func_module getloadavg
2676   func_module getpagesize
2677   func_module getusershell
2678   func_module physmem
2679   func_module posixver
2680   func_module progname
2681   func_module quotearg
2682   func_module quote
2683   func_module readutmp
2684   func_module sig2str
2685   func_module sysexits
2686   func_module verror
2687   func_module visibility
2688   func_end_table
2689
2690   element="Support for building libraries and executables"
2691   func_section_wrap build_lib
2692   func_wrap H2
2693   func_echo "$element"
2694
2695   func_begin_table
2696   func_module absolute-header
2697   func_module config-h
2698   func_module configmake
2699   func_module dummy
2700   func_module elisp-comp
2701   func_module havelib
2702   func_module include_next
2703   func_module ldd
2704   func_module lib-ignore
2705   func_module link-warning
2706   func_module no-c++
2707   func_module relocatable-lib
2708   func_module relocatable-lib-lgpl
2709   func_module relocatable-prog
2710   func_module relocatable-prog-wrapper
2711   func_module relocatable-script
2712   func_end_table
2713
2714   element="Support for building documentation"
2715   func_section_wrap build_doc
2716   func_wrap H2
2717   func_echo "$element"
2718
2719   func_begin_table
2720   func_module fdl
2721   func_module gendocs
2722   func_module gpl-2.0
2723   func_module gpl-3.0
2724   func_module lgpl-2.1
2725   func_module regexprops-generic
2726   func_end_table
2727
2728   element="Support for maintaining and releasing projects"
2729   func_section_wrap maintain
2730   func_wrap H2
2731   func_echo "$element"
2732
2733   func_begin_table
2734   func_module announce-gen
2735   func_module autobuild
2736   func_module git-version-gen
2737   func_module gitlog-to-changelog
2738   func_module gnupload
2739   func_module maintainer-makefile
2740   func_module useless-if-before-free
2741   func_module vc-list-files
2742   func_end_table
2743
2744   element="Misc"
2745   func_section_wrap misc
2746   func_wrap H2
2747   func_echo "$element"
2748
2749   func_begin_table
2750   func_module gnu-make
2751   func_module host-os
2752   func_module perl
2753   func_module posix-shell
2754   func_module uptime
2755   func_end_table
2756 }
2757
2758
2759 func_tmpdir
2760 trap 'exit_status=$?
2761       if test "$signal" != 0; then
2762         echo "caught signal $signal" >&2
2763       fi
2764       rm -rf "$tmp"
2765       exit $exit_status' 0
2766 for signal in 1 2 3 13 15; do
2767   trap '{ signal='$signal'; func_exit 1; }' $signal
2768 done
2769 signal=0
2770
2771 echo '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">'
2772 func_begin HTML
2773
2774 func_begin HEAD
2775
2776 element="Gnulib Module List"
2777 func_wrap TITLE
2778 func_echo "$element"
2779
2780 modules=`gnulib-tool --list`
2781 modules=`for m in $modules; do printf "%s, " $m; done | sed -e 's/, $//'`
2782 func_echo '<META NAME="keywords" CONTENT="'"${modules}"'">'
2783
2784 func_end HEAD
2785
2786 func_begin BODY
2787
2788 element="Gnulib Module List"
2789 func_wrap H1
2790 func_echo "$element"
2791
2792 func_echo 'This is a list of the modules which make up gnulib, with dependencies.'
2793
2794 in_toc=yes
2795 func_all_modules
2796
2797 in_toc=
2798 func_all_modules
2799
2800
2801 gnulib-tool --list > "$tmp/all-modules"
2802 missed_modules=`for module in $seen_modules; do echo $module; done \
2803                   | LC_ALL=C sort -u \
2804                   | LC_ALL=C join -v 2 - "$tmp/all-modules"`
2805
2806 if test -n "$missed_modules"; then
2807
2808   element="Unclassified modules - please update MODULES.html.sh"
2809   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2810   func_wrap H2
2811   func_echo "$element"
2812
2813   func_begin_table
2814   for module in $missed_modules; do
2815     func_module $module
2816   done
2817   func_end_table
2818
2819 fi
2820
2821 { find lib -type f -print; find m4 -type f -print; } | LC_ALL=C sort | sed -e '/\/\./d' -e /CVS/d -e /README/d -e /ChangeLog/d -e /Makefile/d -e /TODO/d -e '/tags$/d' -e '/TAGS$/d' -e '/~$/d' > "$tmp/all-files"
2822 missed_files=`for file in $seen_files; do echo $file; done \
2823                 | LC_ALL=C sort -u \
2824                 | LC_ALL=C join -v 2 - "$tmp/all-files"`
2825
2826 if test -n "$missed_files"; then
2827
2828   element="Lone files - please create new modules containing them"
2829   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2830   func_wrap H2
2831   func_echo "$element"
2832
2833   func_echo '<PRE>'
2834   echo "$missed_files" | sed -e 's,^\(.*\)$,<A HREF="'$repo_url_prefix'\1'$repo_url_suffix_repl'">\1</A>,'
2835   echo '</PRE>'
2836
2837 fi
2838
2839 element="Future developments"
2840 element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
2841 func_wrap H2
2842 func_echo "$element"
2843
2844 func_echo 'Ideally a module could consist of:'
2845 func_begin UL
2846 func_echo '<LI>A header file: lib/<VAR>module</VAR>.h'
2847 func_echo '<LI>One or more implementation files: lib/<VAR>module</VAR>.c et al.'
2848 func_echo '<LI>One or more autoconf macro files: m4/<VAR>module</VAR>.m4 et al.'
2849 func_echo '<LI>A configure.ac fragment, Makefile.am fragment, dependency list: modules/<VAR>module</VAR>'
2850 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'
2851 func_echo '<LI>Some documentation'
2852 func_echo '<LI>A POT file and some PO files'
2853 func_end UL
2854
2855 func_echo '<HR>'
2856 func_echo 'Generated from <CODE>MODULES.html.sh</CODE> on '`LC_ALL=C date +"%e %B %Y"`.
2857
2858 func_end BODY
2859
2860 func_end HTML
2861
2862 rm -rf "$tmp"
2863 # Undo the effect of the previous 'trap' command.
2864 trap '' 0
2865 trap 'func_exit $?' 1 2 3 13 15
2866
2867 exit 0
2868
2869 # Local Variables:
2870 # indent-tabs-mode: nil
2871 # whitespace-check-buffer-indent: nil
2872 # End: