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