Hi Jeremy, On Fri, Mar 15, 2024 at 02:07:14PM +1300, Jeremy Baxter wrote: > From https://pubs.opengroup.org/onlinepubs/9699919799/functions/printf.html: > > Upon successful completion, the dprintf(), fprintf(), and printf() > functions shall return the number of bytes transmitted. > > Fixes bug 218600 . > Reported-by: > Signed-off-by: Jeremy Baxter Patch applied; thanks. Have a lovely night! Alex > --- > man3/printf.3 | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/man3/printf.3 b/man3/printf.3 > index eb152aa19..15ed75439 100644 > --- a/man3/printf.3 > +++ b/man3/printf.3 > @@ -875,7 +875,7 @@ No argument is converted. > The complete conversion > specification is \[aq]%%\[aq]. > .SH RETURN VALUE > -Upon successful return, these functions return the number of characters > +Upon successful return, these functions return the number of bytes > printed (excluding the null byte used to end output to strings). > .P > The functions > -- > 2.44.0 > --