shithub: scc

ref: b79ca20491ce1570c50880a476106d8bf5c46acc
dir: /lib/c/__assert.c/

View raw version
#include <assert.h>
#include <stdlib.h>
#include <stdio.h>

void __assert(char *exp, char *file, long line)
{
	fprintf(stderr, "%s:%ld: assertion failed '%s'\n", file, line, exp);
	abort();
}