-
Notifications
You must be signed in to change notification settings - Fork 1
/
ft_putendl.c
21 lines (19 loc) · 1022 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: vbrazas <vbrazas@student.unit.ua> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2017/11/06 21:57:30 by vbrazas #+# #+# */
/* Updated: 2018/01/27 15:57:02 by vbrazas ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
void ft_putendl(char const *s)
{
if (s == NULL)
return ;
write(1, s, ft_strlen(s));
write(1, "\n", 1);
}