-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprint_char.c
More file actions
18 lines (16 loc) · 985 Bytes
/
print_char.c
File metadata and controls
18 lines (16 loc) · 985 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* print_char.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: bguzel <bguzel@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/11/10 19:40:44 by bguzel #+# #+# */
/* Updated: 2022/11/20 16:24:34 by bguzel ### ########.fr */
/* */
/* ************************************************************************** */
#include "ft_printf.h"
void print_char(char d, int *count)
{
*count += write (1, &d, 1);
}