aboutsummaryrefslogtreecommitdiff
path: root/c09/ex00/ft_putchar.c
diff options
context:
space:
mode:
authorCabergs Charles <cacharle@e-r6-p7.s19.be>2019-07-15 08:15:37 +0200
committerCabergs Charles <cacharle@e-r6-p7.s19.be>2019-07-15 08:15:37 +0200
commit6bf5dd01493dd6bf644a4896c666535e5eaa8d67 (patch)
tree25b02c02f5140dbefbabd7720f292d8be3d5cc51 /c09/ex00/ft_putchar.c
parente8ab18a2c724c0acfa1688a62bc2042471d68e39 (diff)
downloadpiscine-6bf5dd01493dd6bf644a4896c666535e5eaa8d67.tar.gz
piscine-6bf5dd01493dd6bf644a4896c666535e5eaa8d67.tar.bz2
piscine-6bf5dd01493dd6bf644a4896c666535e5eaa8d67.zip
c07 passed, c08 in progress, rush01(+ 6x6 try)
Diffstat (limited to 'c09/ex00/ft_putchar.c')
-rw-r--r--c09/ex00/ft_putchar.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/c09/ex00/ft_putchar.c b/c09/ex00/ft_putchar.c
new file mode 100644
index 0000000..8a53dc8
--- /dev/null
+++ b/c09/ex00/ft_putchar.c
@@ -0,0 +1,18 @@
+/* ************************************************************************** */
+/* */
+/* ::: :::::::: */
+/* ft_putchar.c :+: :+: :+: */
+/* +:+ +:+ +:+ */
+/* By: cacharle <charles.cabergs@gmail.com> +#+ +:+ +#+ */
+/* +#+#+#+#+#+ +#+ */
+/* Created: 2019/07/02 22:03:32 by cacharle #+# #+# */
+/* Updated: 2019/07/03 14:21:40 by cacharle ### ########.fr */
+/* */
+/* ************************************************************************** */
+
+#include <unistd.h>
+
+void ft_putchar(char c)
+{
+ write(1, &c, 1);
+}