/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ft_list_last.c :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: cacharle +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2019/07/09 17:18:58 by cacharle #+# #+# */ /* Updated: 2019/07/23 15:37:03 by cacharle ### ########.fr */ /* */ /* ************************************************************************** */ #include #include "ft_list.h" t_list *ft_list_last(t_list *begin_list) { if (begin_list == NULL) return (NULL); while (begin_list->next != NULL) begin_list = begin_list->next; return (begin_list); }