Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
pconner
11y ago
0 comments
Share
The safe way to use strcpy is to use strncpy
0 comments
default
newest
oldest
abadcafe
11y ago
no,strncpy is worse than strcpy,the right way is strlcpy.
gandalf013
11y ago
http://benpfaff.org/writings/clc/strncpy.html
j
/
k
navigate · click thread line to collapse