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

From: Charles Forsyth <forsyth@ter...>
Subject: Re: [9fans] speaking of kenc
Date: Fri, 27 Apr 2007 12:00:51 +0100

>_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.