9fans archive / 2007 / 04 / 537 /    prev next

From: "David Leimbach" <leimy2k@gma...>
Subject: Re: [9fans] speaking of kenc
Date: Fri, 27 Apr 2007 06:49:31 -0700

On 4/27/07, Charles Forsyth <forsyth@ter...> wrote:
> >_Bool is a notational convenience, maybe helping document functions
> >returning only pass/fail status, or for the isalpha(2) family of
> >functions.
>
> no, since its type is different from that produced by the logical
> and equality operators (eg, ! and ==) which are still int!
> it's a  unsigned integer type with a limited range (0 or 1), a special
> conversion rule, and of course a peculiar name (not even _bool!).
> pointless tinkering.
>
Since we're complaining about stuff being standardized to death...
consider the entire tgmath.h header which actually can't be
implemented in legal C99... yet is a part of C99.  That one's a real
twister...