text: /* ************************************************************************** */
  /*                                                                            */
  /*                                                        :::      ::::::::   */
  /*   ft_utils.c                                         :+:      :+:    :+:   */
  /*                                                    +:+ +:+         +:+     */
  /*   By: atrouill <atrouill@student.42.fr>          +#+  +:+       +#+        */
  /*                                                +#+#+#+#+#+   +#+           */
  /*   Created: 2019/08/19 12:05:46 by atrouill          #+#    #+#             */
  /*   Updated: 2019/08/19 12:27:23 by atrouill         ###   ########.fr       */
  /*                                                                            */
  /* ************************************************************************** */
  
  #include "../includes/ft.h"
  
  void	ft_putchar(int fd, char c)
  {
  	write(fd, &c, 1);
  }
  
  void	ft_putstr(int fd, char *s)
  {
  	int i;
  
  	i = 0;
  	while (s[i] != '\0')
  	{
  		ft_putchar(fd, s[i]);
  		i++;
  	}
  }
  