_heapchk() Performs Consistency Check on Heap

ID: Q32442

5.10 6.00 6.00a 6.00ax 7.00 | 5.10 6.00 6.00a | 1.00 1.50

MS-DOS                      | OS/2            | WINDOWS
kbprg

The information in this article applies to:

SUMMARY

The _heapchk() routine performs a consistency check on the heap by examining the header information of the memory blocks in the heap; it cannot, however, detect corruption of data within the heap's nodes. The _heapchk routine can only detect corruption of the heap's header information.

The _heapchk() routine checks for the following:

MORE INFORMATION

Microsoft C versions 6.0 and later also provide the _heapwalk() functions, which can aid in debugging memory allocation problems. More information on the _heapwalk() function may be found in the online help provided with Microsoft C version 6.0 and later.

Additional reference words: kbinf 1.00 1.50 6.00a 6.0ax 6.00ax 7.00 KBCategory: kbprg KBSubcategory: CRTIss Keywords : kb16bitonly

Last Reviewed: July 18, 1997