Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10 5/3/83; site umcp-cs.UUCP
Path: utzoo!watmath!clyde!burl!ulysses!mhuxl!houxm!houxz!vax135!cornell!uw-beaver!tektronix!hplabs!hao!seismo!rlgvax!cvl!umcp-cs!chris
From: chris@umcp-cs.UUCP
Newsgroups: net.unix-wizards
Subject: Re: info needed
Message-ID: <8015@umcp-cs.UUCP>
Date: Tue, 24-Jul-84 22:15:20 EDT
Article-I.D.: umcp-cs.8015
Posted: Tue Jul 24 22:15:20 1984
Date-Received: Sat, 28-Jul-84 20:53:05 EDT
References: <2093@sdccsu3.UUCP>
Organization: Univ. of Maryland, Computer Science Dept.
Lines: 13

Under 4.2BSD, use ``bzero'' to clear out a block of memory:

	bzero(addr, count)
	caddr_t addr;
	int count;

(where ``addr'' is the address of the first byte to be cleared, and
``count'' is the number of bytes).  Beware >64K counts in kernel code;
I think the 4.2 bzero handles this but the 4.2 bcopy does not.
-- 
In-Real-Life: Chris Torek, Univ of MD Comp Sci (301) 454-7690
UUCP:	{seismo,allegra,brl-bmd}!umcp-cs!chris
CSNet:	chris@umcp-cs		ARPA:	chris@maryland