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