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