nn::os::GetHeapSize Function

Syntax

#include <nn/os.h>

size_t GetHeapSize();

Parameters

None.

Return Values

Returns the current size of the heap.

Description

Gets the size of the heap.

It is inappropriate to call this function if nninitStartUp is not being replaced in the application. In an environment where assertions are enabled, processing will be stopped if this function is called without replacing nninitStartUp.

Revision History

2010/06/14
Initial version.

CONFIDENTIAL