RAD Studio
ContentsIndex
PreviousUpNext
_heapchk

Header File 

malloc.h 

Category 

Memory Routines 

Syntax 

int _heapchk(void); 

Description 

Checks and verifies the heap. 

_heapchk walks through the heap and examines each block, checking its pointers, size, and other critical attributes. 

Return Value 

One of the following values:

_HEAPBADNODE 
A corrupted heap block has been found 
_HEAPEMPTY 
No heap exists 
_HEAPOK 
The heap appears to be uncorrupted 

Portability

POSIX 
Win32 
ANSI C 
ANSI C++ 
 
 
 
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!