# NNS_FndCountFreeBlockForUnitHeap

## Syntax

      #include <nnsys/fnd.h>

      u32 NNS_FndCountFreeBlockForUnitHeap(NNSFndHeapHandle heap);

## Arguments

heap | Unit heap handle

## Return Values

Returns the number of empty memory blocks in the unit heap.

## Description

Gets the number of empty memory blocks in the unit heap.

## See Also

`NNS_FndCreateUnitHeap`, `NNS_FndCreateUnitHeapEx`, `NNS_FndAllocFromUnitHeap`

## Revision History

2004/10/15 Corrected erroneous return value type(s).
2004/04/01 Initial version.

CONFIDENTIAL