1
0
mirror of https://github.com/UzixLS/KernelEx.git synced 2025-07-19 07:21:20 +03:00
Files
KernelEx/kexcrt/assert.c
2018-11-03 16:21:13 +03:00

14 lines
232 B
C
Executable File

/*
* assert.c
*/
#include <stdlib.h>
#include <stdio.h>
#include <assert.h>
void _assert(const char *expr, const char *file, unsigned int line)
{
printf("Assertion %s failed, file %s, line %u\n", expr, file, line);
abort();
}