/* Philip Richard Boulain <prb102@ecs.soton.ac.uk> */

#ifndef _SMALLOC_H_
#define _SMALLOC_H_

#include <stdlib.h> /* For size_t */

/* 'Safer' malloc().                                                       */
/* Checks the return value, and exits as cleanly as possible if not enough */
/* memory is availible to continue.                                        */
void* smalloc(size_t size);
/* Fun accounting info! */
size_t smalloc_used(void);

#endif
