git: 9front

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