4 ms·
The safe way to use strcpy is to use strncpy
by pconner 12y ago
The safe way to use strcpy is to use strncpy
- abadcafe 12y agono,strncpy is worse than strcpy,the right way is strlcpy.
- gandalf013 12y agohttp://benpfaff.org/writings/clc/strncpy.html http://benpfaff.org/writings/clc/strncpy.html