shithub: scc

ref: d764f1b643106a1e028f18104fe458a53ee39913
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();
}