DragonFly BSD
DragonFly commits List (threaded) for 2010-11
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: libutil - Add humanize_unsigned()


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 7 Nov 2010 10:03:51 -0800 (PST)

commit 12aea7ca34caaa4af42b1bead712b6845447d47e
Author: Matthew Dillon <dillon@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@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]