42_solong/libftx/libft/ft_putchar_fd.c

19 lines
970 B
C
Raw Normal View History

2022-12-22 11:54:17 -05:00
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_putchar_fd.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: cchauvet <cchauvet@student.42angoulem +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/09/29 22:23:35 by cchauvet #+# #+# */
2023-01-05 13:04:29 -05:00
/* Updated: 2023/01/05 18:54:54 by cchauvet ### ########.fr */
2022-12-22 11:54:17 -05:00
/* */
/* ************************************************************************** */
#include "libft.h"
2023-01-05 13:04:29 -05:00
void ft_putchar_fd(int fd, char c)
2022-12-22 11:54:17 -05:00
{
write(fd, &c, 1);
}