kolibrios-fun/programs/develop/ktcc/trunk/libc/stdlib/assert.c
turbocat 678de81f24 kolibri-libc:
- added qsort and assert
- delete junk files
- updated libc loader


git-svn-id: svn://kolibrios.org@9013 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-06 18:18:46 +00:00

8 lines
217 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);
abort();
}