1stdbool.h(3HEAD) Headers stdbool.h(3HEAD)
2
3
4
6 stdbool.h, stdbool - boolean type and values
7
9 #include <stdbool.h>
10
11
13 The <stdbool.h> header defines the following macros:
14
15 bool
16
17 expands to _Bool
18
19
20 true
21
22 expands to the integer constant 1
23
24
25 false
26
27 expands to the integer constant 0
28
29
30 __bool_true_false_are_defined
31
32 expands to the integer constant 1
33
34
35
36 An application can undefine and then possibly redefine the macros bool,
37 true, and false.
38
40 See attributes(5) for descriptions of the following attributes:
41
42
43
44
45 ┌─────────────────────────────┬─────────────────────────────┐
46 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
47 ├─────────────────────────────┼─────────────────────────────┤
48 │Interface Stability │Standard │
49 └─────────────────────────────┴─────────────────────────────┘
50
52 attributes(5), standards(5)
53
54
55
56SunOS 5.11 10 Sep 2004 stdbool.h(3HEAD)