tgrekov-pipex
HIVE pipex May 2024
|
Definition in file ft_lstadd_back_bonus.c.
#include "libft.h"
Go to the source code of this file.
Functions | |
void | ft_lstadd_back (t_list **lst, t_list *new) |
Adds node at pointer new to the end of the list starting at pointer pointed to by lst . | |
Adds node at pointer new
to the end of the list starting at pointer pointed to by lst
.
If lst
is NULL
, does nothing.
If pointer at lst
is NULL
, sets pointer at lst
to new
.
Otherwise sets next property of the last node in the list to new
[in,out] | lst | Pointer to pointer to first node in the list. |
[in] | new | Pointer to the new node to add |
Definition at line 35 of file ft_lstadd_back_bonus.c.
References ft_lstlast(), and s_list::next.