summaryrefslogtreecommitdiff
path: root/lib/human.h
AgeCommit message (Collapse)Author
2002-10-19Rewrite to support locale-specificJim Meyering
notations like thousands separators. Specify what includer of include.h must include beforehand. (human_group_digits, human_suppress_point_zero, human_autoscale, human_base_1024, human_SI, human_B): New enum values. (human_readable): Rename from human_readable_inexact; put the options before the sizes. All uses changed. The old human_readable function has been removed; use inttostr.h instead. (human_options): Renamed from human_block_size, with new signature that allows block sizes up to UINTMAX_MAX. All callers changed.
1999-07-04(enum human_inexact_style): New enum.Jim Meyering
(human_readable_inexact): New decl.
1999-04-25<inttypes.h>: Include it here instead.Jim Meyering
<config.h>: Include it here too.
1998-06-29(human_readable): Coalesce last two args into one, for convenience.Jim Meyering
1997-12-21Use PARAMS, not __P.Jim Meyering
1997-11-30filter through cppiJim Meyering
1997-11-30New file. The interface is inspiredJim Meyering
by the human_readable function that was in du.c, but it's pretty much rewritten from scratch.