Libft
 
Loading...
Searching...
No Matches
ft_lstmap_bonus.c File Reference
#include "libft.h"
Include dependency graph for ft_lstmap_bonus.c:

Functions

t_listft_lstmap (t_list *lst, void *(*f)(void *), void(*del)(void *))
 Iterated on the linked list 'list' and apply the function 'f' on the content of each element. Create a new list resulting from the successive applications of 'f'. The function 'del' is there to destroy the content of an element if necessary.