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