summaryrefslogtreecommitdiffstats
path: root/lib/human.c
AgeCommit message (Expand)AuthorLines
2005-09-22Sync from gnulib.Paul Eggert-1/+1
2005-05-14Update FSF postal mail address.Jim Meyering-1/+1
2005-04-09(humblock): Set *options even when returning due toJim Meyering-1/+4
2005-03-09Include intprops.h.Paul Eggert-4/+3
2005-01-04* human.c (SIZE_MAX, UINTMAX_MAX): Move these conditionalPaul Eggert-8/+8
2004-12-02Assume <locale.h> exists.Paul Eggert-6/+1
2004-11-16(human_readable): Support human_space_before_unit.Paul Eggert-0/+6
2004-08-02unsigned -> unsigned intPaul Eggert-2/+2
2004-04-04Sync from gnulib.Jim Meyering-2/+2
2004-03-24(humblock): Support BLOCKSIZE envvar, as well as BLOCK_SIZE.Jim Meyering-1/+3
2003-10-15Sync with gnulib.Jim Meyering-2/+0
2003-09-10Include <stdlib.h>, <string.h> unconditionally.Jim Meyering-18/+2
2003-09-03(human_readable): Fix bug that rounded 10501 to 10k.Jim Meyering-5/+3
2003-06-06Include <stdio.h>, once again, for declaration of sprintf.Jim Meyering-0/+2
2003-06-06Merge from gnulib.Jim Meyering-25/+5
2002-11-09(human_readable): Revamp to avoid warning about unusedJim Meyering-146/+153
2002-11-08(human_readable): Avoid warnings from gcc -Wshadow.Jim Meyering-18/+24
2002-10-19Rewrite to support locale-specificJim Meyering-203/+345
2001-12-19(suffixes): Prefer K to k for 1024.Jim Meyering-19/+43
2000-06-16(adjust_value): New function.Jim Meyering-47/+69
2000-06-15(human_readable_inexact): Allow an input blockJim Meyering-45/+40
2000-02-27use double quotes, not single quotes around syntax-error-evoking stringJim Meyering-1/+1
2000-02-27Use `#if !HAVE_DECL...' instead of `#ifndef HAVE_DECL..'Jim Meyering-1/+4
1999-11-07(default_block_size): New function.Jim Meyering-1/+12
1999-07-04(human_readable): New function.Jim Meyering-9/+31
1999-05-17(human_readable): Allow from_block_size to be zero.Jim Meyering-4/+5
1999-05-13Include <string.h> or <strings.h> for strlen prototype.Jim Meyering-0/+6
1999-04-25Don't include inttypes.h here.Jim Meyering-4/+0
1999-04-18Include xstrtol.h, not xstrtoul.h, since xstrtol.h now defines all theJim Meyering-1/+1
1999-01-01(humblock): Use ARGMATCH in place of argmatch.Jim Meyering-2/+2
1998-07-22(human_readable): amt -> damt, to fix typo whenJim Meyering-1/+1
1998-06-29 * lib/human.c, lib/human.h (human_readable): Coalesce last two argsJim Meyering-21/+104
1997-11-30(human_readable): Convert to ANSI-style definition.Jim Meyering-14/+13
1997-11-30New file. The interface is inspiredJim Meyering-0/+204