libft/srcs/ft_putchar.c

8 lines
102 B
C

#include "libft.h"
#include <unistd.h>
int ft_putchar(char c)
{
write(1, &c, 1);
return 1;
}