3 ms·
strcpy_s, anyone?
by bitwize 8y ago
strcpy_s, anyone?
- brucedawson 8y agostrcpy_s is a good option for those cases where the appropriate response to having too long an input string is terminating the program. However it is a poor choice when continuing execution is desired.
- rurban 8y agoIt is even C11: https://github.com/rurban/safeclib/blob/master/src/str/strcpy_s.c https://github.com/rurban/safeclib/blob/master/src/str/strcp...