-
Notifications
You must be signed in to change notification settings - Fork 0
/
ft_putendl.c
executable file
·23 lines (21 loc) · 1.02 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
22
23
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_putendl.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: akharrou <akharrou@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2019/02/19 07:27:40 by akharrou #+# #+# */
/* Updated: 2019/03/04 13:17:20 by akharrou ### ########.fr */
/* */
/* ************************************************************************** */
#include <unistd.h>
#include "../Includes/string_42.h"
void ft_putendl(char const *s)
{
if (s)
{
write(1, s, ft_strlen(s));
write(1, "\n", 1);
}
}