ASSERT(9F) Kernel Functions for Drivers ASSERT(9F)NAMEASSERT, assert - expression verificationSYNOPSIS#include <sys/debug.h> void ASSERT(EX);INTERFACE LEVELArchitecture independent level 1 (DDI/DKI).PARAMETERSEX boolean expression.DESCRIPTIONThe ASSERT() macro checks to see if the expression EX is true. If it is not, then ASSERT() causes an error message to be logged to the con- sole and the system to panic. ASSERT() works only if the preprocessor symbol DEBUG is defined.CONTEXTThe ASSERT() macro can be used from user, interrupt, or kernel context.SEE ALSOWriting Device Drivers SunOS 5.11 16 Jan 2006 ASSERT(9F)