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

Instructs the heap manager to clear all buffers when freed.

int heap_zap(
    int dozap
);

Parameters

dozap
Valid values include:
1 Clear buffers on free.
0 Do not clear buffers.

Return Values

0 (zero)
Success.
Less than 0 (zero)
Failure. The function sets errno to this value:
EINVAL The heap is not a valid MPOOL.

Requirements

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