explicit_bzero3bsd
Write zeroes to a byte string
Usage
Library
library “libbsd”
Overview
The explicit_bzero() function writes len zero bytes to the string buf. If len is zero, explicit_bzero() does nothing.
The explicit_bzero() variant behaves the same as the bzero() function, but will not be removed by a compiler's dead store optimization pass, making it useful for clearing sensitive memory such as a password.
Releases
5 releases since Debian 10 (Buster); the text changed 2 times.