shithub: scc

ref: e3681c9739152eb69f934a68b02885eaaaec0aaa
dir: /src/libc/assert/__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();
}