Turnstone Operating System
Loading...
Searching...
No Matches
assert.h File Reference

Assertion library. More...

#include <types.h>

Macros

#define assert(expr)   ((void)((expr) || (__assert(#expr, __FILE__, __LINE__, __func__), 0)))
 

Functions

_Noreturn void __assert (const char_t *expr, const char_t *file, size_t line, const char_t *func)
 

Detailed Description

Assertion library.

This work is licensed under TURNSTONE OS Public License. Please read and understand latest version of Licence.