strncat() String Function strncat() Append one string onto another #include <string.h> char *strncat(string1, string2, n) char *string1, *string2; unsigned n; strncat copies up to n characters from string2 onto the end of string1. It stops when n characters have been copied or it en- counters a null character in string2, whichever occurs first, and returns the modified string1. ***** Example ***** For an example of this function, see the entry for strncpy. ***** See Also ***** strcat(), string functions, string.h ***** Notes ***** string1 should point to enough space to hold itself and n charac- ters of string2. If it does not, a portion of the program or operating system may be overwritten. COHERENT Lexicon Page 1