little bug in strchr man page

J. Johnston jjohnstn@redhat.com
Fri May 10 11:15:00 GMT 2002


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.



More information about the Newlib mailing list