shithub: scc

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