3 ms·
Rather use safeclib. It is C11. It has a safe version of the wrongly spec'ed truncating functions, in this case strncpy_s. This version guarantees NULL termina
by rurban 8y ago
Rather use safeclib. It is C11.
It has a safe version of the wrongly spec'ed truncating functions, in this case strncpy_s. This version guarantees NULL termination.
https://rurban.github.io/safeclib/ https://rurban.github.io/safeclib/