shithub: scc

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