tgrekov-fdf
HIVE fdf May 2024
|
Definition in file ft_lstiter_bonus.c.
#include "libft.h"
Go to the source code of this file.
Functions | |
void | ft_lstiter (t_list *lst, void(*f)(void *)) |
Iterates over a list and applies the function f over each node. | |
void ft_lstiter | ( | t_list * | lst, |
void(*)(void *) | f | ||
) |
Iterates over a list and applies the function f
over each node.
[in] | lst | Pointer to the first node in the list |
[in] | f | Function which accepts the content of a node |
Definition at line 30 of file ft_lstiter_bonus.c.
References s_list::content, and s_list::next.