git: 9front

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