-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathft_putstr.c
20 lines (18 loc) · 1003 Bytes
/
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: vbrazhni <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2018/07/04 12:14:58 by vbrazhni #+# #+# */
/* Updated: 2018/07/04 12:14:59 by vbrazhni ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
#include <unistd.h>
void ft_putstr(char const *s)
{
if (s)
write(1, s, ft_strlen(s));
}