git: 9front

ref: bfb64acc57c5d88b9d8de7f80edae9e66e0d0dea
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;
}