|
DebugfsDebugfsPosted Dec 16, 2004 12:33 UTC (Thu) by pjdc (guest, #6906)In reply to: Debugfs by raible Parent article: Debugfs
C does not have a 'bool' type.
(Log in to post comments)
bool Posted Dec 17, 2004 10:37 UTC (Fri) by dododge (subscriber, #2870) [Link] 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.
|
Copyright © 2008, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds
Powered by Rackspace Managed Hosting.