Hacker News new | ask | show | jobs
by kccqzy 171 days ago
When you write such code your mental model is C strings, not fixed-width strings, the intended use case for strncpy.