diff options
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); +} |
