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