![]() |
tgrekov-pipex
HIVE pipex May 2024
|
Definition in file ft_strjoin.c.
#include "libft.h"Go to the source code of this file.
Functions | |
| char * | ft_strjoin (char const *s1, char const *s2) |
Allocates enough space for and appends string s2 to string s1 and returns the new string. | |
| char * ft_strjoin | ( | char const * | s1, |
| char const * | s2 | ||
| ) |
Allocates enough space for and appends string s2 to string s1 and returns the new string.
| [in] | s1 | Null-terminated prefix string |
| [in] | s2 | Null-terminated suffix string |
| char* | Null-terminated combination of s1 and s2 |
Definition at line 30 of file ft_strjoin.c.
References ft_memcpy(), and ft_strlen().