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