Append characters of a string.
LPSTR strncat( LPSTR lpszDestination, LPCSTR lpcszSource, size_t count )
Returns a pointer to the destination string with N characters from source string appended.
EX1
void strncat_ex1() { char str1[]="Hello world from "; strncat( str1, "strcpy!xxxxxxxx", 7 ); out_str( str1 ); // output is Hello world from strcpy! }
Append the first N characters of one string to a second string.
origin.h