Name
sl_next — Move iter forward a node and return the new node's data
Synopsis
#include "skiplist.h"
| void * **sl_next** (
| sl, | |
| | iter)
; | |
Description
Move iter forward a node and return the new node's data.
- sl
-
The Skiplist.
- iter
-
The list iterator.
This function returns void.
Warning
When a value is returned, the memory is owned by the Skiplist. Your memory can become invalid if something else removes this value from the Skiplist.
It is legal to call this function in any thread but skiplist functions are not thread safe.
See Also
Was this page helpful?