Adds the ability to display large numbers using comma-based thousands separator, e.g. %,lu to display up to 4 billion and more easily read it. Also supports ' and _ instead of , by specifying the same. This code could be used to enhance df or mount displays showing filesystem sizes with more readability.
Eliminated some unused code in vfprintf, # hash flag specifier previously only used for octal display.
Added documentation on supported format types and flag specifiers at top of libc/stdio/vfprintf.c.
Temporarily using test code in cat.c, to be removed shortly.
Adds the ability to display large numbers using comma-based thousands separator, e.g.
%,lu
to display up to 4 billion and more easily read it. Also supports ' and _ instead of , by specifying the same. This code could be used to enhancedf
or mount displays showing filesystem sizes with more readability.Eliminated some unused code in vfprintf,
#
hash flag specifier previously only used for octal display.Added documentation on supported format types and flag specifiers at top of libc/stdio/vfprintf.c.
Temporarily using test code in cat.c, to be removed shortly.