42_ft_printf/ft_putchar_fd.c
Camille Chauvet af946dbf97 v1
2022-10-10 19:33:47 +02:00

19 lines
971 B
C

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_putchar_fd.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: cchauvet <cchauvet@student.42angoulem +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/09/29 22:23:35 by cchauvet #+# #+# */
/* Updated: 2022/10/10 14:41:55 by cchauvet ### ########.fr */
/* */
/* ************************************************************************** */
#include "printf.h"
void ft_putchar_fd(char c, int fd)
{
write(fd, &c, 1);
}