Only called to allocate memory during shutdown (generally for diagnostic pursose only) Pointer to the allocated block

Return TypeFunction nameArguments
void*_regime_alloc_Exit(uint32_t,)

Declared and defined in file: hzMemory.cpp

Function Logic:

0:START 1:s_nBytesExit ptr items 2:Return ptr

Function body:

void* _regime_alloc_Exit (uint32_t size)
{
   //  Category: Memory
   //  
   //  Only called to allocate memory during shutdown (generally for diagnostic pursose only)
   //  
   //  Arguments: 1) size Bytes to allocate
   //  Returns: Pointer to the allocated block
   void*   ptr ;       //  New object space
   s_nBytesExit += size ;
   ptr = malloc(size) ;
   memset(ptr, 0,size) ;
   return ptr ;
}