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