mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-08 17:42:12 +03:00
Add description of printf_size and printf_size_info.
This commit is contained in:
@@ -96,8 +96,8 @@ printf_size (FILE *fp, const struct printf_info *info, const void *const *args)
|
||||
/* Units for the both formats. */
|
||||
static const char units[2][8] =
|
||||
{
|
||||
" kmgtps", /* For binary format. */
|
||||
" KMGTPS" /* For decimal format. */
|
||||
" kmgtpezy", /* For binary format. */
|
||||
" KMGTPEZY" /* For decimal format. */
|
||||
};
|
||||
const char *tag = units[isupper (info->spec) != 0];
|
||||
int divisor = isupper (info->spec) ? 1000 : 1024;
|
||||
|
Reference in New Issue
Block a user