Bruno Haible
c246263698
New module 'dup3'.
2009-08-24 00:17:47 +02:00
Bruno Haible
0aa929caab
New module 'mkostemp'.
2009-08-23 14:11:27 +02:00
Bruno Haible
7988d7308a
New module 'pipe2'.
2009-08-22 18:50:21 +02:00
Bruno Haible
37b2d8827b
Reference some new glibc functions.
2009-08-22 15:25:51 +02:00
Eric Blake
e3e47d1710
strstr, strcasestr: replace on platforms with broken memchr
...
* modules/strstr: Split into...
* modules/strstr-simple: ...new module that does not care about
performance, but does care about glibc bug.
* m4/strstr.m4 (gl_FUNC_STRSTR): Split...
(gl_FUNC_STRSTR_SIMPLE): ...into new macro, which replaces strstr
if platform memchr is broken, per Debian bug 521737.
* m4/strcasestr.m4 (gl_FUNC_STRCASESTR_SIMPLE): React to broken
memchr.
* m4/memchr.m4 (gl_FUNC_MEMCHR): Only expand once.
* doc/posix-functions/strstr.texi (strstr): Document the fix.
* doc/glibc-functions/strcasestr.texi (strcasestr): Likewise.
* modules/mountlist (Depends-on): Add strstr-simple.
* modules/gen-uni-tables (Depends-on): Likewise.
* modules/argz (Depends-on): Add strstr.
Signed-off-by: Eric Blake <ebb9@byu.net >
2009-06-17 07:24:16 -06:00
Pádraig Brady
3663b6b7a5
Mention glibc function 'fallocate'.
2009-05-22 12:54:02 +02:00
Eric Blake
887f0ad188
doc: mention more functions added in cygwin 1.7.0
...
* doc/posix-functions/fwprintf.texi: Mention recent cygwin 1.7.0
addition.
* doc/posix-functions/fwscanf.texi: Likewise.
* doc/posix-functions/swprintf.texi: Likewise.
* doc/posix-functions/swscanf.texi: Likewise.
* doc/posix-functions/vfwprintf.texi: Likewise.
* doc/posix-functions/vfwscanf.texi: Likewise.
* doc/posix-functions/vswprintf.texi: Likewise.
* doc/posix-functions/vswscanf.texi: Likewise.
* doc/posix-functions/vwprintf.texi: Likewise.
* doc/posix-functions/vwscanf.texi: Likewise.
* doc/posix-functions/wcscasecmp.texi: Likewise.
* doc/posix-functions/wcsdup.texi: Likewise.
* doc/posix-functions/wcsftime.texi: Likewise.
* doc/posix-functions/wcsncasecmp.texi: Likewise.
* doc/posix-functions/wprintf.texi: Likewise.
* doc/posix-functions/wscanf.texi: Likewise.
* doc/glibc-functions/gethostbyname2.texi: Likewise.
Signed-off-by: Eric Blake <ebb9@byu.net >
2009-03-17 05:58:52 -06:00
Bruno Haible
217fb89cd4
Separate two tests. Mention the platforms in canonical order.
2009-02-28 16:05:43 +01:00
Eric Blake
599e3ff6dc
Detect bug in cygwin 1.5.x *printf on 1-character %ls.
...
* m4/printf.m4 (gl_PRINTF_DIRECTIVE_LS): Enhance filter.
* doc/posix-functions/fprintf.texi: Update.
* doc/posix-functions/printf.texi: Update.
* doc/posix-functions/snprintf.texi: Update.
* doc/posix-functions/sprintf.texi: Update.
* doc/posix-functions/vfprintf.texi: Update.
* doc/posix-functions/vprintf.texi: Update.
* doc/posix-functions/vsnprintf.texi: Update.
* doc/posix-functions/vsprintf.texi: Update.
* doc/glibc-functions/obstack_printf.texi: Update.
* doc/glibc-functions/obstack_vprintf.texi: Update.
Signed-off-by: Eric Blake <ebb9@byu.net >
2009-02-27 06:06:47 -07:00
Bruno Haible
f7beddb6d0
Work around a *printf bug with %ls on Solaris.
2009-02-27 02:15:26 +01:00
Bruno Haible
220f76a18a
Fix *printf behaviour regarding the %ls directive.
2009-02-26 12:54:20 +01:00
Eric Blake
5b47449281
doc: mention another function added in cygwin 1.7.0
...
* doc/glibc-functions/glob_pattern_p.texi (glob_pattern_p):
Another new function in cygwin 1.7.
Signed-off-by: Eric Blake <ebb9@byu.net >
2009-01-19 16:59:35 -07:00
Eric Blake
542406c922
doc: mention more functions added in cygwin 1.7.0
...
* doc/posix-functions/abort.texi (abort): Update wording related
to cygwin.
* doc/posix-functions/daylight.texi (daylight): Likewise.
* doc/posix-functions/optarg.texi (optarg): Likewise.
* doc/posix-functions/optarg.texi (opterr): Likewise.
* doc/posix-functions/optarg.texi (optind): Likewise.
* doc/posix-functions/optarg.texi (optopt): Likewise.
* doc/posix-functions/wprintf.texi (wprintf): Cygwin wprintf never
worked in 1.5.x, and was withdrawn in 1.7.
* doc/posix-functions/vwprintf.texi (vwprintf): Likewise.
* doc/posix-functions/fprintf.texi (fprintf): Tighten mention of
cygwin versions.
* doc/posix-functions/perror.texi (perror): Likewise.
* doc/posix-functions/printf.texi (printf): Likewise.
* doc/posix-functions/snprintf.texi (snprintf): Likewise.
* doc/posix-functions/sprintf.texi (sprintf): Likewise.
* doc/posix-functions/vfprintf.texi (vfprintf): Likewise.
* doc/posix-functions/vprintf.texi (vprintf): Likewise.
* doc/posix-functions/vsnprintf.texi (vsnprintf): Likewise.
* doc/posix-functions/vsprintf.texi (vsprintf): Likewise.
* doc/glibc-functions/obstack_printf.texi (obstack_printf):
Likewise.
* doc/glibc-functions/obstack_vprintf.texi (obstack_vprintf):
Likewise.
* doc/glibc-functions/cfmakeraw.texi (cfmakeraw): Cygwin 1.7 adds
this function.
* doc/glibc-functions/in6addr_any.texi (in6addr_any): Likewise.
* doc/glibc-functions/in6addr_loopback.texi (in6addr_loopback):
Likewise.
* doc/glibc-functions/updwtmpx.texi (updwtmpx): Likewise.
* doc/posix-functions/_Exit_C99.texi (_Exit): Likewise.
* doc/posix-functions/confstr.texi (confstr): Likewise.
* doc/posix-functions/dprintf.texi (dprintf): Likewise.
* doc/posix-functions/fgetwc.texi (fgetwc): Likewise.
* doc/posix-functions/fgetws.texi (fgetws): Likewise.
* doc/posix-functions/fputwc.texi (fputwc): Likewise.
* doc/posix-functions/fputws.texi (fputws): Likewise.
* doc/posix-functions/fwide.texi (fwide): Likewise.
* doc/posix-functions/getwc.texi (getwc): Likewise.
* doc/posix-functions/getwchar.texi (getwchar): Likewise.
* doc/posix-functions/putwc.texi (putwc): Likewise.
* doc/posix-functions/putwchar.texi (putwchar): Likewise.
* doc/posix-functions/sigignore.texi (sigignore): Likewise.
* doc/posix-functions/ungetwc.texi (ungetwc): Likewise.
* doc/posix-functions/vdprintf.texi (vdprintf): Likewise.
* doc/posix-functions/wcpcpy.texi (wcpcpy): Likewise.
* doc/posix-functions/wcpncpy.texi (wcpncpy): Likewise.
* doc/posix-functions/wcstol.texi (wcstol): Likewise.
* doc/posix-functions/wcstoll.texi (wcstoll): Likewise.
* doc/posix-functions/wcstoul.texi (wcstoul): Likewise.
* doc/posix-functions/wcstoull.texi (wcstoull): Likewise.
* doc/posix-functions/wcsxfrm.texi (wcsxfrm): Likewise.
Signed-off-by: Eric Blake <ebb9@byu.net >
2009-01-19 06:43:51 -07:00
Bruno Haible
20d24b6149
Mention platform-dependent limitations of wchar_t.
2008-12-23 02:28:45 +01:00
Bruno Haible
78ef466426
Tweak wording.
2008-12-16 00:13:22 +01:00
Eric Blake
0460b26278
Update doc for cygwin 1.7.
...
* doc/posix-functions/faccessat.texi: Cygwin 1.7 added several new
functions.
* doc/posix-functions/fchmodat.texi: Likewise.
* doc/posix-functions/fchownat.texi: Likewise.
* doc/posix-functions/fdopendir.texi: Likewise.
* doc/posix-functions/fmemopen.texi: Likewise.
* doc/posix-functions/freeaddrinfo.texi: Likewise.
* doc/posix-functions/fstatat.texi: Likewise.
* doc/posix-functions/futimens.texi: Likewise.
* doc/posix-functions/gai_strerror.texi: Likewise.
* doc/posix-functions/getaddrinfo.texi: Likewise.
* doc/posix-functions/getnameinfo.texi: Likewise.
* doc/posix-functions/if_freenameindex.texi: Likewise.
* doc/posix-functions/if_indextoname.texi: Likewise.
* doc/posix-functions/if_nameindex.texi: Likewise.
* doc/posix-functions/if_nametoindex.texi: Likewise.
* doc/posix-functions/insque .texi: Likewise.
* doc/posix-functions/linkat.texi: Likewise.
* doc/posix-functions/llrint.texi: Likewise.
* doc/posix-functions/llrintf.texi: Likewise.
* doc/posix-functions/llrintl.texi: Likewise.
* doc/posix-functions/lockf.texi: Likewise.
* doc/posix-functions/lrintl.texi: Likewise.
* doc/posix-functions/mkdirat.texi: Likewise.
* doc/posix-functions/mkfifoat.texi: Likewise.
* doc/posix-functions/mknodat.texi: Likewise.
* doc/posix-functions/mq_close.texi: Likewise.
* doc/posix-functions/mq_getattr.texi: Likewise.
* doc/posix-functions/mq_notify.texi: Likewise.
* doc/posix-functions/mq_open.texi: Likewise.
* doc/posix-functions/mq_receive.texi: Likewise.
* doc/posix-functions/mq_send.texi: Likewise.
* doc/posix-functions/mq_setattr.texi: Likewise.
* doc/posix-functions/mq_timedreceive.texi: Likewise.
* doc/posix-functions/mq_timedsend.texi: Likewise.
* doc/posix-functions/mq_unlink.texi: Likewise.
* doc/posix-functions/open_memstream.texi: Likewise.
* doc/posix-functions/openat.texi: Likewise.
* doc/posix-functions/posix_fadvise.texi: Likewise.
* doc/posix-functions/posix_fallocate.texi: Likewise.
* doc/posix-functions/posix_madvise.texi: Likewise.
* doc/posix-functions/posix_memalign.texi: Likewise.
* doc/posix-functions/posix_openpt.texi: Likewise.
* doc/posix-functions/readlinkat.texi: Likewise.
* doc/posix-functions/remque.texi: Likewise.
* doc/posix-functions/renameat.texi: Likewise.
* doc/posix-functions/rintl.texi: Likewise.
* doc/posix-functions/sem_unlink.texi: Likewise.
* doc/posix-functions/shm_open.texi: Likewise.
* doc/posix-functions/shm_unlink.texi: Likewise.
* doc/posix-functions/signgam.texi: Likewise.
* doc/posix-functions/sigset.texi: Likewise.
* doc/posix-functions/stpcpy.texi: Likewise.
* doc/posix-functions/stpncpy.texi: Likewise.
* doc/posix-functions/strerror.texi: Likewise.
* doc/posix-functions/strtod.texi: Likewise.
* doc/posix-functions/symlinkat.texi: Likewise.
* doc/posix-functions/unlinkat.texi: Likewise.
* doc/posix-functions/utimensat.texi: Likewise.
* doc/glibc-functions/bindresvport.texi: Likewise.
* doc/glibc-functions/dn_expand.texi: Likewise.
* doc/glibc-functions/exp10.texi: Likewise.
* doc/glibc-functions/exp10f.texi: Likewise.
* doc/glibc-functions/fgetxattr.texi: Likewise.
* doc/glibc-functions/flistxattr.texi: Likewise.
* doc/glibc-functions/fopencookie.texi: Likewise.
* doc/glibc-functions/freeifaddrs.texi: Likewise.
* doc/glibc-functions/fremovexattr.texi: Likewise.
* doc/glibc-functions/fsetxattr.texi: Likewise.
* doc/glibc-functions/getifaddrs.texi: Likewise.
* doc/glibc-functions/getxattr.texi: Likewise.
* doc/glibc-functions/lgetxattr.texi: Likewise.
* doc/glibc-functions/listxattr.texi: Likewise.
* doc/glibc-functions/llistxattr.texi: Likewise.
* doc/glibc-functions/lremovexattr.texi: Likewise.
* doc/glibc-functions/lsetxattr.texi: Likewise.
* doc/glibc-functions/pow10.texi: Likewise.
* doc/glibc-functions/pow10f.texi: Likewise.
* doc/glibc-functions/rcmd_af.texi: Likewise.
* doc/glibc-functions/removexattr.texi: Likewise.
* doc/glibc-functions/res_init.texi: Likewise.
* doc/glibc-functions/res_mkquery.texi: Likewise.
* doc/glibc-functions/res_query.texi: Likewise.
* doc/glibc-functions/res_querydomain.texi: Likewise.
* doc/glibc-functions/res_send.texi: Likewise.
* doc/glibc-functions/rresvport_af.texi: Likewise.
* doc/glibc-functions/setxattr.texi: Likewise.
* doc/glibc-functions/strcasestr.texi: Likewise.
Signed-off-by: Eric Blake <ebb9@byu.net >
2008-12-15 07:05:41 -07:00
Bruno Haible
e2bc86f63c
Move documentation for glibc functions that are now in POSIX.
2008-12-14 19:10:34 +01:00
Jim Meyering
26af642c37
random_r: new module
...
* modules/random_r: New file.
* m4/random_r.m4: New file.
* lib/random_r.c: New file, from glibc.
* modules/random_r-tests: New file.
* tests/test-random_r.c: New file.
* lib/stdlib.in.h (srandom_r, initstate_r, setstate_r, random_r): Declare.
(RAND_MAX): Define.
* m4/stdlib_h.m4: Define and AC_SUBST GNULIB_RANDOM_R and HAVE_RANDOM_R.
* modules/stdlib: Substitute them, too.
* MODULES.html.sh (Extra functions based on POSIX:2001) [Misc]: Add it.
* doc/glibc-functions/initstate_r.texi: Mention the new module.
* doc/glibc-functions/random_r.texi: Likewise.
* doc/glibc-functions/setstate_r.texi: Likewise.
* doc/glibc-functions/srandom_r.texi: Likewise.
* config/srclist.txt: Mention it.
2008-10-23 16:38:01 +02:00
Bruno Haible
484799750d
Document existing modules.
2008-10-18 14:17:41 +02:00
Richard W.M. Jones
e69247d77e
flock: new module
...
* MODULES.html.sh: Add to list of modules.
* lib/flock.c: flock implementation for Windows and Unix systems
which have fcntl.
* doc/glibc-functions/flock.texi: Update documentation.
* lib/sys_file.in.h: <sys/file.h> header file.
* m4/flock.m4: M4 macros.
* m4/sys_file_h.m4: M4 macros for replacement sys/file.h.
* modules/flock: flock module.
* modules/flock-tests: flock tests module.
* modules/sys_file: sys/file.h module.
* tests/test-flock.c: test suite for flock.
2008-10-07 08:32:09 +02:00
Bruno Haible
6efcc54c2e
New module 'getdtablesize'.
2008-10-05 16:54:22 +02:00
Bruno Haible
244b71aedb
Add info about functions missing on IRIX 5.3.
2008-09-23 12:50:53 +02:00
Bruno Haible
c14f2f33ff
Update doc about Solaris.
2008-09-16 13:05:24 +02:00
Bruno Haible
73a8648074
Mention the 'strverscmp' module.
2008-09-04 00:45:45 +02:00
Ben Pfaff
4ade019ba6
Add isnanf module.
2008-07-12 11:27:14 -07:00
Eric Blake
79dd80fb31
Work around cygwin 1.5.25 strsignal bug.
...
* tests/test-strsignal.c: Allow for const char *.
* doc/glibc-functions/strsignal.texi (strsignal): Document the bug.
Signed-off-by: Eric Blake <ebb9@byu.net >
2008-06-18 11:16:23 -06:00
Eric Blake
7a8101a246
Add obstack-printf and obstack-printf-posix modules.
...
* modules/obstack-printf: New file.
* modules/obstack-printf-posix: Likewise.
* MODULES.html.sh (Misc): Mention them.
* doc/glibc-functions/obstack_printf.texi (obstack_printf):
Likewise.
* doc/glibc-functions/obstack_vprintf.texi (obstack_vprintf):
Likewise.
* modules/stdio (Makefile.am): Accomodate new modules.
* m4/stdio_h.m4 (gl_STDIO_H_DEFAULTS): Likewise.
* lib/stdio.in.h (rpl_obstack_printf, rpl_obstack_vprintf):
Declare.
* lib/obstack_printf.c (obstack_printf, obstack_vprintf): New
functions.
* m4/obstack-printf.m4 (gl_OBSTACK_PRINTF)
(gl_REPLACE_OBSTACK_PRINTF): New macros
* m4/obstack-printf-posix.m4 (gl_OBSTACK_PRINTF_POSIX): Likewise.
* tests/test-obstack-printf.c: New file.
* modules/obstack-printf-tests: Likewise.
* modules/obstack-printf-posix-tests: Likewise.
Signed-off-by: Eric Blake <ebb9@byu.net >
2008-06-13 07:34:22 -06:00
Eric Blake
e1759498c2
Actually commit the argz_next doc fix.
...
Signed-off-by: Eric Blake <ebb9@byu.net >
2008-06-06 17:57:29 -06:00
Eric Blake
4a2b4052b8
Tweak documentation to cover cygwin argz bugs.
...
* m4/argz.m4 (gl_FUNC_ARGZ): Mention date of last known cygwin
argz bug fix; no code change needed since no cygwin releases
occurred between the last fix and the bug being tested.
* doc/glibc-functions/argz_add.texi (argz_add): Document the argz
module and recently fixed cygwin bugs.
* doc/glibc-functions/argz_add_sep.texi (argz_add_sep): Likewise.
* doc/glibc-functions/argz_append.texi (argz_append): Likewise.
* doc/glibc-functions/argz_count.texi (argz_count): Likewise.
* doc/glibc-functions/argz_create.texi (argz_create): Likewise.
* doc/glibc-functions/argz_create_sep.texi (argz_create_sep):
Likewise.
* doc/glibc-functions/argz_delete.texi (argz_delete): Likewise.
* doc/glibc-functions/argz_extract.texi (argz_extract): Likewise.
* doc/glibc-functions/argz_insert.texi (argz_insert): Likewise.
* doc/glibc-functions/argz_next.texi (argz_next): Likewise.
* doc/glibc-functions/argz_replace.texi (argz_replace): Likewise.
* doc/glibc-functions/argz_stringify.texi (argz_stringify):
Likewise.
Signed-off-by: Eric Blake <ebb9@byu.net >
2008-06-06 09:02:17 -06:00
Jim Meyering
c35f42a7b6
Fix doc typo.
...
* doc/glibc-functions/getpass.texi (getpass): s/PATH_MAX/PASS_MAX/.
2008-05-19 14:02:31 +02:00
Bruno Haible
c2a78c90c3
Document limits of other implementations.
2008-05-19 13:15:59 +02:00
Simon Josefsson
d96cfbe13a
doc/glibc-functions/getpass.texi: Document gnulib implementation.
2008-05-19 09:40:59 +02:00
Eric Blake
a37217922a
Glibc finally accepted the memmem speedup code, bugzilla #5514 .
...
* doc/glibc-functions/memmem.texi (memmem): Mention last broken
glibc version.
* doc/glibc-functions/strcasestr.texi (strcasestr): Likewise.
* doc/posix-functions/strstr.texi (strstr): Likewise.
* lib/str-two-way.h (MAX): Sychronize with glibc.
Signed-off-by: Eric Blake <ebb9@byu.net >
2008-05-15 06:16:11 -06:00
Eric Blake
2b430e392c
Add rawmemchr module, matching glibc.
...
* modules/string (Makefile.am): New indicator.
* m4/string_h.m4 (gl_HEADER_STRING_H_DEFAULTS): Set it.
* lib/string.in.h (rawmemchr): Declare when appropriate.
* modules/rawmemchr: New file.
* m4/rawmemchr.m4: Likewise.
* lib/rawmemchr.c: Likewise.
* modules/rawmemchr-tests: Likewise.
* tests/test-rawmemchr.c: Likewise.
* doc/glibc-functions/rawmemchr.texi (rawmemchr): Document
module.
* modules/strchrnul (Depends-on): Add rawmemchr.
* lib/strchrnul.c (strchrnul): Optimize a corner case.
Signed-off-by: Eric Blake <ebb9@byu.net >
2008-04-28 17:12:24 -06:00
Bruno Haible
e606e4f86f
Incorporate existing strcasestr doc into new doc structure.
2008-01-19 13:06:50 +01:00
Bruno Haible
398c3b9ba9
Incorporate existing memmem doc into new doc structure.
2008-01-19 12:59:00 +01:00
Bruno Haible
038189bd6a
New documentation of GNU libc functions.
2008-01-19 02:51:21 +01:00