Subject: Re: isspace and compiler warnings
To: None <tech-userlevel@netbsd.org>
From: Joerg Sonnenberger <joerg@britannica.bec.de>
List: tech-userlevel
Date: 10/18/2006 20:06:23
On Wed, Oct 18, 2006 at 12:47:35PM -0400, der Mouse wrote:
> >> (The API design is slightly broken in that it cannot work right on
> >> architectures where char and int are the same, but that's not a
> >> problem for NetBSD.)
> > I don't think such platforms exist.  IIRC sizeof(char) == 1 and
> > INT_MAX >= 32767 by ISO C :-)
> 
> Yes.  But nothing says sizeof() units are octets.

I think the platforms which don't have CHAR_BIT == 8 can be considered
as esoteric. Hey, even the number of NetBSD 1.4T users is most likely larger
:-)

Joerg