Freeheapsize – Argox PA-20 Programming Guide User Manual
Page 103

PT-20 Programming Guide
101
Purpose: Checking the used heap size.
Syntax: int UsedHeapSize(void);
Example call: usedsize = UsedHeapSize();
Includes:
#include “SDK.h ”
Description: The UsedHeapSize function can get the used heap size.
Returns: The used heap size in units of Kbytes.
Purpose: Checking the free heap size.
Syntax: int FreeHeapSize(void);
Example call: freesize = FreeHeapSize();
Includes:
#include “SDK.h ”
Description: The UsedHeapSize function can get the used heap size.
Returns: The total heap size in units of Kbytes.