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