aboutsummaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2023-03-14 16:58:35 +0000
committerJoseph Myers <joseph@codesourcery.com>2023-03-14 16:58:35 +0000
commit2d4728e60621c8844ec679291aa5458c622d8f4f (patch)
tree67fc945e60ec333a3c423ee634e5f5d242402824 /NEWS
parent447273e0bf22a3d42e05e6b16d309f3f89879bea (diff)
downloadglibc-2d4728e60621c8844ec679291aa5458c622d8f4f.zip
glibc-2d4728e60621c8844ec679291aa5458c622d8f4f.tar.gz
glibc-2d4728e60621c8844ec679291aa5458c622d8f4f.tar.bz2
Update printf %b/%B C2x support
WG14 recently accepted two additions to the printf/scanf %b/%B support: there are now PRIb* and SCNb* macros in <inttypes.h>, and printf %B is now an optional feature defined in normative text, instead of recommended practice, with corresponding PRIB* macros that can also be used to test whether that optional feature is supported. See N3072 items 14 and 15 for details (those changes were accepted, some other changes in that paper weren't). Add the corresponding PRI* macros to glibc and update one place in the manual referring to %B as recommended. (SCNb* should naturally be added at the same time as the corresponding scanf %b support.) Tested for x86_64 and x86.
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS2
1 files changed, 2 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 0f76e7a..c54af82 100644
--- a/NEWS
+++ b/NEWS
@@ -19,6 +19,8 @@ Major new features:
input to the %i format: fscanf, scanf, sscanf, vscanf, vsscanf,
vfscanf, fwscanf, wscanf, swscanf, vfwscanf, vwscanf, vswscanf.
+* PRIb* and PRIB* macros from C2X have been added to <inttypes.h>.
+
Deprecated and removed features, and other changes affecting compatibility:
* In the Linux kernel for the hppa/parisc architecture some of the