4 ms·
There is, it's strncpy_s and it was added in C11. And I know, nobody uses C11: that's a security failure.
by baot 7y ago
There is, it's strncpy_s and it was added in C11. And I know, nobody uses C11: that's a security failure.
- saagarjha 7y agostrncpy_s performs a lot of checks that might not be useful, though.