NNS_FndCreateExpHeap

C Specification

#include <nnsys/fnd.h>
NNSFndHeapHandle    NNS_FndCreateExpHeap(
	                        void*   startAddress ,
	                        u32         size);

Arguments

startAddress Starting address of the memory region allocated to the heap.
size Size (in bytes) of the memory region allocated to the heap.

Return Values

In the case that it was possible to create a heap, a value of 0 or greater will be returned, which is the handle to the heap. If the function fails, it returns NNS_FND_HEAP_INVALID_HANDLE (a NULL value).

Description

Creates the extended heap. The region for the heap is a memory region of a size designated by size from the address designated with startAddress.

See Also

NNS_FndCreateExpHeapEx

Revision History

10/15/2004 Corrected the argument reference in the description
04/28/2004 Corrected the failure return value
04/01/2004 Initial Version