From owner-freebsd-hackers Fri Dec 12 12:05:15 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id MAA20300 for hackers-outgoing; Fri, 12 Dec 1997 12:05:15 -0800 (PST) (envelope-from owner-freebsd-hackers) Received: from whistle.com (s205m131.whistle.com [207.76.205.131]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id MAA20225 for ; Fri, 12 Dec 1997 12:04:39 -0800 (PST) (envelope-from archie@whistle.com) Received: (from smap@localhost) by whistle.com (8.7.5/8.6.12) id MAA02243 for ; Fri, 12 Dec 1997 12:04:01 -0800 (PST) Received: from bubba.whistle.com(207.76.205.7) by whistle.com via smap (V1.3) id sma002239; Fri Dec 12 12:03:51 1997 Received: (from archie@localhost) by bubba.whistle.com (8.8.7/8.6.12) id MAA26205 for freebsd-hackers@FreeBSD.ORG; Fri, 12 Dec 1997 12:03:51 -0800 (PST) From: Archie Cobbs Message-Id: <199712122003.MAA26205@bubba.whistle.com> Subject: Re: memcmp() and memcpy() In-Reply-To: <199712102319.PAA22111@bubba.whistle.com> from Archie Cobbs at "Dec 10, 97 03:19:45 pm" To: freebsd-hackers@FreeBSD.ORG Date: Fri, 12 Dec 1997 12:03:51 -0800 (PST) X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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 ? Thanks, -Archie ___________________________________________________________________________ Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com