X-Git-Url: https://erislabs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=doc%2Fposix-headers%2Fstdlib.texi;h=b3175ca220ddaf6a35b4309feb54637b27c0cefa;hb=ecac7ac53769f5363df8b98c5696cf7a40a25f82;hp=2fc6280f753d3f30972a4857b12c8c142dd53438;hpb=2b6c08c775ae4e80b52aa41058ea5939f778b44b;p=gnulib.git diff --git a/doc/posix-headers/stdlib.texi b/doc/posix-headers/stdlib.texi index 2fc6280f7..b3175ca22 100644 --- a/doc/posix-headers/stdlib.texi +++ b/doc/posix-headers/stdlib.texi @@ -1,19 +1,38 @@ @node stdlib.h @section @file{stdlib.h} -POSIX specification: @url{http://www.opengroup.org/susv3xbd/stdlib.h.html} +POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/basedefs/stdlib.h.html} -Gnulib module: stdlib +Gnulib module: stdlib, system-posix -Portability problems fixed by Gnulib: +Portability problems fixed by the Gnulib module @code{stdlib}: @itemize @item The macros @code{EXIT_SUCCESS} and @code{EXIT_FAILURE} are not defined on some platforms. @item The macro @code{EXIT_FAILURE} is incorrectly defined on Tandem/NSK. + +@item +Some platforms provide a @code{NULL} macro that cannot be used in arbitrary +expressions: +NetBSD 5.0 +@end itemize + +Portability problems fixed by the Gnulib module @code{system-posix}: +@itemize +@item +The macros @code{WIFSIGNALED}, @code{WIFEXITED}, @code{WIFSTOPPED}, +@code{WTERMSIG}, @code{WEXITSTATUS}, @code{WNOHANG}, @code{WUNTRACED}, +@code{WSTOPSIG} are not defined in this header file (only in +@code{}) on some platforms: +MirBSD 10. @end itemize Portability problems not fixed by Gnulib: @itemize +@item +System status macros such as @code{WEXITSTATUS} require an lvalue +argument on some platforms. +Mac OS X 10.5. @end itemize