34 s2 = malloc(size + 1);
void * ft_memcpy(void *dst, const void *src, size_t n)
Copies n bytes from byte string src to byte string dst.
char * ft_strdup(const char *s1)
Allocates memory for, copies to, and returns a duplicate of s1.
size_t ft_strlen(const char *str)
Get length of str.