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

Returns the current number of buffers created by calloc, malloc, or realloc.

size_t heap_buffer_cnt(void);

Parameters

None.

Return Values

Greater than or equal to 0 (zero)
Success.
ULONG_MAX
The heap is invalid and the function sets errno to one of these values:
EEXIST The heap is deleted.
EINVAL The heap is invalid.

Requirements

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

C library