summaryrefslogtreecommitdiff
path: root/lib/human.h
AgeCommit message (Collapse)Author
2005-09-22Sync from gnulib.Paul Eggert
2005-07-02Assume HAVE_UNISTD_H, i.e., include <unistd.h> unconditionally.Jim Meyering
2005-05-14Update FSF postal mail address.Jim Meyering
2005-03-09(LONGEST_HUMAN_READABLE): Use 146/485 rather than 302/1000.Paul Eggert
2004-11-16(LONGEST_HUMAN_READABLE): Add 1 for space before unit.Paul Eggert
(human_space_before_unit): New constant.
2004-08-02Use Autoconf-suggested pattern for inttypes and stdint.Paul Eggert
2003-06-06Merge from gnulib.Jim Meyering
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.