For comparison: https://pubs.opengroup.org/onlinepubs/9699919799/ In an utf8 environment the number of bytes written may differ from the number of characters. Example: fprintf( stdout, "%*s\n", fprintf( stdout, "öäüÖÄÜßµł€\n"), "^"); From https://man7.org/linux/man-pages/man3/dprintf.3.html: "Upon successful return, these functions return the number of characters printed (excluding the null byte used to end output to strings)." Greetings.
Thanks! This has been fixed now: <https://www.alejandro-colomar.es/src/alx/linux/man-pages/man-pages.git/commit/?h=contrib&id=e0fc7ee5e3d664c83bd0f4fc751ef80cf38ae1bc> Have a lovely day! Alex