added finished algorithm
merged algorithm from other personnal repo
This commit is contained in:
20
libft/srcs/ft_putendl.c
Normal file
20
libft/srcs/ft_putendl.c
Normal file
@@ -0,0 +1,20 @@
|
||||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* ::: :::::::: */
|
||||
/* ft_putendl.c :+: :+: :+: */
|
||||
/* +:+ +:+ +:+ */
|
||||
/* By: tmaze <tmaze@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2018/04/07 22:37:44 by tmaze #+# #+# */
|
||||
/* Updated: 2019/03/19 14:50:20 by tmaze ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
#include "libft.h"
|
||||
|
||||
void ft_putendl(char const *s)
|
||||
{
|
||||
if (s != NULL)
|
||||
ft_putstr(s);
|
||||
ft_putchar('\n');
|
||||
}
|
Reference in New Issue
Block a user