Y
Hacker News
new
|
ask
|
show
|
jobs
by
fwsgonzo
2493 days ago
I don't think strncpy is the function you are looking for, either. Its for zeroing fixed-size character buffers. And it doesn't indicate problems.
https://blog.liw.fi/posts/strncpy/