| strncat | Function (ROM Call 0x26F)

string.h

char *strncat (char *dest, const char *src, unsigned long maxlen);

Appends at most maxlen characters of src to dest.

strncat copies at most maxlen characters of src to the end of dest and then appends a null character. The null character terminating src is overwritten by the first character in dest. The maximum length of the resulting string is strlen(dest) + maxlen. strncat returns dest.
Note: This routine assumes that src points to a buffer large enough to hold the concatenated string. Since strncat appends a null character to the result, it may add maxlen+1 characters to the string.