NNS_FndGetAllocatableSizeForExpHeapEx

Syntax

#include <nnsys/fnd.h>
u32 NNS_FndGetAllocatableSizeForExpHeapEx(
        NNSFndHeapHandle    heap,
        int                 alignment);

Arguments

heap Extended heap handle
alignment Memory block alignment. Can take any of the following values: 4, 8, 16, 32.

Return Values

Returns the largest size (in bytes) of the memory block that can be allocated from the empty region of the extended heap.

Description

Obtains the largest size (in bytes) of the memory block that can be allocated from the empty region of the extended heap.

The alignment of the memory block is determined by alignment. The size of the memory block which can be allocated will change depending on the alignment value.

See Also

NNS_FndGetAllocatableSizeForExpHeap, NNS_FndGetTotalFreeSizeForExpHeap, NNS_FndAllocFromExpHeap, NNS_FndAllocFromExpHeapEx

Revision History

2004/10/15 Deleted unnecessary comma
2004/04/01 Initial version.


CONFIDENTIAL