AWS IoT Device SDK C: Linear Containers
Linked lists and Queues
Return to main page ↑
IotListDouble_RemoveTail

Remove the element at the tail of a doubly-linked list.

static inline IotLink_t * IotListDouble_RemoveTail( const IotListDouble_t * const pList )
Parameters
[in]pListThe doubly-linked list that holds the element to remove.
Returns
Pointer to an IotLink_t representing the removed list tail; NULL if the list is empty. The macro IotLink_Container may be used to determine the address of the link's container.