cp_heap_size(3)
| cp_heap(3) | libcprops - cp_heap | cp_heap(3) |
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
| JULY 2006 | libcprops.0.1.5 |
