3 ms·
The C11 Annex K functions, strcpy_s et al., have a better API than even strlcpy, and are (an optional) part of the C11 standard. They are what you should be usi
by bitwize 8y ago
The C11 Annex K functions, strcpy_s et al., have a better API than even strlcpy, and are (an optional) part of the C11 standard. They are what you should be using.
- rurban 8y agoNope. I'm the implementor of this variant, and even the safe variant was designed as unsafe. In my implementation, the safeclib, I made it safe just recently.