/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ft_putstr_fd.c :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: tomoron +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2023/11/01 04:13:29 by tomoron #+# #+# */ /* Updated: 2023/11/01 14:25:39 by tomoron ### ########.fr */ /* */ /* ************************************************************************** */ #include "libft.h" void ft_putstr_fd(char *s, int fd) { if (s) write(fd, s, ft_strlen(s)); }