tech-userlevel archive

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

Re: using the interfaces in ctype.h



On Mon, Apr 21, 2008 at 11:56:56AM +0200, Alan Barrett wrote:
> > FreeBSD, OpenBSD, and Darwin all seem to have much better
> > implementations, though they are all using proper (inline) functions
> > which makes it easier in some ways to do it right.)
> 
> I am mildly curious.  In what way are they "better"?

They are silencing any way for the compiler to tell you that your code
is broken. They are "working" around the issue using some tricks,
ignoring the infamous "EOF is valid char value" issue.

Joerg


Home | Main Index | Thread Index | Old Index