Comment by masklinn
1 day ago
> If it was designed for non-null terminated strings, why would it specifically pad after a null terminator?
Padded and terminated strings are completely different beasts. And the text you quote tells you black on white that strncpy deals in padded strings.
No comments yet
Contribute on Hacker News ↗