- there's no point in using strncat if you don't pass it the real size of the buffer
Also be aware that strncpy/strncat are required to zero out the unfilled part of the buffer. This is a performance penalty you don't (normmaly) want. They also don't guarantee to null terminate the string.
Some systems have strlcpy/strlcat which DTRT.
David