-
Notifications
You must be signed in to change notification settings - Fork 0
/
ft_putstr.c
23 lines (21 loc) · 1012 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
22
23
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_putstr.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: nkuzminy <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/07/19 15:05:25 by nkuzminy #+# #+# */
/* Updated: 2022/07/20 16:01:36 by nkuzminy ### ########.fr */
/* */
/* ************************************************************************** */
#include <unistd.h>
void ft_putstr(char *str)
{
if (!*str)
return ;
{
write(1, str++, 1);
ft_putstr(str);
}
}