diff options
author | Joseph Myers <josmyers@redhat.com> | 2024-02-01 11:02:01 +0000 |
---|---|---|
committer | Joseph Myers <josmyers@redhat.com> | 2024-02-01 11:02:01 +0000 |
commit | 42cc619dfbc44e263239c2de870bae11ad65810a (patch) | |
tree | 13f7e2f0ad1e9b3c4a36f9ecd4e3e49b1d268120 /manual/stdio.texi | |
parent | 7c8df0b9441e34928f2d7d70531e3d55e016c32e (diff) | |
download | glibc-42cc619dfbc44e263239c2de870bae11ad65810a.tar.gz glibc-42cc619dfbc44e263239c2de870bae11ad65810a.tar.xz glibc-42cc619dfbc44e263239c2de870bae11ad65810a.zip |
Refer to C23 in place of C2X in glibc
WG14 decided to use the name C23 as the informal name of the next revision of the C standard (notwithstanding the publication date in 2024). Update references to C2X in glibc to use the C23 name. This is intended to update everything *except* where it involves renaming files (the changes involving renaming tests are intended to be done separately). In the case of the _ISOC2X_SOURCE feature test macro - the only user-visible interface involved - support for that macro is kept for backwards compatibility, while adding _ISOC23_SOURCE. Tested for x86_64.
Diffstat (limited to 'manual/stdio.texi')
-rw-r--r-- | manual/stdio.texi | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/manual/stdio.texi b/manual/stdio.texi index 002fce7a10..f5e289d58a 100644 --- a/manual/stdio.texi +++ b/manual/stdio.texi @@ -1828,8 +1828,8 @@ output, but are different when used with @code{scanf} for input @item @samp{%b}, @samp{%B} Print an integer as an unsigned binary number. @samp{%b} uses lower-case @samp{b} with the @samp{#} flag and @samp{%B} uses -upper-case. @samp{%b} is an ISO C2X feature; @samp{%B} is an -optional ISO C2X feature. @xref{Integer Conversions}, for +upper-case. @samp{%b} is an ISO C23 feature; @samp{%B} is an +optional ISO C23 feature. @xref{Integer Conversions}, for details. @item @samp{%o} @@ -2036,7 +2036,7 @@ taking signed integers, or @code{uint@var{n}_t} or taking unsigned integers. If the type is narrower than @code{int}, the promoted argument is converted back to the specified type. -This modifier was introduced in @w{ISO C2X}. +This modifier was introduced in @w{ISO C23}. @item wf@var{n} Specifies that the argument is a @code{int_fast@var{n}_t} or @@ -2044,7 +2044,7 @@ Specifies that the argument is a @code{int_fast@var{n}_t} or than @code{int}, the promoted argument is converted back to the specified type. -This modifier was introduced in @w{ISO C2X}. +This modifier was introduced in @w{ISO C23}. @item z @itemx Z @@ -2144,7 +2144,7 @@ specifier is @samp{%a}, @samp{%e}, @samp{%f}, or @samp{%g} and it is @w{[@code{-}]@code{INF}} or @code{NAN} respectively if the conversion is @samp{%A}, @samp{%E}, @samp{%F} or @samp{%G}. On some implementations, a NaN may result in longer output with information about the payload of the -NaN; ISO C2X defines a macro @code{_PRINTF_NAN_LEN_MAX} giving the +NaN; ISO C23 defines a macro @code{_PRINTF_NAN_LEN_MAX} giving the maximum length of such output. The following flags can be used to modify the behavior: @@ -3547,7 +3547,7 @@ Input Conversions}. @item @samp{%b} Matches an unsigned integer written in binary radix. This is an ISO -C2X feature. @xref{Numeric Input Conversions}. +C23 feature. @xref{Numeric Input Conversions}. @item @samp{%o} Matches an unsigned integer written in octal radix. @@ -3720,13 +3720,13 @@ Specifies that the argument is an @code{int@var{n}_t *} or @code{uint@var{n}_t *} or @code{uint_least@var{n}_t *} (which are the same type). -This modifier was introduced in @w{ISO C2X}. +This modifier was introduced in @w{ISO C23}. @item wf@var{n} Specifies that the argument is an @code{int_fast@var{n}_t *} or @code{uint_fast@var{n}_t *}. -This modifier was introduced in @w{ISO C2X}. +This modifier was introduced in @w{ISO C23}. @item z Specifies that the argument is a @code{size_t *}. |