-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathft_putstr.c
21 lines (19 loc) · 1016 Bytes
/
ft_putstr.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_putstr.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: vbrazas <vbrazas@student.unit.ua> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2017/11/06 21:47:42 by vbrazas #+# #+# */
/* Updated: 2018/02/05 14:12:50 by vbrazas ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
ssize_t ft_putstr(char const *s)
{
if (s)
return (write(1, s, ft_strlen(s)));
else
return (0);
}