X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=MODULES.html;h=d38e91cf2ce2dd3887438aee8861107c5238695d;hb=c42e0bd189c6ba67698c8146134fbeed89427a10;hp=e1c8a95544a31dae2ab73bbea70717f7ad4719d3;hpb=b01ad19e460a0924564d6e9d65bd5fd53f137817;p=gnulib.git diff --git a/MODULES.html b/MODULES.html index e1c8a9554..d38e91cf2 100644 --- a/MODULES.html +++ b/MODULES.html @@ -2,7 +2,7 @@ Gnulib Module List - +

Gnulib Module List

@@ -83,6 +83,18 @@

Memory management functions <stdlib.h>

+ + + + + + @@ -102,6 +114,10 @@

Memory management functions <stdlib.h>

calloc + calloc() function that is glibc compatible. +
eealloc + Memory allocation with expensive empty allocations (glibc compatible). +
free + Work around incompatibility on older systems where free (NULL) fails. +
malloc malloc() function that is glibc compatible.
+ + @@ -110,8 +126,12 @@ - + +
xsize + Checked size_t computations. +
xalloc Memory allocation with out-of-memory checking.
Memory allocation on the stack.
bumpalloc - Increase table allocation by one element. + allocsa + Safe automatic memory allocation. +
xallocsa + Safe automatic memory allocation with out of memory checking.

Integer arithmetic functions <stdlib.h>

@@ -191,6 +211,10 @@ strndup strndup() function: duplicate a size-bounded string. + + xstrndup + Duplicate a bounded initial segment of a string, with out-of-memory checking. +

Numeric conversion functions <stdlib.h>

@@ -209,6 +233,14 @@ + + + +
getdate Convert a date/time string to linear time.
timegm + Convert calendar time to simple time, inverse of mktime. +
tzset + tzset - initialize time conversion information +

Input/Output <stdio.h>

@@ -217,6 +249,10 @@ + + @@ -225,6 +261,13 @@
Enable faster, non-thread-safe stdio functions if available.
fwriteerror + Detect write error on a stream. +
vasnprintf vsprintf with automatic memory allocation and bounded output size.
vsprintf with automatic memory allocation.
+

Signal handling <signal.h>

+ + + +
fatal-signal + Emergency actions in case of a fatal signal. +

Command-line arguments

@@ -296,6 +339,13 @@ memory allocation.

Support for systems lacking ISO C 99

+

Keywords

+ + + +
restrict + The C99 'restrict' keyword. +

Boolean type and values <stdbool.h>

@@ -340,6 +390,10 @@ memory allocation.

Numeric conversion functions <stdlib.h>

+ + @@ -367,6 +421,10 @@ memory allocation. + + @@ -399,6 +457,10 @@ memory allocation. + + @@ -601,6 +663,10 @@ directory. + +
inttostr + Convert integers to printable strings. +
xstrtoimax Convert string to 'intmax_t', with error checking.
getgroups() function: return the supplementary group IDs of the current process.
gethostname + gethostname() function: Return machine's hostname. +
gettimeofday gettimeofday() function: return current time.
stat() function: return information about a file or symbolic link.
time_r + Reentrant time functions like localtime_r. +
timespec struct timespec.
getpass getpass() function: read a password from /dev/tty.
getpass-gnu + getpass() function: read a password of arbitrary length from /dev/tty. +

Users and groups

