-
Notifications
You must be signed in to change notification settings - Fork 0
/
ft_putstr.c
21 lines (19 loc) · 992 Bytes
/
ft_putstr.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_putstr.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: dbrandao <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/07/01 22:40:49 by dbrandao #+# #+# */
/* Updated: 2022/07/01 22:42:15 by dbrandao ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
void ft_putstr(char *s)
{
if (!s)
return ;
while (*s)
write(1, s++, 1);
}