ref: 9b1eafb87ca51b32030a2a53bed3f2170bf2f936 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; }