INtime SDK Help
heap_check
INtime SDK v7 > About INtime > Other system libraries > Heaps and memory pools > C/C++ Runtime heap > heap_check

Provides a go/no-go check for the C library heap internal consistency.

int heap_check( void );

Parameters

none

Remarks

The process heap is locked for the duration of the call, use with care.

Return Values

0 (zero)
Success.
Less than 0 (zero)
Failure. The function sets errno to one of these values:
EEXIST The heap is deleted.
EINVAL The heap is not a valid MPOOL or an internal error was detected.

Requirements

Versions Defined in Include Link to
INtime 4.0 intime/rt/include/heap.h heap.h clib.lib
See Also