-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathft_putchar.c
21 lines (18 loc) · 1007 Bytes
/
ft_putchar.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_putchar.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: gwasserf <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2019/05/20 18:16:52 by gwasserf #+# #+# */
/* Updated: 2019/05/28 11:19:14 by gwasserf ### ########.fr */
/* */
/* ************************************************************************** */
#include <unistd.h>
void ft_putchar(char c)
{
unsigned char chr;
chr = (unsigned char)c;
write(1, &chr, 1);
}