Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Nov 2000 17:30:15 -0800 (PST)
From:      Mike Meyer <mwm@mired.org>
To:        freebsd-doc@freebsd.org
Subject:   Re: docs/22675: Function is gone, but the man page lingers on
Message-ID:  <200011080130.RAA22102@freefall.freebsd.org>

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

The following reply was made to PR docs/22675; it has been noted by GNATS.

From: Mike Meyer <mwm@mired.org>
To: Chris Faulhaber <jedgar@fxp.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 19:29:51 -0600 (CST)

 Chris Faulhaber <jedgar@fxp.org> 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,
 	<mike
 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message




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