text: /* ************************************************************************** */
  /*                                                                            */
  /*                                                        :::      ::::::::   */
  /*   ft_strncpy.c                                       :+:      :+:    :+:   */
  /*                                                    +:+ +:+         +:+     */
  /*   By: aborboll <marvin@42.fr>                    +#+  +:+       +#+        */
  /*                                                +#+#+#+#+#+   +#+           */
  /*   Created: 2019/09/10 14:09:33 by aborboll          #+#    #+#             */
  /*   Updated: 2019/09/12 19:57:04 by aborboll         ###   ########.fr       */
  /*                                                                            */
  /* ************************************************************************** */
  
  char	*ft_strncpy(char *dest, char *src, unsigned int n)
  {
  	unsigned int	i;
  
  	i = 0;
  	while (src[i] != '\0' && i < n)
  	{
  		dest[i] = src[i];
  		i++;
  	}
  	while (i < n)
  	{
  		dest[i] = '\0';
  		i++;
  	}
  	return (dest);
  }
  