As far as I know, there's a bowl only on C++, and you have to define it on C I saw you write boolean in the Linux kernel code.
Did I get it wrong? TT?
c gcc linux-kernel boolean
Bool is not in C89 or C90, but from C99.
The C99 native type is _Bool
, which is used to define the standard library macro bowl for <stdbool.h>
.
_Bool
Type objects have values of 0 or 1
Include <stdbool.h>
to write true
and false
macros.
© 2024 OneMinuteCode. All rights reserved.