ref: b3d401ef497f7b86ab1aa1d451f18ed64d0f0e39 dir: /sys/src/cmd/disk/kfs/ialloc.c/
#include "all.h" void *ialloc(ulong n){ void *p; if(p = malloc(n)) memset(p, 0, n); return p; }