shithub: scc

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