ft_putchar_fd.c
1 /* ************************************************************************** */ 2 /* */ 3 /* ::: :::::::: */ 4 /* ft_putchar_fd.c :+: :+: :+: */ 5 /* +:+ +:+ +:+ */ 6 /* By: ll-hotel <ll-hotel@student.42.fr> +#+ +:+ +#+ */ 7 /* +#+#+#+#+#+ +#+ */ 8 /* Created: 2023/11/27 03:07:16 by ll-hotel #+# #+# */ 9 /* Updated: 2023/11/27 04:31:00 by ll-hotel ### ########.fr */ 10 /* */ 11 /* ************************************************************************** */ 12 13 #include <unistd.h> 14 15 int ft_putchar_fd(int c, int fd) 16 { 17 return (write(fd, &c, 1)); 18 }