malloc/subprojects/libft/ft_putchar.c

19 lines
979 B
C

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_putchar.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: gtertysh <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2016/12/04 14:29:56 by gtertysh #+# #+# */
/* Updated: 2016/12/04 15:04:42 by gtertysh ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
void ft_putchar(char c)
{
if (write(1, &c, 1) == -1)
return ;
}