This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
Re: little bug in strchr man page
- From: "J. Johnston" <jjohnstn at redhat dot com>
- To: Luke Deller <ldeller at xplantechnology dot com>
- Cc: newlib at sources dot redhat dot com
- Date: Fri, 10 May 2002 14:15:23 -0400
- Subject: Re: little bug in strchr man page
- Organization: Red Hat Inc.
- References: <3CDB505D.4050002@xplantechnology.com>
Luke Deller wrote:
>
> Hi,
>
> I noticed a little bug in the man page for "strchr" under cygwin (which
> uses newlib). I checked out the cvs web interface for newlib, and found
> the same bug at about line 16 of "src/newlib/libc/string/strchr.c"
>
> > TRAD_SYNOPSIS
> > #include <string.h>
> > char * strchr(<[string]>, <[c]>);
> > char *<[string]>;
> > int *<[c]>;
>
> The second parameter should be an "int" and not an "int *"
>
> (I guess that the man page is autogenerated from this comment)
>
> Regards,
> Luke.
Fixed.
-- Jeff J.