mirror of
https://github.com/UzixLS/KernelEx.git
synced 2025-07-19 07:21:20 +03:00
14 lines
232 B
C
Executable File
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();
|
|
}
|