libft
Loading...
Searching...
No Matches
ft_putendl_fd.c
Go to the documentation of this file.
1
/* ************************************************************************** */
2
/* */
3
/* ::: :::::::: */
4
/* ft_putendl_fd.c :+: :+: :+: */
5
/* +:+ +:+ +:+ */
6
/* By: tspoof <tspoof@student.hive.fi> +#+ +:+ +#+ */
7
/* +#+#+#+#+#+ +#+ */
8
/* Created: 2022/11/06 14:27:54 by tspoof #+# #+# */
9
/* Updated: 2022/11/06 14:34:00 by tspoof ### ########.fr */
10
/* */
11
/* ************************************************************************** */
12
13
#include "
libft.h
"
14
15
void
ft_putendl_fd
(
char
*s,
int
fd)
16
{
17
if
(!s)
18
return ;
19
ft_putstr_fd
(s, fd);
20
ft_putchar_fd
(
'\n'
, fd);
21
}
ft_putendl_fd
void ft_putendl_fd(char *s, int fd)
Writes new line to file.
Definition
ft_putendl_fd.c:15
libft.h
ft_putchar_fd
void ft_putchar_fd(char c, int fd)
Writes char to file.
Definition
ft_putchar_fd.c:15
ft_putstr_fd
void ft_putstr_fd(char *s, int fd)
Writes string to file.
Definition
ft_putstr_fd.c:15
src
ft_putendl_fd.c
Generated by
1.9.7