-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathft_putchar.c
More file actions
19 lines (17 loc) · 984 Bytes
/
ft_putchar.c
File metadata and controls
19 lines (17 loc) · 984 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_putchar.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: ychihab <ychihab@student.1337.ma> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/10/30 15:43:15 by ychihab #+# #+# */
/* Updated: 2022/11/03 11:20:47 by ychihab ### ########.fr */
/* */
/* ************************************************************************** */
#include "ft_printf.h"
void ft_putchar(char c, int *j)
{
write(1, &c, 1);
*j = *j + 1;
}