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.
Really, stop using C. To quote Hayao Miyazaki, C was a mistake.