FreeRTOS:
BLE
BLE
|
Return to main page ↑ |
Remove all elements in a doubly-linked list.
[in] | pList | The list to empty. |
[in] | freeElement | A function to free memory used by each removed list element. Optional; pass NULL to ignore. |
[in] | linkOffset | Offset in bytes of a link member in its container, used to calculate the pointer to pass to freeElement . This value should be calculated with the C offsetof macro. This parameter is ignored if freeElement is NULL or its value is 0 . |