# NNS_FndAllocFromUnitHeap

## C Specification

      #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 it cannot allocate the memory, it returns NULL.

## Description

Allocates a memory block from the unit heap.

## See Also

`NNS_FndFreeToUnitHeap, NNS_FndCreateUnitHeap, NNS_FndCreateUnitHeapEx
`

## Revision History

04/01/2004 Initial version.