Blob
1 .TH ASSERT 32 .SH NAME3 assert \- check program invariants4 .SH SYNOPSIS5 .B #include <u.h>6 .br7 .B #include <libc.h>8 .PP9 .B10 #define assert if(cond);else _assert("cond")11 .PP12 .B13 void _assert(int cond)14 .SH DESCRIPTION15 .I Assert16 is a preprocessor macro that17 (via18 .IR _assert )19 prints a message and calls20 .I abort21 when22 .I cond23 is false.24 .SH SOURCE25 .B /usr/local/plan9/src/libc/port/_assert.c