# NNS_FndAllocFromFrmHeap

## Syntax

      #include <nnsys/fnd.h>

      void* NNS_FndAllocFromFrmHeap(NNSFndHeapHandle heap, u32 size);

## Arguments

heap | Frame heap handle.
size | Memory block size (in bytes)

## 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 the memory block from a frame heap.

## See Also

`NNS_FndAllocFromFrmHeapEx, NNS_FndFreeToFrmHeap, NNS_FndCreateFrmHeap, NNS_FndCreateFrmHeapEx
`

## Revision History

2004/04/01 Initial version.

CONFIDENTIAL