Libft
 
Loading...
Searching...
No Matches
ft_lstclear_bonus.c File Reference
#include "libft.h"
#include <stdlib.h>
Include dependency graph for ft_lstclear_bonus.c:

Functions

void ft_lstclear (t_list **lst, void(*del)(void *))
 Deletes and free the memory of the element passed as a parameter, and all the elements that follow, using 'del' and free(3) Finally, the initial pointer must be set to NULL.