Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
_heap... Constants
◄Up► ◄Contents► ◄Index► ◄Back►
────────────────────────────────────────────────────────────────────────────
Constant: _HEAPBADBEGIN, _HEAPBADNODE, _HEAPBADPTR, _HEAPEMPTY
_HEAPEND, _HEAPOK
Include: <malloc.h>
Context: _heapchk _bheapchk _fheapchk _nheapchk
_heapset _bheapset _fheapset _nheapset
_heapwalk _bheapwalk _fheapwalk _nheapwalk
Synopsis: Return value indicating status of the heap.
The meaning of the constants is listed below:
Constant Meaning
_HEAPBADBEGIN The initial header information was not found,
or it was invalid.
_HEAPBADNODE A bad node was found, or the heap is damaged.
_HEAPBADPTR The _pentry field of the entry structure does
not contain a valid pointer into the heap
(_heapwalk routines only).
_HEAPEMPTY The heap has not been initialized.
_HEAPEND The end of the heap was reached successfully
(_heapwalk routines only).
_HEAPOK The heap is consistent (_heapset and _heapchk
routines only).
The heap is OK so far, and the _heapinfo
structure contains information about the next
entry (_heapwalk routines only).