X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=MODULES.html;h=1ae1abaee06791150adfbd26eccc6c75c01c7b08;hb=68f96cd3ccba2a204c40260321a8832f2eb97092;hp=3a158a77cf6b04c8969e8d4a3b941d2a5745aec4;hpb=4d4e391b706561722666ac671a5a8092f07ae998;p=gnulib.git diff --git a/MODULES.html b/MODULES.html index 3a158a77c..1ae1abaee 100644 --- a/MODULES.html +++ b/MODULES.html @@ -2,7 +2,7 @@ Gnulib Module List - +

Gnulib Module List

@@ -18,6 +18,10 @@ Allow the installer to disable assertions through "configure --disable-assert". + dummy + A dummy file, to make sure the library is non-empty. + + exit exit() function: program termination. @@ -83,10 +87,18 @@

Memory management functions <stdlib.h>

+ + + + @@ -111,13 +123,23 @@ + + + + @@ -211,6 +233,14 @@

Numeric conversion 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.
xalloc - Memory allocation with out-of-memory checking. + Memory allocation with out-of-memory checking. Also see xalloc-die. +
xalloc-die + Report a memory allocation failure and exit.
alloca Memory allocation on the stack.
alloca-opt + Memory allocation on the stack, as an optional optimization. +It allows using the alloca() macro if and only if the autoconf tests define +HAVE_ALLOCA. +
allocsa Safe automatic memory allocation.
+ + + + @@ -229,6 +259,10 @@ + +
c-strtod + Convert string to double in C locale. +
c-strtold + Convert string to long double in C locale. +
xstrtod Convert string to 'double', with error checking.
timegm Convert calendar time to simple time, inverse of mktime.
tzset + tzset - initialize time conversion information +

Input/Output <stdio.h>

@@ -248,6 +282,10 @@ + +
vasprintf vsprintf with automatic memory allocation.
xvasprintf + vasprintf and asprintf with out-of-memory checking. Also see xalloc-die. +

Signal handling <signal.h>

@@ -255,6 +293,10 @@ + +
fatal-signal Emergency actions in case of a fatal signal.
raise + Send a signal to the executing process. +

Command-line arguments

@@ -278,8 +320,8 @@ -
Compute MD5 checksum.
sha - Compute SHA checksum. + sha1 + Compute SHA1 checksum.

Misc

@@ -322,6 +364,10 @@ memory allocation. Read tokens from a stream. + readtokens0 + Read NUL-separated tokens from a stream. + + strverscmp Compare strings holding version numbers. @@ -342,6 +388,22 @@ memory allocation. (Nearly: casts to bool may not work.) +

Integer types and values <stdint.h>

+ + + +
stdint + An <stdint.h> that nearly conforms to C99. +(Nearly: {uint,int}_{fast,least}{8,16,32,64}_t may not correspond +to the fastest and smallest types available on the system.) +
+

Input/output <stdio.h>

+ + + +
snprintf + snprintf() function: print formatted output to a fixed length string +

Numeric conversion functions <stdlib.h>

@@ -378,6 +440,10 @@ memory allocation.

Numeric conversion functions <stdlib.h>

+ + @@ -401,6 +467,10 @@ memory allocation. + + @@ -409,6 +479,10 @@ memory allocation. + + @@ -480,6 +554,10 @@ memory allocation. + + @@ -521,10 +599,18 @@ with K/M/G suffix. variables. + + + + @@ -598,6 +684,14 @@ directory. + + + + @@ -685,6 +779,10 @@ directory. + +
inttostr + Convert integers to printable strings. +
xstrtoimax Convert string to 'intmax_t', with error checking.
ftruncate() function: truncate an open file to a specified length.
getcwd + Return the current working directory. +
getgroups getgroups() function: return the supplementary group IDs of the current process.
gethostname() function: Return machine's hostname.
getsubopt + getsubopt: Parse comma separate list into words. +
gettimeofday gettimeofday() function: return current time.
Process command line arguments.
fcntl-safer + File control functions that avoid clobbering std{in,out,err}. +
unistd-safer File descriptor functions that avoid clobbering STD{IN,OUT,ERR}_FILENO.
canonicalize + Return the canonical absolute name of a given file. +
copy-file Copying of files.
cycle-check + help detect directory cycles efficiently +
fsusage Return filesystem space usage info.
Return the entries of a directory (just the names) as an argz string.
utimecmp + compare file time stamps +
utimens + Set file access and modification times. +
xgetcwd Return the current working directory, without size limitations.
posixtm Convert a date/time string (POSIX syntax) to linear time or broken-down time.
xnanosleep + a more convenient interface to nanosleep +

