stdbool.h
From Wikipedia, the free encyclopedia
C Standard Library headers |
The header stdbool.h in the C Standard Library for the C programming language contains four macros. This header was introduced in C99.
The macros as defined in IEEE Std 1003.1-2001 are :
- bool which expands to _Bool
- true which expands to 1
- false which expands to 0
- __bool_true_false_are_defined which expands to 1
Programs using these macros can undefine and then redefine bool, true, and false.
[edit] External links
- [1]: A source code for this header file
- The Single UNIX® Specification, Issue 6 from The Open Group : boolean type and values – Base Definitions Reference,