From Cppreference
|
char *strncat( char *dest, const char *src, size_t count );
|
|
|
|
|
Appends a byte string pointed to by src to a byte string pointed to by dest. At most count characters are copied. The resulting byte string is null-terminated. If the strings overlap, the behavior is undefined.
[edit] Parameters
dest
|
-
|
pointer to the null-terminated byte string to append to
|
src
|
-
|
pointer to the null-terminated byte string to copy from
|
count
|
-
|
maximum number of characters to copy
|
[edit] Return value
dest
[edit] Example
[edit] See also
|
|
concatenates two strings (function)
|
|
|
copies one string to another (function)
|