text: /* ************************************************************************** */
  /*                                                                            */
  /*                                                        :::      ::::::::   */
  /*   ft_strncat.c                                       :+:      :+:    :+:   */
  /*                                                    +:+ +:+         +:+     */
  /*   By: ewallner <marvin@42.fr>                    +#+  +:+       +#+        */
  /*                                                +#+#+#+#+#+   +#+           */
  /*   Created: 2016/11/08 20:16:37 by ewallner          #+#    #+#             */
  /*   Updated: 2016/11/15 17:38:27 by ewallner         ###   ########.fr       */
  /*                                                                            */
  /* ************************************************************************** */
  
  #include <string.h>
  #include "libft.h"
  
  char	*ft_strncat(char *dest, const char *src, size_t n)
  {
  	size_t			i;
  	unsigned int	len;
  
  	i = 0;
  	len = ft_strlen(dest);
  	while (src[i] != '\0' && i < n)
  	{
  		dest[i + len] = src[i];
  		i++;
  	}
  	dest[i + len] = '\0';
  	return (dest);
  }
  