27 lines
1.0 KiB
C
27 lines
1.0 KiB
C
/* ************************************************************************** */
|
|
/* */
|
|
/* ::: :::::::: */
|
|
/* putstr.c :+: :+: :+: */
|
|
/* +:+ +:+ +:+ */
|
|
/* By: cchauvet <cchauvet@student.42angouleme.fr +#+ +:+ +#+ */
|
|
/* +#+#+#+#+#+ +#+ */
|
|
/* Created: 2023/04/27 11:28:26 by cchauvet #+# #+# */
|
|
/* Updated: 2023/04/27 11:28:27 by cchauvet ### ########.fr */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
|
|
#include "utils.h"
|
|
#include <stddef.h>
|
|
|
|
void ft_putstr(char *str)
|
|
{
|
|
size_t i;
|
|
|
|
i = 0;
|
|
while (str[i] != 0)
|
|
{
|
|
ft_putchar(str[i]);
|
|
i++;
|
|
}
|
|
}
|