-
Notifications
You must be signed in to change notification settings - Fork 0
/
ft_putendl.c
executable file
·25 lines (22 loc) · 1.03 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
24
25
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_putendl.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: ngouy <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2014/11/11 10:52:47 by ngouy #+# #+# */
/* Updated: 2015/11/04 16:44:02 by ngouy ### ########.fr */
/* */
/* ************************************************************************** */
/*
** Put a str followed by carriage return.
*/
#include "libft.h"
void ft_putendl(char const *s)
{
if (!s)
return ;
ft_putstr(s);
ft_putchar('\n');
}