21 lines
1.0 KiB
C
21 lines
1.0 KiB
C
/* ************************************************************************** */
|
|
/* */
|
|
/* ::: :::::::: */
|
|
/* ft_list_last.c :+: :+: :+: */
|
|
/* +:+ +:+ +:+ */
|
|
/* By: whaffman <whaffman@student.codam.nl> +#+ +:+ +#+ */
|
|
/* +#+#+#+#+#+ +#+ */
|
|
/* Created: 2024/07/03 14:00:40 by whaffman #+# #+# */
|
|
/* Updated: 2024/07/03 14:00:47 by whaffman ### ########.fr */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
|
|
#include "ft_list.h"
|
|
|
|
t_list *ft_list_last(t_list *begin_list)
|
|
{
|
|
while (begin_list->next)
|
|
begin_list = begin_list->next;
|
|
return (begin_list);
|
|
}
|