ft_malloc/libft/ft_putchar_fd.c
2025-11-28 19:50:58 +01:00

18 lines
970 B
C
Executable file

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_putchar_fd.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: thrieg <thrieg@student.42mulhouse.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/10/15 17:16:09 by thrieg #+# #+# */
/* Updated: 2025/02/16 19:04:19 by thrieg ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
void ft_putchar_fd(char c, int fd)
{
write(fd, &c, 1);
}