This is a Hardware specific function. It is not implemented in the Compiler.
#include <stdlib.h>
void *malloc(size_t size);
malloc() allocates a block of memory for an object of size size bytes. The content of this memory block is undefined. To deallocate the block, use free(). Do not use the default implementation in interrupt routines because it is not reentrant.
malloc() returns a pointer to the allocated memory block. If the block could not be allocated, the return value is NULL.
calloc() and