- Function
Test a condition and possibly abort.
- Header
- Declaration
void assert (int cond);- Description
assertis a macro that expands to aidstatement. If the condition evaluates t zero (false), assert prints a message on stderr and aborts the program.- Limits
- The function is actually a macro.
- Availability
ISO 9899
- See also
- Example
None.