Hacker News new | ask | show | jobs
by johntb86 2046 days ago
Strncpy doesn't add a \0 if it truncates the string, so the user has to remember to do that.