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

Create a new queue.

static inline void IotDeQueue_Create( IotDeQueue_t * const pQueue )

This function initializes a new double-ended queue. It must be called on an uninitialized IotDeQueue_t before calling any other queue function. This function must not be called on an already-initialized IotDeQueue_t.

This function will not fail.

Parameters
[in]pQueuePointer to the memory that will hold the new queue.