logoalt Hacker News

ericbarrettyesterday at 11:46 PM0 repliesview on HN

The Linux kernel had strlcpy over 20 years ago. It was removed in favor of strscpy because the latter was judged a better interface. Here's a 2022 article: https://lwn.net/Articles/905777/