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