text: /* ************************************************************************** */
  /*                                                                            */
  /*                                                        :::      ::::::::   */
  /*   ft_lstnew.c                                        :+:      :+:    :+:   */
  /*                                                    +:+ +:+         +:+     */
  /*   By: ioleinik <ioleinik@student.42wolfsburg.de> +#+  +:+       +#+        */
  /*                                                +#+#+#+#+#+   +#+           */
  /*   Created: 2021/05/20 15:47:57 by ioleinik          #+#    #+#             */
  /*   Updated: 2021/05/20 16:02:28 by ioleinik         ###   ########.fr       */
  /*                                                                            */
  /* ************************************************************************** */
  
  #include "libft.h"
  
  t_list	*ft_lstnew(void *content)
  {
  	t_list	*new;
  
  	new = NULL;
  	new = malloc(sizeof(t_list));
  	if (NULL == new)
  		return (new);
  	new -> content = content;
  	new -> next = NULL;
  	return (new);
  }
  