![]() |
number and position of "__ " in code ... question
hi...
if you read through some kernel code or somethig simillar..u will find they have seperated the different spaces with different number of "_" and at different positions... eg : __KERNEL__DATA_ DOES this have any significance? just enquiring thnks tuxfood |
Most (if not all?) C predefined macros have all this form (double underscore as prefix and suffix).
for example ___LINE___ and __FILE__ __KERNEL__ is not predefined by the compiler, but set in the linux kernel makefile. It follows the same syntaxic rule and objective: prevent any clash with custom code macros. Not sure about the __KERNEL__DATA_ though, didn't find it anywhere. |
| All times are GMT -5. The time now is 10:13 AM. |