DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
SCO OpenServer

bzero(D3oddi)


bzero -- set memory locations to zero

Synopsis

void bzero(caddr_t address, int bytes);

Description

The bzero function clears a contiguous portion of memory by filling it with zeros.

Arguments


address
the start address of the area to clear

bytes
the number of bytes to clear.

Return values

None

Usage

Context and synchronization

All contexts.

Hardware applicability

All

Version applicability

oddi: 1, 2, 2mp, 3, 3mp, 4, 4mp, 5, 5mp, 6, 6mp

Differences between versions

Earlier operating systems required that address and bytes should have even values. These restrictions no longer apply.

SVR5 DDI compatibility

bzero(D3) is essentially the same function, although note that the second argument is cast differently.
19 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 5 HDK - June 2005