C2x scanf %wN, %wfN support
commitcdbf8229bb1438998b211e4760a97d94a13674d4
authorJoseph Myers <joseph@codesourcery.com>
Thu, 28 Sep 2023 17:27:58 +0000 (28 17:27 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Thu, 28 Sep 2023 17:28:15 +0000 (28 17:28 +0000)
treec3253d92a5c54051f664dcee3c64372df858f741
parentaea4ddb87168d0475777e605f3bb576b0f62b3a2
C2x scanf %wN, %wfN support

ISO C2x defines scanf length modifiers wN (for intN_t / int_leastN_t /
uintN_t / uint_leastN_t) and wfN (for int_fastN_t / uint_fastN_t).
Add support for those length modifiers, similar to the printf support
previously added.

Tested for x86_64 and x86.
NEWS
manual/stdio.texi
stdio-common/Makefile
stdio-common/tst-scanf-intn-main.c [new file with mode: 0644]
stdio-common/tst-scanf-intn.c [new file with mode: 0644]
stdio-common/vfscanf-internal.c
wcsmbs/Makefile
wcsmbs/tst-wscanf-intn.c [new file with mode: 0644]