shithub: scc

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