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

git: DragonFly_RELEASE_2_8 libutil - Add humanize_unsigned()


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 18 Nov 2010 09:46:39 -0800 (PST)

commit eaef069308efa18a53d5fe51e86d7784aaa7d287
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/eaef069308efa18a53d5fe51e86d7784aaa7d287


-- 
DragonFly BSD source repository



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