libft
Functions
ft_lstiter.c File Reference
#include "libft.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)(t_list *elem))
 Applies a function to each member of a list. More...
 

Function Documentation

◆ ft_lstiter()

void ft_lstiter ( t_list lst,
void(*)(t_list *elem)  f 
)

Applies a function to each member of a list.

Parameters
lstA pointer to the first link of a list.
fThe address of a function to apply to each link of a list.

Definition at line 22 of file ft_lstiter.c.