|
Libft
42 Libft library documentation
|
#include "../includes/types.h"
Include dependency graph for ft_lstiter.c:Go to the source code of this file.
Functions | |
| void | ft_lstiter (t_list *lst, void(*f)(void *)) |
| Iterates over a linked list and applies a function to each element. This function takes a linked list and a function pointer, then applies the function to the content of each element in the list. | |
| void ft_lstiter | ( | t_list * | lst, |
| void(*)(void *) | f | ||
| ) |
Iterates over a linked list and applies a function to each element. This function takes a linked list and a function pointer, then applies the function to the content of each element in the list.
| lst | The linked list to iterate over. |
| f | The function to apply to each element. |
Definition at line 23 of file ft_lstiter.c.
References s_list::content, and s_list::next.