shithub: scc

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