Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 03 Nov 1998 01:23:39 +0000
From:      Brian Somers <brian@Awfulhak.org>
To:        Alfred Perlstein <bright@hotjobs.com>
Cc:        Terry Lambert <tlambert@primenet.com>, hackers@FreeBSD.ORG
Subject:   Re: scanf in the kernel? 
Message-ID:  <199811030123.BAA05424@woof.lan.awfulhak.org>
In-Reply-To: Your message of "Mon, 02 Nov 1998 16:43:58 EST." <Pine.BSF.4.05.9811021636020.14876-100000@porkfriedrice.ny.genx.net> 

next in thread | previous in thread | raw e-mail | index | archive | help
> > bcopy doesn't support overlapping ranges on all systems.
> > 
> > eg. IRIX 6.2 man page:
> > 
> > NOTE
> >      The use of overlapping buffers with bcopy is not guaranteed to work.  Use
> >      the memmove(3C) function if the buffers might overlap.
> > 
> > 
> 
> Since BSD was the first "implementation" of b{copy|zero} stuff i
> think our implementation is correct no?

I'd agree.  Their implementation is probably no more than a 
#define of memcpy !

[.....]
> -Alfred

-- 
Brian <brian@Awfulhak.org>, <brian@FreeBSD.org>, <brian@OpenBSD.org>
      <http://www.Awfulhak.org>;
Don't _EVER_ lose your sense of humour....



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199811030123.BAA05424>