sl_getlist

March 26, 2020 Contributors

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

“Skiplist”