shithub: scc

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