-
Notifications
You must be signed in to change notification settings - Fork 0
/
ft_putendl.c
35 lines (32 loc) · 1.26 KB
/
ft_putendl.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_putendl.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: mbutt <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2019/03/21 16:08:44 by mbutt #+# #+# */
/* Updated: 2019/03/21 16:19:33 by mbutt ### ########.fr */
/* */
/* ************************************************************************** */
/*
** Description - Outputs the string s to the standard output followed by a ’\n’.
** Param#1 - The string to output.
** Return Value - None.
** Libc function - write.
*/
#include "libft.h"
void ft_putendl(char const *s)
{
ft_putstr(s);
ft_putchar('\n');
}
/*
**int main (void)
**{
** char *string1 = "Testing this";
** ft_putstr(string1);
** ft_putendl(string1);
** ft_putstr(string1);
**}
*/