shithub: scc

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