aboutsummaryrefslogtreecommitdiff
path: root/ft_putstr.c
blob: 0e87847df65036525268e550c0f382d4587f7527 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* ************************************************************************** */
/*                                                                            */
/*                                                        :::      ::::::::   */
/*   ft_putstr.c                                        :+:      :+:    :+:   */
/*                                                    +:+ +:+         +:+     */
/*   By: cacharle <marvin@42.fr>                    +#+  +:+       +#+        */
/*                                                +#+#+#+#+#+   +#+           */
/*   Created: 2019/10/07 09:52:12 by cacharle          #+#    #+#             */
/*   Updated: 2019/10/07 09:52:15 by cacharle         ###   ########.fr       */
/*                                                                            */
/* ************************************************************************** */

#include <unistd.h>

void	ft_putstr(char const *s)
{
	while (*s)
		write(STDOUT_FILENO, s++, 1);
}