Networking functions

@@ -769,6 +867,10 @@ usually the host name including FQDN.

Executing programs

+ + @@ -776,6 +878,14 @@ usually the host name including FQDN. + + + +
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

@@ -785,6 +895,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. @@ -801,10 +915,6 @@ usually the host name including FQDN. Enable extensions in standard headers - fatal - Error reporting for fatal errors. - - getdomainname getdomainname() function: Return machine's NIS domain name. @@ -885,7 +995,14 @@ variables. assert #include <assert.h> --- - assert.m4
jm_ASSERT + assert.m4
gl_ASSERT + --- + + + dummy + --- + dummy.c + --- --- @@ -934,7 +1051,7 @@ variables. memcmp #include <string.h> memcmp.c - memcmp.m4
jm_FUNC_MEMCMP + memcmp.m4
gl_FUNC_MEMCMP --- @@ -1013,6 +1130,13 @@ variables. Depends on + calloc + #include <stdlib.h> + calloc.c + calloc.m4
AC_FUNC_CALLOC + --- + + eealloc #include <eealloc.h> eealloc.h @@ -1020,17 +1144,24 @@ variables. --- + 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 --- @@ -1052,9 +1183,9 @@ variables. strftime - #include <time.h> + #include "strftime.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 @@ -1087,7 +1218,14 @@ variables. #include "xalloc.h" xmalloc.c
xstrdup.c xalloc.m4
gl_XALLOC - malloc
realloc
error
gettext
exitfail
stdbool + --- + + + xalloc-die + #include "xalloc.h" + xalloc-die.c + --- + xalloc
error
gettext
exitfail alloca @@ -1097,11 +1235,18 @@ variables. --- + alloca-opt + #include <alloca.h> + alloca_.h + alloca.m4
gl_FUNC_ALLOCA + --- + + allocsa #include "allocsa.h" allocsa.c allocsa.m4
eealloc.m4
longlong.m4
longdouble.m4
gl_ALLOCSA - alloca + alloca-opt xallocsa @@ -1162,7 +1307,7 @@ variables. putenv --- putenv.c - putenv.m4
jm_FUNC_PUTENV + putenv.m4
gl_FUNC_PUTENV --- @@ -1170,7 +1315,7 @@ variables. #include "setenv.h" setenv.c
unsetenv.c setenv.m4
gt_FUNC_SETENV - allocsa + allocsa
alloca-opt xsetenv @@ -1271,7 +1416,7 @@ variables. strdup - --- + #include "strdup.h" strdup.c strdup.m4
gl_FUNC_STRDUP --- @@ -1315,6 +1460,20 @@ variables. Depends on + c-strtod + #include "c-strtod.h" + c-strtod.c + c-strtod.m4
gl_C_STRTOD + extensions + + + c-strtold + #include "c-strtod.h" + c-strtod.c
c-strtold.c + c-strtod.m4
gl_C_STRTOLD + extensions + + xstrtod #include "xstrtod.h" xstrtod.c @@ -1326,7 +1485,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 + exitfail
error

Date and time <time.h>

@@ -1350,7 +1509,7 @@ 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 @@ -1359,6 +1518,13 @@ variables. timegm.m4
gl_FUNC_TIMEGM mktime
time_r + + tzset + #include <time.h> + --- + tzset.m4
gl_FUNC_TZSET_CLOBBER + gettimeofday +

Input/Output <stdio.h>

