QP/C  6.3.7
stdbool.h File Reference

Boolean type and constansts. WG14/N843 C99 Standard, Section 7.16. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define true   ((bool)1)
 standard 'true' constant More...
 
#define false   ((bool)0)
 standard 'false' constant More...
 
#define __bool_true_false_are_defined   1
 

Typedefs

typedef int bool
 standard Boolean data type More...
 

Detailed Description

Boolean type and constansts. WG14/N843 C99 Standard, Section 7.16.

Description
This header is part of the ANSI C99 standard library to define the standard Boolean type as well as the 'true' and 'false' constansts.

Definition in file stdbool.h.

Macro Definition Documentation

◆ true

#define true   ((bool)1)

standard 'true' constant

Definition at line 17 of file stdbool.h.

◆ false

#define false   ((bool)0)

standard 'false' constant

Definition at line 18 of file stdbool.h.

◆ __bool_true_false_are_defined

#define __bool_true_false_are_defined   1

Definition at line 22 of file stdbool.h.

Typedef Documentation

◆ bool

typedef int bool

standard Boolean data type

Definition at line 16 of file stdbool.h.