Hacker News new | ask | show | jobs
by Cloudef 2046 days ago
strncpy is one of the trap functions. It's better avoided. Write your own or use snprintf.