Skip to main content

Name

ec_double_list_shift — Shift the head of the list off the list

Synopsis

#include "misc/ec_double_list.h"

| void * **ec_double_list_shift** ( | list); |   |

ec_double_list * <var class="pdparam">list</var>;

Description

Shifts the head of the list off the list.

Parameters

list

The list.

Return Values

This function returns the data associated with the head, or NULL if the list is empty.

Threading

It is legal to call this function in any thread.

See Also

Was this page helpful?