void ft_putstr_fd(char *s, int fd)
#include "libft.h" void ft_putstr_fd(char *s, int fd) { int t; t = 0; if (s == NULL || fd < 0) return ; while (s[t] != '\0') { write(fd, &s[t], 1); t++; } }