1
0
cub3d/libft/put/ft_putchar_fd.c

19 lines
976 B
C
Raw Permalink Normal View History

2024-09-10 16:27:06 +02:00
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_putchar_fd.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: madumerg <madumerg@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/11/03 14:32:56 by madumerg #+# #+# */
/* Updated: 2024/10/17 01:13:30 by adjoly ### ########.fr */
2024-09-10 16:27:06 +02:00
/* */
/* ************************************************************************** */
#include "libft.h"
void ft_putchar_fd(char c, int fd)
{
(void)write(fd, &c, 1);
2024-09-10 16:27:06 +02:00
}