git: 9front

ref: 1cf26d72e2734aad1b39fae3a008b1360aec34e3
dir: /sys/src/cmd/disk/kfs/ialloc.c/

View raw version
#include "all.h"

void *ialloc(ulong n){
	void *p;

	if(p = malloc(n))
		memset(p, 0, n);
	return p;
}