Date: Tue, 12 Apr 2011 22:48:03 +0000 (UTC) From: Xin LI <delphij@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/lib/libutil humanize_number.3 humanize_number.c libutil.h Message-ID: <201104122248.p3CMmJeK074799@repoman.freebsd.org>
index | next in thread | raw e-mail
delphij 2011-04-12 22:48:03 UTC
FreeBSD src repository
Modified files:
lib/libutil humanize_number.3 humanize_number.c
libutil.h
Log:
SVN rev 220582 on 2011-04-12 22:48:03Z by delphij
Add support for IEE/IEC (and now also SI) power of two notions of
prefixes (Ki, Mi, Gi...) for humanize_number(3).
Note that applications has to pass HN_IEC_PREFIXES to use this
feature for backward compatibility reasons.
Reviewed by: arundel
MFC after: 2 weeks
Revision Changes Path
1.15 +55 -8 src/lib/libutil/humanize_number.3
1.6 +32 -19 src/lib/libutil/humanize_number.c
1.55 +2 -0 src/lib/libutil/libutil.h
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201104122248.p3CMmJeK074799>
