25 lines
1020 B
C
25 lines
1020 B
C
|
/* ************************************************************************** */
|
||
|
/* */
|
||
|
/* ::: :::::::: */
|
||
|
/* ft_putstr.c :+: :+: :+: */
|
||
|
/* +:+ +:+ +:+ */
|
||
|
/* By: ajoly <marvin@42.fr> +#+ +:+ +#+ */
|
||
|
/* +#+#+#+#+#+ +#+ */
|
||
|
/* Created: 2022/07/25 12:11:23 by ajoly #+# #+# */
|
||
|
/* Updated: 2022/07/25 12:11:25 by ajoly ### ########.fr */
|
||
|
/* */
|
||
|
/* ************************************************************************** */
|
||
|
#include <unistd.h>
|
||
|
|
||
|
void ft_putstr(char *str)
|
||
|
{
|
||
|
int i;
|
||
|
|
||
|
i = 0;
|
||
|
while (str[i] != '\0')
|
||
|
{
|
||
|
write(1, &str[i], 1);
|
||
|
i++;
|
||
|
}
|
||
|
}
|