Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | don't assert on bad args, instead return an error.. | jmg | 2013-10-07 | 1 | -6/+11 |
| | | | | | | | | | | | | | | | Since so many programs don't check return value, always NUL terminate the buf... fix rounding when using base 1024 (the bug that started it all)... add a set of test cases so we can make sure that things don't break in the future... Thanks to Clifton Royston for testing and the test program... Approved by: re (hrs, glebius) MFC after: 1 week | ||||
* | Add support for IEE/IEC (and now also SI) power of two notions of | delphij | 2011-04-12 | 1 | -8/+55 |
| | | | | | | | | | | 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 | ||||
* | s/buffer/buf as is used in the code. | gjb | 2011-03-21 | 1 | -5/+5 |
| | | | | | Submitted by: arundel (via doc@) MFC after: 3 days | ||||
* | The NetBSD Foundation has granted permission to remove clause 3 and 4 from | joel | 2010-03-02 | 1 | -7/+0 |
| | | | | | | their software. Obtained from: NetBSD | ||||
* | Adjust history. | obrien | 2007-09-28 | 1 | -2/+4 |
| | | | | Approved by: re(ken) | ||||
* | Point expand_number(3) at humanize_number(3) and nive versa. | pjd | 2007-09-05 | 1 | -0/+2 |
| | | | | | Suggested by: trhodes Approved by: re (kensmith) | ||||
* | Markup fixes. | ru | 2006-09-17 | 1 | -1/+3 |
| | |||||
* | Note the convention that humanize_number follows. | imp | 2006-07-15 | 1 | -8/+11 |
| | | | | Add 'engineering' numbers to table. | ||||
* | Remove duplicated "bytes". | delphij | 2005-04-10 | 1 | -1/+1 |
| | | | | | Submitted by: Wojciech A. Koszek [dunstan freebsd czest pl] PR: 79747 | ||||
* | Backout manual page updates. | pjd | 2004-09-26 | 1 | -19/+27 |
| | | | | Requested by: ru | ||||
* | Take the lastest fixes from NetBSD. | pjd | 2004-09-25 | 1 | -27/+19 |
| | | | | Obtained from: NetBSD | ||||
* | There is no such manual page in FreeBSD. | pjd | 2004-09-16 | 1 | -2/+0 |
| | |||||
* | Markup fixes. | ru | 2004-07-07 | 1 | -16/+24 |
| | |||||
* | Humanize_number(3) is a part of libutil. | pjd | 2004-05-25 | 1 | -0/+2 |
| | |||||
* | You want to include libutil.h, not util.h. | trhodes | 2004-05-25 | 1 | -4/+7 |
| | | | | Some minor sentence tweaking. | ||||
* | Add humanize_number(3) to libutil for formating numbers into a human | pjd | 2004-05-24 | 1 | -0/+137 |
readable form. Obtained from: NetBSD |