tech-userlevel archive

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

Re: using the interfaces in ctype.h



Greg A. Woods; Planix, Inc. wrote:-

> I recommend the following slightly more portable technique for ctype.h:
>
>       #define _CTYPE_MASK     ~(UINT_MAX << CHAR_BIT)

Hoho, if sizeof (char) == sizeof (int).

Neil.


Home | Main Index | Thread Index | Old Index