Y
Hacker News
new
|
ask
|
show
|
jobs
by
pconner
4341 days ago
The safe way to use strcpy is to use strncpy
2 comments
abadcafe
4341 days ago
no,strncpy is worse than strcpy,the right way is strlcpy.
link
gandalf013
4341 days ago
http://benpfaff.org/writings/clc/strncpy.html
link