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