diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/libbb.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/libbb.h b/include/libbb.h index dca14b40d..be175d79f 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -691,6 +691,10 @@ char *itoa_to_buf(int n, char *buf, unsigned buflen) FAST_FUNC; | |||
691 | /* Intelligent formatters of bignums */ | 691 | /* Intelligent formatters of bignums */ |
692 | void smart_ulltoa4(unsigned long long ul, char buf[5], const char *scale) FAST_FUNC; | 692 | void smart_ulltoa4(unsigned long long ul, char buf[5], const char *scale) FAST_FUNC; |
693 | void smart_ulltoa5(unsigned long long ul, char buf[5], const char *scale) FAST_FUNC; | 693 | void smart_ulltoa5(unsigned long long ul, char buf[5], const char *scale) FAST_FUNC; |
694 | /* If block_size == 0, display size without fractional part, | ||
695 | * else display (size * block_size) with one decimal digit. | ||
696 | * If display_unit == 0, add suffix (K,M,G...), | ||
697 | * else divide by display_unit and do not use suffix. */ | ||
694 | //TODO: provide pointer to buf (avoid statics)? | 698 | //TODO: provide pointer to buf (avoid statics)? |
695 | const char *make_human_readable_str(unsigned long long size, | 699 | const char *make_human_readable_str(unsigned long long size, |
696 | unsigned long block_size, unsigned long display_unit) FAST_FUNC; | 700 | unsigned long block_size, unsigned long display_unit) FAST_FUNC; |