25 lines
1.1 KiB
C
25 lines
1.1 KiB
C
/* ************************************************************************** */
|
|
/* */
|
|
/* ::: :::::::: */
|
|
/* ft_putendl_fd.c :+: :+: :+: */
|
|
/* +:+ +:+ +:+ */
|
|
/* By: rparodi <marvin@42.fr> +#+ +:+ +#+ */
|
|
/* +#+#+#+#+#+ +#+ */
|
|
/* Created: 2023/11/09 13:59:01 by rparodi #+# #+# */
|
|
/* Updated: 2024/10/31 18:03:47 by rparodi ### ########.fr */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
|
|
#include "libft.h"
|
|
|
|
/**
|
|
* @brief Print a string follow by a new line on a file descriptor
|
|
*
|
|
* @param s the string to print
|
|
* @param fd the file descriptor
|
|
*/
|
|
void ft_putendl_fd(char *s, int fd)
|
|
{
|
|
ft_putstr_fd(s, fd);
|
|
ft_putchar_fd('\n', fd);
|
|
}
|