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