From 9a2b208985ac7d4644c718ada74770b98eeb4598 Mon Sep 17 00:00:00 2001 From: Charles Date: Mon, 29 Jul 2019 16:56:27 +0200 Subject: part 2 done (except putchar and putstr unicode) --- ft_putchar.c | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 ft_putchar.c (limited to 'ft_putchar.c') diff --git a/ft_putchar.c b/ft_putchar.c new file mode 100644 index 0000000..5718181 --- /dev/null +++ b/ft_putchar.c @@ -0,0 +1,8 @@ +#include + +void ft_putchar(char c) +{ + /* if (c < 0) */ + /* write(1, "", 1); */ + write(STDOUT_FILENO, &c, 1); +} -- cgit