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