Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Aug 1997 14:09:37 -0700 (PDT)
From:      Alex <garbanzo@hooked.net>
To:        current@FreeBSD.ORG
Subject:   Re: kernel compile broken
Message-ID:  <Pine.LNX.3.95.970804140914.4927B-100000@zippy.dyn.ml.org>
In-Reply-To: <199708042039.GAA20704@godzilla.zeta.org.au>

next in thread | previous in thread | raw e-mail | index | archive | help


On Tue, 5 Aug 1997, Bruce Evans wrote:

> memcmp isn't supported in the kernel.  Using bcmp instead is correct
> (I forget if the ar order is compatible).  This problem is sometimes
> maked by gcc inlining memcmp() without warning about the missing
> prototype for it.
> 
> memcpy is supported in the kernel, although bcopy is normal, so that
> gcc can generate efficient inline code for small copies.  The inline
> code for bcmp isn't particularly efficient (gcc doesn't do anything
> special for small counts...) so little would be gained by using it.

It is or it isn't?? 

- alex




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.3.95.970804140914.4927B-100000>