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