Re:Massacring C Pointers
by kevin_thibedeau on Tuesday June 26, 2018 @01:37PM
(#17402567)
Friends don't let friends use strncpy(). It doesn't guarantee NUL termination and wastes time zero-padding when it is rarely desired. Use C11 strncpy_s() or platform specific equivalents.
[ Parent
| on HN ]