shithub: scc

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