meta: move photon/libc to root
This commit is contained in:
8
libc/stdlib/assert.c
Normal file
8
libc/stdlib/assert.c
Normal file
@@ -0,0 +1,8 @@
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
|
||||
extern void _Noreturn __assert_fail(const char *exp, const char *func, const char *file, int line)
|
||||
{
|
||||
printf("Assertion failed: (%s), function %s, file %s, line %d\n", exp, func, file, line);
|
||||
abort();
|
||||
}
|
||||
Reference in New Issue
Block a user