list_get_head

Retrieve list head.

static void* list_get_head(
    const struct list_descriptor *const list
)

Parameters

list

Type: const struct list_descriptor Struct *const

The pointer to a list descriptor

Returns

Type: void *

A pointer to the head of the given list or NULL if the list is empty