summaryrefslogtreecommitdiff
path: root/doc/posix-headers/stdlib.texi
blob: f400f62749f5f7b7c320a3f44934ad4ef42f1622 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
@node stdlib.h
@section @file{stdlib.h}

POSIX specification:@* @url{http://www.opengroup.org/susv3xbd/stdlib.h.html}

Gnulib module: stdlib

Portability problems fixed by Gnulib:
@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

@item
Some platforms fail to provide @code{WEXITSTATUS} and friends:
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.
MacOS X 10.5.
@end itemize