ref: 39bfe028452628178b06c1f0544fd7aca1660da0 dir: /lib/xcalloc.c/
#include <stdlib.h> #include "../inc/cc.h" void * xcalloc(size_t n, size_t size) { void *p = calloc(n, size); if (!p) die("out of memory"); return p; }