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