kolibrios/programs/develop/ktcc/trunk/libc.obj/source/stdlib/assert.c
turbocat 4f75a74c2c libc.obj: now builded to kos32-tcc
git-svn-id: svn://kolibrios.org@9843 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-06-19 15:47:00 +00:00

8 lines
223 B
C

#include <stdio.h>
#include <stdlib.h>
void __assert_fail(const char* expr, const char* file, int line, const char* func)
{
fprintf(stdout, "Assertion failed: %s (%s: %s: %d)\n", expr, file, func, line);
exit(0);
}