git: 9front

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