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