Sign in
googlers
/
maze
/
klibc
/
klibc-0.18
/
.
/
assert.c
blob: 71782ab00cc11a9d3cdafb9bec3cf4493cdd3052 [
file
] [
log
] [
blame
]
/*
* assert.c
*/
#include
<stdlib.h>
#include
<stdio.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
();
}