diff options
author | Joseph Myers <joseph@codesourcery.com> | 2023-09-28 17:27:58 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2023-09-28 17:28:15 +0000 |
commit | cdbf8229bb1438998b211e4760a97d94a13674d4 (patch) | |
tree | c3253d92a5c54051f664dcee3c64372df858f741 /NEWS | |
parent | aea4ddb87168d0475777e605f3bb576b0f62b3a2 (diff) | |
download | glibc-cdbf8229bb1438998b211e4760a97d94a13674d4.tar glibc-cdbf8229bb1438998b211e4760a97d94a13674d4.tar.gz glibc-cdbf8229bb1438998b211e4760a97d94a13674d4.tar.bz2 glibc-cdbf8229bb1438998b211e4760a97d94a13674d4.zip |
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.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -31,6 +31,13 @@ Major new features: the process ID associated with the process file descriptor created by pid_spawn, fork_np, or pidfd_open. +* scanf-family functions now support the wN format length modifiers for + arguments pointing to types intN_t, int_leastN_t, uintN_t or + uint_leastN_t (for example, %w32d to read int32_t or int_least32_t in + decimal, or %w32x to read uint32_t or uint_least32_t in hexadecimal) + and the wfN format length modifiers for arguments pointing to types + int_fastN_t or uint_fastN_t, as specified in draft ISO C2X. + Deprecated and removed features, and other changes affecting compatibility: [Add deprecations, removals and changes affecting compatibility here] |