Analysis of information sources in references of the Wikipedia article "C string handling" in English language version.
Correct string handling means that you always know how long your strings are and therefore you can you memcpy (instead of strcpy).
{{cite web}}
: CS1 maint: location (link){{cite web}}
: CS1 maint: location (link){{cite web}}
: CS1 maint: location (link){{cite web}}
: CS1 maint: location (link){{cite web}}
: CS1 maint: location (link){{cite web}}
: CS1 maint: location (link)This [strlcpy and strlcat] API has been adopted by most modern operating systems and many standalone software packages [...]. The notable exception is the GNU standard C library, glibc, whose maintainer steadfastly refuses to include these improved APIs, labelling them "horribly inefficient BSD crap", despite prior evidence that they are faster is most cases than the APIs they replace.