42/d10/ex06/ft_putchar.c

20 lines
972 B
C
Raw Permalink Normal View History

2016-11-20 02:20:23 +02:00
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_putchar.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: gtertysh <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2016/11/02 10:53:07 by gtertysh #+# #+# */
/* Updated: 2016/11/02 10:55:51 by gtertysh ### ########.fr */
/* */
/* ************************************************************************** */
#include <unistd.h>
int ft_putchar(char c)
{
write(1, &c, 1);
return (0);
}