13#include "../includes/libft.h"
32 join = (
char *)malloc(
sizeof(
char) * (len1 + len2 + 1));
37 join[len1 + len2] =
'\0';
char * ft_strjoin(char const *s1, char const *s2)
Concatenates two strings into a newly allocated string.
void * ft_memcpy(void *dest, const void *src, size_t n)
Copies bytes from source to destination.
size_t ft_strlen(const char *str)
Returns the length of a null-terminated string.