info needed

chris at umcp-cs.UUCP chris at umcp-cs.UUCP
Wed Jul 25 12:15:20 AEST 1984


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 at umcp-cs		ARPA:	chris at maryland



More information about the Comp.unix.wizards mailing list