.TH "assert.h" 3avr "Fri Jan 1 2021" "Version 2.0.0" "avr-libc" \" -*- nroff -*- .ad l .nh .SH NAME assert.h .SH SYNOPSIS .br .PP .SS "Macros" .in +1c .ti -1c .RI "#define \fBassert\fP(expression)" .br .in -1c .SH "Macro Definition Documentation" .PP .SS "#define assert(expression)" .PP \fBParameters\fP .RS 4 \fIexpression\fP Expression to test for\&. .RE .PP The \fBassert()\fP macro tests the given expression and if it is false, the calling process is terminated\&. A diagnostic message is written to stderr and the function \fBabort()\fP is called, effectively terminating the program\&. .PP If expression is true, the \fBassert()\fP macro does nothing\&. .PP The \fBassert()\fP macro may be removed at compile time by defining NDEBUG as a macro (e\&.g\&., by using the compiler option -DNDEBUG)\&. .SH "Author" .PP Generated automatically by Doxygen for avr-libc from the source code\&.