shithub: scc

ref: 5800a17b4c0575160843305eb85a9a53aa4386b1
dir: /lib/xrealloc.c/

View raw version

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

void *
xrealloc(void *buff, register size_t size)
{
	register void *p = realloc(buff, size);

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