14-04-2026
19 lines
1.0 kB
1/* ************************************************************************** */
2/* */
3/* ::: :::::::: */
4/* ft_putstr_fd.c :+: :+: :+: */
5/* +:+ +:+ +:+ */
6/* By: mleitao <mleitao@student.42.fr> +#+ +:+ +#+ */
7/* +#+#+#+#+#+ +#+ */
8/* Created: 2026/03/16 00:59:20 by mleitao #+# #+# */
9/* Updated: 2026/04/14 19:20:57 by mleitao ### ########.fr */
10/* */
11/* ************************************************************************** */
12
13#include "libft.h"
14#include <unistd.h>
15
16void ft_putstr_fd(char *s, int fd)
17{
18 write(fd, s, ft_strlen(s));
19}