What is '_KERNEL' in the source ?

Tanmay tanmayinamdar at gmail.com
Mon Feb 6 02:40:47 PST 2006


Hello,
          In various kernel source files,i came across '#ifdef _KERNEL'.
What is '_KERNEL' used for ? In some files _KERNEL is #defined to nothing ??
Can anybody please explain this ?

TIA.

Regards,
 Tanmay


More information about the freebsd-hackers mailing list