@@ -1380,7 +1546,7 @@ variables. @@ -1394,8 +1560,8 @@ variables. + +
unlocked-io #include "unlocked-io.h" --- - unlocked-io.m4
jm_FUNC_GLIBC_UNLOCKED_IO +
unlocked-io.m4
gl_FUNC_GLIBC_UNLOCKED_IO
extensions
vasnprintf #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
xsize +
signed.m4
longdouble.m4
wchar_t.m4
wint_t.m4
longlong.m4
intmax_t.m4
stdint_h.m4
inttypes_h.m4
eoverflow.m4
vasnprintf.m4
gl_FUNC_VASNPRINTF +
alloca-opt
xsize
vasprintf @@ -1404,6 +1570,13 @@ variables. vasprintf.m4
gl_FUNC_VASPRINTF
vasnprintf
xvasprintf + #include "xvasprintf.h" + xvasprintf.c
xasprintf.c +
--- + vasprintf +

Signal handling <signal.h>

@@ -1428,6 +1601,13 @@ variables. + +
fatal-signal.m4
signalblocking.m4
sig_atomic_t.m4
gl_FATAL_SIGNAL
xalloc
stdbool
raise + --- + raise.c + AC_REPLACE_FUNCS(raise) + --- +

Command-line arguments

@@ -1487,14 +1667,14 @@ variables. -
md5 #include "md5.h" md5.c - md5.m4
gl_MD5 +
md5.m4
uint32_t.m4
gl_MD5
unlocked-io
sha - #include "sha.h" - sha.c - sha.m4
gl_SHA +
sha1 + #include "sha1.h" + sha1.c + sha1.m4
gl_SHA1
unlocked-io
md5
@@ -1553,7 +1733,7 @@ variables. obstack #include "obstack.h" obstack.c - obstack.m4
gl_OBSTACK + inttypes_h.m4
obstack.m4
stdint_h.m4
uintmax_t.m4
gl_OBSTACK gettext
exit
exitfail @@ -1566,9 +1746,9 @@ variables. hash #include "hash.h" - hash.c + hash.c
xalloc.h hash.m4
gl_HASH - malloc
realloc
stdbool + stdbool readtokens @@ -1578,6 +1758,13 @@ variables. xalloc
unlocked-io + readtokens0 + #include "readtokens0.h" + readtokens0.c + --- + obstack + + strverscmp #include "strverscmp.h" strverscmp.c @@ -1634,6 +1821,54 @@ variables. --- +

Integer types and values <stdint.h>

+ + + + + + + +
modules/ + lib/ + lib/ + m4/ +   +
Module + Header + Implementation + Autoconf macro + Depends on +
stdint + #include <stdint.h> + stdint_.h + stdint.m4
inttypes.m4
gl_STDINT_H +
--- +
+

Input/output <stdio.h>

+ + + + + + + +
modules/ + lib/ + lib/ + m4/ +   +
Module + Header + Implementation + Autoconf macro + Depends on +
snprintf + #include "snprintf.h" + snprintf.c + snprintf.m4
gl_FUNC_SNPRINTF +
vasnprintf
minmax +

Numeric conversion functions <stdlib.h>

