Freeheapsize – Argox PA-20 Programming Guide User Manual

Page 103

Advertising
background image

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.

FreeHeapSize

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.

Advertising