9os

Experimental kernel using plan9 ideas for embedded device
git clone git://git.simple-cc.org/9os
Log | Files | Refs | README | LICENSE

assert.h (207B)


      1 extern void __assert(char *exp, char *file, long line);
      2 
      3 #undef assert
      4 #ifndef NDEBUG
      5 # define assert(exp) ((exp) ? (void) 0 : __assert(#exp, __FILE__, __LINE__))
      6 #else
      7 # define assert(exp) ((void)0)
      8 #endif