shithub: scc

ref: 3d2624f2168d73f53ab04756f79c4e009b3d7916
dir: /lib/c/src/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();
}