Corewar-Final/libft/libft/ft_putstr.c
Jeremy FLEURY 748d10f4f3 push
2019-07-17 11:22:24 +02:00

29 lines
1.0 KiB
C

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_putstr.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: jfleury <jfleury@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2018/11/05 14:47:33 by jfleury #+# #+# */
/* Updated: 2018/11/13 20:26:16 by jfleury ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
void ft_putstr(char const *s)
{
int i;
i = 0;
if (s != NULL)
{
while (s[i] != 0)
{
ft_putchar(s[i]);
i++;
}
}
}