|void * tfSheapMalloc||(unsigned size);|
This function is a simple heap allocation. It is used by the Treck stack in two scenarios:
- When TM_USE_SHEAP and TM_SHEAP_SIZE are defined in <trsystem.h>, or
- When it is called from tfKernelMalloc() and TM_SHEAP_SIZE is defined in <trsystem.h>.
|Warning:||This function should NEVER be called directly by a user application.|
- The number of bytes to allocate.
- (void *)0