-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathft_print_char.c
22 lines (19 loc) · 1 KB
/
ft_print_char.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_print_char.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: mhuthmay <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/09/17 16:51:34 by mhuthmay #+# #+# */
/* Updated: 2024/09/19 17:08:32 by mhuthmay ### ########.fr */
/* */
/* ************************************************************************** */
#include "ft_printf.h"
int ft_print_char(va_list argptr)
{
char c;
c = va_arg(argptr, int);
ft_putchar_fd(c, 1);
return (1);
}