-
Notifications
You must be signed in to change notification settings - Fork 0
/
ft_putstr.c
28 lines (25 loc) · 1.02 KB
/
ft_putstr.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_putstr.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: puttsche <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2016/11/09 04:10:10 by puttsche #+# #+# */
/* Updated: 2016/11/21 02:42:12 by puttsche ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
void ft_putstr(char const *s)
{
int x;
if (s != NULL)
{
x = 0;
while (s[x] != '\0')
{
ft_putchar(s[x]);
x++;
}
}
}