git: 9front

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