-
Notifications
You must be signed in to change notification settings - Fork 0
/
ft_putchar.c
19 lines (17 loc) · 983 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: aarbaoui <aarbaoui@student.1337.ma> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/10/14 16:21:39 by aarbaoui #+# #+# */
/* Updated: 2022/10/27 17:10:59 by aarbaoui ### ########.fr */
/* */
/* ************************************************************************** */
#include "ft_printf.h"
void ft_putchar(char c, int *len)
{
write(1, &c, 1);
(*len)++;
}