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

Zack Weinberg
2022-12-14T02:20:38Z

Ian Abbott <abbotti@mev.co.uk> writes:

> On 12/12/2022 02:11, Zack Weinberg wrote:
>> Field widths are awkward to use because you have to write them as
>> decimal constants _inside the format string_…
>
> It's a shame that scanf's maximum field width couldn't be specified
> using an integer parameter in the same was as printf's minimum field
> width, but the '*' flag was already taken!

Yup. I suppose we could make up another flag … ‘@’ isn’t used for
anything …

zw