Re: [PATCH] scanf.3: Do not mention the ERANGE error

Joseph Myers
2022-12-14T16:38:49Z

On Wed, 14 Dec 2022, Alejandro Colomar via Libc-alpha wrote:

> What's the difference, and why isn't it part of the basic character set?

Apart from the point discussed about how making them part of the basic
character set would interact with other rules involving that character
set, the basic source character set consists of those characters that have
some specified role in the C syntax. There is no specified role for $ @ `
in the C syntax - they can only be used in string or character literals
(modulo the question of whether $ should still be allowed as an
implementation-defined character in identifiers, see N3046) and have no
special role to play there.

--
Joseph S. Myers
joseph@codesourcery.com