|
|
|
|
|
by rurban
3205 days ago
|
|
No. The major motivation not to use it was _FORTIFY_SOURCE with it's compile checks for compile-time known buffer sizes and it's accompanying _chk functions.
This leaves out all dynamic buffers. You cannot mix PTR + LONG args without serious compile-time errors |
|
What I know is that having something like strcpy_s() does not provide any actual safety, because with the prototype "strcpy_s(char * restrict s1, rsize_t s1max, const char * restrict s2)" there is no guarantee that s1max is a valid size for s1.