toaruos/libc/assert.c
2018-03-01 23:15:49 +09:00

7 lines
213 B
C

#include <stdio.h>
void __assert_func(const char * file, int line, const char * func, const char * failedexpr) {
fprintf(stderr, "Assertion failed in %s:%d (%s): %s\n", file, line, func, failedexpr);
// void
}