ref: 1b2249dec883624e892a6c2c6187f553adfb3364
dir: /common.c/
#include <u.h> #include <libc.h> #include "dat.h" #include "fns.h" void * emalloc(ulong n) { void *p; if(p = mallocz(n, 1), p == nil) sysfatal("mallocz: not enough mem"); setmalloctag(p, getcallerpc(&n)); return p; }