cp_heap_size(3) - Linux man page

Name

cp_heap_size - return the current heap capacity

Synopsis

#include <cprops/heap.h>

int cp_heap_size(cp_heap *heap);

Description

cp_heap_count returns the current heap capacity, which is approximately the number of items that may be stored in the heap before the heap is resized, including the current content. If this number is much higher than the number of items currently stored, cp_heap_contract (3) may be called to decrease the heap capacity.

See Also

cp_heap_count(3), cp_heap_contract(3)