26size_t ft_strlcat(
char *dst,
const char *src,
size_t size)
31 size_t remaining_space;
36 while (size > 0 && *d !=
'\0')
42 remaining_space = size;
43 if (remaining_space == 0)
45 while (--remaining_space > 0 && *s !=
'\0')
size_t ft_strlcat(char *dst, const char *src, size_t size)
size_t ft_strlen(const char *s)