Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: syssrc/sys/sys



In article <20010706060823.248B57BB%starfruit.itojun.org@localhost>,
Jun-ichiro itojun Hagino <itojun%iijlab.net@localhost> 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




Home | Main Index | Thread Index | Old Index