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