[$] Ushering out strlcpy()

Post Syndicated from original https://lwn.net/Articles/905777/

With all of the complex problems that must be solved in the kernel, one
might think that copying a string would draw little attention. Even with
the hazards that C strings present, simply moving some bytes should not be
all that hard. But string-copy functions have been a frequent subject of
debate over the years, with different variants being in fashion at times.
Now it seems that the BSD-derived strlcpy() function
may finally be on its way out of the kernel.