You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
i would recommend removing
strlcpy
andstrlcat
from the list and re-introducingstrncpy
andstrncat
. 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 forstrlcpy
, other than the return type.The text was updated successfully, but these errors were encountered: