-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathft_putstr.c
21 lines (19 loc) · 1022 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: nben-yaa <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2018/06/27 19:32:25 by nben-yaa #+# #+# */
/* Updated: 2018/07/23 16:38:28 by nben-yaa ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
void ft_putstr(char const *s)
{
if (s == NULL)
write(1, "(null)", 6);
else
write(1, s, ft_strlen(s));
}