ref: 34c14097cb90fb2deccc3f2ab41b79ca3d7a33d2 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(); }