Function llist_destroy

Function Documentation

void llist_destroy(struct llist *list)

Destroy a llist.

The entire list is iterated through once. Any further use of the pointer to this llist is undefined. This function is idempotent.

Parameters:

list – The list to destroy.