Query: explicit_bzero
OS: freebsd
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
BZERO(3) BSD Library Functions Manual BZERO(3)NAMEbzero, explicit_bzero -- write zeroes to a byte stringLIBRARYStandard C Library (libc, -lc)SYNOPSIS#include <strings.h> void bzero(void *b, size_t len); void explicit_bzero(void *b, size_t len);DESCRIPTIONThe bzero() function writes len zero bytes to the string b. If len is zero, bzero() does nothing. The 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.SEE ALSOmemset(3), swab(3)HISTORYA bzero() function appeared in 4.3BSD. Its prototype existed previously in <string.h> before it was moved to <strings.h> for IEEE Std 1003.1-2001 (``POSIX.1'') compliance. The explicit_bzero() function first appeared in OpenBSD 5.5 and FreeBSD 11.0.BSDOctober 6, 2014 BSD
| Related Man Pages |
|---|
| bzero(3p) - centos |
| bstring(3) - osx |
| bzero(3) - opendarwin |
| bzero(3) - minix |
| bzero(3) - xfree86 |
| Similar Topics in the Unix Linux Community |
|---|
| Unix File Permissions |
| The Whole Story on #! /usr/bin/ksh |
| A simple UNIXtime component in Vue.js |
| Is it safe to install x86 Solaris 10 U6 after installed-Linux-and-FreeBSD? |