19 lines
991 B
C
19 lines
991 B
C
/* ************************************************************************** */
|
|
/* */
|
|
/* ::: :::::::: */
|
|
/* ft_putchar_fd.c :+: :+: :+: */
|
|
/* +:+ +:+ +:+ */
|
|
/* By: gtertysh <marvin@42.fr> +#+ +:+ +#+ */
|
|
/* +#+#+#+#+#+ +#+ */
|
|
/* Created: 2016/12/04 15:03:56 by gtertysh #+# #+# */
|
|
/* Updated: 2016/12/04 15:04:30 by gtertysh ### ########.fr */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
|
|
#include "libft.h"
|
|
|
|
void ft_putchar_fd(char c, int fd)
|
|
{
|
|
if (write(fd, &c, 1) == -1)
|
|
return ;
|
|
}
|