text: /* ************************************************************************** */
  /*                                                                            */
  /*                                                        :::      ::::::::   */
  /*   ft_memalloc.c                                      :+:      :+:    :+:   */
  /*                                                    +:+ +:+         +:+     */
  /*   By: dvdovenk <marvin@42.fr>                    +#+  +:+       +#+        */
  /*                                                +#+#+#+#+#+   +#+           */
  /*   Created: 2016/11/27 15:24:51 by dvdovenk          #+#    #+#             */
  /*   Updated: 2016/12/12 17:18:36 by dvdovenk         ###   ########.fr       */
  /*                                                                            */
  /* ************************************************************************** */
  
  #include "../includes/libft.h"
  
  void	*ft_memalloc(size_t size)
  {
  	char *d;
  
  	d = (char *)malloc(sizeof(char) * size);
  	if (d == NULL)
  		return (0);
  	ft_bzero(d, size);
  	return (d);
  }
  