ref: 7d108832528eb1ee85a445a562c00b5a8344d882 dir: /sys/src/libc/port/_assert.c/
#include <u.h> #include <libc.h> void (*__assert)(char*); void _assert(char *s) { if(__assert) (*__assert)(s); fprint(2, "assert failed: %s\n", s); abort(); }