git: 9front

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