cbook
cbook copied to clipboard
non-standard library functions included in chapter 10
i would recommend removing strlcpy and strlcat from the list and re-introducing strncpy and strncat. the reason is that the former are not always included in the strings.h library but rather are part of a rather old bsd strings library that is no longer supported in most systems (e.g., it is absent in ubuntu 23.04). strncpy is rather easy to use and has nearly the same format as you have listed for strlcpy, other than the return type.