@@ -1755,17 +1990,24 @@ variables. + +
Depends on
inttostr + #include "inttostr.h" + imaxtostr.c
inttostr.c
offtostr.c
umaxtostr.c +
intmax_t.m4
inttostr.m4
longlong.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
@@ -1788,8 +2030,8 @@ variables. chown #include <unistd.h> - chown.c - chown.m4
jm_FUNC_CHOWN + chown.c
fchown-stub.c + chown.m4
gl_FUNC_CHOWN --- @@ -1803,14 +2045,21 @@ variables. ftruncate #include <unistd.h> ftruncate.c - ftruncate.m4
jm_FUNC_FTRUNCATE + ftruncate.m4
gl_FUNC_FTRUNCATE --- + getcwd + --- + getcwd.c + getcwd-path-max.m4
GL_FUNC_GETCWD_PATH_MAX + pathmax
same + + getgroups #include <unistd.h> getgroups.c - getgroups.m4
jm_FUNC_GETGROUPS + getgroups.m4
gl_FUNC_GETGROUPS xalloc @@ -1821,6 +2070,13 @@ variables. --- + getsubopt + #include "getsubopt.h" + getsubopt.c + getsubopt.m4
gl_FUNC_GETSUBOPT + strchrnul + + gettimeofday #include <sys/time.h> gettimeofday.c @@ -1831,14 +2087,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 --- @@ -1865,15 +2121,15 @@ variables. stat #include <sys/stat.h> - stat.c - stat.m4
jm_FUNC_STAT - --- + stat.c
stat-macros.h + 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 @@ -1894,7 +2150,7 @@ variables. nanosleep #include <time.h> nanosleep.c - nanosleep.m4
jm_FUNC_NANOSLEEP + nanosleep.m4
gl_FUNC_NANOSLEEP timespec @@ -1914,7 +2170,7 @@ variables. rmdir #include <unistd.h> - rmdir.c + rmdir.c
stat-macros.h rmdir.m4
gl_FUNC_RMDIR --- @@ -1922,7 +2178,7 @@ variables. utime #if HAVE_UTIME_H
# include <utime.h>
#else
# include <sys/utime.h>
#endif utime.c - utimbuf.m4
utime.m4
utimes.m4
utimes-null.m4
jm_FUNC_UTIME + utimbuf.m4
utime.m4
utimes.m4
utimes-null.m4
gl_FUNC_UTIME safe-read
full-write @@ -1951,12 +2207,19 @@ variables. getopt - #include "getopt.h" - getopt.c
getopt1.c + #include <getopt.h> + getopt_.h
getopt.c
getopt1.c
getopt_int.h getopt.m4
gl_GETOPT gettext + fcntl-safer + #include "fcntl-safer.h" + open-safer.c + fcntl-safer.m4
gl_FCNTL_SAFER + unistd-safer + + unistd-safer #include "unistd-safer.h" dup-safer.c @@ -2043,11 +2306,18 @@ variables. backupfile #include "backupfile.h" - backupfile.c
addext.c + backupfile.c dos.m4
d-ino.m4
backupfile.m4
gl_BACKUPFILE argmatch
dirname + canonicalize + #include "canonicalize.h" + canonicalize.c
stat-macros.h + canonicalize.m4
AC_FUNC_CANONICALIZE_FILE_NAME + cycle-check
path-concat
xalloc
xgetcwd + + copy-file #include "copy-file.h" copy-file.c @@ -2055,6 +2325,13 @@ variables. error
safe-read
full-write
binary-io
exit
gettext + cycle-check + #include "cycle-check.h" + cycle-check.c
dev-ino.h + --- + --- + + fsusage #include "fsusage.h" fsusage.c @@ -2065,20 +2342,20 @@ variables. dirfd #include "dirfd.h" dirfd.c - dirfd.m4
UTILS_FUNC_DIRFD + dirfd.m4
gl_FUNC_DIRFD --- euidaccess #include "euidaccess.h" - euidaccess.c + euidaccess.c
stat-macros.h euidaccess.m4
gl_FUNC_EUIDACCESS group-member file-type #include "file-type.h" - file-type.c + file-type.c
stat-macros.h file-type.m4
gl_FILE_TYPE gettext @@ -2092,7 +2369,7 @@ variables. filemode #include "filemode.h" - filemode.c + filemode.c
stat-macros.h filemode.m4
gl_FILEMODE --- @@ -2106,14 +2383,14 @@ variables. lchown #include "lchown.h" - lchown.c - lchown.m4
jm_FUNC_LCHOWN + lchown.c
stat-macros.h + lchown.m4
gl_FUNC_LCHOWN chown makepath #include "makepath.h" - makepath.c + makepath.c
stat-macros.h afs.m4
makepath.m4
gl_MAKEPATH alloca
chown
gettext
save-cwd
dirname
error
quote @@ -2136,7 +2413,7 @@ variables. #include "path-concat.h" path-concat.c dos.m4
path-concat.m4
gl_PATH_CONCAT - strdup
xalloc
dirname + xalloc
dirname pathname @@ -2174,6 +2451,20 @@ variables. xalloc + utimecmp + #include "utimecmp.h" + utimecmp.c + utimecmp.m4
gl_UTIMECMP + hash
timespec
utimens
xalloc + + + utimens + #include "utimens.h" + utimens.c + utimens.m4
utimes.m4
gl_UTIMENS + timespec + + xgetcwd #include "xgetcwd.h" xgetcwd.c @@ -2260,7 +2551,7 @@ variables. fpending #include "__fpending.h" __fpending.c - fpending.m4
jm_FUNC_FPENDING + fpending.m4
gl_FUNC_FPENDING --- @@ -2279,17 +2570,17 @@ variables. getpass - --- + #include "getpass.h" getpass.c getpass.m4
gl_FUNC_GETPASS unlocked-io
getline
stdbool getpass-gnu - --- + #include "getpass.h" getpass.c getpass.m4
gl_FUNC_GETPASS_GNU - unlocked-io
getline + unlocked-io
getline
stdbool

