shithub: scc

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