ref: 9f2e3f1c43c67f3ae3cca01bced10b670600c88c 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; }