-
Notifications
You must be signed in to change notification settings - Fork 0
/
ft_putchar.c
19 lines (17 loc) · 990 Bytes
/
ft_putchar.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_putchar.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: ael-maim <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/11/23 09:35:58 by ael-maim #+# #+# */
/* Updated: 2023/11/27 19:49:12 by ael-maim ### ########.fr */
/* */
/* ************************************************************************** */
#include "ft_printf.h"
void ft_putchar(char c, int *len)
{
write(1, &c, 1);
*len = *len + 1;
}