-
Notifications
You must be signed in to change notification settings - Fork 0
/
ft_putchar.c
19 lines (17 loc) · 973 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: ptroger <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/01/06 15:35:32 by ptroger #+# #+# */
/* Updated: 2020/01/06 15:42:17 by ptroger ### ########.fr */
/* */
/* ************************************************************************** */
#include "ft_printf.h"
int ft_putchar(int c)
{
write(1, &c, 1);
return (1);
}