-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathft_putendl.c
21 lines (19 loc) · 1014 Bytes
/
ft_putendl.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_putendl.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: aazeroua <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2019/04/07 14:31:15 by aazeroua #+# #+# */
/* Updated: 2019/04/11 18:57:24 by aazeroua ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
void ft_putendl(char const *s)
{
if (!s)
return ;
write(1, s, ft_strlen(s));
ft_putchar('\n');
}