-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathft_putstr_fd.c
More file actions
21 lines (19 loc) · 1001 Bytes
/
ft_putstr_fd.c
File metadata and controls
21 lines (19 loc) · 1001 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_putstr_fd.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: muganiev <gf.black.tv@gmail.com> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/05/26 15:14:00 by muganiev #+# #+# */
/* Updated: 2022/05/31 19:24:52 by muganiev ### ########.fr */
/* */
/* ************************************************************************** */
#include "libft.h"
void
ft_putstr_fd(char *s, int fd)
{
if (!s)
return ;
write(fd, s, ft_strlen(s));
}