# NNS_FndAllocFromAllocator

## Syntax

      #include <nnsys/fnd.h>

      void* NNS_FndAllocFromAllocator(NNSFndAllocator* pAllocator, u32 size);

## Arguments

pAllocator | `NNSFndAllocator` Structure Address.
size | Memory Block Size (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 a memory block from the allocator.

The implementation of this depends on the settings of the allocator and the memory manager related to the allocator.

## See Also

`NNS_FndFreeToAllocator
`

## Revision History

2004/08/02 Initial version.

CONFIDENTIAL