aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/libbb.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/libbb.h b/include/libbb.h
index 33e73b27b..a07606287 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -503,7 +503,9 @@ char *itoa(int n);
503/* Returns a pointer past the formatted number, does NOT null-terminate */ 503/* Returns a pointer past the formatted number, does NOT null-terminate */
504char *utoa_to_buf(unsigned n, char *buf, unsigned buflen); 504char *utoa_to_buf(unsigned n, char *buf, unsigned buflen);
505char *itoa_to_buf(int n, char *buf, unsigned buflen); 505char *itoa_to_buf(int n, char *buf, unsigned buflen);
506void smart_ulltoa5(unsigned long long ul, char buf[5]); 506/* Intelligent formatters of bignums */
507void smart_ulltoa4(unsigned long long ul, char buf[5], const char *scale);
508void smart_ulltoa5(unsigned long long ul, char buf[5], const char *scale);
507//TODO: provide pointer to buf (avoid statics)? 509//TODO: provide pointer to buf (avoid statics)?
508const char *make_human_readable_str(unsigned long long size, 510const char *make_human_readable_str(unsigned long long size,
509 unsigned long block_size, unsigned long display_unit); 511 unsigned long block_size, unsigned long display_unit);