ref: 96b6cc1d8be1ad93af98b570e699ff202378cb4b 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; }