libft
Functions
ft_strdup.c File Reference
#include "libft.h"
+ Include dependency graph for ft_strdup.c:

Go to the source code of this file.

Functions

char * ft_strdup (const char *s1)
 Replicates behaviour of strdup from libc. More...
 

Function Documentation

◆ ft_strdup()

char* ft_strdup ( const char *  s1)

Replicates behaviour of strdup from libc.

Definition at line 20 of file ft_strdup.c.