aboutsummaryrefslogtreecommitdiff
path: root/lib/libutil/expand_number.c
Commit message (Expand)AuthorAgeFilesLines
* lib: Automated cleanup of cdefs and other formattingWarner Losh2023-11-271-1/+0
* Remove $FreeBSD$: one-line .c patternWarner Losh2023-08-161-2/+0
* expand_number: Tighten check of unit.Xin LI2023-06-131-0/+14
* spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSDWarner Losh2023-05-121-1/+1
* lib: further adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-261-0/+2
* The round of expand_number() cleanups.Sergey Kandaurov2013-08-301-29/+10
* Reset errno before strtoumax() call to properly detect ERANGE.Sergey Kandaurov2013-08-211-0/+7
* Check strtoumax(3) for ERANGE in case of non-prefixed string.Sergey Kandaurov2013-08-211-0/+4
* Further simplify the code, and update the manpage.Dag-Erling Smørgrav2010-08-151-23/+24
* no-op commit to note that the example given in the previous commit isDag-Erling Smørgrav2010-08-151-1/+1
* Fix the overflow test. It is possible for the result of anDag-Erling Smørgrav2010-08-151-1/+1
* Simplify expand_number() by combining the (unrolled) loop with theDag-Erling Smørgrav2010-08-141-26/+26
* Add #include <inttypes.h> for the strtoimax().Konstantin Belousov2008-07-071-0/+1
* Constify the first argument to expand_number() so that it canJohn Birrell2007-11-181-1/+1
* - Fix strange for loop.Pawel Jakub Dawidek2007-09-051-6/+16
* Implement expand_number(3), which is the opposite of humanize_number(3), ie.Pawel Jakub Dawidek2007-09-011-0/+89