Files
SignalChat/lib/ft_printf/source/ft_putchar_fd.c
T
HexPloR 60eef6cebe ew
2024-06-23 23:59:58 +02:00

19 lines
995 B
C
Executable File

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_putchar_fd.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: hexplor <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/11/23 14:08:31 by hexplor #+# #+# */
/* Updated: 2023/12/26 15:23:41 by hexplor ### ########.fr */
/* */
/* ************************************************************************** */
#include "../header/ft_printf.h"
int pf_putchar_fd(char c, int fd)
{
write(fd, &c, 1);
return (1);
}