-
Notifications
You must be signed in to change notification settings - Fork 0
/
ft_pfchar.c
19 lines (17 loc) · 994 Bytes
/
ft_pfchar.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_pfchar.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: amacarul <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/09/24 11:18:53 by amacarul #+# #+# */
/* Updated: 2024/09/26 18:22:59 by amacarul ### ########.fr */
/* */
/* ************************************************************************** */
#include "libftprintf.h"
void ft_pfchar(char c, size_t *count)
{
write(1, &c, 1);
(*count) += 1;
}