From: Bruno Haible Date: Fri, 17 Mar 2023 22:54:50 +0000 (+0100) Subject: *printf-posix: ISO C 23: Add %b directive for binary output of integers. X-Git-Tag: v1.0~1628 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=5f76e126e8fd1124c243e9b6232ddce717cbb220;p=gnulib.git *printf-posix: ISO C 23: Add %b directive for binary output of integers. * lib/printf-parse.h: Update more comments. --- diff --git a/lib/printf-parse.h b/lib/printf-parse.h index fcb3cc462e..dc4bcfe2a3 100644 --- a/lib/printf-parse.h +++ b/lib/printf-parse.h @@ -91,7 +91,7 @@ typedef struct const uint8_t* precision_start; const uint8_t* precision_end; size_t precision_arg_index; - uint8_t conversion; /* d i o u x X f F e E g G a A c s p n U % but not C S */ + uint8_t conversion; /* d i b o u x X f F e E g G a A c s p n U % but not C S */ size_t arg_index; } u8_directive; @@ -119,7 +119,7 @@ typedef struct const uint16_t* precision_start; const uint16_t* precision_end; size_t precision_arg_index; - uint16_t conversion; /* d i o u x X f F e E g G a A c s p n U % but not C S */ + uint16_t conversion; /* d i b o u x X f F e E g G a A c s p n U % but not C S */ size_t arg_index; } u16_directive; @@ -147,7 +147,7 @@ typedef struct const uint32_t* precision_start; const uint32_t* precision_end; size_t precision_arg_index; - uint32_t conversion; /* d i o u x X f F e E g G a A c s p n U % but not C S */ + uint32_t conversion; /* d i b o u x X f F e E g G a A c s p n U % but not C S */ size_t arg_index; } u32_directive;