|BZERO(3)||Library Functions Manual||BZERO(3)|
explicit_bzero — write
zeroes to a byte string
bzero() function writes
len zero bytes to the string b.
If len is zero,
explicit_bzero() variant behaves the
same, but will not be removed by a compiler's dead store optimization pass,
making it useful for clearing sensitive memory such as a password.
bzero() function conforms to the
X/Open System Interfaces option of the IEEE Std 1003.1-2004
(“POSIX.1”) specification. It was removed from the
standard in IEEE Std 1003.1-2008
(“POSIX.1”), which recommends using
explicit_bzero() function is an
bzero() function first appeared in
function first appeared in OpenBSD 5.5.
|October 12, 2017||OpenBSD-current|