42-archive/libftasm/ft_putendl.c
2016-08-28 16:33:44 +02:00

10 lines
125 B
C

#include "libft.h"
void ft_putendl(char const *s)
{
char nl;
nl = '\n';
write(1, s, ft_strlen(s));
write(1, &nl, 1);
}