Go to the source code of this file.
|
void | __assert (const char *func, const char *file, int line, const char *expr) |
|
◆ assert
Value: if (!(_expr)) { \
__assert(__func__, __FILE__, __LINE__, #_expr); \
}
Definition at line 7 of file assert.h.
◆ __assert()
void __assert |
( |
const char * |
func, |
|
|
const char * |
file, |
|
|
int |
line, |
|
|
const char * |
expr |
|
) |
| |
Definition at line 6 of file assert.c.
7{
8 fprintf(
stderr,
"Assert (%s): %s %s:%d\n", expr, func, file, line);
10}
int fprintf(FILE *stream, const char *fmt,...)
_Noreturn void abort(void)