22 lines
1.0 KiB
C
22 lines
1.0 KiB
C
/* ************************************************************************** */
|
|
/* */
|
|
/* ::: :::::::: */
|
|
/* ft_putendl_fd.c :+: :+: :+: */
|
|
/* +:+ +:+ +:+ */
|
|
/* By: vvobis <marvin@42.fr> +#+ +:+ +#+ */
|
|
/* +#+#+#+#+#+ +#+ */
|
|
/* Created: 2024/04/07 17:57:33 by vvobis #+# #+# */
|
|
/* Updated: 2024/04/07 18:00:49 by vvobis ### ########.fr */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
|
|
#include "libft.h"
|
|
|
|
void ft_putendl_fd(char *str, int fd)
|
|
{
|
|
if (!str)
|
|
return ;
|
|
ft_putstr_fd(str, fd);
|
|
ft_putchar_fd(0x0a, fd);
|
|
}
|