Hello http://man7.org/linux/man-pages/man3/strcat.3.html "Therefore, the size of dest must be at least strlen(dest)+n+1." Is it worth clarifying that this means a user concatenating a string needs to carefully avoid an overrun by doing strncat(dest, src, n - strlen(dest)); ? e.g: size_t n = 20; char dest[n]; char * src = "test"; strncat(dest, src, n - strlen(dest)); Bes regards, Jon -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html