NNS_FndAllocFromAllocator

C Specification

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

Description

Allocates a memory block from the allocator.

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

See Also

NNS_FndFreeToAllocator

Revision History

08/02/2004 Initial version.


CONFIDENTIAL