doc/posix-headers


Log

Author Commit Date CI Message
Eric Blake ece820e5 2009-08-13T14:21:43 doc: mention more functions added in cygwin 1.7.0 * doc/posix-headers/limits.texi (limits.h): Update for recent cygwin additions. * doc/posix-headers/wordexp.texi (wordexp.h): Likewise. * doc/posix-functions/wordexp.texi (wordexp): Likewise. * doc/posix-functions/wordfree.texi (wordfree): Likewise. * doc/posix-functions/setlocale.texi (setlocale): Likewise. * doc/posix-functions/nl_langinfo.texi (nl_langinfo): Likewise. Signed-off-by: Eric Blake <ebb9@byu.net>
Eric Blake 2f5181b1 2009-08-12T10:23:03 stddef: fix NetBSD 5.0 NULL bug, rather than working around it * tests/test-locale.c: Revert previous patch related to NULL. * tests/test-stdio.c: Likewise. * tests/test-stdlib.c: Likewise. * tests/test-string.c: Likewise. * tests/test-unistd.c: Likewise. * modules/time-tests (Depends-on): Add verify. * modules/wchar-tests (Depends-on): Likewise. * tests/test-time.c: Test for NULL compliance. * tests/test-wchar.c: Likewise. * modules/locale (Depends-on): Add stddef. * modules/stdio (Depends-on): Likewise. * modules/stdlib (Depends-on): Likewise. * modules/string (Depends-on): Likewise. * modules/time (Depends-on): Likewise. * modules/unistd (Depends-on): Likewise. * modules/wchar (Depends-on): Likewise. * lib/locale.in.h (includes): Use <stddef.h> to fix NULL. * lib/stdlib.in.h (includes): Likewise. * lib/string.in.h (includes): Likewise. * lib/time.in.h (includes): Likewise. * lib/unistd.in.h (includes): Likewise. * m4/locale_h.m4 (gl_LOCALE_H): Replace locale.h if stddef.h was replaced. * m4/wchar.m4 (gl_WCHAR_H): Likewise. * m4/stddef_h.m4: New file. * modules/stddef: Likewise. * lib/stddef.in.h: Likewise. * modules/stddef-tests: Likewise. * tests/test-stddef.c: Likewise. * MODULES.html.sh (Basic types <stddef.h>): Mention new module. * doc/posix-headers/stddef.texi (stddef.h): Document the bug. * doc/posix-headers/locale.texi (locale.h): Likewise. * doc/posix-headers/stdio.texi (stdio.h): Likewise. * doc/posix-headers/stdlib.texi (stdlib.h): Likewise. * doc/posix-headers/string.texi (string.h): Likewise. * doc/posix-headers/time.texi (time.h): Likewise. * doc/posix-headers/unistd.texi (unistd.h): Likewise. * doc/posix-headers/wchar.texi (wchar.h): Likewise. Signed-off-by: Eric Blake <ebb9@byu.net>
Bruno Haible d93c1f1b 2009-08-10T00:26:10 Make <sys/select.h> really self-contained, also on Solaris 10.
Bruno Haible 9e74daeb 2009-08-08T11:18:41 Define HOST_NAME_MAX also for the various Unix platforms.
Bruno Haible 1233d271 2009-08-02T16:49:23 New module 'sys_utsname'.
Bruno Haible 4f2b5393 2009-08-02T12:24:14 Ensure HOST_NAME_MAX as part of the gethostname module.
Bruno Haible b96a57ff 2009-06-17T10:37:33 Define missing ESTALE on Interix 3.5.
Eric Blake bde8c798 2009-03-21T17:57:40 signal.h: always support 'volatile sig_atomic_t' * m4/signal_h.m4 (gl_SIGNAL_H): Check for AIX limitation. (gl_SIGNAL_H_DEFAULTS): Add a default. * modules/signal (Makefile.am): Substitute if needed. * lib/signal.in.h (sig_atomic_t): Redefine if needed, so that users can blindly add volatile. * doc/posix-headers/signal.texi (signal.h): Document it. Reported by Matthew Woehlke. Signed-off-by: Eric Blake <ebb9@byu.net>
Bruno Haible 3a4f1890 2009-02-26T01:21:03 Work around broken INT8_MAX, UINT8_MAX etc. values on HP-UX 11.23.
Eric Blake ae5dae6f 2009-01-19T09:27:47 unistd: guarantee STDIN_FILENO here, for OS/2 EMX * lib/unistd.in.h (STDIN_FILENO, STDOUT_FILENO, STDERR_FILENO): Guarantee a definition. * doc/posix-headers/unistd.texi (unistd.h): Document the bug. * modules/unistd-safer (Depends-on): Add dependency on unistd. * lib/c-stack.c (STDERR_FILENO): Rely on <unistd.h>. * lib/dup-safer.c (STDERR_FILENO): Likewise. * lib/execute.c (STDIN_FILENO, STDOUT_FILENO, STDERR_FILENO): Likewise. * lib/fd-safer.c (STDIN_FILENO, STDERR_FILENO): Likewise. * lib/fopen-safer.c (STDERR_FILENO): Likewise. * lib/pipe.c (STDIN_FILENO, STDOUT_FILENO, STDERR_FILENO): Likewise. * lib/tmpfile-safer.c (STDERR_FILENO): Likewise. * tests/test-posix_spawn1.c (STDIN_FILENO, STDOUT_FILENO) (STDERR_FILENO): Likewise. * tests/test-posix_spawn2.c (STDIN_FILENO, STDOUT_FILENO) (STDERR_FILENO): Likewise. * tests/test-posix_spawn3.c (STDIN_FILENO, STDOUT_FILENO) (STDERR_FILENO): Likewise. Reported by Elbert Pol. Signed-off-by: Eric Blake <ebb9@byu.net>
Eric Blake 3cb753d3 2008-12-29T09:09:58 wchar.h: supply WEOF on Irix 5.3 * lib/wchar.in.h (wint_t): Also supply WEOF. * lib/wctype.in.h (wint_t): Likewise. * doc/posix-headers/wchar.texi (wchar.h): Document the bug. * doc/posix-headers/wctype.texi (wctype.h): Likewise. Reported by Tom G. Christensen. Signed-off-by: Eric Blake <ebb9@byu.net>
Bruno Haible 394c5a6e 2008-11-15T21:17:23 Make the netdb.h replacement work on Haiku.
Bruno Haible 4dd30a3e 2008-11-15T13:06:41 Make the 'sched' module work on platforms where <sched.h> is incomplete.
Simon Josefsson 66de54f8 2008-10-28T18:19:49 Add modules for sys/times.h header and times function.
Bruno Haible b4f17a8f 2008-10-24T02:22:43 Define a dummy SA_NODEFER macro on Interix.
Eric Blake 9a53061c 2008-10-22T05:34:48 netdb: also supply struct addrinfo for cygwin 1.5.x * m4/netdb_h.m4 (gl_HEADER_NETDB): Check for incomplete header on older cygwin. * lib/netdb.in.h [!HAVE_STRUCT_ADDRINFO]: Also supply contents for cygwin. * doc/posix-headers/netdb.texi (netdb.h): Document this. Signed-off-by: Eric Blake <ebb9@byu.net>
Bruno Haible b810369f 2008-10-19T23:27:14 New module 'sys_wait'.
Bruno Haible c5fb0151 2008-10-19T01:44:46 New module 'dirent'.
Simon Josefsson ceb82aa3 2008-10-15T14:48:59 Add netdb.h replacement module. Currently empty and unused, but that will change soon.
Bruno Haible 783a7181 2008-10-05T17:37:21 Update doc of OSF/1 4.0 problem.
Bruno Haible 87ebcbbb 2008-09-28T17:02:37 OSF/1 4.0 has a <sys/select.h> that lacks 'struct timeval'.
Bruno Haible 48243a0d 2008-09-28T13:26:56 New module 'spawn'.
Bruno Haible e9b9f384 2008-09-28T13:22:59 New module 'sched'.
Bruno Haible e59f7797 2008-09-26T20:09:32 Module EOVERFLOW is removed.
Bruno Haible be602af5 2008-09-26T14:44:52 Reorder items.
Bruno Haible b5298eb7 2008-09-26T13:25:57 Support signal handling with SIGPIPE on native Windows platforms.
Bruno Haible 6fe332a1 2008-09-20T14:51:52 Ensure that wint_t gets defined on IRIX 5.3.
Bruno Haible 20e00532 2008-09-15T12:26:17 Override <errno.h> also on Cygwin.
Bruno Haible 3d37b264 2008-09-14T00:41:33 New module 'errno'.
Eric Blake ae3a0d62 2008-08-19T21:36:21 test-c-stack: fix compilation failure on FreeBSD 5.0 * tests/test-c-stack.c [HAVE_SETRLIMIT]: Include prerequisite headers before <sys/resource.h>. * doc/posix-headers/sys_resource.texi (sys/resource.h): Document the bug. Reported by Nelson H. F. Beebe. Signed-off-by: Eric Blake <ebb9@byu.net>
Eric Blake a3f953e8 2008-08-16T13:47:58 c-stack: fix regression on Irix 5.3 from 2008-06-21 * m4/c-stack.m4 (gl_PREREQ_C_STACK): Move check for sa_sigaction... * m4/sigaction.m4 (gl_PREREQ_SIG_HANDLER_H): ...here. (gl_PREREQ_SIGACTION): Depend on sig-handler.h prereq's. * m4/signal_h.m4 (gl_SIGNAL_H_DEFAULTS): Set the default. * modules/signal (Makefile.am): Use the value. * lib/signal.in.h (sa_sigaction) [HAVE_SIGACTION && !HAVE_STRUCT_SIGACTION_SA_SIGACTION]: Define. * doc/posix-headers/signal.texi (signal.h): Document this portability issue. * doc/posix-functions/sigaction.texi (sigaction): Likewise. Reported by Tom G. Christensen. Signed-off-by: Eric Blake <ebb9@byu.net>
Eric Blake cfb3906f 2008-06-21T14:32:55 New module sigaction, for mingw. * modules/sigaction: New module... * modules/sigaction-tests: ...and its test. * m4/sigaction.m4: New file. * lib/sigaction.c: Likewise. * tests/test-sigaction.c: Likewise. * m4/signal_h.m4 (gl_SIGNAL_H_DEFAULTS): Add sigaction variables. * modules/signal (Makefile.am): Likewise. * lib/signal.in.h (!@HAVE_SIGACTION@): Define replacements when needed. * doc/posix-headers/signal.texi (signal.h): Mention provided types. * doc/posix-functions/siginterrupt.texi (siginterrupt): Mention that sigaction is preferable. * doc/posix-functions/sigaction.texi (sigaction): Mention new module. * MODULES.html.sh (Support for systems lacking POSIX:2001): Add sigaction. Signed-off-by: Eric Blake <ebb9@byu.net>
Bruno Haible 95454b6b 2008-04-13T14:56:42 Override <sys/socket.h> when it exists but is incomplete.
Eric Blake 833333f7 2008-04-12T07:22:40 Work around Solaris 10 math.h bug. * m4/math_h.m4 (gl_MATH_H): Check for bug. (gl_MATH_H_DEFAULTS): Set up default. * modules/math (Makefile.am): Replace new indicators. * lib/math.in.h (NAN, HUGE_VAL): Provide replacements. * tests/test-math.c (main): Test this. * m4/strtod.m4 (gl_FUNC_STRTOD): Don't rely on HUGE_VAL. * doc/posix-headers/math.texi (math.h): Mention bug. Reported by Nelson H. F. Beebe and Jim Meyering. Signed-off-by: Eric Blake <ebb9@byu.net>
Bruno Haible 2ada70ab 2008-04-02T03:30:52 Refine documentation of NAN problem.
Eric Blake 06945b7c 2008-03-31T20:56:25 Guarantee a definition of NAN. * lib/math.in.h (NAN): Define if missing. * tests/test-math.c (main): Test it. * doc/posix-headers/math.texi (math.h): Document this. * lib/isnan.c (rpl_isnand): Use it. * tests/test-ceilf1.c (NaN): Delete, and use NAN instead. * tests/test-floorf1.c (NaN): Likewise. * tests/test-frexp.c (NaN): Likewise. * tests/test-isnand.c (NaN): Likewise. * tests/test-isnanf.c (NaN): Likewise. * tests/test-round1.c (NaN): Likewise. * tests/test-roundf1.c (NaN): Likewise. * tests/test-snprintf-posix.h (NaN): Likewise. * tests/test-sprintf-posix.h (NaN): Likewise. * tests/test-trunc1.c (NaN): Likewise. * tests/test-truncf1.c (NaN): Likewise. * tests/test-vasnprintf-posix.c (NaN): Likewise. * tests/test-vasprintf-posix.c (NaN): Likewise. * modules/isnand-nolibm (Depends-on): Add math. * modules/isnanf-nolibm (Depends-on): Likewise. * modules/isnanl (Depends-on): Likewise. * modules/isnanl-nolibm (Depends-on): Likewise. * modules/snprintf-posix-tests (Depends-on): Likewise. * modules/sprintf-posix-tests (Depends-on): Likewise. * modules/vsnprintf-posix-tests (Depends-on): Likewise. * modules/vsprintf-posix-tests (Depends-on): Likewise. * modules/vasnprintf-posix-tests (Depends-on): Likewise. * modules/vasprintf-posix-tests (Depends-on): Likewise. Signed-off-by: Eric Blake <ebb9@byu.net>
Bruno Haible 75aa45a0 2008-03-30T14:34:48 New module 'EOVERFLOW'.
Bruno Haible 2b6c08c7 2008-01-20T00:09:59 Rename two directories: headers -> posix-headers, functions -> posix-functions.