ref: ed0f4a4a51ad8c14419c98c43411bbdffb0346c6 dir: /src/libc/assert/assert.c/
#include <assert.h> #include <stdlib.h> #include <stdio.h> #undef assert void assert(int exp) { if (exp) return; fputs("assert failed\n", stderr); abort(); }