stdbool.h
Appearance
C standard library (libc) |
---|
General topics |
Miscellaneous 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.
External links
- [1]: A source code for this header file
- The Single UNIX Specification, Version 5 from The Open Group : boolean type and values โ Base Definitions Reference,