20 lines
988 B
C
20 lines
988 B
C
|
/* ************************************************************************** */
|
||
|
/* */
|
||
|
/* ::: :::::::: */
|
||
|
/* ft_putchar_fd.c :+: :+: :+: */
|
||
|
/* +:+ +:+ +:+ */
|
||
|
/* By: cchauvet <cchauvet@student.42angoulem +#+ +:+ +#+ */
|
||
|
/* +#+#+#+#+#+ +#+ */
|
||
|
/* Created: 2022/09/29 22:23:35 by cchauvet #+# #+# */
|
||
|
/* Updated: 2023/02/17 16:28:59 by cchauvet ### ########.fr */
|
||
|
/* */
|
||
|
/* ************************************************************************** */
|
||
|
|
||
|
#include "ft_printf.h"
|
||
|
|
||
|
int ft_putchar_fd_p(int fd, char c)
|
||
|
{
|
||
|
write(fd, &c, 1);
|
||
|
return (1);
|
||
|
}
|