7 ms·
It depends. It's not like there's no safe way of using strcpy and sprintf.
by eq- 12y ago
It depends. It's not like there's no safe way of using strcpy and sprintf.
- pconner 12y agoThe 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