text: /* ************************************************************************** */
  /*                                                                            */
  /*                                                        :::      ::::::::   */
  /*   ft_memset.c                                        :+:      :+:    :+:   */
  /*                                                    +:+ +:+         +:+     */
  /*   By: ktabit <marvin@42.fr>                      +#+  +:+       +#+        */
  /*                                                +#+#+#+#+#+   +#+           */
  /*   Created: 2019/10/21 15:48:42 by ktabit            #+#    #+#             */
  /*   Updated: 2019/10/21 17:28:43 by ktabit           ###   ########.fr       */
  /*                                                                            */
  /* ************************************************************************** */
  
  #include "libft.h"
  
  void	*ft_memset(void *b, int c, size_t len)
  {
  	unsigned char	*t;
  	unsigned int	i;
  
  	i = 0;
  	t = b;
  	while (i < len)
  	{
  		t[i] = (unsigned char)c;
  		i++;
  	}
  	return (b);
  }
  