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