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