From owner-freebsd-doc Tue Nov 7 17:30:19 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 B120837B666 for ; Tue, 7 Nov 2000 17:30:15 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id RAA22102; Tue, 7 Nov 2000 17:30:15 -0800 (PST) (envelope-from gnats@FreeBSD.org) Date: Tue, 7 Nov 2000 17:30:15 -0800 (PST) Message-Id: <200011080130.RAA22102@freefall.freebsd.org> To: freebsd-doc@freebsd.org Cc: From: Mike Meyer Subject: Re: docs/22675: Function is gone, but the man page lingers on Reply-To: Mike Meyer 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: Mike Meyer To: Chris Faulhaber Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: docs/22675: Function is gone, but the man page lingers on Date: Tue, 7 Nov 2000 19:29:51 -0600 (CST) Chris Faulhaber types: > 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) That would be a fine solution by me. I assumed no library was needed because such are normally documented. Thanx,