shithub: scc

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