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