42_minishell/libftx/libft/ft_putchar_fd.c

19 lines
970 B
C
Raw Permalink Normal View History

2023-01-31 08:40:15 -05:00
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_putchar_fd.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: cchauvet <cchauvet@student.42angoulem +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/09/29 22:23:35 by cchauvet #+# #+# */
2023-02-17 10:33:52 -05:00
/* Updated: 2023/02/17 16:23:01 by cchauvet ### ########.fr */
2023-01-31 08:40:15 -05:00
/* */
/* ************************************************************************** */
#include "libft.h"
2023-02-17 10:33:52 -05:00
void ft_putchar_fd(char c, int fd)
2023-01-31 08:40:15 -05:00
{
write(fd, &c, 1);
}