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

Go to the source code of this file.

Functions

char * ft_strjoin (char const *s1, char const *s2)
 Joins two strings together.
 

Function Documentation

◆ ft_strjoin()

char * ft_strjoin ( char const *  s1,
char const *  s2 
)

Joins two strings together.

Parameters
s1String 1
s2Strong 2
Returns
char* New string containing s1 and s2
Attention
Allocates memory

Definition at line 15 of file ft_strjoin.c.