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