FreeBSD Manual Pages
BSON_ZERO_FREE(3) libbson BSON_ZERO_FREE(3) SYNOPSIS void bson_zero_free (void *mem, size_t size); PARAMETERS • mem: A memory region. • size: The size of mem. DESCRIPTION This function behaves like bson_free() except that it zeroes the memory first. This can be useful if you are storing passwords or other simi- larly important data. Note that if it truly is important, you probably want a page protected with mlock() as well to prevent it swapping to disk. AUTHOR MongoDB, Inc COPYRIGHT 2009-present, MongoDB, Inc. 1.30.2 Apr 12, 2025 BSON_ZERO_FREE(3)
SYNOPSIS | PARAMETERS | DESCRIPTION | AUTHOR | COPYRIGHT
Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=bson_zero_free&sektion=3&manpath=FreeBSD+Ports+14.3.quarterly>
