-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathft_putstr.c
20 lines (18 loc) · 1.01 KB
/
ft_putstr.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_putstr.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: vanderwolk <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2019/04/03 05:40:49 by ylagtab #+# #+# */
/* Updated: 2020/09/09 22:24:18 by vanderwolk ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
int ft_putstr(char const *str)
{
if (str == NULL)
return (0);
return (ft_write_buff((char*)str, ft_strlen(str), 1));
}