cp_heap_peek(3) - Linux man page

Name

cp_heap_peek - retrieve the item on the top of the heap

Synopsis

#include <cprops/heap.h>

void *cp_heap_peek(cp_heap *heap);

Description

cp_heap_peek returns the item at the top of the heap.

Return Value

the minimum item or NULL if the heap is empty.