changeset 1864:734d9b0f9fce

(enum human_inexact_style): New enum. (human_readable_inexact): New decl.
author Jim Meyering <jim@meyering.net>
date Sun, 04 Jul 1999 08:47:49 +0000
parents e6b535c4a46e
children b7012e04c0f4
files lib/human.h
diffstat 1 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lib/human.h
+++ b/lib/human.h
@@ -23,7 +23,16 @@
 #  endif
 # endif
 
+enum human_inexact_style
+{
+  human_floor = -1,
+  human_round_to_even = 0,
+  human_ceiling = 1
+};
+
 char *human_readable PARAMS ((uintmax_t, char *, int, int));
+char *human_readable_inexact PARAMS ((uintmax_t, char *, int, int,
+				      enum human_inexact_style));
 
 void human_block_size PARAMS ((char const *, int, int *));