shithub: scc

ref: da3fdf4fee4a266d3e69ea569659cb0268cb7d28
dir: /lib/xcalloc.c/

View raw version

#include <stdlib.h>
#include "../inc/cc.h"

void *
xcalloc(size_t n, size_t size)
{
	void *p = calloc(n, size);

	if (!p)
		die("out of memory");
	return p;
}