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