ref: 0f2dd088e38f30bf5f32729457bb3481c0ec9f9f 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; }