summaryrefslogtreecommitdiffstats
path: root/lib/libutil/expand_number.3
Commit message (Collapse)AuthorAgeFilesLines
* Indicate that expand_number is case-insensitive.eadler2013-11-121-1/+2
| | | | Reviewed by: -scsi
* Further simplify the code, and update the manpage.des2010-08-151-3/+3
| | | | Submitted by: Christoph Mallon <christoph.mallon@gmx.de>
* Constify the first argument to expand_number() so that it canjb2007-11-181-1/+1
| | | | be called with a const without the compiler grisling.
* Adjust history.obrien2007-09-281-1/+1
| | | | Approved by: re(ken)
* Point expand_number(3) at humanize_number(3) and nive versa.pjd2007-09-051-0/+2
| | | | | Suggested by: trhodes Approved by: re (kensmith)
* Implement expand_number(3), which is the opposite of humanize_number(3), ie.pjd2007-09-011-0/+84
a number in human-readable form is converted to int64_t, for example: 123b -> 123 10k -> 10240 16G -> 17179869184 First version submitted by: Eric Anderson <anderson@freebsd.org> Approved by: re (bmah)
OpenPOWER on IntegriCloud