# NNS_FndAllocFromUnitHeap

## Syntax

      #include <nnsys/fnd.h>

      void* NNS_FndAllocFromUnitHeap(NNSFndHeapHandle heap);

## Arguments

heap | Unit heap handle

## Return Values

When the memory block has been allocated, it returns the starting address of that memory block. When the memory cannot be allocated, NULL is returned.

## Description

Allocates a memory block from the unit heap.

## See Also

`NNS_FndFreeToUnitHeap, NNS_FndCreateUnitHeap, NNS_FndCreateUnitHeapEx
`

## Revision History

2004/04/01 Initial version.

CONFIDENTIAL