tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Suggested change of ctype.h

On Sun, 14 Jun 2009, Juergen Buchmueller wrote:
> The "int tolower(int c);" man page for example somehow
> suggested to me that it would just sign extend the char.

Please could you suggest improvements to the man page.  For example, is
the following text confusing or insufficient or in the wrong part of the
man page?  (I suspect that text ilke this shuld be in the DESCRIPTION
near the beginning of the man page, not in a CAVEATS section near the

     The argument to tolower() must be EOF or representable as an unsigned
     char; otherwise, the behavior is undefined.  See the CAVEATS section of
     ctype(3) for more details.

--apb (Alan Barrett)

Home | Main Index | Thread Index | Old Index