"benben xiao" xiaoxiaoben@hotmail.com writes:
When I see fiasco kernel, I have a simple question: I don't know #if 0 ... ... #endif what do '0' mean there?
This is a way to comment out unused code: Everything between "#if 0" and "#endif" is stripped by the preprocessor, and is ignored by the compiler.
For more information about the C/C++ preprocessor, please refer to the GNU CPP manual. On most systems, you can browse it with "info cpp". The answer to your particular question is in "info cpp conditional deletion".
Michael
l4-hackers@os.inf.tu-dresden.de