Files
Printf42/ft_putstr_pf.c
Hugo Manuel Tamayo Olea 17681f5124 Version Final
2026-01-11 17:57:21 +01:00

25 lines
1.0 KiB
C

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_putstr_pf.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: htamayo- <htamayo-@student.42malaga.c +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2026/01/09 16:27:07 by htamayo- #+# #+# */
/* Updated: 2026/01/11 15:54:40 by htamayo- ### ########.fr */
/* */
/* ************************************************************************** */
#include "ft_printf.h"
void ft_putstr_pf(char *str, size_t *counter)
{
if (!str)
str = "(null)";
while (*str)
{
ft_putchar_pf(*str, counter);
str++;
}
}