summaryrefslogtreecommitdiffstats
path: root/lib/libutil/fmt_scaled.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* New: fmt_scaled() and scan_scaled() convert to and from "human readable"ian2003-05-151-0/+277
or scaled numbers. fmt_scaled, and the format, based on Ken Stailey's code for "df -h"; scan_scaled is new. Significantly commented on and reworked by pjanzen@; other comments from millert@. OK pjanzen@.