@@ -618,8 +684,7 @@ directory.
userspec - Parse a specifying a user and/or group (e.g. as first argument of chown -utility). + Parse a `user:group' specifier (e.g. the first argument of chown utility).

Date and time

@@ -640,10 +705,6 @@ utility).

Networking functions

- - @@ -724,9 +785,25 @@ usually the host name including FQDN.

Executing programs

gethostname - gethostname() function: Return machine's hostname. -
xgethostname Return machine's hostname, without size limitations.
+ + + + + + + +
cloexec + Set or clear the close-on-exec descriptor flag. +
findprog Locating a program in PATH.
wait-process + Waiting for a subprocess to finish. +
execute + Creation of autonomous subprocesses. +
pipe + Creation of subprocesses, communicating via pipes. +

Java

Misc

@@ -736,6 +813,10 @@ usually the host name including FQDN. Hierarchical processing of command line arguments. + argz + Argv style string arrays in a single null delimited char*. + + exitfail Set exit status for fatal signal. @@ -748,8 +829,16 @@ usually the host name including FQDN. error() and error_at_line() functions: Error reporting. - fatal - Error reporting for fatal errors. + extensions + Enable extensions in standard headers + + + getdomainname + getdomainname() function: Return machine's NIS domain name. + + + xgetdomainname + Return machine's domainname, without size limitations. getloadavg @@ -773,6 +862,10 @@ usually the host name including FQDN. variables. + progname + Program name management. + + quotearg Quote arguments for use in error messages. @@ -820,7 +913,7 @@ variables. assert #include <assert.h> --- - assert.m4
jm_ASSERT + assert.m4
gl_ASSERT --- @@ -869,7 +962,7 @@ variables. memcmp #include <string.h> memcmp.c - memcmp.m4
jm_FUNC_MEMCMP + memcmp.m4
gl_FUNC_MEMCMP --- @@ -926,7 +1019,7 @@ variables. #include <time.h> mktime.c mktime.m4
gl_FUNC_MKTIME - --- + time_r These modules are not listed among dependencies below, for simplicity. @@ -948,17 +1041,38 @@ variables. Depends on + calloc + #include <stdlib.h> + calloc.c + calloc.m4
AC_FUNC_CALLOC + --- + + + eealloc + #include <eealloc.h> + eealloc.h + eealloc.m4
gl_EEALLOC + --- + + + free + #include <stdlib.h> + free.c + free.m4
gl_FUNC_FREE + --- + + malloc #include <stdlib.h> malloc.c - malloc.m4
jm_FUNC_MALLOC + AC_FUNC_MALLOC --- realloc #include <stdlib.h> realloc.c - realloc.m4
jm_FUNC_REALLOC + AC_FUNC_REALLOC --- @@ -982,8 +1096,8 @@ variables. strftime #include <time.h> strftime.c - mbstate_t.m4
tm_gmtoff.m4
strftime.m4
jm_FUNC_GNU_STRFTIME - --- + mbstate_t.m4
tm_gmtoff.m4
strftime.m4
gl_FUNC_GNU_STRFTIME + time_r
tzset

Extra functions based on ANSI C 89

@@ -1004,25 +1118,39 @@ variables. Depends on + xsize + #include "xsize.h" + --- + xsize.m4
size_max.m4
gl_XSIZE + --- + + xalloc #include "xalloc.h" xmalloc.c
xstrdup.c xalloc.m4
gl_XALLOC - malloc
realloc
error
gettext + error
gettext
exitfail alloca #include <alloca.h> alloca_.h
alloca.c alloca.m4
gl_FUNC_ALLOCA - xalloc + --- - bumpalloc - #include "bumpalloc.h" - --- + allocsa + #include "allocsa.h" + allocsa.c + allocsa.m4
eealloc.m4
longlong.m4
longdouble.m4
gl_ALLOCSA + alloca + + + xallocsa + #include "xallocsa.h" + xallocsa.c --- - xalloc + allocsa
xalloc

Integer arithmetic functions <stdlib.h>

@@ -1076,7 +1204,7 @@ variables. putenv --- putenv.c - putenv.m4
jm_FUNC_PUTENV + putenv.m4
gl_FUNC_PUTENV --- @@ -1084,7 +1212,7 @@ variables. #include "setenv.h" setenv.c
unsetenv.c setenv.m4
gt_FUNC_SETENV - alloca + allocsa
alloca xsetenv @@ -1185,7 +1313,7 @@ variables. strdup - --- + #include "strdup.h" strdup.c strdup.m4
gl_FUNC_STRDUP --- @@ -1199,11 +1327,18 @@ variables. strndup - --- + #include "strndup.h" strndup.c strndup.m4
gl_FUNC_STRNDUP strnlen + + xstrndup + #include "xstrndup.h" + xstrndup.c + xstrndup.m4
gl_XSTRNDUP + strndup
xalloc +

Numeric conversion functions <stdlib.h>

@@ -1233,7 +1368,7 @@ variables.
#include "xstrtol.h" xstrtol.c
xstrtoul.c
ulonglong.m4
longlong.m4
stdint_h.m4
inttypes_h.m4
uintmax_t.m4
intmax_t.m4
xstrtol.m4
gl_XSTRTOL -
--- + exitfail
error

Date and time <time.h>

@@ -1257,7 +1392,21 @@ variables. #include "getdate.h" getdate.y bison.m4
tm_gmtoff.m4
getdate.m4
gl_GETDATE - mktime
unlocked-io + timespec
stdbool
gettime
mktime
alloca
unlocked-io + + + timegm + #include "timegm.h" + timegm.c + timegm.m4
gl_FUNC_TIMEGM + mktime
time_r + + + tzset + #include <time.h> + --- + tzset.m4
gl_FUNC_TZSET_CLOBBER + gettimeofday

Input/Output <stdio.h>

@@ -1280,7 +1429,14 @@ variables. unlocked-io #include "unlocked-io.h" --- - unlocked-io.m4
jm_FUNC_GLIBC_UNLOCKED_IO + unlocked-io.m4
gl_FUNC_GLIBC_UNLOCKED_IO + extensions + + + fwriteerror + #include "fwriteerror.h" + fwriteerror.c + --- --- @@ -1288,7 +1444,7 @@ variables. #include "vasnprintf.h" printf-args.h
printf-args.c
printf-parse.h
printf-parse.c
vasnprintf.c
asnprintf.c signed.m4
longdouble.m4
wchar_t.m4
wint_t.m4
longlong.m4
intmax_t.m4
vasnprintf.m4
gl_FUNC_VASNPRINTF - alloca + alloca
xsize vasprintf @@ -1298,6 +1454,30 @@ variables. vasnprintf +

Signal handling <signal.h>

+ + + + + + + +
modules/ + lib/ + lib/ + m4/ +   +
Module + Header + Implementation + Autoconf macro + Depends on +
fatal-signal + #include "fatal-signal.h" + fatal-signal.c + fatal-signal.m4
signalblocking.m4
sig_atomic_t.m4
gl_FATAL_SIGNAL +
xalloc
stdbool +

Command-line arguments

@@ -1319,7 +1499,7 @@ variables.
#include "argmatch.h" argmatch.c --- - gettext
error
quotearg
quote
unlocked-io +
gettext
error
quotearg
quote
unlocked-io
exit
exitfail
version-etc @@ -1423,7 +1603,7 @@ variables. #include "obstack.h" obstack.c obstack.m4
gl_OBSTACK -
gettext + gettext
exit
exitfail
hash-pjw @@ -1435,9 +1615,9 @@ variables.
hash #include "hash.h" - hash.c + hash.c
xalloc.h
hash.m4
gl_HASH -
malloc
realloc
stdbool +
stdbool
readtokens @@ -1455,6 +1635,30 @@ variables.

Support for systems lacking ISO C 99

+

Keywords

+ + + + + + + +
modules/ + lib/ + lib/ + m4/ +   +
Module + Header + Implementation + Autoconf macro + Depends on +
restrict + --- + --- + restrict.m4
gl_C_RESTRICT +
--- +

Boolean type and values <stdbool.h>

@@ -1600,17 +1804,24 @@ variables. + +
Depends on
inttostr + #include "inttostr.h" + imaxtostr.c
inttostr.c
offtostr.c
umaxtostr.c +
intmax_t.m4
inttostr.m4
uintmax_t.m4
gl_INTTOSTR +
--- +
xstrtoimax #include "xstrtol.h" xstrtoimax.c - xstrtoimax.m4
jm_XSTRTOIMAX +
xstrtoimax.m4
gl_XSTRTOIMAX
xstrtol
strtoimax
xstrtoumax #include "xstrtol.h" xstrtoumax.c - xstrtoumax.m4
jm_XSTRTOUMAX +
xstrtoumax.m4
gl_XSTRTOUMAX
xstrtol
strtoumax
@@ -1633,8 +1844,8 @@ variables. chown #include <unistd.h> - chown.c - chown.m4
jm_FUNC_CHOWN + chown.c
fchown-stub.c + chown.m4
gl_FUNC_CHOWN --- @@ -1648,17 +1859,24 @@ variables. ftruncate #include <unistd.h> ftruncate.c - ftruncate.m4
jm_FUNC_FTRUNCATE + ftruncate.m4
gl_FUNC_FTRUNCATE --- getgroups #include <unistd.h> getgroups.c - getgroups.m4
jm_FUNC_GETGROUPS + getgroups.m4
gl_FUNC_GETGROUPS xalloc + gethostname + --- + gethostname.c + gethostname.m4
gl_FUNC_GETHOSTNAME + --- + + gettimeofday #include <sys/time.h> gettimeofday.c @@ -1669,14 +1887,14 @@ variables. mkdir #include <sys/stat.h> mkdir.c - mkdir-slash.m4
UTILS_FUNC_MKDIR_TRAILING_SLASH + mkdir-slash.m4
gl_FUNC_MKDIR_TRAILING_SLASH xalloc
dirname mkstemp #include <stdlib.h> mkstemp.c
tempname.c - ulonglong.m4
stdint_h.m4
inttypes_h.m4
uintmax_t.m4
mkstemp.m4
UTILS_FUNC_MKSTEMP + ulonglong.m4
stdint_h.m4
inttypes_h.m4
uintmax_t.m4
mkstemp.m4
gl_FUNC_MKSTEMP --- @@ -1704,28 +1922,35 @@ variables. stat #include <sys/stat.h> stat.c - stat.m4
jm_FUNC_STAT - --- + stat.m4
gl_FUNC_STAT + xalloc lstat #include <sys/stat.h> lstat.c - lstat.m4
jm_FUNC_LSTAT + lstat.m4
gl_FUNC_LSTAT stat
xalloc + time_r + #include "time_r.h" + time_r.c + time_r.m4
gl_TIME_R + extensions
restrict + + timespec #include "timespec.h" --- st_mtim.m4
timespec.m4
gl_TIMESPEC - --- + extensions nanosleep #include <time.h> nanosleep.c - nanosleep.m4
jm_FUNC_NANOSLEEP + nanosleep.m4
gl_FUNC_NANOSLEEP timespec @@ -1733,7 +1958,7 @@ variables. #include "regex.h" regex.c regex.m4
gl_REGEX - alloca
unlocked-io
gettext + alloca
unlocked-io
gettext
restrict rename @@ -1753,7 +1978,7 @@ variables. utime #if HAVE_UTIME_H
# include <utime.h>
#else
# include <sys/utime.h>
#endif utime.c - utimbuf.m4
utimes.m4
utime.m4
jm_FUNC_UTIME + utimbuf.m4
utime.m4
utimes.m4
utimes-null.m4
gl_FUNC_UTIME safe-read
full-write @@ -1783,7 +2008,7 @@ variables. getopt #include "getopt.h" - getopt.c
getopt1.c + getopt.c
getopt1.c
getopt_int.h getopt.m4
gl_GETOPT gettext @@ -1896,12 +2121,12 @@ variables. dirfd #include "dirfd.h" dirfd.c - dirfd.m4
UTILS_FUNC_DIRFD + dirfd.m4
gl_FUNC_DIRFD --- euidaccess - --- + #include "euidaccess.h" euidaccess.c euidaccess.m4
gl_FUNC_EUIDACCESS group-member @@ -1909,7 +2134,7 @@ variables. file-type #include "file-type.h" - file-type.c + file-type.c
stat-macros.h file-type.m4
gl_FILE_TYPE gettext @@ -1936,9 +2161,9 @@ variables. lchown - --- - lchown.h
lchown.c - lchown.m4
jm_FUNC_LCHOWN + #include "lchown.h" + lchown.c + lchown.m4
gl_FUNC_LCHOWN chown @@ -1988,7 +2213,7 @@ variables. #include "same.h" same.c same.m4
gl_SAME - xalloc
error
dirname + xalloc
error
dirname
stdbool save-cwd @@ -2091,7 +2316,7 @@ variables. fpending #include "__fpending.h" __fpending.c - fpending.m4
jm_FUNC_FPENDING + fpending.m4
gl_FUNC_FPENDING --- @@ -2099,7 +2324,7 @@ variables. #include "closeout.h" closeout.c closeout.m4
gl_CLOSEOUT - unlocked-io
gettext
error
quotearg
fpending + unlocked-io
gettext
error
quotearg
fpending
exitfail stdio-safer @@ -2113,6 +2338,13 @@ variables. --- getpass.c getpass.m4
gl_FUNC_GETPASS + unlocked-io
getline
stdbool + + + getpass-gnu + --- + getpass.c + getpass.m4
gl_FUNC_GETPASS_GNU unlocked-io
getline @@ -2143,8 +2375,8 @@ variables. group-member #include "group-member.h" group-member.c - group-member.m4
jm_FUNC_GROUP_MEMBER - xalloc + group-member.m4
gl_FUNC_GROUP_MEMBER + xalloc
stdbool idcache @@ -2155,10 +2387,10 @@ variables. userspec - --- + #include "userspec.h" userspec.c userspec.m4
gl_USERSPEC - alloca
xalloc
xstrtol
strdup
gettext + alloca
posixver
xalloc
xstrtol
strdup
gettext

Date and time

@@ -2216,18 +2448,11 @@ variables. Depends on - gethostname - --- - gethostname.c - gethostname.m4
gl_FUNC_GETHOSTNAME - --- - - xgethostname - --- + #include "xgethostname.h" xgethostname.c --- - gethostname
xalloc
error + gethostname
xalloc
error
exit canon-host @@ -2257,7 +2482,7 @@ variables. gettext #include "gettext.h" --- - codeset.m4
gettext.m4
glibc21.m4
iconv.m4
intdiv0.m4
inttypes.m4
inttypes_h.m4
inttypes-pri.m4
isc-posix.m4
lcmessage.m4
lib-ld.m4
lib-link.m4
lib-prefix.m4
nls.m4
po.m4
progtest.m4
stdint_h.m4
uintmax_t.m4
ulonglong.m4
AM_GNU_GETTEXT([external]) + codeset.m4
gettext.m4
glibc21.m4
iconv.m4
intdiv0.m4
intmax.m4
inttypes.m4
inttypes_h.m4
inttypes-pri.m4
isc-posix.m4
lcmessage.m4
lib-ld.m4
lib-link.m4
lib-prefix.m4
longdouble.m4
longlong.m4
nls.m4
po.m4
printf-posix.m4
progtest.m4
signed.m4
size_max.m4
stdint_h.m4
uintmax_t.m4
ulonglong.m4
wchar_t.m4
wint_t.m4
xsize.m4
AM_GNU_GETTEXT([external]) --- @@ -2307,7 +2532,7 @@ variables. #include "xmemcoll.h" xmemcoll.c --- - memcoll
gettext
error
quotearg + memcoll
gettext
error
quotearg
exitfail unicodeio @@ -2363,7 +2588,7 @@ variables. #include "linebreak.h" linebreak.c
lbrkprop.h linebreak.m4
gl_LINEBREAK - localcharset
c-ctype
iconv
utf8-ucs4
utf16-ucs4 + localcharset
c-ctype
iconv
utf8-ucs4
utf16-ucs4
xsize

Executing programs

@@ -2383,12 +2608,40 @@ variables. Depends on + cloexec + #include "cloexec.h" + cloexec.c + cloexec.m4
gl_CLOEXEC + stdbool + + findprog #include "findprog.h" findprog.c findprog.m4
eaccess.m4
gl_FINDPROG stdbool
xalloc
pathname + + wait-process + #include "wait-process.h" + wait-process.c + wait-process.m4
sig_atomic_t.m4
gl_WAIT_PROCESS + fatal-signal
error
exit
xalloc
gettext
stdbool + + + execute + #include "execute.h" + execute.c
w32spawn.h + execute.m4
gl_EXECUTE + error
exit
fatal-signal
wait-process
gettext
stdbool
strpbrk + + + pipe + #include "pipe.h" + pipe.c
w32spawn.h + pipe.m4
gl_PIPE + wait-process
error
exit
fatal-signal
gettext
stdbool
strpbrk +

Java

Misc

@@ -2411,15 +2664,22 @@ variables. argp #include "argp.h" argp-ba.c
argp-eexst.c
argp-fmtstream.c
argp-fmtstream.h
argp-fs-xinl.c
argp-help.c
argp-namefrob.h
argp-parse.c
argp-pv.c
argp-pvh.c
argp-xinl.c - argp.m4
AC_FUNC_ARGP - alloca
getopt + argp.m4
gl_ARGP + alloca
getopt
strchrnul
sysexits
mempcpy
strndup
restrict
strcase + + + argz + #include <argz.h> + argz_.h
argz.c + argz.m4
gl_FUNC_ARGZ + --- exitfail #include "exitfail.h" exitfail.c exitfail.m4
gl_EXITFAIL - --- + exit c-stack @@ -2436,18 +2696,32 @@ variables. unlocked-io
gettext - fatal - #include "fatal.h" - fatal.c - fatal.m4
gl_FATAL - unlocked-io
error + extensions + --- + --- + extensions.m4
dnl gl_USE_SYSTEM_EXTENSIONS must be added quite early to configure.ac. + --- + + + getdomainname + #include "getdomainname.h" + getdomainname.c + getdomainname.m4
gl_FUNC_GETDOMAINNAME + --- + + + xgetdomainname + #include "xgetdomainname.h" + xgetdomainname.c + --- + getdomainname
xalloc getloadavg --- getloadavg.c getloadavg.m4
gl_FUNC_GETLOADAVG - --- + cloexec
xalloc getpagesize @@ -2478,6 +2752,13 @@ variables. --- + progname + #include "progname.h" + progname.c + --- + stdbool + + quotearg #include "quotearg.h" quotearg.c @@ -2513,13 +2794,37 @@ variables. --- +

Unclassified modules - please update MODULES.html.sh

+ + + + + + + +
modules/ + lib/ + lib/ + m4/ +   +
Module + Header + Implementation + Autoconf macro + Depends on +
dummy + --- + dummy.c + --- + --- +

Lone files - please create new modules containing them

-lib/getversion.c
+lib/progreloc.c
 m4/check-decl.m4
+m4/c-strtod.m4
 m4/d-type.m4
 m4/glibc.m4
-m4/gnu-source.m4
 m4/host-os.m4
 m4/jm-macros.m4
 m4/jm-winsz1.m4
@@ -2529,6 +2834,7 @@ variables.
 m4/onceonly.m4
 m4/perl.m4
 m4/prereq.m4
+m4/ptrdiff_max.m4
 m4/readdir.m4
 m4/rmdir-errno.m4
 m4/search-libs.m4
@@ -2548,6 +2854,6 @@ variables.
       
  • A testsuite
    - Generated from MODULES.html.sh on 19 July 2003. + Generated from MODULES.html.sh on 3 August 2004.