git: 9front

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