Users and groups

@@ -2319,7 +2610,7 @@ variables. group-member #include "group-member.h" group-member.c - group-member.m4
jm_FUNC_GROUP_MEMBER + group-member.m4
gl_FUNC_GROUP_MEMBER xalloc
stdbool @@ -2334,7 +2625,7 @@ variables. #include "userspec.h" userspec.c userspec.m4
gl_USERSPEC - alloca
posixver
xalloc
xstrtol
strdup
gettext + posixver
xalloc
xstrtol
strdup
gettext

Date and time

@@ -2374,6 +2665,13 @@ variables. posixtm.m4
gl_POSIXTM mktime
unlocked-io + + xnanosleep + #include "xnanosleep.h" + xnanosleep.c + --- + timespec
xalloc +

Networking functions

@@ -2396,7 +2694,7 @@ variables. + + + + + +
#include "xgethostname.h" xgethostname.c --- - gethostname
xalloc
error
exit +
gethostname
xalloc
canon-host @@ -2494,7 +2792,7 @@ variables.
yesno - --- + #include "yesno.h" yesno.c yesno.m4
gl_YESNO
unlocked-io
rpmatch @@ -2552,6 +2850,13 @@ variables.
Depends on
cloexec + #include "cloexec.h" + cloexec.c + cloexec.m4
gl_CLOEXEC +
stdbool +
findprog #include "findprog.h" findprog.c @@ -2565,6 +2870,20 @@ variables. 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

@@ -2587,8 +2906,15 @@ 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
gl_ARGP - alloca
getopt
strchrnul
sysexits
mempcpy
strndup
restrict
strcase + argp.m4
unlocked-io.m4
gl_ARGP + alloca
getopt
strchrnul
sysexits
mempcpy
strndup
restrict
strcase
extensions + + + argz + #include <argz.h> + argz_.h
argz.c + argz.m4
gl_FUNC_ARGZ + --- exitfail @@ -2619,13 +2945,6 @@ variables. --- - fatal - #include "fatal.h" - fatal.c - fatal.m4
gl_FATAL - error
unlocked-io
exit - - getdomainname #include "getdomainname.h" getdomainname.c @@ -2644,7 +2963,7 @@ variables. --- getloadavg.c getloadavg.m4
gl_FUNC_GETLOADAVG - --- + cloexec
xalloc getpagesize @@ -2679,7 +2998,7 @@ variables. #include "progname.h" progname.c --- - stdbool + --- quotearg @@ -2717,41 +3036,9 @@ variables. --- -

Unclassified modules - please update MODULES.html.sh

- - - - - - - - - -
modules/ - lib/ - lib/ - m4/ -   -
Module - Header - Implementation - Autoconf macro - Depends on -
free - #include <stdlib.h> - free.c - free.m4
gl_FUNC_FREE -
--- -
tzset - #include <time.h> - --- - tzset.m4
gl_FUNC_TZSET_CLOBBER -
gettimeofday -

Lone files - please create new modules containing them

 lib/progreloc.c
-lib/userspec.h
 m4/check-decl.m4
 m4/d-type.m4
 m4/glibc.m4
@@ -2769,6 +3056,7 @@ variables.
 m4/rmdir-errno.m4
 m4/search-libs.m4
 m4/st_dm_mode.m4
+m4/uintptr_t.m4
 m4/unlink-busy.m4
 m4/uptime.m4
 
@@ -2784,6 +3072,6 @@ variables.
  • A testsuite
    - Generated from MODULES.html.sh on 24 January 2004. + Generated from MODULES.html.sh on 1 October 2004.