1 #include "all.h" 2 ialloc(ulong n)3 void *ialloc(ulong n){ 4 void *p; 5 6 if(p = malloc(n)) 7 memset(p, 0, n); 8 return p; 9 } 10