ref: 8ae1031043e527a86ee96bb6740f10078314583a dir: /lib/xmalloc.c/
#include <stdlib.h> #include <cc.h> void * xmalloc(size_t size) { register void *p = malloc(size); if (!p) die("out of memory"); return p; }