13#include "../includes/libft.h"
27 dup = (
char *)malloc(len);
char * ft_strdup(const char *s)
Duplicates a C string into newly allocated memory.
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.