git: 9front

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