Name
sl_insert — Insert data and return the resulting node
Synopsis
#include "skiplist.h"
| void * **sl_insert** ( | sl, |   |
|   | data); |   |
Description
Insert data and return the resulting node.
- sl
 - 
The Skiplist
 - data
 - 
The data.
 
On success this function returns the inserted node; on failure, it returns 0.
It is legal to call this function in any thread but skiplist functions are not thread safe.
See Also
Was this page helpful?