# NNS_FndGetAllocatableSizeForFrmHeapEx

## Syntax

      #include <nnsys/fnd.h>

      u32 NNS_FndGetAllocatableSizeForFrmHeapEx(
              NNSFndHeapHandle    heap,
              int                 alignment);

## Arguments

heap | Frame heap handle.
alignment | Memory block alignment. Can take any of the following values: 4, 8, 16, 32.

## Return Values

Returns the largest size (in bytes) of the memory block that can be allocated from the empty region of the frame heap.

## Description

This function obtains the largest size (in bytes) of the memory block that can be allocated from the empty region of the frame heap.

The alignment of the memory block is determined by `alignment`. The size of the memory block which can be allocated will change depending on the alignment value.

## See Also

`NNS_FndGetAllocatableSizeForFrmHeap, NNS_FndCreateFrmHeap, NNS_FndCreateFrmHeapEx, NNS_FndAllocFromFrmHeap, NNS_FndAllocFromFrmHeapEx`

## Revision History

2004/04/01 Initial version.

CONFIDENTIAL