shithub: scc

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