-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathft_putendl.c
21 lines (19 loc) · 1 KB
/
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: vbrazhni <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2018/07/04 12:18:10 by vbrazhni #+# #+# */
/* Updated: 2018/07/04 12:18:11 by vbrazhni ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
#include <unistd.h>
void ft_putendl(char const *s)
{
if (s)
write(1, s, ft_strlen(s));
write(1, "\n", 1);
}