Comment by Dwedit
2 years ago
strncpy was a bad mistake. If you know the length and there's no null termination, you use memcpy instead.
2 years ago
strncpy was a bad mistake. If you know the length and there's no null termination, you use memcpy instead.
No comments yet
Contribute on Hacker News ↗