shithub: scc

ref: 541539b33afc0c198e44ecce36b6b0f2030c6b3b
dir: /src/libc/assert/assert.c/

View raw version
#include <assert.h>
#include <stdlib.h>
#include <stdio.h>
#undef assert

void
assert(int exp)
{
	if (exp)
		return;
	fputs("assert failed\n", stderr);
	abort();
}