bool
Posted Dec 17, 2004 10:37 UTC (Fri) by
dododge (subscriber, #2870)
In reply to:
Debugfs by pjdc
Parent article:
Debugfs
C does not have a 'bool' type.
Actually the latest version (C99) does have such a type, but you have to include <stdbool.h>
to make it visible by that name. "bool" is implemented using a new
integer type _Bool. _Bool requires special behavior when
values are converted to it, so it can't be implemented as a simple typedef of some other
integer type.
(
Log in to post comments)