summaryrefslogtreecommitdiff
path: root/components/swap.c
AgeCommit message (Expand)Author
2022-10-28radical re-formatting 2/3: Fix blocksdrkhsh
2022-10-28radical re-formatting 1/3: Fix spacingdrkhsh
2022-10-28radical re-formatting 3/3: Error checksdrkhsh
2022-10-28radical re-formatting 0/3: Alphabetic headersdrkhsh
2022-10-27do not rely on obsolete featureNRK
2022-10-27components/*.c: include slstatus.hNRK
2019-02-16Add ram and swap components on FreeBSDMichael Buch
2018-07-08Consistency with 80 char limit and breaksAaron Marcher
2018-05-30Clean up header includesAaron Marcher
2018-05-29swap: removed unused includeTobias Tschinkowitz
2018-05-28Refactor swap.c to use getline() instead of buf-fillingLaslo Hunhold
2018-05-21swap.c: Refactor getstats() and its usageLaslo Hunhold
2018-05-21Merge fmt_human_2 and fmt_human_10 to one functionAaron Marcher
2018-05-21Remove units from numbersAaron Marcher
2018-05-21swap_perc: check for division by zero on obsd tooAaron Marcher
2018-05-20swap_perc: check for division by zeroAaron Marcher
2018-05-19Implement fmt_human_2() and fmt_human_10()Laslo Hunhold
2018-05-19Add the percent sign to *_perc functionsAaron Marcher
2018-05-18Implement fmt_scaled for swap_* functionsAaron Marcher
2018-05-18Add warn() and die()Laslo Hunhold
2018-05-16corrected calculation for swap on openbsdTobias Tschinkowitz
2018-05-06Fix coding styleAaron Marcher
2018-05-06swap_*: Port to OpenBSDAaron Marcher
2018-05-01components/swap.c | move duplicated code to separate functionLaslo Hunhold
2018-05-01Use indentation to increase readabilityLaslo Hunhold
2018-05-01Revert component-splitLaslo Hunhold
2018-04-30swap: OS splitQuentin Rameau
2018-03-28Format error messages properlyAaron Marcher
2018-03-28Get rid of err.h as it is not portableAaron Marcher
2018-03-21More robust preprocessor switchesAaron Marcher
2018-03-18Build Linux-only functions only on LinuxAaron Marcher
2017-09-24Move components into dedicated subdirectoryLaslo Hunhold