STDBOOL.H(3HEAD) Headers STDBOOL.H(3HEAD)

stdbool.h, stdbool - boolean type and values

#include <stdbool.h>

The <stdbool.h> header defines the following macros:

bool

expands to _Bool

true

expands to the integer constant 1

false

expands to the integer constant 0

__bool_true_false_are_defined

expands to the integer constant 1

An application can undefine and then possibly redefine the macros bool, true, and false.

See attributes(7) for descriptions of the following attributes:

ATTRIBUTE TYPE ATTRIBUTE VALUE
Interface Stability Standard

attributes(7), standards(7)

September 10, 2004 OmniOS