Version Final
This commit is contained in:
19
ft_putchar_pf.c
Normal file
19
ft_putchar_pf.c
Normal file
@@ -0,0 +1,19 @@
|
||||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* ::: :::::::: */
|
||||
/* ft_putchar_pf.c :+: :+: :+: */
|
||||
/* +:+ +:+ +:+ */
|
||||
/* By: htamayo- <htamayo-@student.42malaga.c +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2025/12/20 18:45:06 by htamayo- #+# #+# */
|
||||
/* Updated: 2025/12/20 18:46:04 by htamayo- ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
#include "ft_printf.h"
|
||||
|
||||
void ft_putchar_pf(char c, size_t *counter)
|
||||
{
|
||||
write(1, &c, 1);
|
||||
(*counter)++;
|
||||
}
|
||||
Reference in New Issue
Block a user