/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ft_list_last.c :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: jhalford +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2016/08/14 13:15:50 by jhalford #+# #+# */ /* Updated: 2016/08/14 13:16:14 by jhalford ### ########.fr */ /* */ /* ************************************************************************** */ #include "ft_list.h" t_list *ft_list_last(t_list *begin_list) { t_list *list; list = begin_list; if (list) { while (list->next) list = list->next; } return (list); }