text: /* ************************************************************************** */
  /*                                                                            */
  /*                                                        :::      ::::::::   */
  /*   ft_lstadd_back.c                                   :+:      :+:    :+:   */
  /*                                                    +:+ +:+         +:+     */
  /*   By: zskeeter <zskeeter@student.42.fr>          +#+  +:+       +#+        */
  /*                                                +#+#+#+#+#+   +#+           */
  /*   Created: 2021/04/25 13:54:08 by zskeeter          #+#    #+#             */
  /*   Updated: 2021/04/25 13:54:08 by zskeeter         ###   ########.fr       */
  /*                                                                            */
  /* ************************************************************************** */
  
  #include "libft.h"
  
  void	ft_lstadd_back(t_list **lst, t_list *new)
  {
  	t_list	*tmp;
  
  	if (!(*lst))
  	{
  		*lst = new;
  		return ;
  	}
  	tmp = ft_lstlast(*lst);
  	tmp->next = new;
  }
  