text: /* ************************************************************************** */
  /*                                                                            */
  /*                                                        :::      ::::::::   */
  /*   ft_memalloc.c                                      :+:      :+:    :+:   */
  /*                                                    +:+ +:+         +:+     */
  /*   By: egenis <marvin@42.fr>                      +#+  +:+       +#+        */
  /*                                                +#+#+#+#+#+   +#+           */
  /*   Created: 2018/05/30 14:56:31 by egenis            #+#    #+#             */
  /*   Updated: 2018/05/30 14:56:59 by egenis           ###   ########.fr       */
  /*                                                                            */
  /* ************************************************************************** */
  
  #include "libft.h"
  
  void	*ft_memalloc(size_t size)
  {
  	void	*ptr;
  
  	ptr = (void *)malloc(size);
  	if (ptr == NULL)
  		return (NULL);
  	ft_bzero(ptr, size);
  	return (ptr);
  }
  