aboutsummaryrefslogtreecommitdiff
path: root/lib/libutil/expand_number.3
Commit message (Collapse)AuthorAgeFilesLines
* expand_number(3) parses suffixes, not prefixes.John Baldwin2019-07-201-9/+8
| | | | | | | | | | While here, tidy the opening sentence a bit. MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D20791 Notes: svn path=/head/; revision=350179
* Indicate that expand_number is case-insensitive.Eitan Adler2013-11-121-1/+2
| | | | | | | Reviewed by: -scsi Notes: svn path=/head/; revision=258026
* Further simplify the code, and update the manpage.Dag-Erling Smørgrav2010-08-151-3/+3
| | | | | | | Submitted by: Christoph Mallon <christoph.mallon@gmx.de> Notes: svn path=/head/; revision=211343
* Constify the first argument to expand_number() so that it canJohn Birrell2007-11-181-1/+1
| | | | | | | be called with a const without the compiler grisling. Notes: svn path=/head/; revision=173719
* Adjust history.David E. O'Brien2007-09-281-1/+1
| | | | | | | Approved by: re(ken) Notes: svn path=/head/; revision=172381
* Point expand_number(3) at humanize_number(3) and nive versa.Pawel Jakub Dawidek2007-09-051-0/+2
| | | | | | | | Suggested by: trhodes Approved by: re (kensmith) Notes: svn path=/head/; revision=172048
* Implement expand_number(3), which is the opposite of humanize_number(3), ie.Pawel Jakub Dawidek2007-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) Notes: svn path=/head/; revision=172029