FreeRTOS: BLE
BLE
Return to main page ↑
IotListDouble_PeekHead

Return an IotLink_t representing the first element in a doubly-linked list without removing it.

static inline IotLink_t * IotListDouble_PeekHead( const IotListDouble_t * const pList )
Parameters
[in]pListThe list to peek.
Returns
Pointer to an IotLink_t representing the element at the head of the list; NULL if the list is empty. The macro IotLink_Container may be used to determine the address of the link's container.