misc/140494: Man page fix for getc(3)

Bruce Evans brde at optusnet.com.au
Thu Nov 12 14:30:11 UTC 2009

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

From: Bruce Evans <brde at optusnet.com.au>
To: Jeremy Huddleston <jeremyhu at apple.com>
Cc: freebsd-gnats-submit at FreeBSD.org, freebsd-bugs at FreeBSD.org
Subject: Re: misc/140494: Man page fix for getc(3)
Date: Fri, 13 Nov 2009 01:29:46 +1100 (EST)

 On Wed, 11 Nov 2009, Jeremy Huddleston wrote:
 >> Fix:
 > --- getc.3.bsdnew	2009-11-11 13:33:11.000000000 -0800
 > +++ getc.3	2009-11-11 14:52:54.000000000 -0800
 > @@ -54,7 +54,7 @@
 > .Ft int
 > .Fn getc_unlocked "FILE *stream"
 > .Ft int
 > -.Fn getchar void
 > +.Fn getchar "void"
 This adds bogus quoting.
 > .Ft int
 > .Fn getchar_unlocked "void"
 It should remove this bogus quoting.
 > .Ft int
 Bogus quoting of "void" is used in about 1100 lines in section 3
 man pages (counting links multiply).  It is most common in man pages
 for software that doesn't use anything resembling BSD style (e.g.,
 VGL, archive, dialog and, readline account for about 2/3 of the 1100

More information about the freebsd-doc mailing list