Inline function definitions for isdigit and isxdigit?
Joseph Myers
joseph@codesourcery.com
Fri Sep 16 17:13:00 GMT 2016
On Fri, 16 Sep 2016, Florian Weimer wrote:
> For isxdigit, C99 and C11 make a final determination that only '0' ⦠'9', 'a'
> ⦠'f' and 'A' ⦠'F' are hexadecimal digits. But POSIX allows more symbolic
> names in the xdigit character class. Much hand-waving is still required to
> make this C99/C11 compliant because the standard only lists 22 hexadecimal
> digits. One could perhaps argue that the additional digits introduced by a
> locale are alternative representations of the six letters.
That would indicate to me that a POSIX issue needs to be raised about the
incompatibility with ISO C.
--
Joseph S. Myers
joseph@codesourcery.com
More information about the Libc-alpha
mailing list