Comment by WhyNotHugo
5 days ago
No mention of strlcpy (which was the safe replacement for strncpy in the stdlib about 15 years ago when I first heard of the former).
Apparently strscpy handles un-terminated input strings a bit better than strlcpy, but not scanning past the given length.
No comments yet
Contribute on Hacker News ↗