3 ms·
explicit_bzero() is another OS-specific variant. memset_s() is now part of standard C, but it is a pain to use because it isn't just a don't-optimize-away mems
by loeg 8y ago
explicit_bzero() is another OS-specific variant.
memset_s() is now part of standard C, but it is a pain to use because it isn't just a don't-optimize-away memset().
- _kst_ 8y agomemset_s() is defined in C11 Annex K, which is optional and is not provided by most implementations.