21 lines
990 B
C
21 lines
990 B
C
/* ************************************************************************** */
|
|
/* */
|
|
/* ::: :::::::: */
|
|
/* ft_putstr.c :+: :+: :+: */
|
|
/* +:+ +:+ +:+ */
|
|
/* By: cchauvet <cchauvet@student.42angoulem +#+ +:+ +#+ */
|
|
/* +#+#+#+#+#+ +#+ */
|
|
/* Created: 2022/07/14 19:06:11 by cchauvet #+# #+# */
|
|
/* Updated: 2022/07/14 19:18:13 by cchauvet ### ########.fr */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
#include <unistd.h>
|
|
|
|
void ft_putstr(char *str)
|
|
{
|
|
while (*str != 0)
|
|
{
|
|
write(1, str++, 1);
|
|
}
|
|
}
|