Using malloc() when exploiting the C library
If heap support is required for bare machine C, you must implement
be called first to supply initial heap bounds, and
__rt_heap_extend() must be
provided even if it only returns failure. Without
certain library functionality is included that causes problems when you
are writing bare machine C.
Prototypes for both