G2Labs Grzegorz Grzęda
libc - stdbool header
June 23, 2023
Definition of bool
type in C. Platform dependant implementation, but has to
allow standard logical operations in C to carry on.
Note: according to ANSI C standard logical operators result in (int) 0
or (int) 1
values.
|
|
Defined types
bool
as the type to process boolean operations.
Macro definitions
true
as 1
.
false
as 0
.
__bool_true_false_are_defined
as 1
- indicates that the boolean foundation is present.