wip
This commit is contained in:
13
wrapper.c
Normal file
13
wrapper.c
Normal file
@@ -0,0 +1,13 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "wrapper.h"
|
||||
#include "usage.h"
|
||||
|
||||
void *xmalloc(size_t size)
|
||||
{
|
||||
void *ret = malloc(size);
|
||||
if (!ret)
|
||||
die("memory exhausted");
|
||||
return ret;
|
||||
}
|
||||
Reference in New Issue
Block a user