xrealloc.c (164B)
1 #include <stdlib.h> 2 #include <scc/scc.h> 3 4 void * 5 xrealloc(void *buff, size_t size) 6 { 7 void *p = realloc(buff, size); 8 9 if (!p) 10 die("out of memory"); 11 return p; 12 }
sccsimple c99 compiler | |
git clone git://git.simple-cc.org/scc | |
Log | Files | Refs | Submodules | README | LICENSE |