Memory Allocation (malloc)

We provide some dynamic memory alllocation APIs.

#include <resea/malloc.h>

void *malloc(size_t size);
void *realloc(void *ptr, size_t size);
void free(void *ptr);

See a man page in UNIX for details.