stdlib: work around MirBSD WEXITSTATUS bug
[gnulib.git] / doc / posix-headers / stdlib.texi
1 @node stdlib.h
2 @section @file{stdlib.h}
3
4 POSIX specification:@* @url{http://www.opengroup.org/susv3xbd/stdlib.h.html}
5
6 Gnulib module: stdlib
7
8 Portability problems fixed by Gnulib:
9 @itemize
10 @item
11 The macros @code{EXIT_SUCCESS} and @code{EXIT_FAILURE} are not defined on
12 some platforms.
13 @item
14 The macro @code{EXIT_FAILURE} is incorrectly defined on Tandem/NSK.
15
16 @item
17 Some platforms provide a @code{NULL} macro that cannot be used in arbitrary
18 expressions:
19 NetBSD 5.0
20
21 @item
22 Some platforms fail to provide @code{WEXITSTATUS} and friends:
23 MirBSD 10.
24 @end itemize
25
26 Portability problems not fixed by Gnulib:
27 @itemize
28 @item
29 System status macros such as @code{WEXITSTATUS} require an lvalue
30 argument on some platforms.
31 MacOS X 10.5.
32 @end itemize