diff options
| author | yctct <yctct> | 2026-01-28 12:43:28 +0100 |
|---|---|---|
| committer | yctct <yctct> | 2026-01-28 12:43:28 +0100 |
| commit | 925989f7e7af67d965e2b501a51068acfe449ab0 (patch) | |
| tree | 7a83e51d2872f9c97abf3166f883ff8dfcf7e2e0 /ft_putchar.c | |
Add all files, first commit
Diffstat (limited to 'ft_putchar.c')
| -rw-r--r-- | ft_putchar.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/ft_putchar.c b/ft_putchar.c new file mode 100644 index 0000000..4ff8dda --- /dev/null +++ b/ft_putchar.c @@ -0,0 +1,11 @@ + +#include "ft_printf.h" + +int ft_putchar(char c) +{ + int counter; + + counter = 0; + counter = write(1, &c, 1); + return (counter); +} |
