This POSIX standard. ISO C says CHAR_BIT is at least 8 in <limits.h>,
POSIX says CHAR_BIT is exactly 8 in <limits.h> and is CX shaded to show
that the POSIX requirement refines the C requirement. See XBD [2003
edition] P259, L9123-9125.
Regards,
Don
>Return-Path: <yyyyyyyyyyyyyyyyyyyyyyy@xxxxxxxxxxxxx>
>Resent-Date: 14 Aug 2003 21:07:35 -0000
>From: "Thomas E. Dickey" <yyyyyy@xxxxxxxxxxxxxxxx>
>X-X-Sender: yyyyyy@xxxxxxxxxxxxxxxx
>To: yyyyyy@xxxxxxxxxxxxx
>cc: yyyyyyyyyyyyyyy@xxxxxxxxxxxxx
>Subject: Re: Defect in XCU ed
>X-Spam-Status: No, hits=-4.1 required=5.0
tests=BAYES_20,EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES,REPLY_WI
TH_QUOTES,X_AUTH_WARNING autolearn=ham version=2.55
>Resent-Message-ID: <yyyyyyyyyyyyyyyyyy@xxxxxxx>
>Resent-To: yyyyyyyyyyyyyyy@xxxxxxxxxxxxx
>Resent-From: yyyyyyyyyyyyyyy@xxxxxxxxxxxxx
>X-Mailing-List: austin-review-l:archive/latest/1671
>X-Loop: yyyyyyyyyyyyyyy@xxxxxxxxxxxxx
>Resent-Sender: yyyyyyyyyyyyyyyyyyyyyyy@xxxxxxxxxxxxx
>
>On Thu, 14 Aug 2003 yyyyyy@xxxxxxxxxxxxx wrote:
>
>> Defect report from : Andrew Josey , The Open Group
>>
>> (Please direct followup comments direct to yyyyyyyyyyyyyy@xxxxxxxxxxxxx)
>>
>> @ page 343 line 13238 section ed objection {nine-bit-bytes}
>>
>> Problem:
>>
>> Edition of Specification (Year): 2003
>>
>> Defect code : 1. Error
>>
>> Here and elsewhere in XCU we come across statements
>> of the form : "If the size of a byte on the system is greater than
>> nine bits, the ... is implementation-defined".
>>
>> This appears to be for systems outside of the standard, which
>> requires support for 8 bit bytes
>
>Which standard? ISO C specifies that a byte must contain at least 8 bits,
>but doesn't appear to set a maximum.
>
>--
>T.E.Dickey <yyyyyy@xxxxxxxxxxxxxxxx>
>http://invisible-island.net
>ftp://invisible-island.net
|