Re:The Little C Function From Hell
by cperciva on Wednesday June 20, 2012 @04:22AM
(#4136073)
16-bit chars aren't allowed in modern versions of C -- CHAR_BIT is required to be 8.
[ Parent
| on HN ]
Re:The Little C Function From Hell
by JoachimSchipper on Wednesday June 20, 2012 @05:25AM
(#4136217)
Thanks for the update! (For the curious: C99 or POSIX both require CHAR_BIT == 8.)
Re:The Little C Function From Hell
by pascal_cuoq on Wednesday June 20, 2012 @09:59AM
(#4136971)
C99 only requires CHAR_BIT to be at least 8 (5.2.4.2.1:1).
POSIX requires it to be exactly 8.