libft
Loading...
Searching...
No Matches
ft_strdup.c File Reference
#include "libft.h"

Go to the source code of this file.

Functions

char * ft_strdup (const char *s1)
 Duplicates a string.
 

Function Documentation

◆ ft_strdup()

char * ft_strdup ( const char *  s1)

Duplicates a string.

Parameters
s1String to make a copy from
Returns
char* Address of the new string

Definition at line 15 of file ft_strdup.c.