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:
- Microsoft C for MS-DOS, versions 5.1, 6.0, 6.0a, and 6.0ax
- Microsoft C for OS/2, versions 5.1, 6.0, and 6.0a
- Microsoft C/C++ for MS-DOS, version 7.0
- Microsoft Visual C++ for Windows, versions 1.0 and 1.5
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:
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