Version Final
This commit is contained in:
24
ft_putstr_pf.c
Normal file
24
ft_putstr_pf.c
Normal 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++;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user