git: 9front

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