#include <revolution/os.h> long OSCheckHeap(OSHeapHandle heap);
heap |
Active heap handle. |
|---|
Returns -1 if the heap is inconsistent. Otherwise, the number of bytes that a free list can use.
Although this function is provided for the sake of compatibility, we recommend using the MEM library.
Checks the heap region heap for validity for debugging.
Memory Allocation Functions, OSDumpHeap, OSInitAlloc
2006/03/01 Initial version.
CONFIDENTIAL