git: 9front

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