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