shithub: scc

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