1 2 3 4 5 6 7 8
#include "libft.h" #include <unistd.h> void ft_putstr_fd (char *s, int fd) { write (fd, s, ft_strlen (s)); }