Function llist_remove

Function Documentation

status_t llist_remove(struct llist *list, const void *e)

Remove an item from a llist.

Memory for the node and its data is deallocated.

Parameters:
  • list – The linked list handle.

  • e – To be filled with the data from the removed item if non-NULL.

Returns:

status_t.