Message ID | 20221024114808.3120-1-jwilk@jwilk.net |
---|---|
State | New |
Headers | show |
Series | manual: Add missing % in int conversion list | expand |
On Mon, 24 Oct 2022, Jakub Wilk wrote: > @@ -1912,7 +1912,7 @@ This section describes the options for the @samp{%d}, @samp{%i}, > specifications. These conversions print integers in various formats. > > The @samp{%d} and @samp{%i} conversion specifications both print an > -@code{int} argument as a signed decimal number; while @samp{b}, @samp{%o}, > +@code{int} argument as a signed decimal number; while @samp{%b}, @samp{%o}, OK.
diff --git a/manual/stdio.texi b/manual/stdio.texi index 753c50920d..4aa1a2bc2d 100644 --- a/manual/stdio.texi +++ b/manual/stdio.texi @@ -1912,7 +1912,7 @@ This section describes the options for the @samp{%d}, @samp{%i}, specifications. These conversions print integers in various formats. The @samp{%d} and @samp{%i} conversion specifications both print an -@code{int} argument as a signed decimal number; while @samp{b}, @samp{%o}, +@code{int} argument as a signed decimal number; while @samp{%b}, @samp{%o}, @samp{%u}, and @samp{%x} print the argument as an unsigned binary, octal, decimal, or hexadecimal number (respectively). The @samp{%X} conversion specification is just like @samp{%x} except that it uses the characters
Signed-off-by: Jakub Wilk <jwilk@jwilk.net> --- manual/stdio.texi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)