aboutsummaryrefslogtreecommitdiff
path: root/src/io/ft_putchar.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/io/ft_putchar.c')
-rw-r--r--src/io/ft_putchar.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/io/ft_putchar.c b/src/io/ft_putchar.c
new file mode 100644
index 0000000..2838f0a
--- /dev/null
+++ b/src/io/ft_putchar.c
@@ -0,0 +1,18 @@
+/* ************************************************************************** */
+/* */
+/* ::: :::::::: */
+/* ft_putchar.c :+: :+: :+: */
+/* +:+ +:+ +:+ */
+/* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */
+/* +#+#+#+#+#+ +#+ */
+/* Created: 2019/10/07 09:53:31 by cacharle #+# #+# */
+/* Updated: 2019/11/20 03:49:14 by cacharle ### ########.fr */
+/* */
+/* ************************************************************************** */
+
+#include "libft.h"
+
+void ft_putchar(char c)
+{
+ write(STDOUT_FILENO, &c, 1);
+}