ft_lstnew
Subject
Understandable explanation
This function allocates memory for a new element of type t_list
, setting its content
to be the content
parameter, and setting the next
variable to NULL
.
Then it returns the newly allocated / created element of the list.
Hints
ft_lstnew
Commented solution
Last updated