ref: 79fa0e66f2a16cbc6ba50641794e69f44fc6d2ac
dir: /libc/src/assert.c/
/* See LICENSE file for copyright and license details. */ #include <assert.h> #include <stdlib.h> #include <stdio.h> void __assert(int status, char *exp, char *file, long line) { if (status) return; fprintf(stderr, "%s:%ld: assertion failed '%s'\n", file, line, exp); abort(); }