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