rs_getlist

March 26, 2020 Contributors

Name

rs_getlist — Returns the address of the tail node in the RSplayTree

Synopsis

#include "rsplay.h"

| struct rsplaynode * **rs_getlist** ( | sl); |   |

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

Description

Returns the address of the tail node in the RSplayTree.

Parameters

sl

The root of an “rsplaytree”.

Return Values

Returns the address of the tail “rsplaynode”, or NULL for an empty list.

Threading

It is legal to call this function in any thread.

See Also

rs_next, “rsplaynode”, and “rsplaytree”.