-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathft_putstr.c
22 lines (20 loc) · 1001 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
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_putstr.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: danalvar <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/10/28 20:50:57 by danalvar #+# #+# */
/* Updated: 2024/10/28 20:52:18 by danalvar ### ########.fr */
/* */
/* ************************************************************************** */
#include <unistd.h>
void ft_putstr(char *str)
{
while (*str != '\0')
{
write (1, str, 1);
str++;
}
}