Syntax
#include <malloc.h>
int InitHeap(void *head, unsigned int size);
Arguments
head pointer to the beginning of the reserved area
size size of the reserved area
Return Value
0 if successful in reserving the area or -1 if not successful
Description
Reserves and initializes a memory allocation area.