# NNS_FndCountFreeBlockForUnitHeap

## C Specification

      #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

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