Skip to main content

Name

sl_getlist — Get the first node in a Skiplist

Synopsis

#include "skiplist.h"

| struct skiplistnode * **sl_getlist** ( | sl); |   |

Skiplist * <var class="pdparam">sl</var>;

Description

Get the first node (according to the main index) in a Skiplist.

Parameters

sl

The Skiplist.

Return Value

On success this function returns the first node; on failure, NULL is returned.

Threading

It is legal to call this function in any thread but Skiplist functions are not thread safe.

See Also

Was this page helpful?