netbsd man page for bzero

Query: bzero

OS: netbsd

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

BZERO(3)						   BSD Library Functions Manual 						  BZERO(3)

NAME
bzero -- write zeroes to a byte string
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
#include <strings.h> void bzero(void *b, size_t len);
DESCRIPTION
The bzero() function writes len zero bytes to the string b. If len is zero, bzero() does nothing.
SEE ALSO
memset(3), swab(3)
STANDARDS
The bzero() function conforms to IEEE Std 1003.1-2001 (``POSIX.1''). The IEEE Std 1003.1-2004 (``POSIX.1'') revision marked it as legacy and recommended the use of memset(3) instead. The IEEE Std 1003.1-2008 (``POSIX.1'') revision removed bzero() from the specification.
HISTORY
A bzero() function appeared in 4.3BSD.
BSD
April 29, 2010 BSD
Related Man Pages
bzero(3p) - suse
bzero(3) - posix
bzero(3) - plan9
bzero(3) - php
explicit_bzero(3) - linux
Similar Topics in the Unix Linux Community
bzero in socket
C bzero() to memset() issue