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

Remove an element at the tail of the queue.

static inline IotLink_t * IotDeQueue_DequeueTail( const IotDeQueue_t * const pQueue )
Parameters
[in]pQueueThe queue that holds the element to remove.
Returns
Pointer to an IotLink_t representing the removed queue element; NULL if the queue is empty. The macro IotLink_Container may be used to determine the address of the link's container.