tech-userlevel archive

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

Re: once again, some discussion about <ctype.h> interfaces....

On Tue, Jan 29, 2013 at 04:25:05PM +0700, Robert Elz wrote:
> If you're of my vintage (and I think you probably are, or close enough)
> then the correct calling sequence of all these functions is something along
> the lines of
>       if (isascii(c) && isupper(c)) c = tolower(c);

I've certainly used systems where toupper() and tolower() actually
indexed the same array.


David Laight:

Home | Main Index | Thread Index | Old Index