From owner-freebsd-doc Tue Nov 7 17:30:12 2000 Delivered-To: freebsd-doc@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 8483537B4C5 for ; Tue, 7 Nov 2000 17:30:10 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id RAA22081; Tue, 7 Nov 2000 17:30:10 -0800 (PST) (envelope-from gnats@FreeBSD.org) Date: Tue, 7 Nov 2000 17:30:10 -0800 (PST) Message-Id: <200011080130.RAA22081@freefall.freebsd.org> To: freebsd-doc@freebsd.org Cc: From: Chris Faulhaber Subject: Re: docs/22675: Function is gone, but the man page lingers on Reply-To: Chris Faulhaber Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR docs/22675; it has been noted by GNATS. From: Chris Faulhaber To: mwm@mired.org Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: docs/22675: Function is gone, but the man page lingers on Date: Tue, 7 Nov 2000 20:26:31 -0500 On Wed, Nov 08, 2000 at 01:17:46AM -0000, mwm@mired.org wrote: > > >Number: 22675 > >Category: docs > >Synopsis: Function is gone, but the man page lingers on > > >How-To-Repeat: > > bash-2.04$ cc test.c > test.c: In function `main': > test.c:2: `NULL' undeclared (first use in this function) > test.c:2: (Each undeclared identifier is reported only once > test.c:2: for each function it appears in.) > > whereas using free() instead of cfree() works. > How about following the man pages instructions: The cfree function considered obsolete. It is available from the compatibility library, libcompat. (i.e. cc test.c -lcompat) -- Chris D. Faulhaber - jedgar@fxp.org - jedgar@FreeBSD.org -------------------------------------------------------- FreeBSD: The Power To Serve - http://www.FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message