Just remember that blindly replacing strncpy can (and has many times) result in info disclosure bugs. It is often used in the kernel to fill a fixed buffer with a string, but also to make sure that the slack space doesn't contain extra info.
He does say it can be used safely/properly, and in general, it usually should be replaced, but not without analysis first.
> https://mastodon.social/users/bagder/statuses/113289941665780696