2022-10-06 20:30:03 -04:00
|
|
|
/* ************************************************************************** */
|
|
|
|
/* */
|
|
|
|
/* ::: :::::::: */
|
|
|
|
/* ft_putchar_fd.c :+: :+: :+: */
|
|
|
|
/* +:+ +:+ +:+ */
|
|
|
|
/* By: cchauvet <cchauvet@student.42angoulem +#+ +:+ +#+ */
|
|
|
|
/* +#+#+#+#+#+ +#+ */
|
|
|
|
/* Created: 2022/09/29 22:23:35 by cchauvet #+# #+# */
|
2022-10-23 13:01:50 -04:00
|
|
|
/* Updated: 2022/10/12 15:21:42 by cchauvet ### ########.fr */
|
2022-10-06 20:30:03 -04:00
|
|
|
/* */
|
|
|
|
/* ************************************************************************** */
|
|
|
|
|
2022-10-23 13:01:50 -04:00
|
|
|
#include "ft_printf.h"
|
2022-10-06 20:30:03 -04:00
|
|
|
|
2022-10-23 13:01:50 -04:00
|
|
|
int ft_putchar_fd(int fd, char c)
|
2022-10-06 20:30:03 -04:00
|
|
|
{
|
|
|
|
write(fd, &c, 1);
|
2022-10-23 13:01:50 -04:00
|
|
|
return (1);
|
2022-10-06 20:30:03 -04:00
|
|
|
}
|