ialloc.c 103 B

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