feat: added ft_putchar
This commit is contained in:
parent
38d24f4915
commit
2bee25020c
1 changed files with 8 additions and 0 deletions
8
srcs/ft_putchar.c
Normal file
8
srcs/ft_putchar.c
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
#include "libft.h"
|
||||||
|
#include <unistd.h>
|
||||||
|
|
||||||
|
int ft_putchar(char c)
|
||||||
|
{
|
||||||
|
write(1, &c, 1);
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue