/*
 * emalloc - return new memory obtained from the system.  Belch if none.
 */
#include <stdio.h>
#include <syslog.h>

char *
emalloc(size)
	unsigned int size;
{
	char *mem;
	extern char *malloc();

	if ((mem = malloc(size)) == 0) {
		syslog(LOG_ERR, "No more memory!");
		exit(1);
	}
	return mem;
}
