Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Dec 1997 12:03:51 -0800 (PST)
From:      Archie Cobbs <archie@whistle.com>
To:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: memcmp() and memcpy()
Message-ID:  <199712122003.MAA26205@bubba.whistle.com>
In-Reply-To: <199712102319.PAA22111@bubba.whistle.com> from Archie Cobbs at "Dec 10, 97 03:19:45 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
I wrote:
> According to the gcc info page, gcc will automatically inline
> the memcpy() and memcmp() functions.
> 
> The kernel header files define memcpy() but not memcmp() for
> some reason. How come memcmp() is not defined?
> 
> This is in reference to 2.2.5... haven't looked at -current.

Since no one replied, I guess nobody knows the real reason...

So what do you think about the suggestion that memcmp() be added
to <sys/systm.h> ?

Thanks,
-Archie

___________________________________________________________________________
Archie Cobbs   *   Whistle Communications, Inc.  *   http://www.whistle.com



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