shithub: scc

ref: af25b58d05b0700990057ce3f8c853bd43f2ece0
dir: /lib/c/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();
}