shithub: scc

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