1<stdbool.h>(0P) POSIX Programmer's Manual <stdbool.h>(0P)
2
3
4
6 stdbool.h - boolean type and values
7
9 #include <stdbool.h>
10
12 The <stdbool.h> header shall define the following macros:
13
14 bool Expands to _Bool.
15
16 true Expands to the integer constant 1.
17
18 false Expands to the integer constant 0.
19
20 __bool_true_false_are_defined
21
22 Expands to the integer constant 1.
23
24
25 An application may undefine and then possibly redefine the macros bool,
26 true, and false.
27
28 The following sections are informative.
29
31 None.
32
34 None.
35
37 The ability to undefine and redefine the macros bool, true, and false
38 is an obsolescent feature and may be withdrawn in a future version.
39
41 None.
42
44 Portions of this text are reprinted and reproduced in electronic form
45 from IEEE Std 1003.1, 2003 Edition, Standard for Information Technology
46 -- Portable Operating System Interface (POSIX), The Open Group Base
47 Specifications Issue 6, Copyright (C) 2001-2003 by the Institute of
48 Electrical and Electronics Engineers, Inc and The Open Group. In the
49 event of any discrepancy between this version and the original IEEE and
50 The Open Group Standard, the original IEEE and The Open Group Standard
51 is the referee document. The original Standard can be obtained online
52 at http://www.opengroup.org/unix/online.html .
53
54
55
56IEEE/The Open Group 2003 <stdbool.h>(0P)