assert.h File Reference

POSIX.1-2008 compliant version of the assert macro. More...

Detailed Description

POSIX.1-2008 compliant version of the assert macro.

Author
Oliver Hahm olive.nosp@m.r.ha.nosp@m.hm@in.nosp@m.ria..nosp@m.fr
René Kijewski rene..nosp@m.kije.nosp@m.wski@.nosp@m.fu-b.nosp@m.erlin.nosp@m..de
Martine Lenders m.len.nosp@m.ders.nosp@m.@fu-b.nosp@m.erli.nosp@m.n.de

Definition in file assert.h.

#include "panic.h"
+ Include dependency graph for assert.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define DEBUG_ASSERT_VERBOSE
 Activate verbose output for assert() when defined. More...
 
#define assert(cond)
 abort the program if assertion is false More...
 

Functions

NORETURN void _assert_failure (const char *file, unsigned line)
 Function to handle failed assertion. More...
 

Variables

const char assert_crash_message []
 the string that is passed to panic in case of a failing assertion