ASSERT.H(3) Library Functions Manual ASSERT.H(3)

NAME

assert.hverify program assertion

SYNOPSIS

#include <assert.h>

DESCRIPTION

The header <assert.h> shall define one macro: assert(<scalar expression>).

If NDEBUG was undefined at the most recent inclusion of this header, then it shall be defined as a macro which will evaluate the scalar expression and, if it is false, abort the program with a descriptive error message as defined in assert(3).

If NDEBUG was defined at the most recent inclusion of this header, then it shall be defined as a macro which evaluates as a void expression and does not evaluate its parameter.

STANDARDS

Conforming to ISO/IEC 9899:1990 (“ISO C90”), ISO/IEC 9899:1999 (“ISO C99”).
February 20, 2013 Fusion