On Fri, Oct 31, 2003 at 06:01:34PM +1100, Bruce Evans wrote:

> POSIX requires in addition [u]int{8,16,32}_t, and [u]int64_t if 64 bit
> integer types exist.  It says that the existence of int8_t implies
> that a byte is 8 bits and CHAR_BIT is 8.  I'm not sure what prevents
> int8_t being smaller than char.


It follows from the fact int8_t isn't allowed to contain padding bits and
from 6.2.6.1 saying:

"Values stored in non-bit-field objects of any other object type consist of n ×
CHAR_BIT bits, where n is the size of an object of that type, in bytes." 

Stefan
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to