Sign in
googlers
/
maze
/
klibc
/
94c9a6d798a25e2c629eede015435e8facf91ae7
/
.
/
assert.c
blob: 6d3ff238c91dc2d44dd9b6e3a65eb304c3855e7c [
file
] [
log
] [
blame
]
/*
* assert.c
*/
#include
<stdlib.h>
#include
<stdio.h>
#include
<assert.h>
void
__assert_fail
(
const
char
*
expr
,
const
char
*
file
,
unsigned
int
line
)
{
printf
(
"Assertion %s failed, file %s, line %u\n"
,
expr
,
file
,
line
);
abort
();
}