shithub: scc

ref: efda45c11a438f0a83f57f55b34abb812f32cd53
dir: /src/libscc/xcalloc.c/

View raw version
#include <stdlib.h>
#include <scc/scc.h>

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

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