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