NNS_FndSetGroupIDForExpHeap

C Specification

#include <nnsys/fnd.h>
u16 NNS_FndSetGroupIDForExpHeap(
	      NNSFndHeapHandle    heap,
	      u16                 groupID);

Arguments

heap Extended heap handle
groupID Group ID (0-255) to be set.

Return Values

Returns the previous group ID.

Description

Sets the group ID of the extended heap.

The memory blocks allocated from the extended heap each have their own group ID, and this value carries over to the group ID value set in the heap when the memory block is allocated.

Immediately after creation of the heap, the group ID becomes 0.

See Also

NNS_FndGetAllocModeForExpHeap

Revision History

2004/04/28 The value of the group ID after creation of the heap was incorrect. Revised. 2004/04/01 Initial Version


CONFIDENTIAL