shithub: scc

ref: 81678b9576d8f3922b1b8df5e1b523f04bc6c783
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();
}