Comment by WalterBright
17 hours ago
P.S. For these reasons I have abandoned the "n" functions, such as strncpy, strncat, etc.
I still use snprintf, though, because it is so darned useful. But I wrap it up in another function after carefully ensuring it is called correctly.
No comments yet
Contribute on Hacker News ↗