/* ************************************************************************** */
/*                                                                            */
/*                                                        :::      ::::::::   */
/*   ft_putchar.c                                       :+:      :+:    :+:   */
/*                                                    +:+ +:+         +:+     */
/*   By: dlima-ra <marvin@42.fr>                    +#+  +:+       +#+        */
/*                                                +#+#+#+#+#+   +#+           */
/*   Created: 2019/10/19 15:23:00 by dlima-ra          #+#    #+#             */
/*   Updated: 2019/10/19 16:12:55 by dlima-ra         ###   ########.fr       */
/*                                                                            */
/* ************************************************************************** */

#include "header.h"
#include <unistd.h>

void		ft_putchar(char *w)
{
	int i;

	i = 0;
	while (w[i])
	{
		write(1, &w[i], 1);
		i++;
	}
}
