mirror of git://git.musl-libc.org/musl
10 lines
233 B
C
10 lines
233 B
C
|
#include <stdio.h>
|
||
|
#include <stdlib.h>
|
||
|
|
||
|
void __assert_fail(const char *expr, const char *file, int line, const char *func)
|
||
|
{
|
||
|
fprintf(stderr, "Assertion failed: %s (%s: %s: %d)\n", expr, file, func, line);
|
||
|
fflush(NULL);
|
||
|
abort();
|
||
|
}
|