-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathft_putendl.c
22 lines (20 loc) · 998 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
22
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_putendl.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: smonroe <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2018/04/19 06:02:48 by smonroe #+# #+# */
/* Updated: 2018/04/19 06:04:53 by smonroe ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
void ft_putendl(char const *s)
{
if (s)
{
ft_putstr(s);
write(1, "\n", 1);
}
}