Strlcpy and strlcat added to glibc 2.38
As a bit of historical context:<p>"This is horribly inefficient BSD crap.  Using these function only
leads to other errors.  Correct string handling means that you always
know how long your strings are and therefore you can you memcpy
(instead of strcpy).<p>Beside, those who are using strcat or variants deserved to be punished."<p>- Ulrich Drepper, around 23 years ago: <a href="https://sourceware.org/legacy-ml/libc-alpha/2000-08/msg00053.html" rel="nofollow noreferrer">https://sourceware.org/legacy-ml/libc-alpha/2000-08/msg00053...</a>