libft
ft_putendl_fd.c
Go to the documentation of this file.
1 /* ************************************************************************** */
3 /* */
4 /* ::: :::::::: */
5 /* ft_putendl_fd.c :+: :+: :+: */
6 /* +:+ +:+ +:+ */
7 /* By: unite <marvin@42.fr> +#+ +:+ +#+ */
8 /* +#+#+#+#+#+ +#+ */
9 /* Created: 2019/09/05 13:56:47 by unite #+# #+# */
10 /* Updated: 2020/07/16 02:55:05 by unite ### ########.fr */
11 /* */
12 /* ************************************************************************** */
13 
14 #include "libft.h"
15 
22 void ft_putendl_fd(char const *s, int fd)
23 {
24  ft_putstr_fd(s, fd);
25  ft_putchar_fd('\n', fd);
26 }
ft_putstr_fd
void ft_putstr_fd(char const *s, int fd)
Writes a string to a file descriptor.
Definition: ft_putstr_fd.c:23
ft_putendl_fd
void ft_putendl_fd(char const *s, int fd)
Writes a string to a file descriptor followed by a newline.
Definition: ft_putendl_fd.c:22
libft.h
ft_putchar_fd
void ft_putchar_fd(char c, int fd)
Writes a character to a file descriptor.
Definition: ft_putchar_fd.c:23