-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathft_putchar.c
18 lines (16 loc) · 979 Bytes
/
ft_putchar.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_putchar.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: tchevrie <tchevrie@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/09/20 14:10:56 by tchevrie #+# #+# */
/* Updated: 2022/10/05 05:35:24 by tchevrie ### ########.fr */
/* */
/* ************************************************************************** */
#include "ft_printf.h"
size_t ft_putchar(const char c)
{
return (write(1, &c, 1));
}