You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Laslo Hunhold 46c4540dd2 Implement fmt_human_2() and fmt_human_10()
These functions take the raw number and a unit and automatically
print it out "scaled down" to a proper SI-prefix, for powers of 2
and 10 respectively.

Apply them to the 2-power cases and keep the 10-power for a later
commit.
9 years ago
..
battery.c Add the percent sign to *_perc functions 9 years ago
cpu.c Add the percent sign to *_perc functions 9 years ago
datetime.c Add warn() and die() 9 years ago
disk.c Implement fmt_human_2() and fmt_human_10() 9 years ago
entropy.c entropy: Small fix 9 years ago
hostname.c Add warn() and die() 9 years ago
ip.c Simplify ipv* functions 9 years ago
kernel_release.c Add warn() and die() 9 years ago
keyboard_indicators.c Add warn() and die() 9 years ago
load_avg.c Add warn() and die() 9 years ago
netspeeds.c Implement fmt_human_2() and fmt_human_10() 9 years ago
num_files.c Add warn() and die() 9 years ago
ram.c Implement fmt_human_2() and fmt_human_10() 9 years ago
run_command.c Add warn() and die() 9 years ago
swap.c Implement fmt_human_2() and fmt_human_10() 9 years ago
temperature.c Add warn() and die() 9 years ago
uptime.c uptime: Format function is static 9 years ago
user.c Add warn() and die() 9 years ago
volume.c Add the percent sign to *_perc functions 9 years ago
wifi.c Add the percent sign to *_perc functions 9 years ago