cp_heap_peek(3)

cp_heap(3) libcprops - cp_heap cp_heap(3)

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.

JULY 2006 libcprops.0.1.5