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