There was an error while loading. Please reload this page.
1 parent bb7cd40 commit 4cfeb94Copy full SHA for 4cfeb94
0x14-bit_manipulation/_putchar.c
@@ -0,0 +1,13 @@
1
+#include <unistd.h>
2
+
3
+/**
4
+ * _putchar - writes the character c to stdout
5
+ * @c: The character to print
6
+ *
7
+ * Return: On success 1.
8
+ * On error, -1 is returned, and errno is set appropriately.
9
+ */
10
+int _putchar(char c)
11
+{
12
+return (write(1, &c, 1));
13
+}
0x15-file_io/README.md
@@ -0,0 +1,4 @@
+0x15. C - File I/O
+ -------------
+O
0 commit comments