git: libutil - Add humanize_unsigned()

Matthew Dillon dillon at crater.dragonflybsd.org
Sun Nov 7 10:04:54 PST 2010


commit 12aea7ca34caaa4af42b1bead712b6845447d47e
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sun Nov 7 09:20:11 2010 -0800

    libutil - Add humanize_unsigned()
    
    * Add a humanize_unsigned() function as a companion to humanize_number()
      which does a much better job on large unsigned 64-bit quantities.
    
    Submitted-by: Ilya Dryomov <idryomov at gmail.com>

Summary of changes:
 lib/libutil/Makefile            |    5 +-
 lib/libutil/humanize_unsigned.3 |  125 +++++++++++++++++++++++++++++++++++++++
 lib/libutil/humanize_unsigned.c |  107 +++++++++++++++++++++++++++++++++
 lib/libutil/libutil.h           |    3 +
 4 files changed, 238 insertions(+), 2 deletions(-)
 create mode 100644 lib/libutil/humanize_unsigned.3
 create mode 100644 lib/libutil/humanize_unsigned.c

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/12aea7ca34caaa4af42b1bead712b6845447d47e


-- 
DragonFly BSD source repository





More information about the Commits mailing list