News for hackers. Stuff that matters.
Re:Stop using strncpy already (2013) by bitwize on Friday August 31, 2018 @12:20PM (#17886779)
It doesn't make sense to have to null-terminate the string by hand (maybe) after doing a "safe" STRING copy. Which means it's easy to forget to do and that's a dangerous wart in the design.

Really, stop using C. To quote Hayao Miyazaki, C was a mistake.

[dead]
Re:Stop using strncpy already (2013) by dang on Monday September 03, 2018 @08:47PM (#17905812)
Posting like this will get you banned here. Please review and follow the rules: https://news.ycombinator.com/newsguidelines.html.