Subject: Re: CVS commit: syssrc/sys/sys
To: None <source-changes@netbsd.org>
From: Christos Zoulas <christos@zoulas.com>
List: source-changes
Date: 07/06/2001 13:22:32
In article <20010706060823.248B57BB@starfruit.itojun.org>,
Jun-ichiro itojun Hagino <itojun@iijlab.net> wrote:
>
>	i mean, i'm proposing to have this in sys/systm.h, to ease code sharing
>	with other BSDs:
>
>#define ovbcopy(src, dst, len)	memmove(dst, src, len)

Fine, but we are really trying to get rid of the legacy interfaces everywhere.
Specially ones where the kernel semantics differ from the userland ones.

My approach would be to change the code to use memmove/memcpy/memset
and provide macros for those in the systems that need it.

I don't think any system will need it since gcc provides some of them.

christos