I have updated my blog with more comments and examples.https://staticthinking.wordpress.com/2023/10/30/strcpy-strncpy-strlcpy-and-strscpy/regards,dan carpenter