ref: a1f4b88d0fd4e5d3b1b537f69db56fc282a2964f dir: /lib/xrealloc.c/
#include <stdlib.h> #include "../inc/cc.h" void * xrealloc(void *buff, size_t size) { void *p = realloc(buff, size); if (!p) die("out of memory"); return p; }