22 lines
1.0 KiB
C
22 lines
1.0 KiB
C
|
/* ************************************************************************** */
|
||
|
/* */
|
||
|
/* ::: :::::::: */
|
||
|
/* ft_putendl_fd.c :+: :+: :+: */
|
||
|
/* +:+ +:+ +:+ */
|
||
|
/* By: cchauvet <cchauvet@student.42angoulem +#+ +:+ +#+ */
|
||
|
/* +#+#+#+#+#+ +#+ */
|
||
|
/* Created: 2022/09/29 22:26:36 by cchauvet #+# #+# */
|
||
|
/* Updated: 2022/09/29 22:43:19 by cchauvet ### ########.fr */
|
||
|
/* */
|
||
|
/* ************************************************************************** */
|
||
|
|
||
|
#include "libft.h"
|
||
|
|
||
|
void ft_putendl_fd(char *s, int fd)
|
||
|
{
|
||
|
if (s == NULL)
|
||
|
return ;
|
||
|
ft_putstr_fd(s, fd);
|
||
|
ft_putchar_fd('\n', fd);
|
||
|
}
|