Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
musl
/
d41cdef9198e635270d30e82be939d4ea0cbce82
/
.
/
src
/
exit
/
assert.c
blob: 49b0dc3ec434c68a92ad3c38f087aec74c45e4e3 [
file
] [
log
] [
blame
]
#include
<stdio.h>
#include
<stdlib.h>
_Noreturn
void
__assert_fail
(
const
char
*
expr
,
const
char
*
file
,
int
line
,
const
char
*
func
)
{
fprintf
(
stderr
,
"Assertion failed: %s (%s: %s: %d)\n"
,
expr
,
file
,
func
,
line
);
fflush
(
NULL
);
abort
();
}