25 lines
1012 B
C
25 lines
1012 B
C
|
/* ************************************************************************** */
|
||
|
/* */
|
||
|
/* ::: :::::::: */
|
||
|
/* ft_putstr.c :+: :+: :+: */
|
||
|
/* +:+ +:+ +:+ */
|
||
|
/* By: adjoly <marvin@42.fr> +#+ +:+ +#+ */
|
||
|
/* +#+#+#+#+#+ +#+ */
|
||
|
/* Created: 2023/07/19 08:58:22 by adjoly #+# #+# */
|
||
|
/* Updated: 2023/07/19 09:02:13 by adjoly ### ########.fr */
|
||
|
/* */
|
||
|
/* ************************************************************************** */
|
||
|
#include <unistd.h>
|
||
|
|
||
|
void ft_putstr(char *str)
|
||
|
{
|
||
|
int i;
|
||
|
|
||
|
i = 0;
|
||
|
while (str[i])
|
||
|
{
|
||
|
write(1, &str[i], 1);
|
||
|
i++;
|
||
|
}
|
||
|
}
|