Xref: utzoo comp.lang.c:22373 comp.unix.questions:16637 comp.unix.wizards:18388
Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!bostic
From: bostic@ucbvax.BERKELEY.EDU (Keith Bostic)
Newsgroups: comp.lang.c,comp.unix.questions,comp.unix.wizards
Subject: Re: Bcopy, bzero and bcmp on a not-Berkeley machine
Keywords: bcopy bzero bcmp berkely system_v
Message-ID: <31594@ucbvax.BERKELEY.EDU>
Date: 29 Sep 89 16:13:47 GMT
References: <1155@radig.UUCP> <13p902Mz5aZY01@amdahl.uts.amdahl.com> <10884@riks.csl.sony.co.jp>
Organization: University of California at Berkeley
Lines: 8

> Where is it guaranteed that bcopy handles overlapping ranges correctly?
> It's not in the BSD 4.3 man page.

This was unfortunate, and has been fixed.  The bcopy instruction was
originally modeled after the VAX MOVC instruction, which is clearly
documented to handle overlap.  Besides, not handling overlap is stupid.

--keith