git: 9front

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