ref: b9856b63e76cd86231ac9075d27dcde8231a0aea dir: /lib/xmalloc.c/
#include <stdlib.h> #include <cc.h> void * xmalloc(size_t size) { register void *p = malloc(size); if (!p) die("out of memory"); return p; }