Date: Mon, 2 Nov 1998 09:42:35 -0800 (PST) From: Marc Slemko <marcs@znep.com> To: Terry Lambert <tlambert@primenet.com> Cc: hackers@FreeBSD.ORG Subject: Re: scanf in the kernel? Message-ID: <Pine.BSF.4.03.9811020935550.277-100000@alive.znep.com> In-Reply-To: <199811012142.OAA27464@usr05.primenet.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 1 Nov 1998, Terry Lambert wrote: > > #define memcpy(d,s,n) bcopy(s,d,n) > > > > not exactly rocket science :-) > > Actually, bcopy is closer to memmove, since it supports overlapping > ranges as its arguments. 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. 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?Pine.BSF.4.03.9811020935550.277-100000>