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