# NNS_FndInitAllocatorForSDKHeap

## Syntax

      #include <nnsys/fnd.h>

      void NNS_FndInitAllocatorForSDKHeap(
               NNSFndAllocator*    pAllocator,
               OSArenaId           id,
               OSHeapHandle        heap);

## Arguments

`pAllocator` | `NNSFndAllocator` structure address.
`id` | Arena ID for arenas with heaps.
`heap` | Heap handle.

## Return Values

None.

## Description

Initializes the allocator to allocate and deallocate memory on the heap created by calling the `OS_CreateHeap` function from the TWL-SDK.

## See Also

`NNS_FndInitAllocatorForExpHeap`
`NNS_FndInitAllocatorForFrmHeap`
`NNS_FndInitAllocatorForUnitHeap`

## Revision History

2008/06/20 Corrected by changing the name of NITRO-SDK (from NITRO-SDK to TWL-SDK).
2004/08/02 Initial version.

CONFIDENTIAL