Version Final

This commit is contained in:
Hugo Manuel Tamayo Olea
2026-01-11 17:57:21 +01:00
commit 17681f5124
10 changed files with 378 additions and 0 deletions

24
ft_putstr_pf.c Normal file
View File

@@ -0,0 +1,24 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* 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++;
}
}