git: 9front

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