Skip to content

Commit 4cfeb94

Browse files
committed
README.md added
1 parent bb7cd40 commit 4cfeb94

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

0x14-bit_manipulation/_putchar.c

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
0x15. C - File I/O
2+
-------------
3+
4+
O

0 commit comments

Comments
 (0)