20#include "../../../../libft.h" 
   22static int  _repeat_str_n(
const char *str, 
int n, 
int strlen, 
int fd)
 
   30        res = _repeat_str_n(str, n - strlen, strlen, fd);
 
   35    res2 = write(fd, str, n);
 
   54    return (_repeat_str_n(str, n, 
ft_strlen(str), fd));
 
 
size_t ft_strlen(const char *str)
Get length of str.
 
int repeat_str_n(const char *str, int n, int fd)
Write exactly n characters from str on descriptor fd. Repeats string if ft_strlen(str) is greater tha...