up | Inhaltsverzeichniss | Kommentar

Manual page for bzero(9F)

bzero - clear memory for a given number of bytes

SYNOPSIS

#include <sys/types.h>
#include <sys/ddi.h>

void bzero(caddr_t addr, size_t bytes);

INTERFACE LEVEL

Architecture independent level 1 (DDI/DKI).

ARGUMENTS

addr
Starting virtual address of memory to be cleared.
bytes
The number of bytes to clear starting at addr.

DESCRIPTION

bzero() clears a contiguous portion of memory by filling it with zeros.

CONTEXT

bzero() can be called from user or interrupt context.

SEE ALSO

bcopy.9f clrbuf.9f kmem_zalloc.9f

WARNINGS

The address range specified must be within the kernel space. No range checking is done. If an address outside of the kernel space is selected, the driver may corrupt the system in an unpredictable way.


index | Inhaltsverzeichniss | Kommentar

Created by unroff & hp-tools. © by Hans-Peter Bischof. All Rights Reserved (1997).

Last modified 21/April/97