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