libft
Functions
ft_lstappend.c File Reference
#include "libft.h"
+ Include dependency graph for ft_lstappend.c:

Go to the source code of this file.

Functions

void ft_lstappend (t_list **alst, t_list *new)
 Adds the element new at the end of the list. More...
 

Function Documentation

◆ ft_lstappend()

void ft_lstappend ( t_list **  alst,
t_list new 
)

Adds the element new at the end of the list.

Parameters
alstThe pointer to the first link in a list
newThe link to add at the beginning of the list

Definition at line 22 of file ft_lstappend.c.