strncat
Example: strncat | String Manipulation Functions |
Concatenates n characters from one string to another.
char *strncat( char *to_string, const char *from_string, size_t n );
to_string | The string to which n characters are concatenated. |
from_string | The string from which n characters are concatenated. |
n | The number of characters to be concatenated. |
Return Values
Returns a pointer to the concatenated string (null-terminated).