shithub: scc

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